:root{--ink:#173e38;--green:#245b4e;--gold:#c39a56;--cream:#f8f5ed;--muted:#71847c}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px/1.6 system-ui,-apple-system,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.shell{max-width:1440px;margin:auto;padding:0 6%}header{height:95px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce4d9}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:800;letter-spacing:.12em;font-size:15px;line-height:1.1}.brand small{display:block;font-size:9px;letter-spacing:.18em;margin-top:5px}.brand-icon{display:grid;place-items:center;background:var(--ink);color:#edcc86;width:42px;height:42px;border-radius:50%;font-size:23px}nav{display:flex;gap:24px}.link{border:0;background:none;color:var(--ink);font-weight:650;padding:9px}.page{display:none}.page.active{display:block}.hero{min-height:550px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:6%;padding:50px 0}.eyebrow,.panel-label{color:#b18a49;font-size:11px;font-weight:800;letter-spacing:.19em}.hero h1,h2{font-family:Georgia,serif;letter-spacing:-.04em;font-weight:500;line-height:1.08}.hero h1{font-size:clamp(48px,6vw,84px);margin:25px 0}.hero h1 em{color:#8da493;font-weight:400}.hero p{max-width:490px;font-size:16px;color:#647970}.actions{display:flex;gap:12px;margin-top:32px}.primary,.secondary{border-radius:8px;padding:14px 20px;font-weight:700;border:1px solid var(--ink)}.primary{background:var(--ink);color:white}.primary span{margin-left:25px}.secondary{background:transparent;color:var(--ink)}.primary:hover{background:#326e5e}.secondary:hover{background:#e8eee5}.hero-note{font-size:12px;color:#819188;margin-top:46px}.hero-art{position:relative;height:430px;background:#dce8da;border-radius:50% 50% 16px 16px;overflow:hidden;display:flex;justify-content:center;align-items:center}.hero-art:before{content:'';position:absolute;inset:25px;border:1px solid #b8cdb8;border-radius:50% 50% 4px 4px}.orbit{position:absolute;border:1px solid #c2d4bf;border-radius:50%;width:290px;height:290px}.orbit-two{width:370px;height:370px}.kaaba{width:190px;height:155px;position:relative;background:#263c38;box-shadow:18px 15px 0 #20312e;transform:skewY(-4deg);margin-top:60px}.kaaba-top{position:absolute;top:-25px;left:0;width:100%;height:26px;background:#344d45;clip-path:polygon(0 100%,17% 0,100% 0,100% 100%)}.kaaba-band{height:19px;background:#c8a567;position:absolute;top:35px;width:100%;border-block:4px solid #a47e47}.kaaba-door{position:absolute;right:30px;bottom:0;width:37px;height:65px;background:#ad8c57;border:5px solid #ddc184}.star,.moon{position:absolute;color:#c0a061;font-size:32px}.s1{top:80px;left:20%}.s2{top:150px;right:17%}.moon{top:55px;right:25%;font-size:45px}.art-label{position:absolute;bottom:27px;font-size:9px;letter-spacing:.22em;font-weight:800;color:#698476}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #dce4d9;border-bottom:1px solid #dce4d9}.feature-row>div{display:flex;gap:20px;padding:27px 20px;border-right:1px solid #dce4d9}.feature-row>div:last-child{border:0}.feature-row b{color:#c8a466;font-family:Georgia;font-size:22px}.feature-row span{font-weight:700}.feature-row small{display:block;color:#8a9a90;font-weight:400}.section-head{text-align:center;padding:65px 0 30px}.section-head h2,.narrow h2{font-size:48px;margin:12px 0}.section-head p,.muted{color:var(--muted)}.cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:950px;margin:auto}.card,.panel,.editor{background:#fff;border:1px solid #e5ebe2;border-radius:12px;padding:28px;box-shadow:0 8px 25px #274b3910}.card h3{font:28px Georgia;margin:15px 0 5px}.card p{color:var(--muted)}.card-icon{display:grid;place-items:center;background:#e5eee3;color:var(--green);width:48px;height:48px;border-radius:12px;font-size:25px}label{display:block;font-weight:700;font-size:13px;margin:16px 0}label small{font-weight:400;color:var(--muted);display:block}input,textarea,select{width:100%;border:1px solid #d9e3da;border-radius:7px;padding:11px;background:#fafcf9;color:var(--ink);margin-top:6px}textarea{resize:vertical}.check{display:flex;align-items:center;gap:9px}.check input{width:auto;margin:0}.full{width:100%}.inline{display:flex;gap:8px}.inline input{margin:0}.divider{text-align:center;color:#a1afa4;font-size:10px;letter-spacing:.15em;margin:19px 0}.narrow{max-width:720px;margin:auto;padding-top:70px}.rule{display:flex;gap:25px;border-bottom:1px solid #dce4d9;padding:10px 0}.rule b{color:#bb9658;font:24px Georgia}.game-heading{display:flex;justify-content:space-between;align-items:center;padding:40px 0 20px}.game-heading h2{font-size:42px;margin:8px 0}.game-heading h2 span{color:#c49c5d}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:22px}.board-wrap{background:#fff;border-radius:12px;padding:20px;border:1px solid #e1e9e0}.board-title,.board-foot{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.14em;font-weight:800;color:#84988a;padding:4px 2px 15px}.board-foot{justify-content:center;gap:15px;padding:15px 0 0}.board-foot span{color:#c4a363}.board{display:grid;grid-template-columns:repeat(10,1fr);gap:4px}.tile{aspect-ratio:1;background:#edf3ea;border-radius:4px;padding:4px;position:relative;font-size:11px;color:#82978a}.tile.question-tile{background:#e8dcb9;color:#8b6b35}.tile.finish{background:#214c40;color:#fff}.tile .marker{display:inline-grid;place-items:center;border-radius:50%;width:18px;height:18px;color:white;font-weight:800;font-size:9px;border:1px solid white;margin:1px}.tile .markers{position:absolute;bottom:1px;left:2px;display:flex;flex-wrap:wrap}.panel{margin-bottom:15px;padding:23px}.panel h3{font:25px Georgia;margin:10px 0}.panel p{color:var(--muted);font-size:13px}.dice{width:64px;height:64px;border:1px solid #dfe8dc;border-radius:12px;display:grid;place-items:center;font:32px Georgia;color:#ba965a;margin:18px auto}.player{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #eff2ed}.dot{width:12px;height:12px;border-radius:50%}.player small{margin-left:auto;color:var(--muted)}.tip{background:#e7efe3;padding:17px;border-radius:9px;color:#6b8270;font-size:13px}.room-info{background:#e8efe5;padding:12px 18px;border-radius:8px;margin-bottom:15px}.admin-actions{display:flex;gap:10px;flex-wrap:wrap}.editor{margin:12px 0;padding:20px}.editor-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 15px}.tile-editor{display:flex;gap:12px;align-items:end}.tile-editor label{flex:1}.danger{color:#a94c46;border:0;background:none;padding:12px}.modal{position:fixed;inset:0;background:#142d28bb;display:grid;place-items:center;z-index:10;padding:20px}.modal-card{width:min(550px,100%);background:#fff;border-radius:16px;padding:35px;max-height:90vh;overflow:auto}.modal-card h2{font-size:33px;margin:20px 0}.sound{background:#edf4eb;border:0;color:var(--green);padding:10px 15px;border-radius:7px}.answers{display:grid;gap:9px;margin-top:22px}.answers button{text-align:left;background:#fafcf9;border:1px solid #dce7dc;border-radius:8px;padding:14px;color:var(--ink)}.answers button:hover{background:#e4eee1}.hidden{display:none!important}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#173e38;color:white;padding:12px 20px;border-radius:8px;z-index:30;max-width:90%}footer{display:flex;justify-content:space-between;border-top:1px solid #dce4d9;margin-top:80px;padding:25px 0;color:#8a9b8e;font-size:11px;letter-spacing:.05em}@media(max-width:760px){.shell{padding:0 5%}header{height:75px}.hero{grid-template-columns:1fr;padding:45px 0;gap:25px}.hero h1{font-size:52px}.hero-art{height:300px;grid-row:1}.kaaba{transform:scale(.75) skewY(-4deg)}.feature-row>div{padding:15px 5px;gap:5px;font-size:11px}.feature-row b{font-size:15px}.cards,.game-layout{grid-template-columns:1fr}.game-heading h2{font-size:30px}.board-wrap{padding:10px}.board{gap:2px}.tile{font-size:8px;padding:2px}.tile .marker{width:12px;height:12px;font-size:7px}.editor-grid{grid-template-columns:1fr}.tile-editor{flex-wrap:wrap}.section-head h2{font-size:38px}footer{gap:20px}.board-title,.board-foot{font-size:8px}}

/* Compact game view: fit the board to the available viewport height. */
.game-controls{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.fit-game .shell{max-width:none}
body.fit-game header,body.fit-game footer{display:none}
body.fit-game .game-heading{padding:10px 0 6px}
body.fit-game .game-heading h2{font-size:26px;margin:2px 0}
body.fit-game .game-heading .eyebrow{font-size:9px}
body.fit-game .game-controls button{padding:8px 12px;font-size:12px}
body.fit-game .game-layout{grid-template-columns:minmax(0,1fr) minmax(190px,260px);align-items:start;gap:12px}
body.fit-game .board-wrap{width:min(100%,calc(100dvh - 115px));margin-inline:auto;padding:8px}
body.fit-game .board-title{padding-bottom:5px;font-size:9px}
body.fit-game .board-foot{padding-top:5px;font-size:8px}
body.fit-game .board{gap:2px}
body.fit-game .tile{padding:2px;font-size:clamp(7px,1.2vh,11px)}
body.fit-game .tile .marker{width:clamp(10px,2vh,18px);height:clamp(10px,2vh,18px);font-size:8px}
body.fit-game .panel{padding:12px;margin-bottom:8px}
body.fit-game .panel h3{font-size:20px;margin:4px 0}
body.fit-game .panel p{margin:4px 0;font-size:12px}
body.fit-game .dice{width:42px;height:42px;font-size:24px;margin:7px auto}
body.fit-game .panel .primary{padding:8px}
body.fit-game .player{padding:3px 0;font-size:12px}
body.fit-game .tip{padding:9px;font-size:11px}
body.fit-game .room-info{padding:6px 10px;margin-bottom:6px;font-size:12px}
@media(max-width:760px){body.fit-game .shell{padding:0 8px}body.fit-game .game-layout{grid-template-columns:minmax(0,1fr);gap:6px}body.fit-game .board-wrap{width:min(100%,calc(100dvh - 285px));padding:5px}body.fit-game .game-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:6px}body.fit-game .panel{margin:0;padding:8px}body.fit-game .panel h3{font-size:17px}body.fit-game .dice{width:32px;height:32px;font-size:19px;margin:3px auto}body.fit-game .panel .primary{padding:5px;font-size:12px}body.fit-game .panel-label{font-size:9px}body.fit-game .tip{display:none}body.fit-game .board-title{font-size:7px}body.fit-game .board-foot{font-size:7px}body.fit-game .game-heading h2{font-size:20px}body.fit-game .game-controls button{font-size:10px;padding:6px}body.fit-game .tile .marker{width:10px;height:10px;font-size:6px}}
/* Focused board view */
body.fit-game .game-heading{display:block;padding:6px 0}
body.fit-game .game-heading>div:first-child,body.fit-game #leave,body.fit-game .room-info,body.fit-game .tip{display:none!important}
body.fit-game .game-controls{justify-content:flex-end}
body.fit-game #fitBoard{padding:6px 12px}
body.fit-game .game-layout{height:calc(100dvh - 48px);grid-template-columns:minmax(0,1fr) minmax(190px,260px);align-items:center}
body.fit-game .board-wrap{width:min(100%,calc(100dvh - 65px));max-height:calc(100dvh - 48px)}
body.fit-game .game-layout aside{align-self:center}
@media(max-width:760px){body.fit-game .game-layout{height:calc(100dvh - 45px);grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:center}body.fit-game .board-wrap{width:min(100%,calc(100dvh - 260px));max-height:100%}body.fit-game .game-layout aside{align-self:end}body.fit-game .game-heading{padding:3px 0}body.fit-game #fitBoard{padding:5px 9px}}
/* Keep the complete focused view within the viewport. */
body.fit-game{height:100dvh;overflow:hidden}
body.fit-game .shell,body.fit-game main,body.fit-game #game{height:100%;min-height:0}
body.fit-game .game-heading{display:none}
body.fit-game .game-layout{height:100%;padding:6px 0;box-sizing:border-box;grid-template-columns:minmax(0,1fr) minmax(190px,260px)}
body.fit-game .board-wrap{box-sizing:border-box;width:min(100%,calc(100dvh - 58px));max-height:none}
body.fit-game .board-title{align-items:center;gap:5px;padding-bottom:4px}
body.fit-game .board-title>span:nth-child(2){margin-left:auto}
body.fit-game .fit-exit{display:inline-block!important;white-space:nowrap;font-size:9px;letter-spacing:normal;padding:4px 7px}
body.fit-game .board-foot{padding-top:4px}
@media(max-width:760px){body.fit-game .game-layout{height:100%;padding:4px 0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}body.fit-game .board-wrap{width:min(100%,calc(100dvh - 235px));max-height:none}body.fit-game .fit-exit{font-size:8px;padding:3px 5px}body.fit-game .board-title>span:nth-child(2){display:none}}
.hero-art .kaaba-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-art:before{z-index:1;pointer-events:none;border-color:#ffffff80}
.hero-art .art-label{z-index:2;color:#fff;text-shadow:0 2px 5px #000;background:#173e38a8;padding:5px 10px;border-radius:4px}
.tile.finish{background-image:url("Jesus100.png");background-size:contain;background-position:center;background-repeat:no-repeat}
body:has(#home.active) .shell{min-height:100dvh;display:flex;flex-direction:column}
body:has(#home.active) main{flex:1;min-height:0;display:flex;flex-direction:column}
body:has(#home.active) #home{flex:1;min-height:0;display:flex;flex-direction:column}
body:has(#home.active) .hero{flex:1;min-height:0;padding:clamp(12px,3vh,32px) 0}
body:has(#home.active) .hero h1{font-size:clamp(38px,min(6vw,10vh),80px);margin:clamp(10px,2vh,22px) 0}
body:has(#home.active) .hero p{margin:0;font-size:clamp(13px,2vh,16px)}
body:has(#home.active) .actions{margin-top:clamp(12px,3vh,28px)}
body:has(#home.active) .hero-note{margin-top:clamp(10px,3vh,32px)}
body:has(#home.active) .hero-art{height:min(65vh,430px);aspect-ratio:1;width:min(100%,65vh,430px);justify-self:center;border-radius:18px}
body:has(#home.active) .hero-art .kaaba-photo{object-fit:contain}
body:has(#home.active) .hero-art:before,body:has(#home.active) .art-label{display:none}
body:has(#home.active) .feature-row>div{padding:clamp(8px,2vh,20px) 12px}
body:has(#home.active) footer{margin-top:0;padding:clamp(8px,1.5vh,18px) 0}
@media(max-width:760px){body:has(#home.active) header{height:60px;flex-shrink:0}body:has(#home.active) .hero{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:10px;padding:8px 0}body:has(#home.active) .hero-art{order:-1;width:min(48vw,28vh);height:auto;aspect-ratio:1;align-self:center}body:has(#home.active) .hero h1{font-size:clamp(28px,6vh,46px);margin:8px 0}body:has(#home.active) .hero p{font-size:12px;line-height:1.4}body:has(#home.active) .eyebrow{font-size:9px}body:has(#home.active) .actions{margin-top:10px}body:has(#home.active) .actions button{padding:9px 12px;font-size:12px}body:has(#home.active) .hero-note{margin-top:8px}body:has(#home.active) .feature-row>div{padding:7px 4px}body:has(#home.active) .feature-row small{font-size:9px}body:has(#home.active) footer{font-size:9px;padding:6px 0}}
@media(max-height:550px){body:has(#home.active) .hero-note,body:has(#home.active) footer{display:none}body:has(#home.active) header{height:50px}body:has(#home.active) .hero-art{max-height:45vh}}
/* Home: reserve exact viewport space for header, content and footer. */
body:has(#home.active) .shell{height:100dvh;min-height:0;overflow:hidden}
body:has(#home.active) header{height:clamp(54px,10dvh,85px);flex:none}
body:has(#home.active) main{flex:1 1 0;min-height:0}
body:has(#home.active) #home{flex:1 1 0;min-height:0}
body:has(#home.active) .hero{flex:1 1 0;min-height:0;padding:8px 0;overflow:hidden}
body:has(#home.active) .hero-art{height:min(100%,430px);max-height:100%;width:auto;max-width:100%;aspect-ratio:1}
body:has(#home.active) .feature-row{flex:none}
body:has(#home.active) footer{flex:none}
@media(max-width:760px){body:has(#home.active) header{height:54px}body:has(#home.active) .hero{gap:6px;justify-content:center}body:has(#home.active) .hero-art{height:min(28dvh,48vw);width:min(28dvh,48vw);flex:none}body:has(#home.active) .hero h1{font-size:clamp(26px,5.5dvh,42px);line-height:1.02}body:has(#home.active) .feature-row span{font-size:10px;line-height:1.3}body:has(#home.active) footer{font-size:8px}}
@media(max-height:550px) and (min-width:761px){body:has(#home.active) .feature-row>div{padding:4px 8px}body:has(#home.active) .hero h1{font-size:clamp(30px,9dvh,60px)}body:has(#home.active) .actions{margin-top:8px}}
@media(max-height:650px) and (max-width:760px){body:has(#home.active) .hero-art{height:min(22dvh,40vw);width:min(22dvh,40vw)}body:has(#home.active) .hero-note,body:has(#home.active) footer{display:none}body:has(#home.active) .feature-row small{display:none}}
/* Soft geometric pattern for the home page. */
body:has(#home.active){background-color:#edf2e8;background-image:linear-gradient(100deg,rgba(249,250,242,.95) 0%,rgba(240,246,235,.88) 52%,rgba(225,237,221,.70) 100%),url("motif.svg");background-size:auto,96px 96px;background-attachment:fixed}
body:has(#home.active) header,body:has(#home.active) .feature-row,body:has(#home.active) footer{border-color:#b9cfbb}
body:has(#home.active) .feature-row>div{border-color:#b9cfbb}
body:has(#home.active) .hero-art{box-shadow:0 14px 36px rgba(30,77,55,.14)}
@media(max-width:760px){body:has(#home.active){background-image:linear-gradient(rgba(244,248,237,.94),rgba(228,239,223,.86)),url("motif.svg");background-size:auto,80px 80px}}

body:has(#home.active) footer{position:relative;isolation:isolate}
body:has(#home.active) footer::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:calc((100vw - 100%) / -2);right:calc((100vw - 100%) / -2);bottom:0;height:65px;background:linear-gradient(160deg,#c9dfc7aa,#e3eee0bb);clip-path:polygon(0 50%,12% 36%,25% 39%,38% 58%,52% 68%,66% 52%,80% 33%,91% 34%,100% 48%,100% 100%,0 100%)}
body:has(#home.active) footer::before{background:linear-gradient(160deg,rgba(132,183,140,.82),rgba(190,216,184,.88))}
body:has(#home.active) footer::after{content:"";position:absolute;z-index:-1;pointer-events:none;left:calc((100vw - 100%) / -2);right:calc((100vw - 100%) / -2);bottom:0;height:70px;background:rgba(202,165,92,.55);clip-path:polygon(0 43%,12% 29%,25% 32%,38% 51%,52% 61%,66% 45%,80% 26%,91% 27%,100% 41%,100% 47%,91% 33%,80% 32%,66% 51%,52% 67%,38% 57%,25% 38%,12% 35%,0 49%)}
/* Home design inspired by the supplied reference. */
body:has(#home.active){background-color:#fbf7e9;background-image:radial-gradient(ellipse at 5% 0%,#f9e5b7aa,transparent 32%),radial-gradient(ellipse at 90% 0%,#a4d8caaa,transparent 38%),linear-gradient(90deg,#fff9eced,#f9f8eaea),url("motif.svg");background-size:auto,auto,auto,96px 96px}
body:has(#home.active) .hero{position:relative;isolation:isolate;overflow:visible}
body:has(#home.active) .hero::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:calc((100vw - 100%) / -2);right:calc((100vw - 100%) / -2);bottom:0;height:min(29%,180px);background:url("gelombang.svg") center bottom/100% 100% no-repeat}
body:has(#home.active) .hero>div:first-child{position:relative;z-index:1}
body:has(#home.active) .hero-art{box-shadow:0 10px 28px #154b3930;border:2px solid #fff9ed;border-radius:24px}
body:has(#home.active) .hero-note{display:none}
body:has(#home.active) .feature-row{background:#f8f1e4;position:relative;border-color:#e7d7b4}
body:has(#home.active) .feature-row>div{border-color:#decba8}
body:has(#home.active) .feature-row b{color:#c28d36}
body:has(#home.active) footer::before,body:has(#home.active) footer::after{display:none}
body:has(#home.active) header{border-color:transparent}
@media(max-width:760px){body:has(#home.active) .hero::before{height:19%;opacity:.85}body:has(#home.active) .hero-art{border-radius:16px}body:has(#home.active) .hero h1{font-size:clamp(26px,5.2dvh,42px)}}
body:has(#home.active) .hero::after{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;background:none center center / min(78%,850px) auto no-repeat;opacity:.09;mix-blend-mode:multiply}
@media(max-width:760px){body:has(#home.active) .hero::after{background-size:95% auto;opacity:.07}}
body:has(#home.active) .hero::after{background-position:center center;opacity:.29}
@media(max-width:760px){body:has(#home.active) .hero::after{background-position:center center;opacity:.27}}
body:has(#home.active) .hero::after{inset:0 0 min(29%,180px);background-position:center bottom;background-size:min(70.2%,765px) auto;opacity:.34}
@media(max-width:760px){body:has(#home.active) .hero::after{inset:0 0 19%;background-position:center bottom;background-size:85.5% auto;opacity:.32}}
/* Place the decorative wave at the footer rather than in the hero. */
body:has(#home.active) .hero::before{display:none}
body:has(#home.active) .hero::after{inset:0;background-position:center center}
body:has(#home.active) footer::before{display:block;clip-path:none;height:clamp(30px,7dvh,60px);background:url("gelombang.svg") center bottom/100% 100% no-repeat}
@media(max-width:760px){body:has(#home.active) .hero::after{inset:0;background-position:center center}body:has(#home.active) footer::before{height:35px}}
body:has(#home.active) footer::before{bottom:15px}
body:has(#home.active) footer::before{bottom:0;height:clamp(35px,8.05dvh,69px)}
@media(max-width:760px){body:has(#home.active) footer::before{bottom:0;height:40.25px}}
body:has(#home.active) footer::before{height:clamp(45.5px,10.465dvh,89.7px)}
@media(max-width:760px){body:has(#home.active) footer::before{height:52.3px}}
body:has(#home.active) footer::before{height:clamp(63.7px,14.651dvh,125.58px)}
@media(max-width:760px){body:has(#home.active) footer::before{height:73.22px}}
body:has(#home.active) footer::before{height:clamp(101.92px,23.4416dvh,200.928px)}
@media(max-width:760px){body:has(#home.active) footer::before{height:117.152px}}
/* Keep the wave behind the home content. */
body:has(#home.active) .shell{position:relative;isolation:isolate}
body:has(#home.active) footer{position:static;isolation:auto}
body:has(#home.active) footer::before{position:absolute;z-index:-1;left:0;right:0;bottom:0;opacity:.9}
body:has(#home.active) .feature-row{background:rgba(248,241,228,.72)}
.brand-logo{display:block;width:clamp(160px,18vw,230px);height:auto;max-height:62px;object-fit:contain;object-position:left center}
@media(max-width:760px){.brand-logo{width:150px;max-height:48px}}
/* Setup uses the same backdrop while keeping its controls within reach. */
body:has(#setup.active){background-color:#fbf7e9;background-image:radial-gradient(ellipse at 5% 0%,#f9e5b7aa,transparent 32%),radial-gradient(ellipse at 90% 0%,#a4d8caaa,transparent 38%),linear-gradient(90deg,#fff9eced,#f9f8eaea),url("motif.svg");background-size:auto,auto,auto,96px 96px}
body:has(#setup.active) .shell{height:100dvh;display:flex;flex-direction:column;min-height:0}
body:has(#setup.active) header{height:clamp(54px,10dvh,85px);flex:none;border-color:transparent}
body:has(#setup.active) main{flex:1;min-height:0;display:flex}
body:has(#setup.active) #setup{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;padding-bottom:8px}
body:has(#setup.active) .section-head{padding:clamp(4px,1.5dvh,14px) 0}
body:has(#setup.active) .section-head h2{font-size:clamp(26px,5dvh,42px);margin:4px 0}
body:has(#setup.active) .section-head p{margin:3px 0;font-size:13px}
body:has(#setup.active) .cards{width:min(100%,950px);gap:14px;align-items:stretch}
body:has(#setup.active) .card{padding:clamp(10px,2dvh,20px)}
body:has(#setup.active) .card-icon{width:32px;height:32px;font-size:18px}
body:has(#setup.active) .card h3{font-size:clamp(20px,3.3dvh,26px);margin:5px 0}
body:has(#setup.active) .card p{font-size:12px;line-height:1.35;margin:4px 0}
body:has(#setup.active) label{margin:7px 0;font-size:12px}
body:has(#setup.active) input,body:has(#setup.active) textarea{padding:7px;margin-top:3px;font-size:13px}
body:has(#setup.active) textarea{height:clamp(60px,13dvh,112px)}
body:has(#setup.active) .card button{padding:8px 12px;font-size:13px}
body:has(#setup.active) .divider{margin:7px 0}
body:has(#setup.active) footer{flex:none;margin-top:0;padding:7px 0;font-size:10px}
@media(max-width:760px){body:has(#setup.active) header{height:54px}body:has(#setup.active) .cards{grid-template-columns:1fr;gap:8px}body:has(#setup.active) .card{padding:10px 12px}body:has(#setup.active) .card-icon{display:none}body:has(#setup.active) .card h3{font-size:19px}body:has(#setup.active) .card p{font-size:11px}body:has(#setup.active) textarea{height:48px}body:has(#setup.active) .section-head h2{font-size:26px}body:has(#setup.active) footer{display:none}}
@media(max-height:650px){body:has(#setup.active) .section-head p,body:has(#setup.active) .card p{display:none}body:has(#setup.active) .card-icon{display:none}body:has(#setup.active) .card{padding:8px 12px}body:has(#setup.active) label{margin:4px 0}body:has(#setup.active) textarea{height:48px}body:has(#setup.active) footer{display:none}}
/* Responsive home: keep content readable on phones and tablets. */
@media(max-width:1024px){
 body:has(#home.active) .shell{height:auto;min-height:100dvh;overflow:visible}
 body:has(#home.active) main,body:has(#home.active) #home{display:block;min-height:0}
 body:has(#home.active) .hero{min-height:0;overflow:visible;gap:20px;padding:22px 0}
 body:has(#home.active) .hero-art{width:min(100%,330px);height:auto;max-height:none;aspect-ratio:1}
 body:has(#home.active) .hero h1{font-size:clamp(36px,5.5vw,56px)}
 body:has(#home.active) .hero p{font-size:14px;line-height:1.5}
 body:has(#home.active) footer{display:flex;margin-top:auto}
}
@media(max-width:760px){
 body:has(#home.active) header{height:auto;min-height:64px;gap:8px}
 body:has(#home.active) header nav{gap:4px}
 body:has(#home.active) header nav .link{font-size:12px;padding:8px 5px}
 body:has(#home.active) .brand-logo{width:clamp(125px,37vw,150px)}
 body:has(#home.active) .hero{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:18px;padding:18px 0 24px}
 body:has(#home.active) .hero-art{order:-1;width:min(62vw,240px);height:auto;align-self:center;flex:none}
 body:has(#home.active) .hero h1{font-size:clamp(32px,8vw,44px);line-height:1.08;margin:10px 0}
 body:has(#home.active) .hero p{font-size:14px;line-height:1.5}
 body:has(#home.active) .actions{margin-top:16px;flex-wrap:wrap}
 body:has(#home.active) .actions button{padding:11px 14px;font-size:13px}
 body:has(#home.active) .feature-row{grid-template-columns:repeat(3,minmax(0,1fr))}
 body:has(#home.active) .feature-row>div{padding:9px 5px;gap:5px}
 body:has(#home.active) .feature-row span{font-size:10px;overflow-wrap:anywhere}
 body:has(#home.active) .feature-row small{display:block;font-size:9px}
 body:has(#home.active) footer{display:flex;flex-wrap:wrap;gap:4px;padding:10px 0;font-size:9px}
 body:has(#home.active) .hero::after{background-size:95% auto;opacity:.17}
}
@media(max-width:360px){body:has(#home.active) .hero-art{width:min(55vw,190px)}body:has(#home.active) .feature-row b{display:none}}
/* Compact home layout for short landscape screens. */
@media (orientation:landscape) and (max-height:500px) and (max-width:1024px){
 body:has(#home.active) .shell{height:100dvh;min-height:0;overflow:hidden}
 body:has(#home.active) header{height:48px;min-height:0;flex:none}
 body:has(#home.active) .brand-logo{width:145px;max-height:42px}
 body:has(#home.active) main{display:flex;flex:1 1 0;min-height:0}
 body:has(#home.active) #home{display:flex;flex:1 1 0;min-height:0;flex-direction:column}
 body:has(#home.active) .hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:14px;flex:1 1 0;min-height:0;padding:4px 0;overflow:hidden}
 body:has(#home.active) .hero-art{order:initial;height:min(100%,calc(100dvh - 65px));width:auto;max-width:100%;aspect-ratio:1;justify-self:center;align-self:center}
 body:has(#home.active) .hero h1{font-size:clamp(25px,9dvh,42px);line-height:1.03;margin:5px 0}
 body:has(#home.active) .hero p{font-size:clamp(11px,3dvh,13px);line-height:1.35;margin:0}
 body:has(#home.active) .eyebrow{font-size:9px}
 body:has(#home.active) .actions{margin-top:8px;gap:8px}
 body:has(#home.active) .actions button{padding:8px 12px;font-size:12px}
 body:has(#home.active) .feature-row,body:has(#home.active) footer,body:has(#home.active) .hero-note{display:none}
}
@media (orientation:landscape) and (max-height:500px) and (max-width:1024px){
 body:has(#home.active) .hero{gap:12px;padding:3px 0}
 body:has(#home.active) .hero-art{height:min(100%,calc(100dvh - 115px))}
 body:has(#home.active) .hero h1{font-size:clamp(24px,8dvh,38px);margin:4px 0}
 body:has(#home.active) .hero p{font-size:11px;line-height:1.3}
 body:has(#home.active) .actions{margin-top:6px}
 body:has(#home.active) .actions button{padding:7px 11px}
 body:has(#home.active) .feature-row{display:grid;flex:none;grid-template-columns:repeat(3,1fr)}
 body:has(#home.active) .feature-row>div{padding:3px 8px;gap:8px;line-height:1.15}
 body:has(#home.active) .feature-row b{font-size:15px}
 body:has(#home.active) .feature-row span{font-size:10px}
 body:has(#home.active) .feature-row small{display:block;font-size:9px}
 body:has(#home.active) footer{display:flex;flex:none;padding:3px 0;font-size:8px}
 body:has(#home.active) footer::before{height:90px}
}
/* Desktop game setup: group the heading and cards and show six player names. */
@media(min-width:761px){
 body:has(#setup.active) #setup{justify-content:flex-start;padding-top:clamp(8px,3dvh,28px)}
 body:has(#setup.active) .section-head{padding:0 0 clamp(12px,2.5dvh,22px)}
 body:has(#setup.active) .cards{margin:0 auto;align-items:stretch}
 body:has(#setup.active) .card{padding:clamp(18px,3dvh,28px);min-height:clamp(330px,54dvh,430px)}
 body:has(#setup.active) .card-icon{display:grid}
 body:has(#setup.active) .card p{display:block;margin:7px 0 12px}
 body:has(#setup.active) label{margin:12px 0}
 body:has(#setup.active) textarea{height:auto;min-height:calc(6 * 1.5em + 16px);line-height:1.5;resize:vertical}
 body:has(#setup.active) .divider{margin:12px 0}
}
body:has(#setup.active) .shell{position:relative;isolation:isolate}
body:has(#setup.active) .shell::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:calc((100vw - 100%) / -2);right:calc((100vw - 100%) / -2);bottom:0;height:clamp(100px,23dvh,200px);background:url("gelombang.svg") center bottom/100% 100% no-repeat;opacity:.9}
@media(max-width:760px){body:has(#setup.active) .shell::before{height:117px}}
body:has(#game.active){background-color:#fbf7e9;background-image:radial-gradient(ellipse at 5% 0%,#f9e5b7aa,transparent 32%),radial-gradient(ellipse at 90% 0%,#a4d8caaa,transparent 38%),linear-gradient(90deg,#fff9eced,#f9f8eaea),url("motif.svg");background-size:auto,auto,auto,96px 96px;background-attachment:fixed}
/* Fit the game board and player panels into the viewport on desktop. */
@media(min-width:761px) and (min-height:500px){
 body:has(#game.active) .shell{height:100dvh;display:flex;flex-direction:column;min-height:0}
 body:has(#game.active) header{height:clamp(52px,9dvh,78px);flex:none}
 body:has(#game.active) main{flex:1;min-height:0;display:flex}
 body:has(#game.active) #game{flex:1;min-height:0;display:flex;flex-direction:column}
 body:has(#game.active) .game-heading{flex:none;padding:6px 0}
 body:has(#game.active) .game-heading h2{font-size:clamp(24px,4.5dvh,36px);margin:3px 0}
 body:has(#game.active) .game-heading button{padding:8px 12px}
 body:has(#game.active) .room-info{flex:none;padding:5px 12px;margin-bottom:4px}
 body:has(#game.active) .game-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(210px,270px);gap:14px;align-items:start}
 body:has(#game.active) .board-wrap{box-sizing:border-box;width:min(100%,calc(100dvh - 185px));margin:0 auto;padding:8px}
 body:has(#game.active) .board{gap:2px}
 body:has(#game.active) .board-title{padding-bottom:5px;font-size:9px}
 body:has(#game.active) .board-foot{padding-top:5px;font-size:8px}
 body:has(#game.active) .tile{font-size:clamp(8px,1.3dvh,11px);padding:2px}
 body:has(#game.active) .panel{padding:14px;margin-bottom:9px}
 body:has(#game.active) .panel h3{font-size:22px;margin:5px 0}
 body:has(#game.active) .panel p{margin:5px 0;font-size:12px}
 body:has(#game.active) .dice{width:45px;height:45px;margin:8px auto;font-size:25px}
 body:has(#game.active) .panel .primary{padding:9px}
 body:has(#game.active) .player{padding:4px 0}
 body:has(#game.active) .tip{padding:10px;font-size:12px}
 body:has(#game.active) footer{flex:none;margin-top:0;padding:5px 0;font-size:9px}
}
/* Focused mode takes precedence over the normal game layout. */
@media(min-width:761px){
 body.fit-game:has(#game.active) .shell{height:100dvh;max-width:none;padding:0 2%;overflow:hidden}
 body.fit-game:has(#game.active) main,body.fit-game:has(#game.active) #game{height:100%;min-height:0;display:flex}
 body.fit-game:has(#game.active) .game-heading,body.fit-game:has(#game.active) header,body.fit-game:has(#game.active) footer{display:none}
 body.fit-game:has(#game.active) .game-layout{width:100%;height:100%;flex:1;min-height:0;padding:8px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,270px);align-items:center;gap:16px}
 body.fit-game:has(#game.active) .board-wrap{width:min(100%,calc(100dvh - 64px));max-height:none;margin:auto;padding:8px}
 body.fit-game:has(#game.active) .board{gap:2px}
 body.fit-game:has(#game.active) .game-layout aside{align-self:center}
}
.dice{font-family:Arial,sans-serif;font-size:52px;line-height:1;color:#245b4e;background:#fff;box-shadow:0 5px 12px #173e381c;transform-origin:center}
.dice.rolling{animation:dice-roll .18s ease-in-out infinite alternate}
@keyframes dice-roll{from{transform:translateY(-5px) rotate(-16deg) scale(.92)}to{transform:translateY(3px) rotate(16deg) scale(1.08)}}
@media(prefers-reduced-motion:reduce){.dice.rolling{animation:none}}
/* Keep the die legible in both standard and focused game layouts. */
body:has(#game.active) .panel .dice,body.fit-game:has(#game.active) .panel .dice{width:68px;height:68px;font-size:57px;line-height:1;margin:9px auto}
@media(max-width:760px){body:has(#game.active) .panel .dice,body.fit-game:has(#game.active) .panel .dice{width:52px;height:52px;font-size:44px;margin:5px auto}}
body:has(#game.active) .panel .dice,body.fit-game:has(#game.active) .panel .dice{width:81.6px;height:81.6px;font-size:68.4px}
@media(max-width:760px){body:has(#game.active) .panel .dice,body.fit-game:has(#game.active) .panel .dice{width:62.4px;height:62.4px;font-size:52.8px}}
.modal-card{width:min(560px,100%);padding:clamp(16px,3vh,28px)}
.modal-card h2{font-size:clamp(22px,4vh,32px);line-height:1.14;margin:12px 0}
.question-steps{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.question-steps span{background:#edf4e9;color:#245b4e;border-radius:7px;padding:7px 10px;font-size:13px}
.question-steps span+span{background:#fcf1e7;color:#8d563d}
.answers{gap:7px;margin-top:12px}.answers button{padding:clamp(9px,1.5vh,13px)}
.modal-card .muted{margin:10px 0 0;font-size:13px}
@media(max-height:600px){.modal-card{padding:14px 18px}.modal-card h2{font-size:22px;margin:8px 0}.sound{padding:7px 10px}.question-steps{margin-top:8px}.question-steps span{padding:5px 8px}.answers{margin-top:8px;gap:5px}.answers button{padding:8px}}
.travel-marker{position:fixed;top:0;left:0;z-index:15;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:2px solid white;color:white;font-weight:800;font-size:10px;box-shadow:0 3px 9px #173e3866;pointer-events:none;will-change:transform}
.tile.finish{background-color:#fff;background-image:url("Jesus100.png");background-size:contain;background-position:center;background-repeat:no-repeat}
.setup-filters,.bank-filters{display:flex;gap:10px;max-width:950px;margin:0 auto 12px}.setup-filters label,.bank-filters>*{flex:1;min-width:0}.setup-filters label{margin:0}.bank-filters input,.bank-filters select{margin:0}.import-button{cursor:pointer;margin:0}.bank-row{display:flex;justify-content:space-between;gap:15px;align-items:center;background:#fff;border:1px solid #e0e9df;border-radius:8px;padding:13px;margin:8px 0}.bank-row small{display:block;color:#71847c}.bank-actions,.dialog-actions,.pagination{display:flex;align-items:center;gap:8px}.bank-actions button{padding:8px 12px}.pagination{justify-content:center;margin:16px 0}.admin-dialog{max-height:90dvh;overflow:auto}.admin-dialog h2{font-size:30px}.dialog-actions{justify-content:flex-end;margin-top:18px}.import-errors{max-height:180px;overflow:auto;background:#fff2ed;padding:10px}.setup-filters select{padding:7px}@media(max-width:760px){.setup-filters{gap:6px}.bank-filters{flex-wrap:wrap}.bank-filters>*{min-width:130px}.bank-row{align-items:flex-start;flex-direction:column}}
.bank-panel{background:#fff;border:1px solid #dce8de;border-radius:12px;padding:14px;box-shadow:0 8px 24px #173e380b}
.bank-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#edf5ed;border:1px solid #dcebdd;border-radius:8px;padding:12px;margin-bottom:10px}
.bank-toolbar>div:first-child{min-width:110px}.bank-toolbar small{display:block;color:#71847c;font-size:11px}.bank-toolbar .bank-filters{margin:0;max-width:none;flex:1;justify-content:flex-end}.bank-toolbar input,.bank-toolbar select{max-width:210px;font-size:12px;padding:9px}
.bank-table-wrap{overflow-x:auto;border:1px solid #e2ebe1;border-radius:8px;padding:6px}.bank-table{border-collapse:separate;border-spacing:0 4px;width:100%;min-width:750px;font-size:12px}.bank-table th{text-align:left;background:#e8f2e8;padding:10px 8px;color:#173e38}.bank-table th:first-child{border-radius:6px 0 0 6px}.bank-table th:last-child{border-radius:0 6px 6px 0}.bank-table td{padding:10px 8px;border-block:1px solid #e5ede3;background:#fff;vertical-align:middle}.bank-table td:first-child{border-left:1px solid #e5ede3;border-radius:6px 0 0 6px}.bank-table td:last-child{border-right:1px solid #e5ede3;border-radius:0 6px 6px 0}.bank-table td:nth-child(4){min-width:230px}.table-action{border:1px solid #c9ddcf;background:#fff;color:#176a55;border-radius:6px;width:32px;height:32px;font-size:17px;line-height:1}.table-action:hover{background:#eaf4e9}.table-action.delete-action{color:#bf514b;border-color:#edcbc7}.answer-badge{display:inline-block;background:#dff3e9;color:#176a55;border-radius:20px;padding:3px 10px;font-weight:700}.empty-bank{text-align:center;color:#71847c}.bank-panel .pagination{justify-content:flex-end;margin:12px 0 0;font-size:12px}.bank-panel #pageInfo{margin-right:auto}.page-size{display:flex;align-items:center;gap:6px;margin:0;font-weight:400}.page-size select{width:auto;margin:0;padding:6px}.bank-panel .pagination button{padding:5px 11px}.page-number{background:#245b4e;color:#fff;border-radius:6px;padding:6px 12px}
@media(max-width:760px){.bank-toolbar{align-items:stretch;flex-direction:column}.bank-toolbar .bank-filters{flex-wrap:wrap}.bank-toolbar input,.bank-toolbar select{max-width:none;flex:1 1 130px}.bank-panel .pagination{flex-wrap:wrap}.bank-panel #pageInfo{flex-basis:100%}}
/* Balanced spacing for the question list and controls. */
.bank-panel{padding:20px}
.bank-toolbar{padding:14px 16px;gap:18px;margin-bottom:14px}
.bank-toolbar .bank-filters{gap:8px}
.bank-table-wrap{padding:8px}
.bank-table{border-spacing:0 5px}
.bank-table th{padding:11px 12px}
.bank-table td{padding:12px;line-height:1.45}
.bank-panel .pagination{padding:12px 2px 0;margin:0;gap:8px}
@media(max-width:760px){.bank-panel{padding:12px}.bank-toolbar{padding:12px;gap:10px}.bank-table-wrap{padding:5px}.bank-table th{padding:9px}.bank-table td{padding:10px 9px}.bank-panel .pagination{padding-top:10px}}
.bank-table td{padding:4px}
@media(max-width:760px){.bank-table td{padding:4px}}
/* Proportional question editor for larger screens. */
.admin-dialog:has(#questionForm){width:min(920px,96vw);max-height:94dvh;padding:22px 26px}
.admin-dialog:has(#questionForm) h2{margin:0 0 12px;font-size:28px}
#questionForm label{margin:8px 0;font-size:12px}
#questionForm input,#questionForm textarea,#questionForm select{margin-top:4px;padding:9px}
#questionForm textarea{min-height:58px;max-height:130px}
#questionForm .editor-grid{gap:0 16px}
#questionForm .dialog-actions{margin-top:12px}
@media(min-width:761px){#questionForm>.editor-grid:nth-of-type(2){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.admin-dialog:has(#questionForm){width:min(100%,560px);padding:18px;max-height:92dvh}#questionForm .editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}}
@media(max-width:380px){#questionForm .editor-grid{grid-template-columns:1fr}}
/* Compact editor on short desktop screens. */
@media(min-width:761px){
 .admin-dialog:has(#questionForm){width:min(1000px,96vw);padding:14px 20px;max-height:96dvh}
 .admin-dialog:has(#questionForm) h2{font-size:24px;margin:0 0 6px}
 #questionForm label{margin:3px 0;font-size:11px;line-height:1.25}
 #questionForm input,#questionForm textarea,#questionForm select{margin-top:3px;padding:6px 8px;font-size:13px}
 #questionForm textarea{min-height:44px;height:44px}
 #questionForm .editor-grid{gap:0 12px}
 #questionForm .dialog-actions{margin-top:7px}
 #questionForm .dialog-actions button{padding:8px 16px}
 #questionForm audio{max-height:32px}
}
#questionForm .answer-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:600px}
@media(max-width:480px){#questionForm .answer-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#questionForm .answer-fields label:first-child{grid-column:1/-1}}
.template-link{text-decoration:none;display:inline-flex;align-items:center}.clear-bank{color:#a33f39;border-color:#d6a9a1}.clear-bank:hover{background:#fae8e5}
.tile-table{min-width:560px}.tile-table td:nth-child(4){min-width:0}#tilePageInfo{margin-right:auto}
.tile-thumb{width:42px;height:42px;object-fit:contain;border-radius:5px;background:#f2f6ef;display:block}.tile-preview{max-width:100px;max-height:100px;object-fit:contain;border-radius:8px}.tile.has-tile-image{background-position:center;background-repeat:no-repeat;background-size:cover;color:#173e38;text-shadow:0 0 3px white,0 0 3px white}
/* Compact setup layout for desktop-height viewports. */
@media(min-width:761px) and (max-height:800px){
 body:has(#setup.active) .shell{height:100dvh;min-height:0;overflow-x:clip}
 body:has(#setup.active) header{height:clamp(48px,8dvh,64px)}
 body:has(#setup.active) #setup{justify-content:flex-start;padding:4px 0 6px}
 body:has(#setup.active) .section-head{padding:0 0 6px}
 body:has(#setup.active) .section-head h2{font-size:clamp(23px,4.5dvh,30px);margin:3px 0}
 body:has(#setup.active) .section-head p{display:none}
 body:has(#setup.active) .setup-filters{width:min(100%,480px);margin:0 auto 8px;gap:8px}
 body:has(#setup.active) .setup-filters label{font-size:11px}
 body:has(#setup.active) .setup-filters select{padding:5px 8px;margin-top:3px}
 body:has(#setup.active) .cards{gap:12px}
 body:has(#setup.active) .card{min-height:0;padding:12px 16px}
 body:has(#setup.active) .card-icon{width:27px;height:27px;font-size:15px}
 body:has(#setup.active) .card h3{font-size:21px;margin:3px 0}
 body:has(#setup.active) .card p{margin:3px 0 6px;font-size:11px}
 body:has(#setup.active) .card label{margin:5px 0;font-size:11px}
 body:has(#setup.active) .card input{padding:6px 8px}
 body:has(#setup.active) .card textarea{height:calc(6 * 1.3em + 12px);min-height:calc(6 * 1.3em + 12px);line-height:1.3;padding:6px 8px}
 body:has(#setup.active) .card button{padding:7px 10px}
 body:has(#setup.active) .divider{margin:6px 0}
 body:has(#setup.active) footer{padding:4px 0}
}
