.custom-entry{display:block;width:100%;margin:0 0 24px;padding:16px 20px;border:1px solid #f6cb51;border-radius:16px;background:linear-gradient(120deg,#ffcc4420,#f6417915);color:inherit;text-align:left;font-size:1.1rem;font-weight:800;cursor:pointer}.custom-entry small{display:block;margin-top:4px;font-size:.8rem;font-weight:400;color:var(--mu)}
#customDialog{width:min(780px,calc(100% - 24px));max-height:90dvh;overflow:auto;background:var(--p);color:var(--tx)}.custom-wrap{padding:24px}.custom-wrap .head{gap:12px}.custom-wrap h2,.custom-wrap h3{margin:0}.custom-wrap h3{font-size:.95rem}.custom-note{color:var(--mu);font-size:.82rem;line-height:1.7}.custom-inputs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.custom-inputs label{font-size:.85rem;font-weight:700}.custom-inputs input{display:block;width:100%;padding:10px;margin-top:5px;border:1px solid var(--line);border-radius:9px;background:var(--p2);color:var(--tx);font:inherit;font-size:1rem}.custom-total{font-weight:800;color:#d99b13}.custom-wrap form .continue{width:100%;margin-top:0}.custom-error{color:#ff6179}.custom-odds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.custom-odd{border:1px solid var(--line);border-radius:12px;padding:12px;background:#ffcc440a}.custom-odd b,.custom-odd span,.custom-odd strong{display:block}.custom-odd span{font-size:.8rem;color:var(--mu)}.custom-odd strong{color:#d99b13;font-size:1.2rem;margin-top:4px}.custom-odd.exhausted{opacity:.55}.custom-result{border:1px solid #d99b13;border-radius:12px;padding:16px;text-align:center;font-weight:800;font-size:1.2rem;background:#ffcc4412}#customBoard{min-height:0;grid-template-columns:repeat(9,minmax(0,1fr));margin-top:16px}#customBoard .pick.open{color:#e6b641;font-weight:800}#customPlay{scroll-margin-top:20px}html[data-theme=light] .custom-inputs input{background:white}html[data-theme=light] #customDialog{background:#f6f7fc}
@media(max-width:650px){.custom-wrap{padding:18px}.custom-inputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#customBoard{grid-template-columns:repeat(6,minmax(0,1fr))}.custom-odds{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-wrap .head{align-items:flex-start;flex-wrap:wrap}.custom-wrap .back{padding:9px 12px}.custom-wrap h2{font-size:1.2rem}}
.custom-entry{display:block;padding:0;border:0;overflow:hidden;background:none;border-radius:20px}.custom-entry img{display:block;width:100%;height:auto;pointer-events:none}.custom-entry:focus-visible{outline:3px solid #f6cb51;outline-offset:4px}
.custom-wrap form .custom-total{flex-basis:100%}
.my-sort{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:16px 0;color:var(--mu);font-size:.9rem}.my-sort select{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#1c2133;color:#f7f7fa;color-scheme:dark;font:inherit;max-width:100%}.my-sort option{background:#1c2133;color:#f7f7fa}html[data-theme=light] .my-sort select,html[data-theme=light] .my-sort option{background:#fff;color:#20263d;color-scheme:light}
.custom-entry{position:relative}.custom-new{position:absolute;top:12px;left:12px;z-index:1;padding:6px 12px;border-radius:9px;background:#ffe34f;color:#171522;font-size:.95rem;font-weight:900;line-height:1.2;box-shadow:0 3px 8px #0003;pointer-events:none}@media(max-width:480px){.custom-new{top:7px;left:7px;padding:4px 9px;font-size:.8rem}}
#customDialog{border:0;border-radius:28px;background:#f7f6fc;color:#121829;width:min(680px,calc(100% - 24px));box-shadow:0 20px 80px #0006}#customDialog::backdrop{background:#171522b8;backdrop-filter:blur(5px)}.custom-wrap{padding:28px}.custom-wrap .head{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}.custom-wrap h2{font-size:1.8rem;font-weight:900;letter-spacing:-.05em}.custom-wrap h2 span{display:inline-block;transform:rotate(-15deg)}.custom-wrap .back{background:#dfe9f7;color:#182236;border:0;border-radius:18px;padding:13px 16px;font-weight:800}.custom-wrap>.custom-note{font-size:1rem;color:#232434;line-height:1.65;margin:22px 0 14px}.custom-info{display:flex;gap:10px;align-items:center;background:#78768f;color:white;border-radius:15px;padding:14px 16px;font-size:.9rem;line-height:1.5;margin:0 0 20px}.custom-info span{font-size:1.5rem;color:#e1d9f9}.custom-inputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.custom-quantity{background:white;border:1px solid #ceced8;border-radius:17px;padding:9px;box-shadow:0 4px 6px #20152a15}.custom-quantity label{display:flex;align-items:center;gap:6px;white-space:nowrap;color:#191e2b;font-size:.88rem}.custom-grade{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;color:#fff;background:var(--grade);border:3px solid #ffffff70;box-shadow:0 2px 3px #0003;font-size:1rem;text-shadow:0 1px 1px #0002}.custom-stepper{display:flex;gap:5px;margin-top:8px;align-items:center}.custom-stepper button{width:32px;min-height:36px;padding:0;flex-shrink:0;border:1px solid #cacbd3;border-radius:10px;background:linear-gradient(#fff,#edf0f6);color:#303343;font-size:1.3rem;font-weight:800;cursor:pointer;box-shadow:0 2px 3px #0002}.custom-inputs .custom-stepper input{min-width:0;flex:1;width:100%;margin:0;padding:5px 0;text-align:center;background:white;color:#121829;border:1px solid #c4c4ce;border-radius:9px;font-size:1.25rem;font-weight:900;box-shadow:inset 0 2px 4px #0002;appearance:textfield}.custom-stepper input::-webkit-inner-spin-button{appearance:none}.custom-total{display:table;border-radius:30px;background:#ffe395;color:#855206;padding:12px 18px;font-size:1.1rem;margin:20px 0 14px}.custom-total::after{content:' 🎟️';font-size:1.3rem}.custom-wrap form{display:flex;flex-wrap:wrap;gap:0 12px}.custom-inputs{width:100%}.custom-total{margin-right:auto}.custom-wrap form .continue{flex:1;width:auto;min-width:210px;border:2px solid #ffd376;border-radius:24px;background:linear-gradient(110deg,#ffad17,#ff7119);color:white;font-weight:900;font-size:1rem;padding:14px 12px;box-shadow:0 5px 0 #a65315,0 7px 9px #0002}.custom-wrap form #customReset{margin-top:0}#customPlay .custom-note{color:#66647b}#customPlay .custom-odd span{color:#66647b}#customPlay .custom-odd{border-color:#d8d5e2}@media(max-width:480px){.custom-wrap{padding:18px}.custom-wrap h2{font-size:1.45rem}.custom-wrap .back{padding:11px 12px;font-size:.85rem}.custom-inputs{gap:9px}.custom-quantity{padding:7px;border-radius:14px}.custom-grade{width:32px;height:32px;font-size:.85rem}.custom-quantity label{gap:4px;font-size:.72rem}.custom-stepper{gap:4px}.custom-stepper button{width:25px;min-height:34px}.custom-inputs .custom-stepper input{font-size:1.1rem}.custom-info{font-size:.8rem;padding:12px}.custom-wrap>.custom-note{font-size:.9rem}.custom-wrap form .continue{min-width:0;font-size:.8rem}.custom-wrap form #customReset{font-size:.8rem;padding:12px 10px}.custom-total{font-size:1rem}}
