@font-face{font-family:Manrope;src:url('./fonts/Manrope-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('./fonts/Manrope-Medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('./fonts/Manrope-SemiBold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url('./fonts/Manrope-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url('./fonts/Manrope-ExtraBold.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('./fonts/BarlowCondensed-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--ink:#15221f;--muted:#66716d;--paper:#f5f6f7;--white:#fff;--line:#e0e5e2;--accent:#d3f7a2;--red:#234b3c;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit;background:none}button:disabled{cursor:default;opacity:.45}button:not(:disabled):active{transform:translateY(1px)}a{color:inherit;text-underline-offset:4px}svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #569b72;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #649b74;outline-offset:1px}.visually-hidden{position:absolute!important;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.skip-link{position:fixed;left:16px;top:-100px;background:var(--ink);color:white;padding:14px;z-index:100}.skip-link:focus{top:10px}
.site-header{height:88px;max-width:1280px;margin:auto;display:flex;align-items:center;gap:32px;padding:0 40px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none}.brand-mark{width:37px;height:39px;display:flex;align-items:center;justify-content:center;background:var(--ink);color:var(--accent);border-radius:11px}.brand-mark svg{width:30px;height:30px;stroke:none}.brand-word{font-size:29px;letter-spacing:-1.8px;font-weight:800;line-height:1}.brand-word>span{display:block;font-size:10px;font-weight:600;color:var(--muted);letter-spacing:0;margin-top:5px}.beta-badge{margin-left:auto;font-size:10px;font-weight:800;letter-spacing:1px;padding:8px 11px;border:1px solid #cbd8c7;border-radius:7px;color:#3d634a;background:#edf5e8}.main-nav{display:flex;gap:5px;margin-left:auto}.nav-item{display:flex;align-items:center;gap:8px;padding:11px 15px;min-height:44px;font-size:13px;font-weight:650;border-radius:10px;color:var(--muted);position:relative}.nav-item.active{color:var(--ink);background:#e6ece7}.nav-count{min-width:18px;height:18px;border-radius:6px;background:var(--ink);color:white;font-size:10px;text-align:center;line-height:18px}.nav-item svg{width:19px;height:19px}
main{max-width:1160px;margin:0 auto;padding:0 40px}.template-home{padding-top:42px}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:800;color:#587267;margin:0 0 14px}.home-heading h1{font-size:48px;line-height:1.1;letter-spacing:-2px;margin:0;font-weight:800}.home-heading h1 br{display:none}.home-heading>div>p:last-child{font-size:16px;color:var(--muted);margin:14px 0 0}.hero-motif{width:93px;height:93px;border-radius:50%;font-size:77px;line-height:1;display:flex;align-items:center;justify-content:center;background:var(--accent);transform:rotate(-4deg);flex-shrink:0}.gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.gallery-heading h2{font-size:18px;letter-spacing:-.4px;margin:0}.gallery-heading>span{font-size:12px;color:var(--muted)}.template-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.template-card{padding:0;text-align:left;min-width:0}.template-art{display:block;position:relative;padding:17px;background:#e7ebe9;border-radius:15px;overflow:hidden;transition:background .18s}.template-art canvas{display:block;width:100%;height:auto;background:#ebece9;box-shadow:0 4px 16px #15221f12}.template-use{display:flex;position:absolute;bottom:28px;left:28px;right:28px;background:var(--white);border:1px solid #dde2dd;align-items:center;justify-content:space-between;font-size:12px;font-weight:750;padding:12px 14px;border-radius:8px;opacity:0;transform:translateY(7px);transition:.2s}.template-card:hover .template-use,.template-card:focus-visible .template-use{opacity:1;transform:none}.template-card:hover .template-art{background:#dce6df}.template-info{display:flex;flex-direction:column;gap:4px;padding:13px 2px}.template-info strong{font-size:16px;font-weight:800}.template-info>span{font-size:12px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 19px;font-size:14px;font-weight:750;border-radius:11px;line-height:1.5;text-decoration:none}.button>span:last-child{margin-left:auto}.primary{background:var(--ink);color:white}.primary:not(:disabled):hover{background:#2f473e}.secondary{border:1px solid #cfd8d2;background:white}.secondary:not(:disabled):hover{background:#f0f5f1}.continue-button{width:100%;margin-top:16px}.home-benefits{display:flex;justify-content:space-between;gap:12px;margin:25px 0 30px;font-size:12px;color:var(--muted)}.home-benefits b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:7px;background:#e5ece7;color:#3d5a49;border-radius:50%;font-size:10px}.session-feature{border:1px solid #dce5dc;background:#eef3ed;border-radius:15px;padding:23px;display:flex;align-items:center;gap:20px}.session-feature h2{font-size:18px;margin:0 0 7px;letter-spacing:-.5px}.session-feature p{font-size:13px;line-height:1.7;color:#67736a;margin:0}.session-feature>button{margin-left:auto;font-size:30px;width:44px;height:44px;background:#d4e7cc;border-radius:50%;flex-shrink:0}.feature-icon{position:relative;width:65px;height:60px;flex-shrink:0}.feature-icon span{position:absolute;top:4px;left:10px;width:36px;height:49px;background:var(--ink);border:3px solid #eef3ed;transform:rotate(-15deg);border-radius:4px}.feature-icon span:nth-child(2){background:#85aa7d;transform:rotate(0);left:19px;top:1px}.feature-icon span:nth-child(3){background:var(--accent);transform:rotate(16deg);left:27px;top:5px}.feature-icon span:last-child:after{content:'';position:absolute;width:20px;height:3px;left:4px;top:10px;background:#476e4a;box-shadow:0 6px #476e4a,0 12px #476e4a}.home-note{font-size:12px;color:var(--muted);text-align:center;line-height:1.8;margin:23px 0}
.editor-workspace{max-width:960px;margin:0 auto;padding:0 0 25px}.editor-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;height:88px}.back-button{min-width:100px;display:flex;gap:10px;align-items:center;min-height:44px;font-size:21px;padding:0}.back-button>span{font-size:13px;font-weight:700}.editor-name{font-size:14px;font-weight:800;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-name>span{display:block;font-size:10px;font-weight:500;color:var(--muted);margin-top:4px}.editor-topbar .button{min-height:42px;padding:10px 15px;font-size:12px}.editor-context{display:flex;align-items:center;justify-content:center;padding:0 0 16px}.kind-tabs{display:flex;background:#e5ebe6;border-radius:10px;padding:4px;gap:3px}.kind-tabs button{min-height:38px;padding:8px 19px;font-size:12px;font-weight:650;border-radius:7px;color:#607068}.kind-tabs button[aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 1px 5px #243b2410}.preview-panel{background:#e6eae8;border-radius:16px;padding:16px 28px 24px}.preview-heading{font-size:10px;color:#6d7b74;display:flex;justify-content:space-between;gap:12px;max-width:420px;margin:0 auto 14px;font-weight:650;letter-spacing:.4px}.canvas-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0}.canvas-stage canvas{display:block;max-width:100%;width:auto;height:auto;max-height:min(62vh,660px);box-shadow:0 8px 23px #15221f12;background:#fff}.render-error{position:absolute;inset:0;background:white;display:flex;align-items:center;justify-content:center;padding:25px;color:#a6372b;font-size:14px;text-align:center}.content-nudge{font-size:12px;text-align:center;color:#486450;margin:15px auto 0;max-width:460px;line-height:1.6}.editor-actions{display:flex;gap:10px;justify-content:center;margin:18px auto 0;max-width:520px}.editor-actions>button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:49px;border:1px solid #d7dfd9;border-radius:11px;background:white;font-size:13px;font-weight:750;padding:12px 20px;flex:1}.editor-actions>button:nth-child(2){background:var(--accent);border-color:#c7e5b1}.editor-actions svg{width:18px;height:18px}.editing .site-footer{display:none}
.sheet{border:1px solid #dce4dd;border-radius:22px;padding:0;width:560px;max-width:calc(100% - 32px);max-height:90dvh;color:var(--ink);background:var(--white);overflow:hidden;box-shadow:0 22px 70px #13211c26}.sheet::backdrop{background:#14261e70;backdrop-filter:blur(4px)}.sheet[open]{display:flex;flex-direction:column}.sheet-header{padding:25px 26px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:15px;flex-shrink:0}.sheet-header h2{font-size:23px;letter-spacing:-.8px;line-height:1.2;margin:0;font-weight:800}.sheet-header .eyebrow{font-size:10px;margin-bottom:9px;letter-spacing:1px}.sheet-header>button{width:40px;height:40px;border-radius:50%;background:#f0f3f0;font-size:25px;flex-shrink:0}.sheet-body{padding:23px 26px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.sheet-body>p{font-size:14px;line-height:1.8}.sheet-footer{padding:14px 26px;border-top:1px solid var(--line);background:white;flex-shrink:0}.sheet-footer .button{width:100%}.style-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:25px}.style-card{padding:8px;border:2px solid transparent;border-radius:11px;position:relative;background:#eef1ee;min-width:0;text-align:left}.style-card canvas{display:block;width:100%;height:auto;box-shadow:0 2px 6px #00000008}.style-card strong{display:block;font-size:12px;margin:10px 0 2px}.selection-check{display:none;position:absolute;right:10px;bottom:8px;color:#314c34;font-size:14px}.style-card.selected{border-color:#527e53;background:#e7f2e1}.style-card.selected .selection-check{display:block}label{display:block;min-width:0;font-size:13px;font-weight:750;line-height:1.5}label>span{font-size:11px;font-weight:500;color:#7b857f;margin-left:5px}input,select,textarea{display:block;min-width:0;width:100%;border:1px solid #d8e0da;background:#fcfdfc;color:var(--ink);border-radius:9px;padding:12px;min-height:47px;font-size:15px;line-height:1.4;margin:8px 0 20px}textarea{resize:vertical;min-height:80px}input[type=date],input[type=time]{appearance:none;-webkit-appearance:none;min-height:47px;height:47px}input[type=number]{appearance:textfield}input:invalid{border-color:#bf5b42}.form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field-help{font-size:12px!important;line-height:1.8!important;color:var(--muted);font-weight:400;margin:0 0 19px}.step-tag{font-size:10px;font-weight:800;letter-spacing:1.2px;color:#617765}.field-section{padding-top:20px;border-top:1px solid var(--line);margin-top:5px}.field-section>.step-tag{display:block;margin-bottom:14px}.inner-details{border-top:1px solid var(--line)}.inner-details>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:750;min-height:59px;padding:17px 0;gap:10px}.inner-details>summary::-webkit-details-marker{display:none}.inner-details>summary>span{font-weight:400;color:#6b806b;font-size:19px}.inner-content{padding:0 0 15px}.manual-games{display:grid;grid-template-columns:40px 1fr 1fr;align-items:center;gap:10px;margin-bottom:20px}.manual-games>span{font-size:11px;color:var(--muted)}.manual-games input{margin:0}.upload-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.upload-box{position:relative;background:#f2f6f0;border:1px dashed #adc2aa;border-radius:12px;text-align:center;cursor:pointer;padding:18px 8px;overflow:hidden}.upload-box input{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%;width:100%;margin:0;padding:0}.upload-box:focus-within{outline:2px solid #649b74}.upload-icon{display:block;font-size:24px;color:#50744a;font-weight:400}.upload-box strong{font-size:12px;display:block}.upload-box small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.asset-status{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#477047;gap:10px;margin-top:10px}.asset-status button{min-height:38px;color:#9e4229;text-decoration:underline}.editor-panel>summary.visually-hidden{display:none}.editor-save{padding-top:20px;border-top:1px solid var(--line);margin-top:2px}.editor-save .button{width:100%;margin-bottom:10px}.editor-save p{margin-bottom:0}.brand-preset{background:#f0f5ed;border:1px solid #e1e9dd;border-radius:12px;padding:16px;margin-bottom:23px}.brand-preset input{margin-bottom:8px;background:white}.preset-actions{display:flex;gap:15px;justify-content:space-between}.text-button{font-size:11px;font-weight:750;min-height:40px;padding:5px 0;text-decoration:underline}.brand-preset .field-help{font-size:11px!important;margin:5px 0 0}.download-actions{display:grid;gap:9px;margin:0 0 25px}.export-option{display:flex;align-items:center;gap:13px;text-align:left;min-height:78px;padding:14px 16px;border:1px solid var(--line);background:#f8faf7;border-radius:12px;width:100%}.export-option:hover{background:#eef6e7}.export-option>span:nth-child(2){display:block;min-width:0}.export-option strong{display:block;font-size:13px}.export-option small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:5px}.export-option>b{margin-left:auto;font-size:21px;font-weight:500}.file-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:44px;background:#e4eddc;color:#4d7049;border-radius:7px;font-size:10px;font-weight:800;letter-spacing:.5px}.pack-export{background:var(--ink);padding:21px;border-radius:13px;color:white}.pack-tag{font-size:9px;letter-spacing:1.5px;color:var(--accent);font-weight:750}.pack-export h3{font-size:18px;letter-spacing:-.4px;margin:10px 0}.pack-export p{font-size:12px;line-height:1.7;color:#c3d2ca;margin:0 0 18px}.pack-export .button{width:100%;background:var(--accent);color:var(--ink);font-size:12px}.pack-export>small{display:block;color:#a5bbad;font-size:10px;line-height:1.8;margin-top:12px}.export-sheet #export-help{font-size:11px!important;margin:17px 0 0;text-align:center}
.section-heading{display:flex;justify-content:space-between;align-items:end;padding:36px 0 28px;gap:28px}.section-heading h1{font-size:35px;line-height:1.1;letter-spacing:-1.3px;margin:0;font-weight:800}.section-heading h1 em{font-style:normal}.section-heading .eyebrow{margin-bottom:12px}.section-heading .eyebrow span{display:none}.intro{font-size:13px;color:var(--muted);line-height:1.8;margin:0}.score-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:25px}.panel{border:1px solid var(--line);border-radius:18px;padding:27px;background:white;min-width:0}.panel-title h2{font-size:23px;margin:12px 0 24px;letter-spacing:-.6px}.score-setup .button{width:100%}.score-topline{display:flex;justify-content:space-between;gap:12px;font-size:10px;font-weight:800;letter-spacing:.6px}.score-topline>span:first-child{color:#487d46}.score-topline>span:last-child{color:#6d7a6f;font-size:9px}.game-wins{display:flex;justify-content:center;align-items:center;gap:25px;font-size:24px;padding:25px 0}.game-wins>span:nth-child(2){font-size:10px;letter-spacing:1px;color:var(--muted)}.score-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.point-button{background:#e4f3d7;border:1px solid #d5e6ca;border-radius:13px;padding:18px;display:flex;flex-direction:column;align-items:stretch;min-width:0}.point-button:disabled{opacity:1}.point-button.side-b{background:#e8edf2;border-color:#dfe4e9}.point-button:not(:disabled):active{box-shadow:inset 0 0 0 2px #79a060}.side-label{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:800;color:#61775e;gap:4px}.side-label i{font-size:7px;font-style:normal;color:#477b3e}.team-name{font-size:13px;font-weight:750;line-height:1.5;overflow-wrap:anywhere;min-height:48px;margin-top:14px;text-align:left}.point-button strong{font-size:96px;font-weight:650;letter-spacing:-5px;line-height:1.2;text-align:center;margin:10px 0 15px;font-variant-numeric:tabular-nums}.point-bottom{display:flex;justify-content:space-between;gap:5px;font-size:8px;font-weight:750;color:#657b5f;border-top:1px solid #cbdcbc;padding-top:12px}.score-notice{font-size:13px;line-height:1.7;color:#496d4b;text-align:center;min-height:44px;margin:20px 0 12px;overflow-wrap:anywhere}.score-tools{display:flex;gap:7px}.score-tools .button{flex:1;padding:10px 8px;font-size:11px;min-height:44px}.full-width{width:100%;margin-top:12px}.score-live>.field-help{text-align:center;margin:17px 0}.game-history{display:flex;gap:10px;justify-content:center;margin-bottom:17px}.game-history>span{padding:10px 14px;background:#f1f5ef;border-radius:8px;font-size:13px}.game-history small{display:block;font-size:8px;color:var(--muted);margin-bottom:4px}.archive-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 0 22px;border-bottom:1px solid var(--line);color:var(--muted);font-size:13px}.archive-toolbar>div{display:flex;gap:10px}.archive-toolbar label{cursor:pointer}.draft-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.draft-card{padding:22px;border:1px solid var(--line);background:white;border-radius:15px;min-width:0}.draft-card-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:650;color:var(--muted);gap:12px}.draft-dot{width:8px;height:8px;border-radius:50%}.draft-card h2{font-size:22px;line-height:1.25;margin:25px 0 13px;letter-spacing:-.7px;overflow-wrap:anywhere}.draft-card p{font-size:12px;line-height:1.8;margin:0;color:var(--muted);overflow-wrap:anywhere}.draft-card-actions{display:flex;align-items:center;gap:12px;margin-top:24px}.draft-card-actions .button{flex:1;font-size:12px}.draft-card-actions>button:last-child{font-size:12px;color:#a44a32;min-height:44px;padding:8px}.empty-state{text-align:center;padding:60px 20px}.empty-state>span{display:inline-flex;justify-content:center;align-items:center;width:80px;height:80px;background:#e4ecdf;color:#6d8b65;font-size:48px;border-radius:22px}.empty-state h2{font-size:25px;letter-spacing:-.7px;margin:25px 0 14px}.empty-state p{font-size:14px;line-height:1.9;color:var(--muted);margin-bottom:25px}.archive-note{font-size:12px;line-height:1.8;color:var(--muted);margin:25px 0;max-width:670px}
.site-footer{max-width:1080px;margin:44px auto 0;padding:25px 0 30px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;font-size:10px;color:var(--muted)}.site-footer>span:first-child{font-size:10px;font-weight:800;letter-spacing:.6px}.site-footer i{font-style:normal;color:#a5b4a7;margin:0 5px}.site-footer>button{font-size:12px;min-height:44px}.service-links{display:flex;flex-wrap:wrap;gap:0 24px;width:100%}.service-links a{font-size:12px;display:inline-flex;align-items:center;min-height:44px;text-decoration:none}.service-links a:hover{text-decoration:underline}.footer-note{font-size:11px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:50;padding:14px 20px;border:1px solid #365343;border-radius:12px;background:#1d392b;color:white;box-shadow:0 8px 25px #182b1f20;width:max-content;max-width:calc(100% - 32px);font-size:13px;line-height:1.7;text-align:center}.toast.error{background:#8e3d2e;border-color:#8e3d2e}.modal-open{overflow:hidden}.noscript{padding:30px;text-align:center}
@media(min-width:1100px){.template-home{max-width:1000px;margin:auto}.template-gallery{gap:25px}.template-art{padding:24px}.home-heading{margin-bottom:38px}.editing .site-header{display:none}.editing .editor-topbar{height:77px}.editing .canvas-stage canvas{max-height:calc(100dvh - 280px)}}
@media(max-width:760px){body{padding-bottom:82px}.site-header{height:74px;padding:0 22px}.brand-word{font-size:27px}.brand-mark{width:34px;height:36px}.brand-word>span{font-size:9px}.beta-badge{font-size:9px;padding:7px 9px}.main-nav{position:fixed;left:0;right:0;bottom:0;z-index:15;margin:0;display:flex;justify-content:space-around;background:#fffffff5;border-top:1px solid #dce5dc;padding:9px 15px max(10px,env(safe-area-inset-bottom));backdrop-filter:blur(16px);gap:0}.nav-item{flex-direction:column;gap:4px;min-width:87px;min-height:51px;padding:6px 14px;font-size:10px;border-radius:12px}.nav-item svg{width:21px;height:21px}.nav-item.active{background:#edf4e7;color:#395c37}.nav-count{position:absolute;right:10px;top:0;min-width:15px;height:15px;line-height:15px;font-size:8px}main{padding:0 22px}.template-home{padding-top:27px}.home-heading{margin-bottom:28px;gap:16px}.home-heading .eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:12px}.home-heading h1{font-size:34px;line-height:1.08;letter-spacing:-1.5px}.home-heading h1 br{display:block}.home-heading>div>p:last-child{font-size:12px;margin-top:12px}.hero-motif{width:62px;height:62px;font-size:54px;margin-top:3px}.gallery-heading{margin-bottom:13px}.gallery-heading h2{font-size:16px}.gallery-heading>span{font-size:10px}.template-gallery{display:flex;gap:13px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 22px 2px;margin-right:-22px}.template-gallery::-webkit-scrollbar{display:none}.template-card{flex:0 0 calc((100vw - 69px)/2);scroll-snap-align:start}.template-art{padding:10px;border-radius:12px}.template-info{padding:11px 2px 4px;gap:4px}.template-info strong{font-size:13px}.template-info>span{font-size:10px;line-height:1.5}.template-use{display:none}.continue-button{margin-top:17px;min-height:49px;font-size:13px}.home-benefits{margin:22px 0 23px;font-size:9px;gap:7px}.home-benefits b{width:17px;height:17px;font-size:8px;margin-right:4px}.session-feature{gap:14px;padding:18px 15px;border-radius:13px}.session-feature h2{font-size:14px;letter-spacing:-.4px;margin-bottom:7px}.session-feature p{font-size:11px;line-height:1.8}.session-feature>button{font-size:25px;width:37px;height:37px}.feature-icon{transform:scale(.82);transform-origin:center;width:51px}.home-note{font-size:10px;margin-top:17px}.site-footer{margin:30px 22px 0;padding:20px 0 24px;gap:5px 15px}.site-footer>span:first-child{font-size:9px}.site-footer>button{font-size:10px;margin-left:auto}.service-links{gap:0 21px;margin-top:5px}.service-links a{font-size:11px;min-height:40px}.footer-note{font-size:10px}.editing{padding:0}.editing .site-header,.editing .site-footer{display:none}.editing main{padding:0 15px}.editor-workspace{padding-bottom:88px}.editor-topbar{height:74px;gap:9px}.back-button{min-width:70px;gap:6px;font-size:24px}.back-button>span{font-size:11px}.editor-name{font-size:12px}.editor-name>span{font-size:8px;max-width:125px;overflow:hidden;text-overflow:ellipsis}.editor-topbar .button{font-size:11px;padding:10px 12px;min-height:40px}.editor-context{padding-bottom:14px}.kind-tabs{width:100%;justify-content:space-between;padding:4px;gap:1px;border-radius:9px}.kind-tabs button{font-size:11px;padding:8px 9px;min-height:36px;flex:1}.preview-panel{border-radius:12px;padding:14px 16px 18px;min-height:calc(100svh - 242px);display:flex;flex-direction:column;justify-content:center}.preview-heading{font-size:9px;width:100%;max-width:360px;margin:0 auto 14px}.canvas-stage{flex:1;min-height:0}.canvas-stage canvas{max-height:calc(100svh - 298px);max-width:100%;width:auto;height:auto}.editor-actions{position:fixed;left:0;right:0;bottom:0;z-index:15;background:white;border-top:1px solid #dce3dc;padding:12px 15px max(12px,env(safe-area-inset-bottom));margin:0;max-width:none;gap:8px}.editor-actions>button{min-height:45px;font-size:11px;gap:6px;padding:10px 8px;border-radius:9px}.editor-actions svg{width:17px;height:17px}.content-nudge{font-size:10px;margin:11px 0 0}.sheet{width:100%;max-width:100%;margin:auto 0 0;max-height:92dvh;border-radius:22px 22px 0 0;border-bottom:0}.sheet-header{padding:21px 22px 18px}.sheet-header h2{font-size:23px}.sheet-header .eyebrow{font-size:9px}.sheet-body{padding:22px;scroll-padding:12px 0}.sheet-footer{padding:12px 22px max(14px,env(safe-area-inset-bottom))}.sheet-header>button{width:36px;height:36px}.style-cards{gap:9px}.style-card{padding:6px}.style-card strong{font-size:11px}.selection-check{right:7px;bottom:6px;font-size:11px}input,select,textarea{font-size:16px}.form-pair{gap:12px}label{font-size:12px}.text-button{font-size:10px}.brand-preset .field-help{font-size:10px!important}.pack-export{padding:20px}.pack-export h3{font-size:17px}.toast{bottom:90px;font-size:12px}.modal-open .toast{bottom:24px}.section-heading{padding:30px 0 25px}.section-heading h1{font-size:29px;letter-spacing:-1px}.section-heading .eyebrow{font-size:10px;margin-bottom:12px}.section-heading .intro{display:none}.score-layout{display:flex;flex-direction:column;gap:20px}.panel{padding:23px 18px;border-radius:15px}.score-setup .panel-title h2{font-size:22px}.score-live{padding:23px 13px}.point-button{padding:14px 12px}.point-button strong{font-size:83px}.side-label{font-size:8px}.side-label i{font-size:6px}.team-name{font-size:12px;min-height:44px}.point-bottom{font-size:7px}.score-tools .button{font-size:10px;padding:9px 7px}.score-notice{font-size:12px}.full-width{font-size:12px}.score-topline{font-size:9px}.score-topline>span:last-child{font-size:8px}.archive-toolbar{flex-direction:column;align-items:start;gap:15px;font-size:12px}.archive-toolbar>div{width:100%;gap:8px}.archive-toolbar .button{font-size:11px;flex:1;padding:10px;min-height:44px}.draft-list{grid-template-columns:1fr;gap:14px}.empty-state{padding:40px 5px}.empty-state h2{font-size:23px}.empty-state p{font-size:12px}.archive-note{font-size:11px}}
@media(max-width:360px){.site-header{padding:0 17px}main{padding:0 17px}.home-heading h1{font-size:30px}.hero-motif{width:52px;height:52px;font-size:45px}.gallery-heading>span{font-size:9px}.template-card{flex-basis:calc((100vw - 59px)/2)}.home-benefits{font-size:8px}.home-benefits b{margin-right:3px;width:15px;height:15px}.session-feature{gap:8px;padding:15px 12px}.session-feature h2{font-size:12px}.session-feature p{font-size:10px}.feature-icon{width:43px;transform:scale(.7);margin-left:-7px}.sheet-body{padding:20px 18px}.sheet-header{padding:20px 18px 16px}.editor-name{display:none}.back-button{min-width:0}.editor-topbar .button{margin-left:auto}.kind-tabs button{font-size:10px;padding:8px 5px}.editor-actions>button{font-size:10px;padding:10px 7px}.editor-actions svg{width:15px;height:15px}.export-option{padding:13px 12px;gap:10px}.export-option strong{font-size:12px}.export-option small{font-size:10px}.file-icon{width:34px}.preset-actions{gap:7px}.text-button{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep the primary mobile workflow comfortably tappable, including small screens. */
.back-button,.editor-topbar .button,.kind-tabs button,.text-button,.sheet-header>button,.session-feature>button{min-height:44px}.sheet-header>button,.session-feature>button{min-width:44px}
@media(max-width:760px){.editor-topbar .button,.editor-actions>button{font-size:12px}.kind-tabs button{font-size:12px}.editor-name>span{font-size:10px}.nav-item{font-size:11px}.preview-heading{font-size:10px}.home-heading>div>p:last-child{font-size:13px}.template-info>span{font-size:11px}.home-benefits{font-size:10px}.content-nudge{font-size:12px}.text-button{font-size:11px}.sheet-header>button{width:44px;height:44px}}
@media(max-width:360px){.kind-tabs button{font-size:11px}.editor-actions>button{font-size:11px}.home-benefits{font-size:9px}.text-button{font-size:10px}}
@media(max-width:360px){.template-gallery{margin-right:-17px;padding-right:17px}}

.tool-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:28px 0}.tool-shortcuts>a{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid #dce3dc;border-radius:12px;background:white;color:#163d31;text-decoration:none;font-weight:700}.tool-shortcuts span{font-size:12px;color:#617069;font-weight:400}.main-nav a.nav-item{text-decoration:none}.score-history-link{grid-column:1/-1;margin:0}@media(max-width:760px){.tool-shortcuts{grid-template-columns:repeat(2,1fr);gap:9px}.tool-shortcuts>a{padding:15px;font-size:15px}.main-nav{gap:0}.nav-item{min-width:0;flex:1}.main-nav a.nav-item{font-size:10px}}

.between-rest{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:15px;background:#f0f6e9;border-radius:10px;margin:15px 0}.between-rest[hidden]{display:none}.between-rest p{font-size:13px;line-height:1.8;margin:0}.between-rest small{font-size:11px;color:#617366}.between-rest button{flex-shrink:0}
/* Phone overview spacing and template labels. */
.home-heading h1{text-wrap:balance}.tool-shortcuts>a{min-height:76px}.continue-button[hidden]{display:none}.template-card:focus-visible{outline:3px solid #56896b;outline-offset:4px}
@media(max-width:760px){.template-home{padding-top:24px}.home-heading{margin-bottom:24px}.home-heading h1{font-size:32px;line-height:1.13}.home-heading>div>p:last-child{max-width:290px;line-height:1.65}.template-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;overflow:visible}.template-card{min-width:0}.template-art{padding:7px;border-radius:9px}.template-use{display:none}.template-info{padding:10px 0}.template-info strong{font-size:14px}.template-info>span{font-size:11px;line-height:1.6}.tool-shortcuts{margin:22px 0}.tool-shortcuts>a{font-size:14px;line-height:1.5;padding:14px}.tool-shortcuts span{font-size:11px;line-height:1.55}.session-feature{margin-top:22px;padding:18px;gap:12px}.session-feature h2{font-size:16px}.session-feature p{font-size:12px}.feature-icon{display:none}.site-footer{margin-top:24px}.home-note{font-size:11px}}

/* Let phone visitors judge a poster at a readable size before they choose it. */
@media(max-width:760px){
 .template-gallery{display:flex;gap:14px;margin-right:-22px;padding:3px 22px 4px 3px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-left:3px;scrollbar-width:thin;scrollbar-color:#a9bbae transparent}
 .template-card{flex:0 0 min(70vw,270px);scroll-snap-align:start}
 .template-art{padding:12px;border-radius:13px}
 .template-use{position:static;display:flex;opacity:1;transform:none;min-height:44px;margin-top:10px;padding:10px 12px;font-size:12px;background:#fffffff2}
 .template-info{padding:12px 1px 10px;gap:5px}
 .template-info strong{font-size:16px}
 .template-info>span{font-size:12px}
 .gallery-heading{align-items:baseline}
 .gallery-heading h2{font-size:16px}
 .score-live{scroll-margin-top:16px}
}
@media(max-width:360px){.template-gallery{margin-right:-17px;padding-right:17px}.gallery-heading{gap:8px}.gallery-heading h2{font-size:14px}.gallery-heading>span{font-size:9px}}
