:root{--ink:#383049;--muted:#857d91;--pink:#f26da4;--pink-dark:#d95a92;--border:#f0dfe9;--shadow:0 16px 42px #b1769b19;font-family:Nunito,'Noto Sans SC',system-ui,sans-serif;color:var(--ink);background:#fffaf7}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 95% 7%,#fce8f1 0,transparent 26%),radial-gradient(circle at 2% 34%,#eee7ff 0,transparent 27%),#fffbf7}
button,input,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bda8f2;outline-offset:3px}
[hidden]{display:none!important}.wrap{width:min(1180px,calc(100% - 48px));margin:0 auto}.topbar{height:95px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:13px;font-size:15px;font-weight:900;line-height:1.2}.brand b{color:var(--pink)}.brand strong{font-size:20px}.brand-stamp{display:grid;place-items:center;background:var(--pink);color:#fff;font-size:27px;border-radius:15px;width:48px;height:48px;box-shadow:0 7px 0 #eec9dc;transform:rotate(-6deg)}.header-actions{display:flex;align-items:center;gap:15px}.top-link,.text-button{border:0;background:transparent;color:#826d8f;font-size:12px;font-weight:900}.top-link:hover,.text-button:hover{color:var(--pink)}
h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.035em}h1{font-size:clamp(32px,4vw,49px);line-height:1.14;margin-bottom:10px}h2{font-size:clamp(25px,3vw,33px);line-height:1.2;margin-bottom:7px}h3{font-size:17px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:900;color:#ac8eb5}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:13px;padding:12px 18px;font-size:12px;font-weight:900;min-height:42px;transition:transform .15s,box-shadow .15s}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--pink);color:#fff;box-shadow:0 9px 19px #ed83ae36}.button.primary:hover{background:var(--pink-dark)}.button.outline{background:#fff;color:#c76098;border-color:#f2d8e6}.button.light{background:#f8f4fc;color:#9a76b3}.button.small{min-height:34px;padding:8px 12px;font-size:11px}.button.text-danger{background:transparent;color:#b98593}.button:disabled{opacity:.5;cursor:wait}.form-error{font-size:12px;font-weight:800;color:#ce5276;margin:9px 0;min-height:1em}input,select{width:100%;min-width:0;padding:12px 13px;border-radius:12px;background:#fff;border:1px solid #eadddf;color:#463c52}input::placeholder{color:#b2a8b6}label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#776a7d;font-weight:900}
.login-layout{min-height:min(750px,calc(100vh - 145px));display:grid;grid-template-columns:minmax(0,540px) minmax(300px,1fr);align-items:center;gap:30px}.login-card{background:#fff;padding:45px;border-radius:28px;border:1px solid var(--border);box-shadow:var(--shadow)}.login-icon{font-size:52px;margin:17px 0 8px}.login-card p{color:#8e8292;line-height:1.7;font-size:14px}.login-card form{margin-top:22px;display:grid;gap:17px}.login-card form .button{width:100%}.login-card .login-hint{font-size:11px;color:#aa9bb0;margin-top:10px}.login-illustration{min-height:460px;position:relative;display:grid;place-items:center}.big-flower{width:350px;height:350px;border-radius:50%;background:#f9e2ed;color:#efa0bf;display:grid;place-items:center;font-size:230px;box-shadow:0 0 0 25px #f6e9f86b}.floating-card{position:absolute;background:white;border:1px solid #f1e4ee;border-radius:17px;padding:13px 21px;box-shadow:var(--shadow);font-weight:900;color:#9b77b2}.card-one{top:40px;left:8%;transform:rotate(-9deg)}.card-two{top:120px;right:0;transform:rotate(11deg)}.card-three{bottom:65px;left:23%;transform:rotate(-6deg);color:var(--pink)}
.dashboard-heading{padding:52px 0 31px;display:flex;justify-content:space-between;align-items:center;gap:30px}.dashboard-heading h1 span{font-size:35px}.dashboard-heading p{font-size:14px;color:var(--muted);margin:0}.stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat-card{border-radius:18px;padding:22px 25px;display:flex;align-items:baseline;gap:14px}.stat-card b{font-size:31px}.stat-card span{font-size:13px;font-weight:800}.stat-card.pink{background:#fff0f6;color:#b25485}.stat-card.lavender{background:#eee8fb;color:#8370b1}.stat-card.mint{background:#e4f4ee;color:#518a7b}.section-nav{display:flex;gap:9px;flex-wrap:wrap;border-bottom:1px solid #eadfe6;margin:35px 0 40px;padding-bottom:18px}.section-nav a{padding:10px 16px;border-radius:20px;font-size:12px;font-weight:900;background:#fff;border:1px solid var(--border);color:#81718b}.section-nav a:hover{background:#f9eaf2;color:#bc6696}
.panel-section{scroll-margin-top:30px;margin:0 0 56px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.section-title p{color:var(--muted);font-size:12px;margin:0;line-height:1.6}.game-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.game-tile{overflow:hidden;border-radius:22px;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow)}.game-tile>div:last-child{padding:23px 27px 25px}.game-tile h3{font-size:24px;margin:9px 0 7px}.game-tile p{font-size:12px;color:var(--muted);line-height:1.8;min-height:62px}.tile-illustration{height:170px;display:flex;justify-content:center;align-items:center;gap:21px;font-size:72px;position:relative}.tile-illustration span{background:#fff9;border-radius:50%;width:52px;height:52px;display:grid;place-items:center;font-size:28px;box-shadow:0 7px 12px #00000010}.arcade .tile-illustration{background:linear-gradient(135deg,#f8daef,#e4dafa)}.board .tile-illustration{background:linear-gradient(135deg,#e6eddb,#fae4c8)}.tile-type{font-size:10px;letter-spacing:.1em;color:#a084b1;font-weight:900}
.quick-templates{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:17px;padding:14px 17px;margin:0 0 16px}.quick-templates span{font-size:12px;font-weight:900;color:#9e7fa9}.quick-templates select{max-width:250px;padding:8px 11px}.template-list,.rooms-list{display:grid;gap:12px}.template-tile,.room-item{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:19px 22px;border:1px solid var(--border);border-radius:17px;background:#fff}.template-main h3,.room-details h3{font-size:16px;margin:5px 0}.template-main p,.room-details p{color:var(--muted);font-size:12px;margin:0}.tile-actions,.room-actions{display:flex;gap:9px;flex-wrap:wrap}.empty-card{text-align:center;border:1.5px dashed #ead5e3;border-radius:18px;background:#fffbfc;padding:30px}.empty-icon{font-size:34px}.empty-card h3{margin:7px 0}.empty-card p{font-size:12px;color:var(--muted);margin:0}.room-status{font-size:11px;font-weight:900;white-space:nowrap}.room-status.active{color:#4b9c79}.room-status.closed{color:#a6a1aa}
.editor-panel{margin-top:22px;padding:25px;border-radius:20px;border:1px solid #e6d1e1;background:#fffbff}.editor-heading,.editor-actions{display:flex;justify-content:space-between;align-items:center;gap:15px}.editor-heading h3{font-size:21px;margin-bottom:0}.icon-button{display:grid;place-items:center;width:33px;height:33px;border:1px solid #e8d5e4;border-radius:50%;background:#fff;color:#9b79a9;font-size:23px}.editor-meta{display:grid;grid-template-columns:1.4fr .6fr;gap:12px;margin:22px 0}.cards-editor{display:grid;gap:14px}.card-row{background:#fff;border:1px solid #eadce8;border-radius:14px;padding:18px}.card-row-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.card-index{font-size:13px;color:#a76898}.remove-card{background:transparent;border:none;color:#b17e91;font-size:11px;font-weight:900}.card-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.card-fields .wide{grid-column:span 3}.editor-actions{margin-top:19px}.editor-actions-right{display:flex;gap:9px}
.room-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;border:1px solid var(--border);padding:24px;background:#fff;border-radius:19px}.room-form .form-span{grid-column:span 2}.room-specific{display:grid;grid-template-columns:1.4fr .7fr 1fr;gap:12px;background:#faf7fc;border-radius:14px;padding:17px;border:1px solid #f0e4f2}.room-specific[hidden]{display:none}.room-specific input[type=range]{accent-color:var(--pink);padding:8px 0}.room-specific output{display:inline-block;background:#ffe5f1;color:#b85b91;padding:5px 9px;margin-top:2px;border-radius:10px;text-align:center;font-weight:900;font-size:12px}.room-specific#littleRoomFields{grid-template-columns:1fr}.info-note{font-size:12px;color:#8c7697;line-height:1.7}.share-box{margin-top:17px;padding:23px;background:#ecf9f4;border:1px solid #cbe7d9;border-radius:17px}.share-box>span{font-weight:900;color:#4f9c75;font-size:17px}.share-box p{color:#648776;font-size:12px;margin:8px 0 14px}.share-actions{display:flex;gap:8px}.share-actions input{flex:1;min-width:0}.footer{border-top:1px solid #f1e6ed;padding:25px 0 40px;color:#b1a0ad;font-size:11px;text-align:center}
.theme-picker{grid-column:1/-1;border:0;margin:5px 0 0;padding:0;min-width:0}
.theme-picker legend{font-size:13px;font-weight:900;color:#6c5875;padding:0;margin-bottom:10px}
.theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.theme-card{position:relative;display:flex;gap:9px;flex-direction:column;cursor:pointer;background:#fff;border:2px solid #e9e0eb;border-radius:15px;padding:6px 6px 11px;transition:border-color .16s,transform .16s,box-shadow .16s}
.theme-card:hover{transform:translateY(-2px)}
.theme-card:has(input:checked){border-color:#e875ad;box-shadow:0 0 0 3px #fce5f1}
.theme-card:focus-within{outline:3px solid #ac9bed;outline-offset:2px}
.theme-card input{position:absolute;opacity:0;width:1px;height:1px;top:8px;left:8px;pointer-events:none}
.theme-scene{position:relative;height:109px;overflow:hidden;border-radius:10px;display:block;isolation:isolate}
.theme-scene:before{content:"";position:absolute;left:-10%;right:-10%;height:53%;bottom:-20%;border-radius:50% 50% 0 0;background:#ffffff6e;transform:rotate(-4deg)}
.theme-scene i,.theme-scene b,.theme-scene em{position:absolute;font-style:normal;line-height:1;filter:drop-shadow(0 4px 3px #0000000e)}
.theme-scene i{font-size:45px;top:12px;left:20%}.theme-scene b{font-size:36px;bottom:3px;right:15%}.theme-scene em{font-size:26px;top:7px;right:9%}
.theme-scene.classic{background:linear-gradient(145deg,#e3dcff,#fce5ed 66%,#fff0d4)}
.theme-scene.classic i{color:#f292b6}.theme-scene.classic b{color:white}.theme-scene.classic em{color:#f3c06f}
.theme-scene.underwater{background:linear-gradient(145deg,#5bbfd5,#b7eae4 80%)}
.theme-scene.underwater:before{background:#f2e1bc}.theme-scene.underwater em{color:#f1ffff}
.theme-scene.ancient{background:linear-gradient(145deg,#f3cea0,#f6e5c9)}
.theme-scene.ancient:before{background:#c69b80}.theme-scene.ancient em{color:#df955d}
.theme-scene.donuts{background:linear-gradient(145deg,#ffd9ee,#ffebd8)}
.theme-scene.donuts:before{background:#f2b5d4}.theme-scene.donuts em{color:#a28bd7}
.theme-caption{text-align:center;color:#594c61;font-size:12px;font-weight:900;white-space:normal;line-height:1.3}
.theme-help{margin:10px 0 0;color:#9c8a9e;font-size:11px;line-height:1.55}
@media(max-width:900px){.game-tiles{grid-template-columns:1fr}.login-layout{grid-template-columns:1fr}.login-illustration{display:none}.room-item,.template-tile{align-items:flex-start;flex-direction:column}.room-specific{grid-template-columns:1fr 1fr}.room-specific>label:first-child{grid-column:span 2}}
@media(max-width:900px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.wrap{width:calc(100% - 28px)}.topbar{height:76px}.brand{font-size:12px}.brand-stamp{height:42px;width:42px}.brand strong{font-size:17px}.login-card{padding:30px 24px}.dashboard-heading{display:block;padding:33px 0 24px}.dashboard-heading>.button{margin-top:19px}.stats-row{gap:7px}.stat-card{padding:14px 12px;display:block}.stat-card b{display:block;font-size:26px}.stat-card span{font-size:10px}.section-title{align-items:flex-start;flex-direction:column}.section-nav{gap:6px}.section-nav a{padding:9px 12px}.game-tile>div:last-child{padding:21px}.room-form,.editor-meta{grid-template-columns:1fr}.room-form .form-span{grid-column:1}.room-specific{grid-template-columns:1fr}.room-specific>label:first-child{grid-column:1}.card-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.card-fields .wide{grid-column:span 2}.share-actions{flex-wrap:wrap}.share-actions input{flex-basis:100%}.template-tile,.room-item{padding:16px}.editor-panel{padding:15px}.editor-actions{align-items:flex-start;flex-direction:column}.editor-actions-right{width:100%}.editor-actions-right .button{flex:1}.theme-grid{gap:8px}.theme-scene{height:93px}.theme-scene i{font-size:36px}.theme-caption{font-size:11px}}
/* A single-round workspace, following the board editor's compact layout. */
.compact-editor{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px}.editor-panel{padding:24px;background:#f8f9f1;border:1px solid #e0e5d5}.editor-sidebar{padding:24px;background:#edf1e4;border:1px solid #dfe5d4;border-radius:20px;display:flex;flex-direction:column;gap:18px;align-self:start}.editor-sidebar h3{margin:0;color:#3c4b38}.editor-sidebar p{font-size:13px;line-height:1.65;color:#78866e;margin:0}.editor-sidebar label{font-size:13px;color:#738168}.editor-sidebar input,.editor-sidebar select{background:#fffef9;border-color:#dfe5d6}.round-nav-heading{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.1em;color:#7d8c72;margin-top:8px}.round-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.round-number{border:1px solid #dfe5d6;border-radius:10px;background:#fffef9;min-height:38px;color:#4b5b44;cursor:pointer;font:700 13px inherit}.round-number[aria-pressed=true]{background:#587452;color:white;border-color:#587452}.round-number:focus-visible{outline:3px solid #879c76;outline-offset:2px}.editor-workspace{padding:28px;background:#fffef9;border:1px solid #e1e5d8;border-radius:20px;min-width:0}.editor-workspace h2{font-size:28px;color:#3c4b38;margin:22px 0 8px}.editor-intro{font-size:14px;color:#7c886f;margin:0 0 25px}.editor-position{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#79876f;letter-spacing:.12em}.editor-position span:last-child{letter-spacing:0}.editor-workspace .card-row{border:0;padding:0;background:none;margin:0}.editor-workspace .card-row[hidden]{display:none}.editor-workspace .card-index{font-size:12px;color:#839077}.editor-workspace .card-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.editor-workspace .card-fields .wide{grid-column:1/-1}.editor-workspace .card-fields label{color:#74816a;font-size:13px}.editor-workspace input,.editor-workspace select,.editor-workspace textarea{background:#fffef9;border:1px solid #dfe5d6;border-radius:12px;padding:13px;font:inherit;color:#42513b;width:100%;box-sizing:border-box}.editor-workspace textarea{resize:vertical;min-height:96px}.editor-paging{display:flex;justify-content:space-between;margin-top:24px}.editor-panel .editor-actions{margin-top:20px}.editor-panel .editor-actions>span{font-size:12px;color:#7c886f}.editor-panel .button.primary{background:#587452}.editor-panel .button.outline{border-color:#b7c5aa;color:#587452}.editor-panel .button:disabled{opacity:.4;cursor:default}@media(max-width:760px){.compact-editor{grid-template-columns:1fr;gap:14px}.editor-sidebar{padding:18px}.round-nav{grid-template-columns:repeat(8,minmax(0,1fr))}.editor-workspace{padding:20px}.editor-workspace h2{font-size:24px}.editor-workspace .card-fields{grid-template-columns:1fr}.editor-panel{padding:12px}.editor-panel .editor-actions{align-items:stretch;flex-direction:column}.editor-actions-right{display:flex;flex-wrap:wrap}.round-number{min-width:0}}@media(max-width:420px){.round-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.editor-position{letter-spacing:.04em}}
