@import "https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&display=swap";
@scope(.editor-wrap){.level-color-schemes{border:0;min-width:0;margin:18px 0;padding:0}.level-color-schemes legend{font-size:12px;font-weight:700}.level-color-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.level-color-option{cursor:pointer;background:#ffffffb0;border:1px solid #cfe2d0;border-radius:8px;align-items:center;gap:6px;padding:8px 6px;font-size:11px;display:flex}.level-color-option:has(input:checked){border-color:#2e7d32;box-shadow:0 0 0 1px #2e7d32}.level-color-option:focus-within{outline-offset:2px;outline:2px solid #2e7d32}.level-color-option input{accent-color:#2e7d32;margin:0}.level-color-swatch{border:5px solid;border-radius:5px;flex:0 0 23px;height:23px}.level-color-custom{grid-column:1/-1}.level-custom-colors{gap:10px;margin-top:12px;display:grid}.level-custom-color{grid-template-columns:minmax(0,1fr) 40px 65px;align-items:center;gap:8px;font-size:12px;display:grid}.level-custom-color small{color:var(--muted);margin-top:2px;font-size:11px;display:block}.level-custom-color input{cursor:pointer;background:#fff;border:1px solid #cfe2d0;border-radius:6px;width:40px;height:34px;padding:2px}.level-custom-color code{font-size:11px}:scope{min-height:100vh}.editor-header{gap:18px;height:76px}.editor-badge{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:700}.save-state{color:var(--muted);margin-left:auto;font-size:12px}:scope button:not(.tile-option):not(.primary-button):not(.text-button){color:var(--ink);background:#ffffffc9;border:1px solid #bfd9c1;border-radius:9px;padding:8px 11px;font-size:12px;font-weight:600}:scope button[aria-pressed=true]{background:#ceefcd!important;border-color:#448d43!important}:scope button:disabled{opacity:.45;cursor:not-allowed}.save-button{width:auto;margin:0;padding:11px 18px;font-size:13px}.editor-notices{align-items:center;min-height:44px;padding:0 24px;font-size:12px;display:flex}.editor-notices p{margin:8px 0}.error-message{color:#a23026;background:#fff0e9;border:1px solid #edc3b5;border-radius:8px;width:100%;padding:9px 14px}.success-message{color:#26662d}.recovery-banner{background:#fff4d5;align-items:center;gap:15px;padding:12px 24px;font-size:13px;display:flex}.editor-toolbar{background:#ffffff8c;border-block:1px solid #fff;justify-content:space-between;align-items:center;gap:20px;padding:10px 24px;display:flex}.button-row{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.check{color:var(--muted);align-items:center;gap:7px;padding:5px 0;font-size:12px;display:flex}.check input{accent-color:#37933b}.test-button{width:auto;margin:0;padding:9px 19px;font-size:13px}.editor-layout{grid-template-columns:235px minmax(440px,1fr) 300px;min-height:calc(100vh - 180px);display:grid}.editor-sidebar{background:#ffffff9c;border-right:1px solid #fff;max-height:calc(100vh - 180px);padding:19px 16px;overflow:auto}.inspector{border-left:1px solid #fff;border-right:none}.editor-sidebar h2{margin:0 0 12px;font-size:17px}.editor-sidebar h3{letter-spacing:.04em;text-transform:uppercase;color:#427e44;margin:23px 0 10px;font-size:12px}.editor-sidebar h4{color:var(--muted);margin:13px 0 5px;font-size:11px}.editor-sidebar .muted{color:var(--muted);font-size:11px;line-height:1.6}.preset-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.preset-grid button{text-align:left;min-height:42px}.property{min-width:0;color:var(--muted);flex-direction:column;gap:5px;margin:10px 0;font-size:11px;display:flex}.property input,.property select,:scope textarea{font:inherit;width:100%;min-width:0;color:var(--ink);background:#fff;border:1px solid #bed4bf;border-radius:7px;padding:8px 9px;font-size:12px}.property-pair{grid-template-columns:1fr 1fr;gap:8px;display:grid}.editor-center{min-width:0;padding:22px}.editor-heading{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.editor-heading h1{letter-spacing:-.5px;margin:5px 0;font-size:23px}.editor-heading>span{color:var(--muted);font-size:11px}.canvas-panel{box-shadow:var(--glass-shadow);background:#ffffffad;border:1px solid #fff;border-radius:18px;padding:12px}.canvas-tools{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:10px;display:flex}.canvas-tools .button-row{flex-wrap:nowrap}.editor-course{touch-action:none;overscroll-behavior:contain;border-radius:10px;height:calc(100vh - 360px);min-height:390px;position:relative;overflow:hidden}.editor-course:after,.editor-course:before{display:none}.canvas-input{z-index:6;touch-action:none;position:absolute;inset:0}.editor-course .course-canvas{z-index:1}.canvas-caption{color:var(--muted);justify-content:space-between;gap:8px;padding-top:12px;font-size:10px;display:flex}.object-list{border-top:1px solid #cfe2d0;margin-top:20px}.object-list button{text-align:left;overflow-wrap:anywhere;width:100%;margin:4px 0;display:block}.vertex-row{grid-template-columns:14px 1fr 1fr 24px 24px;align-items:center;gap:4px;font-size:10px;display:grid}.vertex-row .property span{display:none}.vertex-row .property{margin:3px 0}.vertex-row input{width:100%;padding:5px}:scope .vertex-row button{padding:4px!important}:scope details{margin:18px 0;font-size:12px}:scope summary{cursor:pointer;font-weight:600}.playtest-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px;max-width:1500px;margin:auto;padding:24px;display:grid}.playtest-course{height:65vh}.playtest-layout .control-card{padding:22px}.playtest-layout .game-card:hover,.playtest-layout .control-card:hover{transform:none}.playtest-layout .muted{font-size:12px;line-height:1.6}:scope :focus-visible{outline-offset:2px;outline:2px solid #338943}.local-level-import{margin-bottom:16px;font-size:12px}@media (max-width:1100px){.editor-layout{grid-template-columns:190px minmax(380px,1fr) 270px}.editor-center{padding:14px}.editor-header{padding-inline:18px}.canvas-tools>span,.editor-badge{display:none}}@media (max-width:850px){.editor-layout{min-width:840px}.editor-header{flex-wrap:nowrap;min-width:840px}.editor-toolbar{min-width:840px}:scope{overflow-x:auto}.playtest-layout{grid-template-columns:1fr}.editor-notices{min-width:800px}}.editor-header .brand{text-decoration:none}}
:root{--ui-page:#dff3d9;--ui-paper:#f8f9f4;--ui-white:#fff;--ui-ink:#2d3a3a;--ui-muted:#566768;--ui-green:#2e7d32;--ui-green-strong:#25682a;--ui-secondary:#7bc67b;--ui-turf:#dff3d9;--ui-turf-soft:#eef2eb;--ui-line:#cdd8cc;--ui-yellow:#ffd166;--ui-accent:#ff6b6b;--ui-muted-decoration:#8a9ba0;--ui-warning:#a63f3f;--ui-disabled:#e4e9e2;--ui-overlay:#2d3a3a8a;--ui-r-sm:6px;--ui-r-md:10px;--ui-r-lg:14px;--ui-shadow-frame:0 2px 6px #2d3a3a0a;--ui-shadow-modal:0 16px 48px #2d3a3a33;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-5:20px;--ui-space-6:24px;--ui-space-8:32px}*{box-sizing:border-box}html{color:var(--ui-ink);background:var(--ui-page);font-family:Noto Sans,Arial,sans-serif;line-height:1.5}body{min-width:0;margin:0}button{font:inherit;cursor:pointer}button svg{flex-shrink:0}button,summary{-webkit-tap-highlight-color:transparent}:is(button,summary,a,input):focus-visible{outline:3px solid var(--ui-green);outline-offset:2px}button:disabled{cursor:default;color:var(--ui-muted);background:var(--ui-disabled);opacity:1}.site-wrap{background:var(--ui-page);min-height:100dvh;padding:24px}.site-header{border:1px solid var(--ui-line);border-radius:var(--ui-r-lg) var(--ui-r-lg) 0 0;background:var(--ui-paper);border-bottom:0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;max-width:1440px;min-height:82px;margin:0 auto;padding:16px 24px;display:flex}.brand{min-width:0;min-height:44px;color:var(--ui-ink);letter-spacing:-.04em;background:0 0;border:0;align-items:center;gap:12px;padding:0;font-family:Trebuchet MS,Noto Sans,Arial,sans-serif;font-size:1.8125rem;font-weight:800;line-height:1;display:inline-flex}.brand-logo{width:200px;height:auto;display:block}.brand-dot{color:var(--ui-green)}.main-nav{--nav-gap:8px;justify-content:flex-end;align-items:center;gap:var(--nav-gap);flex-wrap:wrap;max-width:100%;margin-left:auto;display:flex}.nav-button{border-radius:var(--ui-r-sm);width:44px;min-width:44px;min-height:44px;color:var(--ui-muted);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;padding:0;text-decoration:none;display:flex}.nav-tooltip{flex:none}.nav-group{align-items:center;gap:var(--nav-gap);display:flex}.nav-view-group{border-left:1px solid var(--ui-line);margin-left:4px;padding-left:12px}.nav-button svg{width:20px;height:20px}.nav-button:hover,.nav-button.active{color:var(--ui-green-strong);background:var(--ui-turf-soft)}.dashboard{border:1px solid var(--ui-line);border-radius:0 0 var(--ui-r-lg) var(--ui-r-lg);background:var(--ui-paper);max-width:1440px;box-shadow:var(--ui-shadow-frame);border-top:0;margin:0 auto;padding:16px}.dashboard[hidden]{display:none}.embedded-editor{--ink:var(--ui-ink);--muted:var(--ui-muted);--glass-shadow:var(--ui-shadow-frame);padding:0}.embedded-editor .editor-wrap{background:var(--ui-paper);height:auto;min-height:100%;padding:0;display:block;overflow:visible}.embedded-editor .editor-header{border:0;border-bottom:1px solid var(--ui-line);border-radius:0;flex-wrap:wrap;justify-content:flex-start;gap:8px 12px;width:100%;min-width:0;height:auto;min-height:64px;padding:12px 16px}.embedded-editor .editor-layout{min-height:0}.embedded-editor .editor-sidebar{max-height:calc(100dvh - 240px)}.embedded-editor .editor-notices{min-width:0}.embedded-editor .editor-course{min-height:320px}.embedded-editor .editor-toolbar{flex-wrap:wrap}.embedded-editor .playtest-layout{gap:16px;padding:16px}.embedded-editor .card-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.embedded-editor .playtest-course{min-height:320px}@media (min-width:960px) and (orientation:landscape){.dashboard.embedded-editor{padding:0;overflow:auto}}@media (max-width:959px){.embedded-editor .playtest-layout{grid-template-columns:minmax(0,1fr)}.embedded-editor .playtest-layout>*{min-width:0}.embedded-editor .card-heading{overflow-wrap:anywhere;flex-wrap:wrap}.embedded-editor .editor-layout{grid-template-columns:minmax(0,1fr);min-width:0}.embedded-editor .editor-toolbar{min-width:0;padding:12px}.embedded-editor .editor-sidebar{max-height:none}.embedded-editor .editor-center{grid-row:1}.embedded-editor .preset-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.embedded-editor .canvas-caption{flex-wrap:wrap}}.game-layout{grid-template:"meta toolkit"max-content"stage toolkit"minmax(0,1fr)/minmax(0,1fr) 300px;align-content:start;align-items:start;gap:0 16px;display:grid}.game-layout>*{min-width:0}.course-meta{border:1px solid var(--ui-line);border-radius:var(--ui-r-md) var(--ui-r-md) 0 0;background:var(--ui-turf-soft);border-bottom:0;grid-area:meta}.course-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px;display:flex}.challenge-label{flex-wrap:wrap;align-items:center;gap:8px;font-size:.8125rem;font-weight:600;display:flex}.challenge-label b{color:var(--ui-muted);font-weight:500}.course-status{background:var(--ui-paper);color:var(--ui-muted);border-radius:99px;align-items:center;gap:6px;padding:4px 8px;font-size:.75rem;font-weight:600;display:inline-flex}.course-status i{background:var(--ui-green);border-radius:50%;width:6px;height:6px}.course-status.running i{background:var(--ui-accent)}.course-stage{border:1px solid var(--ui-line);border-radius:0 0 var(--ui-r-md) var(--ui-r-md);background:var(--ui-turf-soft);border-top:0;grid-area:stage;padding:0 12px 12px}.course{aspect-ratio:1.8;border-radius:var(--ui-r-sm);background:var(--ui-turf);isolation:isolate;width:100%;min-height:0;position:relative;overflow:hidden}.course-canvas{touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}.course-canvas.editable{cursor:grab}.course-canvas.editable:active{cursor:grabbing}.course-identity{flex-wrap:wrap;align-items:center;gap:4px 16px;min-width:0;display:flex}.course-identity h1{letter-spacing:-.025em;overflow-wrap:anywhere;margin:0;font-family:Trebuchet MS,Noto Sans,Arial,sans-serif;font-size:1.125rem;font-weight:800;line-height:1.25}.details-heading h1{letter-spacing:-.025em;overflow-wrap:anywhere;margin:4px 0 8px;font-family:Trebuchet MS,Noto Sans,Arial,sans-serif;font-size:1.75rem;font-weight:800;line-height:1.15}.details-heading p{color:var(--ui-muted);margin:0;font-size:.875rem}.section-kicker,.eyebrow{color:var(--ui-green);letter-spacing:.07em;font-size:.6875rem;font-weight:700;line-height:1.3;display:block}.run-controls{border-top:1px solid var(--ui-line);flex-direction:column;flex-shrink:0;gap:8px;margin:12px 0 0;padding-top:12px;display:flex}.run-controls>button{width:100%;min-height:44px}.primary-button{border:1px solid var(--ui-green);border-radius:var(--ui-r-sm);background:var(--ui-green);min-height:46px;color:var(--ui-white);justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-size:.875rem;font-weight:700;line-height:1.2;display:inline-flex}.primary-button:hover:enabled{background:var(--ui-green-strong);border-color:var(--ui-green-strong)}.primary-button:active:enabled{transform:translateY(1px)}.primary-button:disabled{border-color:var(--ui-muted)}.play-button{min-width:126px}.how-button,.text-button{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);min-height:44px;color:var(--ui-green);background:0 0;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:.875rem;font-weight:700;line-height:1.4;display:inline-flex}.text-button{border-color:#0000}.how-button:hover:enabled,.text-button:hover:enabled{color:var(--ui-green-strong);background:var(--ui-turf-soft)}.local-level-import{flex-direction:column;align-items:flex-start;min-width:0;max-width:100%;display:flex}.local-level-import p,.run-controls>[role=alert]{color:var(--ui-warning);overflow-wrap:anywhere;margin:8px 0 0;font-size:.875rem}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.api-notice{border-left:3px solid var(--ui-warning);background:var(--ui-paper);color:var(--ui-warning);margin:0 0 16px;padding:12px 16px;font-size:.875rem}.notice-toast{left:50%;bottom:max(16px, env(safe-area-inset-bottom));z-index:10;border:1px solid var(--ui-line);border-left:4px solid var(--ui-green);border-radius:var(--ui-r-md);background:var(--ui-paper);width:min(640px,100vw - 32px);box-shadow:var(--ui-shadow-modal);color:var(--ui-ink);justify-content:space-between;align-items:center;gap:16px;padding:12px 12px 12px 16px;display:flex;position:fixed;transform:translate(-50%)}.notice-toast p{overflow-wrap:anywhere;margin:0;font-size:.875rem}.notice-toast-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.notice-toast-action,.notice-toast-dismiss{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-white);min-height:40px;color:var(--ui-green-strong);font-weight:600}.notice-toast-action{padding:8px 12px}.notice-toast-dismiss{place-items:center;width:40px;padding:0;display:grid}.notice-toast-action:hover,.notice-toast-dismiss:hover{background:var(--ui-turf-soft)}.control-column{border:1px solid var(--ui-line);border-radius:var(--ui-r-md);background:var(--ui-turf-soft);flex-direction:column;grid-area:toolkit;align-self:start;padding:20px 16px;display:flex}.sidebar-tabs{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-paper);flex-shrink:0;gap:4px;margin-bottom:16px;padding:4px;display:flex}.sidebar-tabs button{min-height:40px;color:var(--ui-muted);background:0 0;border:0;border-radius:4px;flex:1;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:.875rem;font-weight:700;display:inline-flex}.sidebar-tabs button[aria-selected=true]{background:var(--ui-green);color:var(--ui-white)}.sidebar-tabs button:hover:not([aria-selected=true]){background:var(--ui-turf-soft);color:var(--ui-ink)}.pending-run-count{background:var(--ui-yellow);min-width:20px;color:var(--ui-ink);border-radius:99px;padding:2px 5px;font-size:.75rem}.control-column>[role=tabpanel][hidden]{display:none}.runs-panel{overscroll-behavior:contain;overflow-wrap:anywhere;flex:1;min-height:0;overflow-y:auto}.runs-content{flex-direction:column;gap:16px;padding:2px;font-size:.875rem;line-height:1.5;display:flex}.runs-content h2,.runs-content p,.runs-summary{margin:0}.runs-content h2{font-size:1.125rem}.runs-summary{gap:12px;display:grid}.runs-summary dt,.runs-note{color:var(--ui-muted);font-size:.8125rem}.runs-summary dd{color:var(--ui-ink);margin:2px 0 0;font-size:1rem;font-weight:700}.run-history{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.run-card{flex-direction:column;gap:6px;display:flex}.run-card .panel-actions{margin:0}.toolkit-title{justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.toolkit-title h2{margin:0;font-size:1.3125rem;font-weight:700;line-height:1.2}.control-heading p{color:var(--ui-muted);margin:12px 0 0;font-size:.875rem;line-height:1.5}.tile-list{flex-direction:column;gap:12px;margin-top:12px;display:flex}.tile-option{border:1px solid var(--ui-line);border-radius:var(--ui-r-md);background:var(--ui-white);width:100%;min-height:80px;color:var(--ui-ink);text-align:left;align-items:center;gap:12px;padding:12px;display:flex}.tile-option:hover:enabled{border-color:var(--ui-green);background:var(--ui-turf-soft)}.tile-option.selected{border:2px solid var(--ui-green);background:var(--ui-turf);padding:11px}.tile-option.selected .tile-arrows{background:var(--ui-secondary);color:var(--ui-ink)}.tile-option:disabled{color:var(--ui-ink);background:var(--ui-disabled)}.tile-option.selected:disabled{background:var(--ui-turf)}.tile-arrows{border-radius:var(--ui-r-sm);background:var(--ui-turf-soft);width:50px;min-height:50px;color:var(--ui-green);overflow-wrap:anywhere;flex:0 0 50px;place-items:center;padding:4px;font-size:1.75rem;line-height:1.2;display:grid}.tile-info{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.tile-info strong{font-size:.875rem;font-weight:600;line-height:1.4}.tile-info small,.tile-cost{color:var(--ui-muted);font-size:.75rem;line-height:1.4}.tile-cost{white-space:nowrap;flex-shrink:0;align-self:flex-start;padding-top:4px;font-weight:600}.empty-inventory{color:var(--ui-muted);margin:0;font-size:.875rem;line-height:1.5}.loading-region{border:1px solid var(--ui-line);border-radius:var(--ui-r-md);background:var(--ui-turf-soft);min-height:min(56vh,420px);color:var(--ui-muted);place-items:center;padding:24px;font-size:.875rem;display:grid}.course-details{background:var(--ui-paper);padding:20px 24px}.preview-banner{font-weight:700;color:var(--ui-warning)!important;margin:12px 0!important}.modal-backdrop{z-index:20;background:var(--ui-overlay);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-backdrop-stacked{z-index:30}.modal{border:1px solid var(--ui-line);border-radius:var(--ui-r-lg);background:var(--ui-paper);width:min(100%,420px);max-height:calc(100dvh - 48px);box-shadow:var(--ui-shadow-modal);outline:none;flex-direction:column;display:flex;overflow:hidden}.modal-header{border-bottom:1px solid var(--ui-line);background:var(--ui-turf-soft);flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.modal-header h2{margin:4px 0 0;font-size:1.375rem;font-weight:700;line-height:1.2}.icon-button{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-paper);width:44px;height:44px;color:var(--ui-green);flex-shrink:0;place-items:center;display:grid}.icon-button:hover{background:var(--ui-turf)}.modal-body{overscroll-behavior:contain;min-height:0;padding:16px;overflow-y:auto}.modal-stack{flex-direction:column;gap:8px;display:flex}.modal-stack>*{flex-shrink:0}.modal-row,.help-section,.profile-section{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-paper)}.modal-row{min-height:56px;padding:12px}.modal-intro{color:var(--ui-muted);flex-wrap:wrap;gap:4px 12px;margin:0 0 8px;font-size:.875rem;display:flex}.modal-footnote{color:var(--ui-muted);margin:8px 0 0;font-size:.78125rem;line-height:1.5}.help-section{overflow:hidden}.help-section summary{min-height:48px;color:var(--ui-ink);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:.875rem;font-weight:600;list-style:none;display:flex}.help-section summary::-webkit-details-marker{display:none}.help-section summary:hover{background:var(--ui-turf-soft)}.help-section summary:focus-visible{outline-offset:-4px}.help-expand{width:20px;height:20px;color:var(--ui-green);flex-shrink:0;position:relative}.help-expand:before,.help-expand:after{content:"";background:currentColor;position:absolute}.help-expand:before{width:10px;height:2px;top:9px;left:5px}.help-expand:after{width:2px;height:10px;top:5px;left:9px}.help-section[open] .help-expand:after{display:none}.help-section p{color:var(--ui-muted);margin:0;padding:0 16px 16px;font-size:.875rem;line-height:1.55}.modal-section-heading{border-bottom:1px solid var(--ui-line);background:var(--ui-turf-soft);color:var(--ui-ink);margin:0;padding:12px;font-size:.875rem;font-weight:600}.profile-section{overflow:hidden}.unavailable-state{color:var(--ui-muted);margin:0;padding:16px 12px;font-size:.875rem}.ranking-list{margin:0;padding:0;list-style:none}.modal-leaderboard{width:min(100%,860px)}.modal-replay{width:min(100%,1040px)}.leaderboard-scope-row{align-items:center;gap:8px;display:flex}.leaderboard-scope-row>p{margin:0}.leaderboard-scope{border:0;flex:1;min-width:0;margin:0;padding:0}.leaderboard-scope>div{border:1px solid var(--ui-line);border-radius:var(--ui-r-md);background:var(--ui-turf-soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.leaderboard-scope label{min-width:0;position:relative}.modal-body .leaderboard-scope input{opacity:0;width:1px;min-height:0;margin:0;padding:0;position:absolute}.leaderboard-scope span{border-radius:var(--ui-r-sm);min-height:40px;color:var(--ui-muted);text-align:center;cursor:pointer;border:1px solid #0000;place-items:center;padding:8px 12px;font-size:.875rem;font-weight:700;display:grid}.leaderboard-scope input:checked+span{border-color:var(--ui-green);background:var(--ui-white);color:var(--ui-green-strong);box-shadow:var(--ui-shadow-frame)}.leaderboard-scope input:focus-visible+span{outline:3px solid var(--ui-green);outline-offset:2px}.leaderboard-scope input:disabled+span{cursor:default}.leaderboard-loading{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.leaderboard-help{flex:none;display:inline-flex}.leaderboard-help>button{border:1px solid var(--ui-line);background:var(--ui-white);width:28px;height:28px;color:var(--ui-green-strong);border-radius:50%;place-items:center;padding:0;font-weight:800;display:grid}.leaderboard-help>button:hover{background:var(--ui-turf-soft)}.leaderboard-tooltip-anchor{display:inline-flex}.leaderboard-floating-tooltip{z-index:1000;border-radius:var(--ui-r-sm);background:var(--ui-ink);width:max-content;max-width:min(280px,100vw - 24px);box-shadow:var(--ui-shadow-modal);color:var(--ui-white);opacity:1;overflow-wrap:anywhere;pointer-events:none;text-align:left;white-space:normal;padding:8px 10px;font-size:.75rem;font-weight:500;line-height:1.4;position:fixed;transform:translate(-50%)}.leaderboard-floating-tooltip[data-placement=above]{transform:translate(-50%,-100%)}.leaderboard-personal{min-height:24px}.leaderboard-personal p{margin:0}.leaderboard-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:36px;display:flex}.leaderboard-toolbar>time{color:var(--ui-ink);font-size:1rem;font-weight:700}.leaderboard-view-actions{align-items:center;gap:4px;margin-left:auto;display:flex}.leaderboard-action-tooltip{display:inline-flex}.leaderboard-view-actions button{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-white);width:36px;height:36px;color:var(--ui-green-strong);place-items:center;padding:0;display:grid}.leaderboard-view-actions button:hover:enabled{background:var(--ui-turf-soft)}.leaderboard-view-actions button[aria-pressed=true]{border-color:var(--ui-green);background:var(--ui-turf)}.leaderboard-grid-wrap{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-white);overscroll-behavior-inline:contain;scrollbar-color:var(--ui-secondary) transparent;max-width:100%;overflow:auto hidden}.leaderboard-grid{table-layout:fixed;border-spacing:0;border-collapse:separate;width:100%;min-width:640px;color:var(--ui-ink);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.8125rem}.leaderboard-grid caption{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.leaderboard-grid th,.leaderboard-grid td{border-right:1px solid var(--ui-line);text-align:right;height:36px;padding:3px 8px}.leaderboard-grid tr>:last-child{border-right:0}.leaderboard-grid thead th{border-bottom:1px solid var(--ui-line);background:var(--ui-turf-soft);height:40px;color:var(--ui-muted);font-size:.75rem;font-weight:700}.leaderboard-grid th:nth-child(2),.leaderboard-grid tbody th{text-align:left}.leaderboard-grid tbody th{text-overflow:ellipsis;font-weight:600;overflow:hidden}.leaderboard-col-rank{width:54px}.leaderboard-col-cost{width:64px}.leaderboard-col-tiles{width:52px}.leaderboard-col-attempts{width:76px}.leaderboard-col-time,.leaderboard-col-path{width:68px}.leaderboard-col-replay{width:48px}.leaderboard-column-label{cursor:help;outline-offset:3px;align-items:center;display:inline-flex}.leaderboard-grid thead th:last-child,.leaderboard-grid tbody td:last-child{text-align:center}.leaderboard-grid tbody tr:nth-child(2n)>*{background:#f3f7f0}.leaderboard-grid tbody tr.your-row>*{background:var(--ui-turf);font-weight:700}.leaderboard-grid .watch-replay{border-radius:var(--ui-r-sm);background:var(--ui-paper);width:32px;min-height:32px;color:var(--ui-green-strong);border:1px solid #acc2a6;place-items:center;padding:0;display:inline-grid}.leaderboard-grid .watch-replay:hover:enabled{background:var(--ui-turf-soft)}.leaderboard-pagination{justify-content:center;align-items:center;min-height:36px;margin-top:8px;display:flex;position:relative}.leaderboard-page-controls{grid-template-columns:36px 36px max-content 36px 36px;align-items:center;gap:6px;width:max-content;display:grid}.leaderboard-page-controls>button{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-white);width:36px;height:36px;color:var(--ui-green-strong);place-items:center;padding:0;font-size:1.25rem;line-height:1;display:grid}.leaderboard-page-controls>button:hover{background:var(--ui-turf-soft)}.leaderboard-page-controls>button:disabled,.leaderboard-page-controls>button:disabled:hover{border-color:var(--ui-line);background:var(--ui-disabled);color:#96a09d}.modal-body .leaderboard-page-input label{color:var(--ui-muted);white-space:nowrap;flex-direction:row;align-items:center;gap:6px;font-size:.8125rem;display:flex}.modal-body .leaderboard-page-input input{text-align:center;width:52px;min-height:36px;padding:4px 6px;font-weight:700}.modal-body .leaderboard-page-input input[readonly]{color:var(--ui-muted)}.leaderboard-page-size{color:var(--ui-muted);white-space:nowrap;align-items:center;gap:6px;font-size:.8125rem;display:flex;position:absolute;top:50%;right:0;transform:translateY(-50%)}.modal-body .leaderboard-page-size{flex-direction:row}.modal-body .leaderboard-page-size select{width:auto;min-width:58px;min-height:36px;padding:4px 24px 4px 8px;font-weight:700}@media (max-width:600px){.leaderboard-pagination{flex-direction:column;gap:8px}.leaderboard-page-size{position:static;transform:none}}.ranking-row{grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.ranking-number,.archive-number{color:var(--ui-muted);font-size:.78125rem;font-weight:700}.ranking-player,.archive-course{flex-direction:column;gap:4px;min-width:0;display:flex}.ranking-player strong,.archive-course strong{overflow-wrap:anywhere;font-size:.875rem;font-weight:600}.ranking-player small,.archive-course small{color:var(--ui-muted);font-size:.78125rem}.ranking-score{color:var(--ui-green);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.125rem;font-weight:700}.ranking-score small{color:var(--ui-muted);margin-left:4px;font-size:.75rem;font-weight:500}.watch-replay{grid-column:2/-1;justify-self:start;min-height:36px;font-size:.8125rem}.replay-date{color:var(--ui-ink);margin:0;font-size:1rem;font-weight:700}.replay-summary-wrap{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-white);overscroll-behavior-inline:contain;max-width:100%;overflow-x:auto}.replay-summary{table-layout:fixed;border-spacing:0;border-collapse:separate;width:100%;min-width:640px;color:var(--ui-ink);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.8125rem}.replay-summary caption{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.replay-summary th,.replay-summary td{border-right:1px solid var(--ui-line);text-align:right;height:36px;padding:3px 8px}.replay-summary tr>:last-child{border-right:0}.replay-summary thead th{border-bottom:1px solid var(--ui-line);background:var(--ui-turf-soft);height:36px;color:var(--ui-muted);font-size:.75rem;font-weight:700}.replay-summary th:nth-child(2){text-align:left;width:28%}.replay-summary tbody th{text-overflow:ellipsis;font-weight:600;overflow:hidden}.replay-playback-layout{flex-direction:column;gap:8px;display:flex}.replay-player:fullscreen{background:var(--ui-paper);width:100%;height:100%;padding:clamp(12px,2vw,24px);overflow-y:auto}.replay-player:fullscreen .replay-playback-layout{flex:auto;min-height:0}.replay-player:fullscreen .replay-course{aspect-ratio:auto;flex:160px;height:auto;min-height:160px}.replay-course{border:1px solid var(--ui-line);border-radius:12px;width:100%;height:clamp(240px,48vh,460px);min-height:240px;position:relative;overflow:hidden}.replay-fullscreen,.replay-control-button{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:color-mix(in srgb, var(--ui-paper) 92%, transparent);width:40px;height:40px;min-height:40px;color:var(--ui-green-strong);place-items:center;padding:0;display:grid}.replay-fullscreen:hover:enabled,.replay-control-button:hover:enabled{background:var(--ui-turf)}.replay-fullscreen{z-index:2;box-shadow:var(--ui-shadow-frame);position:absolute;top:10px;right:10px}.replay-controls{align-items:flex-end;gap:8px;display:flex}.replay-control-buttons{gap:6px;display:flex}.replay-speed{border:0;flex:1;min-width:0;margin:0;padding:0}.replay-speed legend{color:var(--ui-muted);margin-bottom:4px;font-size:.75rem;font-weight:700}.replay-speed>div{border:1px solid var(--ui-line);border-radius:var(--ui-r-md);background:var(--ui-turf-soft);grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;display:grid}.replay-speed label{min-width:0;position:relative}.modal-body .replay-speed input{opacity:0;background:0 0;border:0;width:1px;height:1px;min-height:0;margin:0;padding:0;position:absolute}.replay-speed span{border-radius:var(--ui-r-sm);min-height:32px;color:var(--ui-muted);cursor:pointer;border:1px solid #0000;place-items:center;padding:4px 6px;font-size:.75rem;font-weight:700;display:grid}.replay-speed input:checked+span{border-color:var(--ui-green);background:var(--ui-white);color:var(--ui-green-strong);box-shadow:var(--ui-shadow-frame)}.replay-speed input:focus-visible+span{outline:3px solid var(--ui-green);outline-offset:1px}.replay-timeline{align-items:center;gap:10px;min-width:0;display:flex}.replay-scrubber{flex:1;min-width:0;height:24px;position:relative}.replay-timeline-track{background:var(--ui-line);border-radius:999px;height:6px;position:absolute;top:50%;left:0;right:0;overflow:hidden;transform:translateY(-50%)}.replay-timeline-played,.replay-goal-interval{position:absolute;top:0;bottom:0}.replay-timeline-played{background:var(--ui-green);left:0}.replay-goal-interval{z-index:1;background:var(--ui-yellow);box-shadow:inset 0 0 0 1px #56676847}.modal-body .replay-progress{z-index:2;appearance:none;width:100%;height:24px;min-height:0;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:relative}.replay-progress::-webkit-slider-runnable-track{background:0 0;border-radius:999px;height:6px}.replay-progress::-webkit-slider-thumb{appearance:none;border:2px solid var(--ui-white);background:var(--ui-green);width:16px;height:16px;box-shadow:0 0 0 1px var(--ui-green-strong);border-radius:999px;margin-top:-5px}.replay-progress::-moz-range-track{background:0 0;border-radius:999px;height:6px}.replay-progress::-moz-range-progress{background:0 0;height:6px}.replay-progress::-moz-range-thumb{border:2px solid var(--ui-white);background:var(--ui-green);width:14px;height:14px;box-shadow:0 0 0 1px var(--ui-green-strong);border-radius:999px}.replay-progress:focus-visible{outline:3px solid var(--ui-green);outline-offset:2px;border-radius:999px}.replay-time{font-variant-numeric:tabular-nums;color:var(--ui-muted);white-space:nowrap;flex-shrink:0;font-size:.75rem}@media (min-width:700px) and (orientation:landscape){.replay-playback-layout{grid-template-columns:136px minmax(0,1fr);grid-template-areas:"controls course";align-items:stretch;gap:12px;display:grid}.replay-course{grid-area:course;height:clamp(360px,58vh,600px);min-height:min(480px,55dvh)}.replay-controls{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-turf-soft);flex-direction:column;grid-area:controls;justify-content:flex-start;align-items:stretch;padding:8px}.replay-control-buttons{justify-content:flex-start}.replay-speed{flex:none}.replay-speed>div{grid-template-columns:repeat(2,minmax(0,1fr))}}.archive-row{width:100%;color:var(--ui-ink);text-align:left;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.archive-row:hover,.archive-row.current-course{background:var(--ui-turf-soft)}.archive-row.current-course{border-color:var(--ui-green)}.calendar-navigation{grid-template-columns:36px 36px minmax(0,1fr) 36px 36px;align-items:center;gap:4px;display:grid}.calendar-navigation>button{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-white);width:36px;height:36px;color:var(--ui-green-strong);place-items:center;padding:0;font-size:1.25rem;line-height:1;display:grid}.calendar-navigation>button:hover{background:var(--ui-turf-soft)}.calendar-navigation>button:disabled,.calendar-navigation>button:disabled:hover{border-color:var(--ui-line);background:var(--ui-disabled);color:#96a09d}.calendar-period{justify-content:center;align-items:center;gap:2px;min-width:0;display:flex}.calendar-period select{appearance:none;border-radius:var(--ui-r-sm);min-width:0;color:var(--ui-ink);font:inherit;text-align:center;cursor:pointer;background:0 0;border:1px solid #0000;padding:4px 2px;font-weight:700}.calendar-period select:first-child{width:48px}.calendar-period select:last-child{width:58px}.calendar-period select:hover{background:var(--ui-turf-soft);border-color:#0000}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid;overflow:visible}.calendar-weekday{color:var(--ui-muted);text-align:center;text-transform:uppercase;padding:4px 0;font-size:.6875rem;font-weight:700}.calendar-day{aspect-ratio:1;width:min(42px,100%);min-width:0;color:var(--ui-ink);font-variant-numeric:tabular-nums;border:0;border-radius:50%;justify-self:center;place-items:center;font-size:.8125rem;display:grid;position:relative}.calendar-day-empty{color:var(--ui-muted)}.calendar-day-outside{visibility:hidden}.calendar-day-puzzle{background:#fff4bf;font-weight:700}.calendar-day-puzzle:hover{background:#ffed9a}.calendar-day-puzzle.solved{background:#d9f0d8}.calendar-day-puzzle.solved:hover{background:#c7e8c7}.calendar-tooltip{z-index:3;border-radius:var(--ui-r-sm);background:var(--ui-ink);width:max-content;max-width:180px;box-shadow:var(--ui-shadow-frame);color:var(--ui-white);opacity:0;overflow-wrap:anywhere;pointer-events:none;text-align:left;visibility:hidden;padding:6px 8px;font-size:.75rem;font-weight:500;line-height:1.35;transition:opacity .12s ease-out,transform .12s ease-out;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)translateY(2px)}.calendar-day-puzzle:hover .calendar-tooltip,.calendar-day-puzzle:focus-visible .calendar-tooltip{opacity:1;visibility:visible;transform:translate(-50%)translateY(0)}.calendar-column-0 .calendar-tooltip{left:-4px;transform:translateY(2px)}.calendar-column-0:hover .calendar-tooltip,.calendar-column-0:focus-visible .calendar-tooltip{transform:translateY(0)}.calendar-column-6 .calendar-tooltip{left:auto;right:-4px;transform:translateY(2px)}.calendar-column-6:hover .calendar-tooltip,.calendar-column-6:focus-visible .calendar-tooltip{transform:translateY(0)}.calendar-legend{color:var(--ui-muted);flex-wrap:wrap;gap:8px 16px;font-size:.75rem;display:flex}.calendar-legend span{align-items:center;gap:6px;display:inline-flex}.calendar-legend i{background:#fff4bf;border:0;border-radius:50%;width:14px;height:14px}.calendar-legend i.solved{background:#d9f0d8}.legacy-courses{border-top:1px solid var(--ui-line)}.legacy-courses summary{min-height:44px;color:var(--ui-ink);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:1rem;font-weight:700;list-style:none;display:flex}.legacy-courses summary::-webkit-details-marker{display:none}.legacy-courses summary:hover{color:var(--ui-green-strong)}.legacy-courses[open] .help-expand:after{display:none}.legacy-courses-content{gap:8px;padding-bottom:8px;display:grid}.legacy-courses-content p{color:var(--ui-muted);margin:0 0 4px;font-size:.875rem}.row-status{color:var(--ui-green);align-items:center;gap:4px;font-size:.78125rem;font-weight:600;display:inline-flex}.settings-section{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm)}.settings-section .modal-section-heading{border-radius:var(--ui-r-sm) var(--ui-r-sm) 0 0}.setting-row{background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:16px;font-size:.875rem;display:flex}.setting-row+.setting-row{border-top:1px solid var(--ui-line)}.switch{border:1px solid var(--ui-muted);background:var(--ui-disabled);border-radius:99px;flex-shrink:0;width:44px;height:26px;padding:2px;display:block}.switch.on{border-color:var(--ui-green);background:var(--ui-green)}.switch span{background:var(--ui-muted);border-radius:50%;width:20px;height:20px;display:block}.switch.on span{background:var(--ui-white);transform:translate(18px)}.result-body{text-align:center;padding:24px 16px}.result-body>p{color:var(--ui-muted);font-size:.875rem}.result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0;display:grid}.result-grid>div{border-radius:var(--ui-r-sm);background:var(--ui-turf-soft);padding:12px 4px}.result-grid strong,.result-grid span{display:block}.result-grid strong{color:var(--ui-green);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:1.4375rem;font-weight:800}.result-grid span{color:var(--ui-muted);font-size:.78125rem}:is(button,summary){transition:background-color .14s ease-out,border-color .14s ease-out,color .14s ease-out,transform .14s ease-out}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (min-width:960px) and (orientation:landscape){html,body{height:100%;overflow:hidden}.site-wrap{flex-direction:column;height:100dvh;min-height:0;padding:8px;display:flex;overflow:hidden}.site-header,.dashboard{width:100%;max-width:none}.site-header{flex-wrap:nowrap;flex:none;min-height:56px;padding:4px 12px}.brand-logo{width:180px}.main-nav{--nav-gap:6px;flex-wrap:nowrap}.nav-button{border-color:var(--ui-line);border-radius:var(--ui-r-md);min-height:40px}.dashboard{flex-direction:column;flex:1;min-height:0;padding:8px;display:flex;overflow:hidden}.api-notice{flex-shrink:0;margin-bottom:6px;padding:4px 8px;font-size:.78125rem}.game-layout{flex:1;grid-template:"meta toolkit""stage toolkit"minmax(0,1fr)/minmax(0,1fr) clamp(240px,21vw,280px);align-items:stretch;column-gap:0;min-height:0}.game-layout>*{min-height:0}.course-heading{margin-right:8px;padding:8px 12px}.course-stage{margin:0 8px 0 0;padding:0 6px 6px;display:flex}.course{aspect-ratio:auto;height:100%}.control-column{flex-direction:column;align-self:stretch;min-height:0;padding:12px;display:flex;overflow:hidden}.run-controls{gap:4px;margin-top:8px;padding-top:8px}.control-heading{flex-shrink:0}.control-heading p{font-size:.75rem}.control-heading .section-kicker{display:none}.toolkit-title{margin-top:0}.toolkit-title h2{font-size:1.125rem}.control-heading p{margin-top:8px}.tile-list{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ui-secondary) transparent;flex:1;gap:8px;min-height:0;margin:8px -4px 0;padding:4px;overflow-y:auto}.tile-option{flex-shrink:0;gap:8px;min-height:72px;padding:10px}.tile-option.selected{padding:9px}.tile-arrows{flex-basis:40px;width:40px;min-height:40px;font-size:1.5rem}.tile-info strong{font-size:.875rem}.loading-region{flex:1;min-height:0}}@media (min-width:960px) and (max-width:1199px) and (orientation:landscape){.nav-button{padding:0}}@media (max-width:959px){.site-wrap{padding:16px}.game-layout{grid-template-rows:none;grid-template-columns:minmax(0,1fr);grid-template-areas:"meta""stage""toolkit"}.course-stage{margin-bottom:12px;padding:12px}.course{aspect-ratio:1.6}.control-column{margin-bottom:12px}}@media (max-width:699px){.site-wrap{padding:12px}.site-header{padding:12px 16px}.brand{font-size:1.25rem}.main-nav{flex-basis:100%}.nav-button{min-width:44px;min-height:44px;padding:8px}.course{aspect-ratio:1.55}.course-identity h1{font-size:1.125rem}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px)}.modal-header{padding:16px}.modal-header h2{font-size:1.25rem}}@media (max-width:480px){.site-wrap{padding:8px}.site-header{gap:8px;padding:12px}.main-nav{--nav-gap:4px}.dashboard{padding:8px}.course{aspect-ratio:1.4}.course-heading,.course-stage{padding:8px}.control-column{padding:16px 12px}.tile-option{min-height:76px}.tile-arrows{flex-basis:42px;width:42px;min-height:42px}.modal-body{padding:12px}.calendar-navigation{grid-template-columns:repeat(4,32px);justify-content:center;gap:4px}.calendar-navigation>button{width:32px;height:32px}.calendar-navigation>button:first-child{grid-area:2/1}.calendar-navigation>button:nth-child(2){grid-area:2/2}.calendar-navigation>button:nth-child(4){grid-area:2/3}.calendar-navigation>button:nth-child(5){grid-area:2/4}.calendar-period{grid-area:1/1/auto/-1;justify-self:center;gap:2px;width:120px}.calendar-period select{flex:none;font-size:.875rem}.calendar-period select:first-child{width:52px}.calendar-period select:last-child{width:60px}.leaderboard-pagination{gap:8px}.leaderboard-page-controls{grid-template-columns:32px 32px max-content 32px 32px}.leaderboard-page-controls>button{width:32px;height:32px}.calendar-grid{gap:2px}.notice-toast{align-items:flex-start;gap:12px;width:calc(100vw - 16px);padding:10px 10px 10px 12px}.notice-toast-actions{gap:4px}}@media (max-width:380px){.brand{font-size:1.125rem}.nav-button{min-width:40px;min-height:40px}}.api-notice:empty{display:none}.legacy-course{text-align:left;width:100%}.copy-fallback{flex-direction:column;gap:6px;display:flex}.copy-fallback textarea{box-sizing:border-box;border:1px solid var(--ui-line);background:var(--ui-paper);width:100%;min-height:140px;color:var(--ui-ink);font:inherit;resize:vertical;border-radius:6px;padding:8px}.panel-actions{flex-wrap:wrap;gap:8px;margin-block:8px;display:flex}.panel-actions button,.community-map-card>button,.community-panel>button,.community-panel [role=alert] button,.copy-result>button,.modal-body form button,.modal-body>button,.modal-stack>button,.api-notice button{color:#244b34;cursor:pointer;background:#f8faf3;border:1px solid #acc2a6;border-radius:8px;min-height:40px;padding:8px 12px}.modal-body label,.selected-field-controls label{flex-direction:column;gap:6px;min-width:0;display:flex}.modal-body input,.modal-body select,.modal-body textarea,.selected-field-controls input{box-sizing:border-box;color:#243b2b;width:100%;min-height:40px;font:inherit;background:#fffdf5;border:1px solid #a7baa1;border-radius:6px;padding:8px}.profile-nickname-form{flex-direction:column;gap:6px;display:flex}.profile-nickname-label,.profile-nickname-edit{align-items:center;gap:8px;display:flex}.profile-nickname-label{justify-content:space-between;font-weight:600}.modal-body form .profile-help>button{border:1px solid var(--ui-line);background:var(--ui-white);width:28px;height:28px;min-height:28px;color:var(--ui-green-strong);border-radius:50%;flex:0 0 28px;place-items:center;padding:0;font-weight:800;display:grid}.modal-body form .profile-help>button:hover{background:var(--ui-turf-soft)}.profile-nickname-edit input{flex:1;min-width:0}.profile-nickname-edit button{flex:none}.profile-nickname-requirements{color:var(--ui-muted);margin:0;font-size:.78125rem;line-height:1.4}.profile-course{margin-top:2px}.profile-course>h3{margin:0 0 4px;font-size:1rem}.profile-course>p,.profile-course-stats{margin:0}.profile-course-stats{flex-direction:column;gap:2px;display:flex}.profile-course-stats p{margin:0}.modal-body textarea{resize:vertical;min-height:180px}.selected-field-controls{border:1px solid #a7baa1;border-radius:10px;min-width:0;margin:8px 0;padding:12px}.field-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.run-timer{font-variant-numeric:tabular-nums}.run-controls p{margin:2px 0;font-size:.8rem}.selected-field-controls{flex-shrink:0}@media (min-width:960px){.setup-tools{overscroll-behavior:contain;flex-direction:column;flex:1;min-height:0;padding:2px;display:flex;overflow-y:auto}.setup-tools .tile-list{flex:1 0 auto;overflow:visible}.setup-tools .tile-option{scroll-margin-block:4px}.control-column .run-controls{flex:none}.selected-field-controls{padding:6px;font-size:.75rem}.selected-field-controls .field-inputs{gap:4px}.selected-field-controls input{min-height:32px;padding:4px}}.api-notice,.modal-body{overflow-wrap:anywhere}.modal-body .ranking-player{min-width:0}.modal-body .ranking-player small{white-space:normal}.modal-body form{gap:10px;display:grid}button:disabled{cursor:default}@media (max-width:400px){.modal-body .ranking-row{grid-template-columns:36px minmax(0,1fr) 40px;gap:6px;display:grid}.modal-body .ranking-player small{line-height:1.5}}.dashboard.community-page{scrollbar-color:var(--ui-secondary) transparent;padding:clamp(16px,2.5vw,36px);overflow-y:auto}.community-panel{gap:24px;display:grid}.community-heading{border-bottom:1px solid var(--ui-line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 32px;padding-bottom:24px;display:flex}.community-heading>div:first-child{flex:320px}.community-heading h1{margin:0 0 8px;font-size:clamp(1.5rem,2.5vw,2rem)}.community-heading h1:focus{outline:none}.community-heading p{max-width:68ch;color:var(--ui-muted);margin:0}.community-heading .panel-actions{margin:0}.panel-actions .community-create{border-color:var(--ui-green);background:var(--ui-green);color:var(--ui-white)}.community-filters{border:1px solid var(--ui-line);border-radius:var(--ui-r-lg);background:var(--ui-white);grid-template-columns:minmax(220px,2fr) repeat(3,minmax(140px,1fr));align-items:end;gap:16px;padding:20px;display:grid}.community-filters label{gap:8px;min-width:0;font-size:.875rem;font-weight:600;display:grid}.community-filters input,.community-filters select{box-sizing:border-box;border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-white);width:100%;min-width:0;min-height:44px;color:var(--ui-ink);font:inherit;padding:10px 12px;font-weight:400}.community-filter-actions{flex-wrap:wrap;grid-column:1/-1;gap:12px;display:flex}.community-filter-actions button{border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-white);min-height:44px;color:var(--ui-ink);font:inherit;cursor:pointer;padding:10px 16px}.community-filter-actions button[type=submit]{border-color:var(--ui-green);background:var(--ui-green);color:var(--ui-white)}.community-results{color:var(--ui-muted);margin:0;font-size:.875rem}@media (max-width:900px){.community-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.community-search{grid-column:1/-1}}@media (max-width:480px){.community-filters{grid-template-columns:minmax(0,1fr);padding:16px}}.community-map-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:20px;display:grid}.community-map-grid:empty{display:none}.community-map-card{border:1px solid var(--ui-line);border-radius:var(--ui-r-lg);background:var(--ui-white);min-width:0;min-height:240px;box-shadow:var(--ui-shadow-frame);overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;padding:24px;display:flex}.community-map-card h2{margin:0 0 8px;font-size:1.25rem;line-height:1.4}.community-map-card a{color:inherit;text-underline-offset:3px;text-decoration-thickness:1px}.community-map-card a:hover{color:var(--ui-green-strong)}.community-map-card p{margin:0 0 16px}.community-map-card .muted{font-size:.8125rem}.community-map-card>button{margin-top:auto}.community-load-more{justify-self:center}.community-empty{border:1px dashed var(--ui-line);border-radius:var(--ui-r-lg);color:var(--ui-muted);text-align:center;margin:0;padding:48px 24px}.community-description{white-space:pre-wrap}.community-publish{overflow-wrap:anywhere;border-top:1px solid #d0dccb;gap:12px;margin-top:20px;padding-top:16px;display:grid}.community-publish label{gap:6px;display:grid}.community-publish input,.community-publish textarea{box-sizing:border-box;width:100%;min-width:0;padding:8px}.community-publish textarea{resize:vertical;min-height:80px}
