.editor-item-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.item-editor>summary.item-header{cursor:pointer;list-style:none;gap:12px}.item-editor>summary::-webkit-details-marker{display:none}.item-editor>summary:before{content:"▾";color:var(--muted)}.item-editor:not([open])>summary:before{transform:rotate(-90deg)}.item-editor>summary:focus-visible{outline:2px solid var(--purple);outline-offset:5px;border-radius:4px}.item-editor>summary strong{flex-shrink:0}.item-summary-preview{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:13px}.item-editor[open] .item-summary-preview{visibility:hidden}.item-editor>summary .icon-button{flex-shrink:0}@media(max-width:600px){.content-editor>.section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.editor-item-actions{gap:10px}}:root{font-family:DM Sans,Segoe UI,sans-serif;color:#292638;background:#faf9fc;font-synthesis:none;font-size:16px;--purple: #704bd4;--ink: #292638;--muted: #777286;--line: #e9e6ee;--surface: #fff;--radius: 16px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;color:inherit}button:disabled{cursor:default;opacity:.45}button:not(:disabled),a{transition:background .15s,color .15s,transform .15s,box-shadow .15s}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ae92ee;outline-offset:3px}h1,h2,h3{font-family:Manrope,Segoe UI,sans-serif;margin:0;line-height:1.3}h1{font-weight:800;letter-spacing:-1.1px}h2{font-size:20px;font-weight:800;letter-spacing:-.5px}h3{font-size:17px;font-weight:800}p{line-height:1.6}img{max-width:100%}label{display:block;font-size:14px;font-weight:600;margin:18px 0 0}input,textarea,select{width:100%;border:1px solid #ded9e8;background:#fff;border-radius:9px;padding:11px 13px;color:var(--ink);margin-top:7px;font-size:16px}input::placeholder,textarea::placeholder{color:#9b94a7}textarea{resize:vertical;line-height:1.5}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23777286' stroke-width='1.7'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:35px}.primary,.secondary,.play-button,.correct-button,.incorrect-button{border-radius:9px;min-height:43px;padding:11px 18px;font-weight:700;font-size:14px;white-space:nowrap}.primary{background:var(--purple);color:#fff;box-shadow:0 3px 6px #704bd417}.primary:hover:not(:disabled){background:#5c38bd;transform:translateY(-1px)}.secondary{background:#fff;border:1px solid var(--line)}.secondary:hover{background:#f5f2fc}.text-button{padding:8px 2px;color:var(--purple);font-size:14px;font-weight:700}.text-button:hover{color:#4f27ad}.icon-button{width:36px;height:36px;border-radius:8px;flex-shrink:0}.icon-button:hover{background:#eeeaf7}.muted,.hint{color:var(--muted)}.hint,small{font-size:14px;line-height:1.6}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.purple{--tone: #7551ce;--pastel: #f0e9fc;--mid: #d7c5f8}.teal{--tone: #2c8c85;--pastel: #e3f3ef;--mid: #bde6dc}.blue{--tone: #4776c5;--pastel: #e9effc;--mid: #c1d4fa}.pink{--tone: #bc6a91;--pastel: #fbeaf2;--mid: #f0c6d9}.orange{--tone: #c68632;--pastel: #fff2df;--mid: #f8dcae}.green{--tone: #769343;--pastel: #eef4e1;--mid: #d9e7b6}.app-shell{display:flex;min-height:100vh}.sidebar{width:235px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:34px 19px 18px;position:fixed;height:100vh;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:#342949;font-family:Manrope,sans-serif;font-size:29px;font-weight:800;letter-spacing:-1.2px;padding-left:12px}.brand img{width:34px;border-radius:9px}.brand>span{font-size:21px;color:#e8ad44;margin-left:-4px}.brand>.brand-name{color:inherit;font-size:21px;letter-spacing:-.8px;margin-left:0;white-space:nowrap}.brand-name small{font-size:16px;font-weight:600}.workspace-label{font-size:10px;font-weight:700;letter-spacing:1.5px;margin:13px 0 39px 13px;color:#99909f}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav button{justify-content:flex-start;padding:13px 15px;border-radius:10px;color:#777082;font-size:15px;font-weight:500}.sidebar nav button.active{background:#f0eafb;color:#704bd4;font-weight:700}.sidebar nav button:hover{background:#f6f3fc}.sidebar nav button>span{margin-left:auto;border-radius:5px;background:#e3daf4;padding:2px 6px;font-size:12px}.sidebar-note{margin:45px 10px 0;padding:23px 16px;background:#fcf9f1;border:1px solid #f2ebdb;border-radius:13px}.little-star{color:#dba754;font-size:29px;margin-bottom:10px}.sidebar-note h3{font-size:15px;line-height:1.6}.sidebar-note p{font-size:12px;color:#958974;line-height:1.9;margin-bottom:0}.sidebar-bottom{margin-top:auto;padding-top:30px}.workspace-state{display:flex;align-items:center;gap:8px;font-size:12px;color:#8b8395;padding:0 12px 17px}.connection-dot{width:6px;height:6px;border-radius:50%;background:#c6a05c}.connection-dot.connected{background:#50a382}.account-button{display:flex;justify-content:flex-start;padding:14px 0 0;border-top:1px solid var(--line);width:100%;gap:9px}.account-button>span:nth-child(2){text-align:left;flex:1;min-width:0}.account-button strong{display:block;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-button small{display:block;font-size:10px;color:#9b92a6;margin-top:4px}.avatar{display:inline-flex;justify-content:center;align-items:center;width:35px;height:35px;border-radius:50%;background:#eee5fb;color:#7751b8;font-weight:700;font-size:14px;flex-shrink:0}.tiny{width:23px;height:23px;font-size:10px}.main-content{margin-left:235px;width:calc(100% - 235px)}.topbar{height:82px;padding:0 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#ffffffa6}.topbar>span{display:flex;align-items:center;gap:8px;color:#8b8395;font-size:13px}.topbar>span svg{color:#b692db}.topbar>div{display:flex;align-items:center;gap:25px}.private-label{display:flex;align-items:center;gap:7px;font-size:12px;color:#8a8195}.library-content{padding:38px 44px 18px;max-width:1650px;margin:0 auto}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:800;color:#aa91bd;margin-bottom:13px}.heading-line{display:flex;align-items:center;justify-content:space-between;gap:16px}.heading-line h1{font-size:29px}.page-heading>p{color:#8b8298;font-size:14px;margin:12px 0 33px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading>span{font-size:12px;color:#9c92a7}.section-heading h2{display:flex;align-items:center;gap:10px;font-size:18px}.format-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.format-tile{position:relative;display:block;text-align:left;background:var(--pastel);border:1px solid transparent;border-radius:13px;padding:19px 14px 15px;color:var(--ink);min-height:204px}.format-tile:hover{border-color:var(--mid);transform:translateY(-3px);box-shadow:0 7px 15px #29263808}.format-doodle{position:relative;margin:0 0 18px;display:flex;align-items:center;justify-content:center;width:47px;height:47px;border-radius:14px;transform:rotate(-6deg);background:var(--mid);color:var(--tone)}.format-tile:nth-child(2n) .format-doodle{transform:rotate(7deg)}.doodle-dot{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--tone);right:-7px;top:2px;opacity:.4}.format-tile h3{font-size:13px;font-weight:800;letter-spacing:-.3px;white-space:nowrap}.format-tile p{font-size:11px;color:var(--tone);line-height:1.7;min-height:38px;margin:8px 0 14px;opacity:.85}.tile-action{display:flex;align-items:center;justify-content:space-between;color:var(--tone);font-size:11px;font-weight:700}.games-section{margin-top:35px}.count{display:inline-flex;align-items:center;justify-content:center;background:#eeeaf5;border-radius:6px;min-width:24px;padding:3px 7px;font:600 12px DM Sans,sans-serif;color:#8e7baf}.shelf-actions{display:flex;gap:18px}.shelf-actions .text-button{font-size:11px;color:#9c90ac;gap:5px}.file-label{margin:0;display:inline-flex;cursor:pointer}.file-label input,.upload-control input{display:none}.filters{display:flex;align-items:center;gap:12px;margin:20px 0}.search{position:relative;flex:1}.search input{padding-left:39px;margin:0;font-size:13px;min-height:43px;background:#fff;border-color:var(--line)}.search svg{position:absolute;left:13px;top:13px;color:#b1a9bb}.filters select{width:166px;margin:0;font-size:12px;min-height:43px;border-color:var(--line);color:#797083}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.game-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:visible;min-width:0;transition:box-shadow .2s}.game-card:hover{box-shadow:0 8px 25px #3b294c08}.game-art{height:155px;position:relative;border-radius:13px 13px 0 0;overflow:hidden;background:var(--pastel);display:flex;align-items:center;justify-content:center;color:var(--tone)}.game-art:before,.game-art:after{content:"";position:absolute;border:1px solid var(--mid);border-radius:50%;width:180px;height:180px;left:-90px;top:-80px;opacity:.7}.game-art:after{inset:auto -75px -135px auto;width:250px;height:250px}.art-type{position:absolute;bottom:12px;left:15px;border:1px solid #ffffff99;background:#ffffffb0;border-radius:5px;padding:4px 7px;font-size:10px;color:var(--tone);font-weight:600}.art-miniatures{display:flex;gap:9px;align-items:center}.art-miniatures>span{display:flex;align-items:center;justify-content:center;background:#fff9;color:var(--tone);border:2px solid #ffffffa3;border-radius:9px;width:47px;height:64px;font-family:Manrope,sans-serif;font-weight:800;font-size:27px;box-shadow:0 4px 0 var(--mid);transform:rotate(-9deg)}.art-miniatures>span:nth-child(2){background:var(--tone);color:#f6df86;transform:rotate(5deg);margin-top:-12px}.art-miniatures>span:nth-child(3){transform:rotate(13deg)}.mini-grid{display:grid;grid-template-columns:repeat(3,39px);gap:5px;transform:rotate(-6deg)}.mini-grid>span{height:33px;background:#fff9;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800}.scramble-art{display:flex;gap:5px}.scramble-art>span{display:inline-flex;width:35px;height:40px;align-items:center;justify-content:center;background:#fff9;border-radius:6px;font-size:22px;font-weight:800;box-shadow:0 3px 0 var(--mid);transform:rotate(-7deg)}.scramble-art>span:nth-child(2n){transform:rotate(7deg);margin-top:12px}.art-miniatures>img{width:115px;height:100px;object-fit:cover;border-radius:10px;transform:rotate(-6deg);border:5px solid #ffffffd0;box-shadow:0 5px #d0dfb5}.game-info{padding:18px 18px 14px}.game-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.game-tags>span{font-size:10px;color:#9b90a6;border:1px solid #eee9f3;border-radius:4px;padding:3px 6px}.game-tags .offline-tag{color:#32876d;display:flex;align-items:center;gap:4px}.game-info h3{font-size:16px;margin-top:13px;letter-spacing:-.4px}.game-description{font-size:12px;color:#978d9f;margin:7px 0 16px;line-height:1.6;min-height:38px}.creator{display:flex;align-items:center;gap:6px;font-size:10px;color:#9c90a8}.published{margin-left:auto;color:#5b9982}.card-footer{border-top:1px solid #f0edf4;margin-top:15px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;position:relative}.play-button{padding:8px 13px;font-size:11px;min-height:32px;color:#7450b9;background:#f1ebfb;border-radius:7px}.play-button:hover{background:#e5d9f8}.card-footer>.icon-button{width:28px;height:28px;color:#aaa0b5}.dropdown{position:absolute;right:0;top:45px;z-index:10;width:200px;background:#fff;padding:6px;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px #30213d20}.dropdown button{width:100%;justify-content:flex-start;font-size:13px;padding:10px;border-radius:6px}.dropdown button:hover{background:#f4f0fb}.danger-text{color:#b45163!important}.library-footer{margin-top:32px;border-top:1px solid var(--line);padding:20px 0 0;display:flex;align-items:center;gap:6px;color:#ac9eb9;font-size:10px}.library-footer>span:last-child{margin-left:auto;color:#b6acbf}.library-footer svg{color:#c8b1db}.mobile-menu{display:none}.notice,.resume-banner{padding:18px 20px;background:#f0ebfc;border:1px solid #e4d9f8;border-radius:12px;display:flex;gap:13px;align-items:center;margin:0 0 24px;color:#705392}.notice p{font-size:14px;margin:5px 0 0;color:#8d7aa1}.notice svg{flex-shrink:0}.resume-banner{justify-content:space-between;padding:10px 18px;font-size:14px}.resume-banner>span{display:flex;gap:10px;align-items:center}.error-box,.success-box{border:1px solid #eab8bf;background:#fff2f3;border-radius:10px;padding:12px 16px;margin:15px 0;color:#9d3e4c;font-size:14px;position:relative}.error-box p{margin:3px 0}.error-box>.icon-button{position:absolute;right:5px;top:5px}.success-box{background:#e9f7ef;border-color:#b9ddc8;color:#26704d}.toast,.busy-indicator{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:100;background:#30283f;color:#fff;border-radius:12px;padding:15px 22px;box-shadow:0 8px 30px #30283f30;display:flex;align-items:center;gap:10px;font-size:14px}.busy-indicator{bottom:auto;top:16px;background:#fff;color:var(--purple);border:1px solid var(--line)}.empty{padding:45px 20px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px;color:#a897ba}.empty p{font-size:14px;margin:0}.empty h3{color:#79678c}.loading{display:flex;align-items:center;gap:12px;padding:80px 30px;color:var(--muted)}.fatal{max-width:600px;margin:100px auto;padding:30px}.fatal button{background:var(--purple);color:#fff;padding:12px;border-radius:8px}.overlay{position:fixed;inset:0;background:#251b3b66;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto}.modal{background:#fff;border-radius:20px;padding:28px;max-width:540px;width:100%;max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 20px 80px #21162e33}.modal.wide{max-width:850px}.modal>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.modal>header h2{font-size:22px}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:22px;margin-top:25px}.choose-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:25px}.format-choice{display:flex;flex-direction:column;background:var(--pastel);align-items:flex-start;text-align:left;border:2px solid transparent;border-radius:12px;padding:22px 18px;min-height:170px;color:var(--tone)}.format-choice:hover{border-color:var(--mid);transform:translateY(-2px)}.format-choice strong{font-size:16px;color:var(--ink);margin-top:14px}.format-choice>span{font-size:13px;line-height:1.6;margin-top:7px}.format-badge{display:inline-flex;align-items:center;gap:8px;color:var(--tone);background:var(--pastel);border-radius:7px;padding:8px 12px;font-size:14px;font-weight:600}.setup-summary{margin:25px 0 22px;padding:20px;background:#faf8fd;border:1px solid var(--line);border-radius:12px}.setup-summary h3{margin:14px 0 5px;font-size:21px}.setup-summary>.muted{font-size:14px}.setup-columns{gap:28px}.setup-columns h3{margin-bottom:15px}.team-field{display:flex;align-items:center;gap:10px;margin:8px 0}.team-field input{margin:0}.team-dot{display:inline-block;background:#aa89f2;width:10px;height:10px;border-radius:50%;flex-shrink:0}.team-0{--team-color: #ac8af1}.team-1{--team-color: #6ccac3}.team-2{--team-color: #efbe60}.team-3{--team-color: #e88ba9}.team-dot[class*=team-],.team-dot{background:var(--team-color, #aa89f2)}.theme-choices{display:flex;gap:8px;margin-top:8px}.theme-choices button{flex:1;min-width:0;display:flex;flex-direction:column;border:2px solid #eee9f4;border-radius:9px;padding:5px;gap:5px;font-size:12px}.theme-choices button.selected{border-color:var(--purple);background:#f8f4fe}.theme-choices img{width:100%;height:48px;object-fit:cover;border-radius:5px}.number-cover{height:48px;background:#b393ec;width:100%;display:flex;align-items:center;justify-content:center;border-radius:5px;color:#fff;font-size:25px;font-weight:800}.check-label{display:flex;align-items:center;gap:9px;line-height:1.5}.check-label input{width:17px;height:17px;margin:0;accent-color:var(--purple)}.setup-note{background:#f5f0fc;border-radius:12px;margin-top:22px;padding:28px;color:#a08aba;text-align:center}.setup-note p{font-size:14px}.account-intro{display:flex;align-items:center;gap:13px;margin:25px 0}.account-intro .avatar{width:45px;height:45px}.account-intro p{margin:4px 0;font-size:14px;color:var(--muted)}.invite-form{display:flex;align-items:center;gap:10px;margin:12px 0 20px}.invite-form input{margin:0}.member-list{margin-bottom:20px}.member-list>div{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.member-list strong,.member-list small{display:block;font-size:14px}.member-list small{font-size:12px;color:var(--muted)}.editor-page{max-width:1250px;margin:0 auto;padding:25px 35px 70px}.editor-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px;gap:14px}.editor-top .muted{font-size:14px;margin-left:auto}.editor-title{padding:30px 0}.editor-title h1{font-size:32px;margin-top:15px}.editor-title p{color:var(--muted);margin:9px 0 0;font-size:15px}.editor-columns{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);gap:28px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px}.panel h2{font-size:18px}.editor-columns>.panel{position:sticky;top:20px}.editor-columns h3{margin-top:25px}.editor-tip{background:#f8f4fd;border-radius:10px;margin-top:25px;padding:16px;color:#9680b3}.editor-tip p{font-size:13px;line-height:1.8;margin-bottom:0}.content-editor .section-heading{margin:0 0 18px}.item-editor{margin-bottom:18px}.item-header{display:flex;align-items:center;justify-content:space-between}.item-header strong{font-size:15px}.item-header>.icon-button{width:27px;height:27px}.image-field{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.image-field>img{width:75px;height:65px;object-fit:contain;border:1px solid var(--line);border-radius:7px}.upload-control{display:inline-flex;align-items:center;gap:7px;border:1px dashed #d6c7e8;color:#9576b4;padding:8px 12px;border-radius:7px;margin:0;cursor:pointer;font-size:12px}.manual-grid{display:grid;gap:7px;margin-top:12px}.manual-grid label{margin:0;font-size:12px}.manual-grid select{font-size:11px;padding:8px 22px 8px 6px;background-position:right 4px center}.player{min-height:100vh;background:#1b192d;color:#fff;display:flex;flex-direction:column}.player-header{display:flex;align-items:center;gap:16px;padding:20px 30px;border-bottom:1px solid #ffffff12}.player-header>.icon-button{color:#c1b7d7;background:#ffffff08}.player-header h1{font-size:21px;letter-spacing:-.4px;margin-top:3px}.player-format{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#b6a4d3}.player-tools{margin-left:auto;display:flex;align-items:center;gap:12px}.player-tools .icon-button:hover{background:#ffffff15}.tool-button{display:flex;gap:8px;color:#c9bedc;padding:10px 12px;border:1px solid #ffffff20;border-radius:8px;font-size:14px}.tool-button:hover:not(:disabled){background:#ffffff10}.timer{background:#ffffff12;padding:9px 12px;border-radius:9px;color:#e6dcf7;font-variant-numeric:tabular-nums;min-width:90px}.timer.expired{background:#71394d;color:#ffc8d3}.scoreboard{display:flex;gap:14px;padding:20px 30px;align-items:center;justify-content:center;flex-wrap:wrap}.score-team{padding:12px 20px;border:1px solid #ffffff12;border-radius:12px;background:#ffffff05;min-width:170px}.score-team.active{border-color:var(--team-color);background:#ffffff09}.score-name{display:flex;align-items:center;gap:7px;font-size:14px;color:#e0d9eb;max-width:240px;overflow:hidden;text-overflow:ellipsis}.score-name .team-dot{background:var(--team-color)}.turn-label{font-size:9px;text-transform:uppercase;letter-spacing:1px;margin-left:auto;color:var(--team-color)}.score-team form{display:flex;align-items:center;justify-content:center;margin-top:5px;gap:10px}.score-team input{font-family:Manrope,sans-serif;appearance:textfield;moz-appearance:textfield;background:transparent;border:0;width:98px;text-align:center;color:#fff;font-size:35px;font-weight:800;padding:0;margin:0;letter-spacing:-1px}.score-team input::-webkit-inner-spin-button,.score-team input::-webkit-outer-spin-button{appearance:none}.score-adjust{background:#ffffff0c;border-radius:50%;width:24px;height:24px;color:#bfb2d6;line-height:1}.score-adjust:hover{background:#ffffff20}.next-team{color:#a495bb;font-size:12px;padding:12px}.play-area{width:100%;max-width:1150px;margin:0 auto;padding:15px 40px 35px;flex:1}.board-instruction{display:flex;align-items:center;justify-content:space-between;color:#b7a9ce;margin:7px 0 22px;font-size:16px}.board-instruction>span{font-size:12px;color:#9281ab}.hidden-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.hidden-card{min-height:130px;aspect-ratio:1.5;background:#8058cf;border:1px solid #ac87e966;border-radius:13px;color:#fff;box-shadow:0 5px #593a9c;overflow:hidden}.hidden-card:hover:not(:disabled){background:#956ee1;transform:translateY(-3px);box-shadow:0 8px #593a9c}.card-number{font-size:46px;font-weight:800;font-family:Manrope,sans-serif}.hidden-card.themed{padding:0;border:3px solid #ffffff25;background:#ffffff10}.hidden-card picture,.hidden-card img{display:block;width:100%;height:100%;object-fit:cover}.hidden-card.used,.grid-cell.used,.jeopardy-cell.used{background:#ffffff04;color:#6b5c85;box-shadow:none;border:1px dashed #ffffff15;opacity:1}.coordinate-board{display:grid;gap:12px}.coordinate-row{display:contents}.coordinate-label{display:flex;align-items:center;justify-content:center;font-family:Manrope,sans-serif;font-size:18px;color:#9dcec7;padding:8px}.grid-cell{min-height:85px;aspect-ratio:1.6;border-radius:11px;background:#287c79;box-shadow:0 4px #165b59;color:#a6e0da;font-size:30px;font-weight:800;border:1px solid #4d9996}.grid-cell:hover:not(:disabled){background:#34918c;transform:translateY(-2px)}.jeopardy-board{display:grid;gap:12px}.category-title{text-align:center;background:#32467b;padding:18px 8px;border-radius:9px;color:#d9e5ff;font-size:19px;font-weight:700}.jeopardy-cell{min-height:130px;background:#283a70;border-radius:10px;font-size:39px;font-weight:800;color:#f3d279;box-shadow:0 4px #172851}.jeopardy-cell:hover:not(:disabled){background:#374f8c}.question-stage{background:#fcfbff;color:#352b47;border-radius:19px;padding:35px 45px;min-height:400px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 10px 40px #0002}.question-stage h2{font-size:clamp(28px,3vw,43px);max-width:900px;margin:15px 0;line-height:1.4;overflow-wrap:anywhere}.stage-eyebrow{font-size:12px;font-weight:800;color:#ad96c7;letter-spacing:1.8px}.question-image{max-height:310px;max-width:100%;object-fit:contain;border-radius:11px;margin:12px auto;display:block}.reveal-actions{display:flex;gap:15px;align-items:center;justify-content:center;margin-top:25px}.reveal-button{font-size:16px;padding:14px 26px}.answer-block{border-top:1px solid #e5dced;width:100%;margin-top:20px;padding-top:22px}.answer-block>span{font-size:11px;letter-spacing:1.7px;font-weight:700;color:#8dba9e}.answer-block h3{font-size:30px;color:#45896a;margin-top:10px;overflow-wrap:anywhere}.correct-button{background:#438a69;color:#fff;font-size:16px}.incorrect-button{background:#f6e5e9;color:#ae566c;font-size:16px}.stage-back{margin:0 0 12px;color:#a28abf;font-size:12px}.event-stage{min-height:420px;border-radius:20px;padding:50px;text-align:center;background:#f9e4a2;color:#7f5a18;display:flex;flex-direction:column;align-items:center;justify-content:center}.event-stage.bomb{background:#f0bcc9;color:#8b3e56}.event-stage.swap{background:#c9b7f0;color:#654493}.event-stage.instruction{background:#bde1d8;color:#397d6c}.event-stage h2{font-size:38px;margin-top:22px}.event-points{font-size:25px;margin:15px 0 25px}.event-stage>p:not(.event-points){font-size:20px;margin:0 0 20px}.event-stage select{max-width:300px;margin:0 0 18px}.memory-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.memory-card{min-height:150px;background:#9f5d8a;border:1px solid #bc7ba8;border-radius:12px;color:#e8b3d9;box-shadow:0 4px #733f62;padding:15px;display:flex;flex-direction:column;gap:10px;font-size:21px;overflow-wrap:anywhere}.memory-card.flipped{background:#fff9fc;color:#76415e;opacity:1;box-shadow:none}.memory-card.matched{background:#d0eadc;border-color:#9ec8b1;color:#37745a}.memory-card>img{max-height:120px;object-fit:contain;border-radius:8px}.memory-continue{display:flex;margin:25px auto 0}.slide-progress{display:flex;justify-content:space-between;color:#a897bd;font-size:14px;margin-bottom:15px}.scrambled-word{letter-spacing:8px;text-transform:uppercase;color:#a17b35!important}.slide-navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px}.slide-dots{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.slide-dots button{background:#ffffff20;width:8px;height:8px;border-radius:50%;padding:0}.slide-dots button.active{background:#ba94ef}.result-message{color:#6c997b;display:flex;gap:8px;align-items:center;margin:20px 0 0}.round-complete{display:flex;align-items:center;flex-direction:column;gap:14px;padding:25px;color:#e9c970}.round-complete h2{font-size:34px}.round-complete p{font-size:18px;color:#c5b5dc;margin:0}.player-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 30px;border-top:1px solid #ffffff0c;color:#746586;font-size:11px}.player-brand{display:flex;align-items:center;gap:5px;font-family:Manrope,sans-serif;font-size:18px;letter-spacing:-.5px;color:#9c8fb0;font-weight:800}.player-brand img{width:23px;height:23px;border-radius:5px;opacity:.65}.persistent-error{position:fixed;bottom:15px;left:20px;right:20px;background:#8d3449;color:#fff;padding:16px;border-radius:10px;z-index:100}.persistent-error button{float:right;color:#fff}.event-settings{margin-top:16px}@media(min-width:1600px){.format-tile{padding:23px 19px}.format-tile h3{font-size:16px}.format-tile p{font-size:13px}.tile-action{font-size:12px}.game-art{height:185px}.game-info h3{font-size:18px}.game-description{font-size:14px}.creator,.game-tags>span{font-size:12px}.play-button{font-size:14px}.library-content{padding-top:45px}}@media(max-width:1200px){.sidebar{width:210px;padding-left:13px;padding-right:13px}.main-content{margin-left:210px;width:calc(100% - 210px)}.library-content{padding:30px}.topbar{padding:0 30px}.heading-line h1{font-size:24px}.format-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.format-tile{min-height:160px;padding:15px}.format-tile h3{font-size:15px}.format-doodle{float:right;width:40px;height:40px;margin-left:8px}.format-tile p{font-size:12px;margin-top:12px;min-height:33px}.tile-action{font-size:12px}.game-grid{gap:15px}.game-info{padding:14px}.game-info h3{font-size:14px}.game-description{font-size:11px}.creator{font-size:9px}.game-art{height:135px}.private-label{display:none}.scoreboard{padding:15px;gap:10px}.score-team{min-width:150px;padding:10px 15px}.play-area{padding:15px 25px 30px}}@media(max-width:900px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heading-line{align-items:flex-start}.heading-line h1{font-size:23px}.heading-line .primary{font-size:12px;padding:10px 12px}.shelf-actions{gap:10px}.shelf-actions .text-button{font-size:10px}.filters{flex-wrap:wrap}.search{flex-basis:100%}.filters select{width:calc(50% - 6px)}.editor-columns{grid-template-columns:1fr}.editor-columns>.panel{position:static}.hidden-board{grid-template-columns:repeat(3,minmax(0,1fr))}.score-team{min-width:135px;padding:10px}.score-team input{width:85px;font-size:30px}.player-header{padding:15px;gap:10px}.player-header h1{font-size:18px}.player-tools{gap:7px}.player-tools .tool-button{font-size:0;gap:0}.player-footer>span:last-child{display:none}.question-stage{padding:30px}.library-footer>span:last-child{display:none}}@media(max-width:650px){.sidebar{display:none;width:230px;box-shadow:10px 0 50px #30213f20}.sidebar.is-open{display:flex}.main-content{width:100%;margin-left:0}.topbar{height:65px;padding:0 20px;gap:10px}.topbar>span{font-size:11px;margin-right:auto}.topbar>div{gap:10px}.mobile-menu{display:flex}.library-content{padding:25px 18px}.heading-line{flex-wrap:wrap;gap:18px}.heading-line h1{font-size:25px;max-width:290px}.heading-line .primary{font-size:13px}.page-heading>p{font-size:13px;margin-bottom:25px}.format-grid{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}.format-tile{min-height:158px;padding:14px}.format-tile h3{font-size:14px}.format-doodle{float:none;width:35px;height:35px;margin-bottom:10px}.format-doodle>svg{width:23px}.format-tile p{font-size:11px;min-height:30px;margin:7px 0 10px}.section-heading h2{font-size:16px}.game-grid{gap:12px}.game-art{height:120px}.game-info{padding:12px}.game-info h3{font-size:14px;line-height:1.5}.game-description{display:none}.game-tags>span{font-size:9px}.creator{margin-top:12px;align-items:flex-start;font-size:9px}.creator .avatar{display:none}.game-info .play-button{padding:8px;font-size:10px;gap:5px}.shelf-actions .text-button{font-size:0;gap:0}.shelf-actions .text-button svg{width:19px}.card-footer{margin-top:12px}.art-miniatures>span{width:33px;height:49px}.art-miniatures{gap:7px}.mini-grid{grid-template-columns:repeat(3,30px)}.mini-grid>span{height:27px;font-size:12px}.scramble-art>span{width:25px;height:33px;font-size:17px}.art-type{font-size:9px;left:10px;bottom:8px}.overlay{padding:12px}.modal{padding:22px;max-height:calc(100dvh - 24px);border-radius:15px}.modal>header h2{font-size:19px}.choose-grid{grid-template-columns:repeat(2,1fr);gap:10px}.format-choice{padding:16px 12px;min-height:155px}.format-choice strong{font-size:14px}.format-choice>span{font-size:12px}.two-col.setup-columns{grid-template-columns:1fr}.editor-page{padding:18px 15px 50px}.editor-top .muted{display:none}.editor-top .text-button{font-size:12px}.editor-title h1{font-size:27px}.panel{padding:18px}.two-col{gap:10px}.item-editor .two-col{grid-template-columns:1fr 1fr}.player-header h1{font-size:16px;max-width:180px}.player-format{font-size:10px}.player-tools .icon-button{width:28px}.player-tools .tool-button{padding:8px}.player-tools{gap:2px;flex-wrap:wrap;justify-content:flex-end}.timer{font-size:12px;min-width:60px;padding:6px}.scoreboard{gap:8px;padding:13px}.score-team{min-width:125px;flex:1}.score-name{font-size:12px}.score-team input{font-size:28px;width:70px}.turn-label{font-size:8px}.next-team{font-size:11px;padding:6px}.play-area{padding:10px 15px 25px}.board-instruction{font-size:13px;gap:15px;align-items:flex-start}.board-instruction>span{font-size:10px;white-space:nowrap}.hidden-board{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.hidden-card{min-height:90px;aspect-ratio:1.1;border-radius:9px}.card-number{font-size:32px}.coordinate-board{gap:6px}.coordinate-label{font-size:14px;padding:3px}.grid-cell{min-height:55px;aspect-ratio:1;font-size:22px;border-radius:7px}.jeopardy-board{gap:7px}.category-title{font-size:12px;padding:14px 6px;overflow-wrap:anywhere}.jeopardy-cell{min-height:90px;font-size:29px}.question-stage{padding:24px 18px;min-height:350px;border-radius:13px}.question-stage h2{font-size:27px}.question-image{max-height:240px}.answer-block h3{font-size:26px}.stage-eyebrow{font-size:10px}.correct-button,.incorrect-button{font-size:14px;padding:12px 16px}.memory-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.memory-card{font-size:15px;min-height:120px;padding:12px}.memory-card>img{max-height:80px}.player-footer{padding:15px;font-size:9px;gap:20px}.player-brand{font-size:15px}.scrambled-word{letter-spacing:4px;word-break:break-word}.slide-navigation{gap:10px}.slide-navigation .tool-button{font-size:12px;padding:9px 7px}.event-stage{padding:30px 18px;min-height:350px}.event-stage h2{font-size:30px}.event-points{font-size:22px}.toast{bottom:15px;width:calc(100% - 30px);font-size:13px}.resume-banner{font-size:12px;padding:10px}.resume-banner .text-button{font-size:12px;white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.format-tile h3{font-size:15px;white-space:normal}.format-tile p{font-size:14px;min-height:64px}.tile-action{font-size:14px}.game-info h3{font-size:17px}.game-description{font-size:14px;min-height:44px}.play-button,.shelf-actions .text-button,.search input,.filters select{font-size:14px}.game-tags>span,.creator{font-size:12px}.score-name{font-size:16px}@media(max-width:650px){.format-tile p{min-height:64px}.game-info h3{font-size:15px}.game-tags>span,.creator{font-size:11px}.game-info .play-button{font-size:12px}.shelf-actions .text-button{font-size:0}.score-name{font-size:14px}}.image-description{flex-basis:100%;margin-top:3px;color:#83718f;font-size:14px}.image-description input{font-size:14px}.word-clue{border-top:1px solid var(--line);margin-top:20px;padding-top:18px;font-size:15px}.preview-banner{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 25px;background:#e8d9ff;color:#65438e;font-size:14px}.hidden-card.themed{position:relative}.cover-index{position:absolute;right:8px;bottom:7px;display:flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 6px;border-radius:7px;background:#30283fb8;color:#fff;font-size:14px;font-weight:700}.filters{flex-wrap:wrap}.filters .search{min-width:220px}.filters select{width:auto;min-width:140px;flex:0 1 auto}@media(max-width:650px){.editor-top{flex-wrap:wrap}.editor-top .primary{margin-left:auto}.filters select{width:calc(50% - 6px)}.preview-banner{padding:10px 15px;font-size:12px}}.auth-page{min-height:100dvh;padding:24px;background:var(--surface)}.auth-header{max-width:1120px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.auth-header .brand{margin:0;padding:0;text-decoration:none;color:var(--ink)}.auth-card{width:min(100%,440px);margin:clamp(24px,7dvh,80px) auto 24px;padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 12px 48px #0000000a}.auth-card h1{font-size:28px}.auth-card>p{color:var(--muted)}.auth-card form{display:grid;gap:16px;margin:24px 0 12px}.auth-card label{margin:0}.auth-card input{width:100%;margin-top:8px}.auth-card .hint{margin:0;font-size:13px}.auth-card>.hint{margin-top:16px}.auth-actions{display:flex;gap:16px;flex-wrap:wrap}@media(max-width:480px){.auth-page{padding:16px}.auth-card{padding:20px}}:root[data-theme=dark]{color-scheme:dark;color:#eee8f7;background:#19151f;--ink: #eee8f7;--muted: #b6a9c5;--line: #3c324a;--surface: #262030}:root[data-theme=dark] .sidebar{background:#211b29}:root[data-theme=dark] .topbar{background:#211b29}:root[data-theme=dark] .brand{color:#f4edff}:root[data-theme=dark] .sidebar nav button{color:#c1b4cf}:root[data-theme=dark] .sidebar nav button.active{color:#d5bcff;background:#38294c}:root[data-theme=dark] .sidebar nav button:hover{background:#302639}:root[data-theme=dark] .sidebar nav button>span{background:#49365e}:root[data-theme=dark] .sidebar-note{background:#30291e;border-color:#493c2a}:root[data-theme=dark] .sidebar-note p{color:#c5b699}:root[data-theme=dark] .workspace-label,:root[data-theme=dark] .workspace-state,:root[data-theme=dark] .account-button small,:root[data-theme=dark] .topbar>span,:root[data-theme=dark] .private-label{color:#b3a4c3}:root[data-theme=dark] .avatar{background:#49335e;color:#e1c4ff}:root[data-theme=dark] .eyebrow{color:#bba0d5}:root[data-theme=dark] .page-heading>p{color:#b8aac7}:root[data-theme=dark] .purple{--tone: #d1b4ff;--pastel: #30233f;--mid: #59406f}:root[data-theme=dark] .teal{--tone: #9edfd3;--pastel: #1b3433;--mid: #365d58}:root[data-theme=dark] .blue{--tone: #aac9ff;--pastel: #222d45;--mid: #3d5077}:root[data-theme=dark] .pink{--tone: #f0bad3;--pastel: #3d2636;--mid: #6a3c55}:root[data-theme=dark] .orange{--tone: #f4cd94;--pastel: #3a2e20;--mid: #735634}:root[data-theme=dark] .green{--tone: #c5dda0;--pastel: #2b341f;--mid: #505e36}:root[data-theme=dark] .format-choice strong{color:var(--ink)}:root[data-theme=dark] .format-tile p{opacity:1}:root[data-theme=dark] .game-card,:root[data-theme=dark] .panel,:root[data-theme=dark] .modal,:root[data-theme=dark] .dropdown{background:var(--surface)}:root[data-theme=dark] .game-tags>span{border-color:#493b59;color:#c4b4d3}:root[data-theme=dark] .game-description,:root[data-theme=dark] .creator{color:#b8aac5}:root[data-theme=dark] .game-tags .offline-tag{color:#a0dabf}:root[data-theme=dark] .card-footer{border-color:#41354f}:root[data-theme=dark] .play-button{background:#3b2b51;color:#dfc5ff}:root[data-theme=dark] .play-button:hover{background:#50386a}:root[data-theme=dark] .card-footer>.icon-button{color:#bba7ce}:root[data-theme=dark] .art-type{background:#1b142ac9;border-color:#ffffff20}:root[data-theme=dark] .art-miniatures>span,:root[data-theme=dark] .mini-grid>span,:root[data-theme=dark] .scramble-art>span{background:#ffffff12}:root[data-theme=dark] .art-miniatures>span:nth-child(2){background:#8560b2;color:#ffe392}:root[data-theme=dark] .count{background:#3f3052;color:#d2b8ef}:root[data-theme=dark] :is(input,textarea,select){background-color:#221b2c;color:#f2e9fc;border-color:#4d3e5e}:root[data-theme=dark] :is(input,textarea)::placeholder{color:#ac9bbd}:root[data-theme=dark] .search svg{color:#bdabd1}:root[data-theme=dark] .filters select{color:#c5b5d4}:root[data-theme=dark] .text-button{color:#d0b4ff}:root[data-theme=dark] .shelf-actions .text-button{color:#bca6d4}:root[data-theme=dark] .text-button:hover{color:#e6d5ff}:root[data-theme=dark] .secondary{background:#34293f;border-color:#554263;color:#eee1fc}:root[data-theme=dark] .secondary:hover{background:#483655}:root[data-theme=dark] .icon-button:hover,:root[data-theme=dark] .dropdown button:hover{background:#44324f}:root[data-theme=dark] .notice,:root[data-theme=dark] .resume-banner{background:#342443;border-color:#553a6d;color:#d3b8ee}:root[data-theme=dark] .notice p{color:#c4aed9}:root[data-theme=dark] .error-box{background:#492932;border-color:#87505e;color:#ffc1ce}:root[data-theme=dark] .success-box{background:#243e32;border-color:#446f58;color:#b4ebca}:root[data-theme=dark] .danger-text{color:#f3a5ba!important}:root[data-theme=dark] .library-footer{color:#b7a1cc}:root[data-theme=dark] .library-footer>span:last-child{color:#a893bd}:root[data-theme=dark] .overlay{background:#0c0814bb}:root[data-theme=dark] .setup-summary{background:#302639}:root[data-theme=dark] .theme-choices button{border-color:#514060}:root[data-theme=dark] .theme-choices button.selected{background:#443052;border-color:#c39bea}:root[data-theme=dark] .setup-note,:root[data-theme=dark] .editor-tip{background:#362842;color:#c3a8da}:root[data-theme=dark] .upload-control{border-color:#705085;color:#d1b1e9}:root[data-theme=dark] .image-description{color:#c5abd9}:root[data-theme=dark] .empty{color:#b7a0cc}:root[data-theme=dark] .empty h3{color:#d6bee8}:root[data-theme=dark] .busy-indicator{background:#30243d;color:#e0c2fa}:root[data-theme=dark] .preview-banner{background:#392749;color:#e1c7fb}:root[data-theme=dark] .question-stage{background:#2a2335;color:#f0e8fc}:root[data-theme=dark] .answer-block{border-color:#51405f}:root[data-theme=dark] .answer-block h3{color:#a3ddb9}:root[data-theme=dark] .answer-block>span,:root[data-theme=dark] .result-message{color:#a5d9b7}:root[data-theme=dark] .stage-eyebrow{color:#c8a7e9}:root[data-theme=dark] .scrambled-word{color:#f3ce97!important}:root[data-theme=dark] .incorrect-button{background:#613646;color:#ffd2e0}:root[data-theme=dark] .memory-card.flipped{background:#3b2b3c;color:#f5d4e7}:root[data-theme=dark] .memory-card.matched{background:#2a4639;color:#b5e8c8}:root[data-theme=dark] .event-stage.star{background:#483b21;color:#ffe4a5}:root[data-theme=dark] .event-stage.bomb{background:#492d3b;color:#fbc1d3}:root[data-theme=dark] .event-stage.swap{background:#3e2b53;color:#ddc0ff}:root[data-theme=dark] .event-stage.instruction{background:#26443d;color:#b2ecdc}:root[data-theme=dark] .score-team input{background:transparent;border:0;color:#fff}.theme-toggle{color:#846e9b}:root[data-theme=dark] .theme-toggle{color:#f0ce8e}.board-count-preview{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-weight:600;line-height:1.6;margin:12px 0}.preset-events{border:1px solid var(--line);border-radius:8px;padding:12px;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preset-events legend{font-size:13px;font-weight:700;padding:0 4px}.preset-events .check-label{margin:0;font-size:12px;font-weight:500}.image-credits{display:inline-block;margin:8px 0;color:var(--muted);font-size:12px}.grid-cell.used[data-revealed-kind=star]{color:#f8d574;border-color:#f8d57466}.grid-cell.used[data-revealed-kind=bomb]{color:#f3a5b5;border-color:#f3a5b566}.grid-cell.used[data-revealed-kind=question]{color:#cbb8ee}.event-stage.steal,.event-stage.give,.event-stage.double{background:#c9b7f0;color:#654493}.event-stage.half,.event-stage.reset,.event-stage.reset-all{background:#f0bcc9;color:#8b3e56}:root[data-theme=dark] .event-stage.steal,:root[data-theme=dark] .event-stage.give,:root[data-theme=dark] .event-stage.double{background:#39264e;color:#e1c5ff}:root[data-theme=dark] .event-stage.half,:root[data-theme=dark] .event-stage.reset,:root[data-theme=dark] .event-stage.reset-all{background:#492434;color:#ffc3d5}@media(max-width:480px){.preset-events{grid-template-columns:1fr}}.hidden-card.meme-cover img{object-fit:contain;background:#24202d}.modal.setup-modal.with-events{max-width:1180px;width:100%}.setup-columns{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(260px,1fr);gap:28px}.with-events .setup-columns{grid-template-columns:minmax(200px,.8fr) minmax(260px,1fr) minmax(280px,1fr)}.setup-columns>section{min-width:0}.setup-columns>section>h3{margin:0 0 20px}.setup-columns .event-settings{border:0;padding:0;margin:0}.setup-columns .preset-events{display:grid;grid-template-columns:1fr;gap:8px}.event-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;background:transparent;color:inherit;padding:6px 0;font:inherit}.switch-track{display:inline-flex;flex:0 0 36px;width:36px;height:22px;padding:3px;border-radius:20px;background:#778195}.switch-track>span{width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}.event-switch[aria-checked=true] .switch-track{background:var(--purple, #6d4bd1)}.event-switch[aria-checked=true] .switch-track>span{transform:translate(14px)}.event-range{border:0;padding:0;margin:24px 0 12px;min-width:0}.event-range label{margin-top:0}.event-range legend{font-weight:600;display:flex;align-items:center;gap:8px;margin-bottom:8px}.range-help{position:relative;display:inline-flex}.help-button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px solid currentColor;border-radius:50%;color:inherit;background:transparent;font-weight:700}.range-tooltip{position:absolute;z-index:5;top:28px;right:-50px;width:280px;max-width:75vw;padding:12px;border-radius:10px;background:#202735;color:#fff;box-shadow:0 4px 20px #0003;font-size:12px;font-weight:400;line-height:1.6}@media(max-width:980px){.setup-columns,.with-events .setup-columns{grid-template-columns:1fr;gap:26px}}.player{height:100dvh;min-height:0;overflow:hidden}.player-header{padding:10px 20px;flex-shrink:0}.player .scoreboard{padding:8px 20px;gap:8px;flex-shrink:0}.player .score-team{padding:5px 12px;min-width:145px}.player .score-team input{font-size:28px}.player .play-area{max-width:none;min-height:0;padding:8px 18px 12px;display:flex;flex-direction:column;gap:10px;overflow:auto}.player .board-instruction{margin:0;flex-shrink:0}.player .hidden-board,.player .memory-board,.player .coordinate-board,.player .jeopardy-board{flex:1;min-height:0;gap:8px;overflow:auto;padding:3px 3px 6px}.player .hidden-card,.player .grid-cell,.player .jeopardy-cell{min-height:64px;min-width:0;aspect-ratio:auto}.player .hidden-card{height:100%}.player .memory-card{min-height:90px;min-width:0;padding:8px;font-size:clamp(14px,1.6vw,24px);overflow:auto}.player .memory-card>img{min-height:0;max-height:65%;width:100%;object-fit:contain}.player .category-title{padding:8px;font-size:clamp(14px,1.5vw,24px)}.player .card-number{font-size:clamp(24px,3.4vw,64px)}.player .player-footer{padding:6px 18px;flex-shrink:0}.player .question-stage,.player .event-stage{flex:1;min-height:0;padding:20px}.player .question-image{max-height:min(32dvh,320px)}.player .memory-continue{margin:0 auto;flex-shrink:0}.player .slide-navigation{flex-shrink:0;margin-top:0}.setup-modal{padding:20px}.setup-modal .setup-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:8px 12px;margin:12px 0 16px}.setup-modal .setup-summary h3{margin:0;font-size:17px}.setup-modal .setup-columns>section>h3{margin-bottom:10px}.setup-modal label{margin-top:10px}.setup-modal input,.setup-modal select,.setup-modal textarea{padding:8px 10px;margin-top:5px}.setup-modal .hint{font-size:12px;line-height:1.4;margin:8px 0}.setup-modal .board-count-preview{font-size:12px;line-height:1.4;padding:8px;margin:8px 0}.setup-modal .event-range{margin:16px 0 8px}.setup-modal .event-range label{margin-top:0}.setup-modal .event-range legend{margin-bottom:0}.setup-modal .preset-events{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:4px 12px;margin:12px 0}.setup-modal .event-switch{font-size:12px;gap:6px;padding:4px 0}.setup-modal .preset-events .event-switch{align-items:center;min-height:32px}.setup-modal .preset-events .switch-track{flex-basis:30px;width:30px;height:18px;padding:2px}.setup-modal .preset-events .switch-track>span{width:14px;height:14px}.setup-modal .preset-events .event-switch[aria-checked=true] .switch-track>span{transform:translate(12px)}.setup-modal .modal-footer{margin-top:12px;padding-top:12px}@media(max-width:600px){.player .player-header{padding:8px 12px}.player .scoreboard{padding:6px 12px}.player .play-area{padding:6px 8px 10px}.player .player-footer{padding:4px 8px}.setup-modal .setup-summary{gap:8px}}.setup-control-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.setup-modal .setup-help{font-size:12px;color:var(--muted);margin:8px 0}.setup-help summary{cursor:pointer}@media(min-width:981px){.setup-modal{padding:16px}.setup-modal>header h2{font-size:20px}.setup-modal .setup-summary{margin:8px 0 12px;padding:5px 10px}.setup-modal .setup-summary .format-badge{padding:5px 8px;font-size:12px}.setup-modal .setup-columns>section>h3{font-size:15px;margin-bottom:8px}.setup-modal label{font-size:12px;margin-top:8px}.setup-modal input,.setup-modal select{min-height:34px;padding:6px 8px}.setup-modal textarea{min-height:60px;height:60px;padding:6px 8px}.setup-modal .hint{margin:5px 0}.setup-modal .preset-events{gap:2px 10px;padding:6px;margin:10px 0}.setup-modal .preset-events .event-switch{min-height:26px;padding:2px 0}.setup-modal .theme-choices button{padding:4px;gap:4px}.setup-modal .theme-choices img,.setup-modal .number-cover{height:30px;width:100%;object-fit:cover}.setup-modal .theme-choices button>span:last-child{font-size:11px}.setup-modal .modal-footer{padding-top:8px;margin-top:8px}.setup-modal .modal-footer button{padding:8px 14px}}.overlay:has(>.setup-modal){padding:12px}.setup-modal{max-height:calc(100dvh - 24px)}@media(min-width:981px){.setup-modal{padding:12px}.setup-modal .modal-footer button{min-height:36px;padding:6px 12px}.setup-modal .setup-summary{margin-top:6px;margin-bottom:8px}}.player .question-stage,.player .event-stage{overflow:auto;justify-content:safe center}.player .question-stage>*,.player .event-stage>*{flex-shrink:0}.player{overflow-y:auto;overflow-x:hidden}.player .play-area{flex-shrink:0;min-height:min(260px,45dvh)}.teacher-preview{height:100dvh;display:flex;flex-direction:column}.teacher-preview>.preview-banner{flex-shrink:0}.teacher-preview>.player{height:auto;flex:1;min-height:0}.theme-choices picture{display:block;width:100%}:root[data-theme=light] .player{background:#f5f4fa;color:#292638}:root[data-theme=light] .player-header{border-color:#ded8ea}:root[data-theme=light] .player-header>.icon-button{color:#615275;background:#e9e3f3}:root[data-theme=light] .player-format{color:#71548b}:root[data-theme=light] .player .tool-button,:root[data-theme=light] .player .player-tools .icon-button{color:#615275;border-color:#d6cde3}:root[data-theme=light] .player .tool-button:hover:not(:disabled),:root[data-theme=light] .player .player-tools .icon-button:hover{background:#e6def2}:root[data-theme=light] .player .score-team{background:#fff;border-color:#ded6e9}:root[data-theme=light] .player .score-team.active{border-color:var(--team-color);box-shadow:0 0 0 1px var(--team-color)}:root[data-theme=light] .player .score-name,:root[data-theme=light] .player .score-team input{color:#292638}:root[data-theme=light] .player .score-adjust{background:#eee7f7;color:#614d7c}:root[data-theme=light] .player .turn-label{color:#6e5488}:root[data-theme=light] .player .next-team,:root[data-theme=light] .player .board-instruction,:root[data-theme=light] .player .board-instruction>span,:root[data-theme=light] .player .slide-progress{color:#665476}:root[data-theme=light] .player .timer{background:#e7def3;color:#58416d}:root[data-theme=light] .player .timer.expired{background:#f7d7dd;color:#982d46}:root[data-theme=light] .player .player-footer{color:#6e617b;border-color:#ded8ea}:root[data-theme=light] .player .player-brand{color:#625575}:root[data-theme=light] .player .hidden-card:not(.themed):not(.used){background:#ddcefb;color:#50347d;border-color:#b6a0d8;box-shadow:0 4px #baa5dd}:root[data-theme=light] .player .hidden-card:not(.themed):hover:not(:disabled){background:#cdb7f3}:root[data-theme=light] .player .grid-cell{background:#c2e6df;color:#285f59;border-color:#7fb7ac;box-shadow:0 4px #86b9ae}:root[data-theme=light] .player .grid-cell:hover:not(:disabled){background:#a7d7cc}:root[data-theme=light] .player .coordinate-label{color:#326d65}:root[data-theme=light] .player .category-title{background:#d2ddf5;color:#334f83}:root[data-theme=light] .player .jeopardy-cell{background:#e0e7f8;color:#3b5285;box-shadow:0 4px #aab9dd}:root[data-theme=light] .player .jeopardy-cell:hover:not(:disabled){background:#cbd8f4}:root[data-theme=light] .player .memory-card:not(.flipped){background:#edd5e6;color:#854a73;border-color:#c898b9;box-shadow:0 4px #bd8aaf}:root[data-theme=light] .player .hidden-card.used,:root[data-theme=light] .player .grid-cell.used,:root[data-theme=light] .player .jeopardy-cell.used{background:#e8e3ed;color:#786a86;border-color:#b7aac7;box-shadow:none}:root[data-theme=light] .player .slide-dots button{background:#c5b8d7}:root[data-theme=light] .player .slide-dots button.active{background:#704bd4}:root[data-theme=light] .player .round-complete{color:#5e467b}.player .grid-cell{display:flex;flex-direction:column;gap:3px;padding:6px;overflow:hidden}.player .grid-cell .cell-owner{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(11px,1.1vw,18px);line-height:1.3}.player .grid-cell.claimed,:root[data-theme=light] .player .grid-cell.claimed{background:var(--claim-color);color:#fff;border:2px solid #ffffff66;opacity:1}.player .grid-cell[data-winning=true]{outline:3px solid #f6c957;outline-offset:-5px}.grid-result{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:8px 12px;border:1px solid #bda66b;border-radius:10px;background:var(--surface);color:var(--ink);flex-shrink:0}.grid-result .secondary{min-height:32px;padding:6px 12px}.team-4{--team-color: #82adf3}.team-5{--team-color: #e1898b}.team-6{--team-color: #bac979}.team-7{--team-color: #bda3d4}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2) format("woff2"),url(/assets/dm-sans-latin-400-normal-BwCSEQnW.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2) format("woff2"),url(/assets/dm-sans-latin-500-normal-Dr3UlScf.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/dm-sans-latin-600-normal-Aqo67rzb.woff2) format("woff2"),url(/assets/dm-sans-latin-600-normal-BmdmIIQ2.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/dm-sans-latin-700-normal-DvUfVpUG.woff2) format("woff2"),url(/assets/dm-sans-latin-700-normal-CUSSCpQX.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/manrope-latin-600-normal-4f0koTD-.woff2) format("woff2"),url(/assets/manrope-latin-600-normal-BqgrALkZ.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-latin-700-normal-BZp_XxE4.woff2) format("woff2"),url(/assets/manrope-latin-700-normal-DGRFkw-m.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-latin-800-normal-BfWYOv1c.woff2) format("woff2"),url(/assets/manrope-latin-800-normal-uHUdIJgA.woff) format("woff")}
