:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#203233;background:#f6f8f7;font-synthesis:none;--accent:#177568;--muted:#536963;--line:#dde6e2}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e5ae53;outline-offset:4px}[hidden]{display:none!important}
.site-header{height:58px;max-width:1120px;margin:auto;padding:0 36px;display:flex;align-items:center;justify-content:flex-end;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:16px;font-weight:700;letter-spacing:-.3px}.brand-icon{display:grid;place-items:center;background:var(--accent);color:white;border-radius:9px;width:31px;height:34px;font-size:27px;line-height:1;padding-bottom:4px;box-shadow:3px 3px 0 #dcebe6}.language-switch{display:flex;gap:3px;background:#eaf0ed;padding:4px;border-radius:9px}.language-switch button{border:0;background:transparent;padding:7px 12px;border-radius:6px;color:#5f716d;font-size:13px}.language-switch button[aria-pressed=true]{color:#204e44;background:#fff;box-shadow:0 1px 4px #193b2510;font-weight:600}
main{max-width:1160px;margin:0 auto;padding:18px 28px 36px}.intro{text-align:center;margin-bottom:18px}.eyebrow{display:flex;justify-content:center;align-items:center;gap:8px;color:var(--accent);font-weight:600;font-size:12px;letter-spacing:1.4px;margin:0 0 18px}.eyebrow>span:first-child{width:6px;height:6px;border-radius:50%;background:var(--accent)}h1{font-size:clamp(26px,3.4vw,36px);line-height:1.4;letter-spacing:-1.2px;margin:0 0 6px;font-weight:750}.intro-copy{font-size:14px;line-height:1.9;margin:0;color:#5d6d6b}.intro-copy strong{display:inline-block;color:var(--accent);background:#e6f0ea;border-radius:5px;padding:0 6px;font-size:13px}.intro-note{color:var(--muted);font-size:13px;margin:7px 0 0}.preview-note{display:flex;align-items:flex-start;gap:10px;border:1px solid #eadfc9;background:#fbf7ed;padding:12px 16px;border-radius:9px;color:#79643c;font-size:12px;line-height:1.7}.preview-note p{margin:0}.note-icon{border:1px solid #a88e5a;border-radius:50%;display:inline-grid;place-items:center;min-width:16px;height:16px;font-size:11px;margin-top:2px;font-family:Georgia,serif}
.route-section{margin:18px 0}.section-heading{font-size:14px;font-weight:650;margin:0 0 12px}.route-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.route-card{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:12px;background:white;padding:15px 18px;color:inherit;transition:border-color .15s,background .15s}.route-card:hover{border-color:#83b9a8}.route-card.selected{border-color:var(--accent);background:#eff7f2;box-shadow:0 0 0 1px var(--accent)}.route-symbol{width:37px;height:37px;flex-shrink:0;border-radius:9px;display:grid;place-items:center;background:#f0f3f1;color:var(--accent);font-size:26px}.selected .route-symbol{background:#deeee4}.route-text{flex:1}.route-text strong{display:block;font-size:15px;margin-bottom:6px}.route-text>span{font-size:14px;color:var(--muted);line-height:1.5;display:block}.choice-dot{width:16px;height:16px;border:1.5px solid #c9d5cf;border-radius:50%;flex-shrink:0}.selected .choice-dot{background:var(--accent);border:4px solid #eff7f2;box-shadow:0 0 0 1.5px var(--accent)}
.workspace{border:1px solid var(--line);border-radius:15px;background:#fff;padding:24px;box-shadow:0 5px 24px #193b2504}.step-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.step-number{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#eaf2ee;color:var(--accent);font-size:12px;font-weight:700;flex-shrink:0}.step-heading h2{margin:1px 0 7px;font-size:16px;font-weight:650}.step-heading p{margin:0;color:var(--muted);font-size:15px;line-height:1.7}.drop-zone{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 20px 21px;border:1.5px dashed #bdd1c8;background:#fafcfb;border-radius:10px;transition:background .15s,border-color .15s}.drop-zone.dragging{background:#e6f3ec;border-color:var(--accent)}.drop-zone h3{font-size:17px;font-weight:600;margin:17px 0 6px}.drop-zone p{font-size:14px;color:var(--muted);margin:0 0 18px}.drop-note{display:block;font-size:13px;line-height:1.7;color:var(--muted);margin-top:15px}.folder-icon{position:relative;width:43px;height:31px;border:1.5px solid #649a83;border-radius:4px;background:#e7f0e9;margin-top:5px}.folder-icon:before{content:"";position:absolute;top:-7px;left:-1.5px;width:19px;height:7px;border:1.5px solid #649a83;border-bottom:0;border-radius:4px 4px 0 0;background:#e7f0e9}.folder-icon:after{content:"+";position:absolute;inset:0;display:grid;place-items:center;color:#61947e;font-size:22px}.primary-button{border:0;border-radius:7px;background:var(--accent);color:white;font-size:15px;font-weight:600;min-height:40px;padding:11px 22px}.primary-button:hover{background:#105c51}.primary-button:disabled{opacity:.55}.supported-line{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0 0}.status{font-size:12px;line-height:1.8;color:var(--accent);margin:12px 0 0;overflow-wrap:anywhere}.status:empty{display:none}.status.error{color:#a34837}.notice{background:#faf6ed;border-radius:8px;font-size:12px;color:#786441;padding:12px 15px;margin-top:12px;line-height:1.8}.notice p{margin:0}.text-button{color:var(--accent);border:0;background:none;padding:8px 0;font-size:12px;text-align:left;font-weight:600}
.field-label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}.required{font-weight:400;font-size:10px;color:var(--muted);margin-left:5px}input[type=text],select{border:1px solid #d4dfd8;background:#fff;border-radius:7px;padding:12px 13px;color:#203233;font-size:13px;width:100%;min-height:43px}input::placeholder{color:#8b9993;font-size:12px}select{padding-right:30px}.guide-box{min-width:0;padding:18px;background:#f5f8f6;border-radius:8px}.guide-box h3{font-size:16px;margin:0 0 12px}.guide-box ol{margin:0;padding-left:24px;color:#344e44;font-size:15px;line-height:1.8}.guide-box li+li{margin-top:8px}.expected-files{margin:0 0 18px}.expected-file{border-bottom:1px solid #edf1ee;padding:12px 0}.expected-file-heading{display:flex;gap:8px;align-items:center;font-size:14px;margin-bottom:7px}.kind-badge{font-size:10px;font-weight:500;color:#5a7d6d;padding:2px 6px;border-radius:4px;background:#edf4ef}.path-row{display:flex;align-items:center;gap:8px}.path-row code{font-size:13px;line-height:1.7;overflow-wrap:anywhere;color:#6d7d75;flex:1}.copy-button{font-size:11px;color:var(--accent);border:1px solid var(--line);background:#fff;border-radius:5px;padding:6px 9px;flex-shrink:0}.compact{padding:10px 18px 20px}.compact h3{font-size:17px}.identity-section{border-top:1px solid #e9eeea;margin-top:27px;padding-top:26px}.identity-section input{max-width:440px}.hint{font-size:11px;color:var(--muted);line-height:1.8;margin:9px 0 0}.selection-section{margin-top:23px;border-radius:9px;background:#f7faf8;padding:16px}.selection-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.selection-heading h3{font-size:12px;margin:0}.selection-heading>span{font-size:11px;color:var(--muted)}.file-list{list-style:none;margin:8px 0 0;padding:0}.file-list li{display:flex;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #e5ede7}.file-info{min-width:0;flex:1}.file-info strong{font-size:12px;font-weight:500;display:block;overflow-wrap:anywhere}.file-info span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.file-size{font-size:11px;color:var(--muted);white-space:nowrap}.send-section{border-top:1px solid #e9eeea;margin-top:24px;padding-top:23px;display:flex;align-items:center;justify-content:space-between;gap:18px}.send-section strong{font-size:13px;font-weight:600}.send-section p{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.7}.send-button{border:1px solid #dce4de;background:#edf1ee;color:#738379;border-radius:7px;font-size:14px;padding:13px 18px;white-space:nowrap}footer{display:flex;justify-content:center;gap:10px;color:#839189;font-size:10px;line-height:1.8;padding:25px 0 32px}
@media(max-width:600px){.site-header{height:54px;padding:0 18px}.brand{font-size:14px}.language-switch button{padding:7px 9px}main{padding:16px 16px 28px}.intro{text-align:left}.eyebrow{justify-content:flex-start;font-size:11px}h1{font-size:27px;letter-spacing:-.8px}.intro-copy{font-size:13px}.route-options{grid-template-columns:1fr;gap:10px}.route-card{padding:17px}.route-text>span{font-size:12px}.workspace{padding:21px 17px}.drop-zone{padding:25px 12px 20px}.send-section{align-items:stretch;flex-direction:column}.send-button{width:100%}footer{flex-wrap:wrap;gap:4px 8px}.selection-heading{align-items:flex-start;flex-direction:column;gap:5px}.path-row{align-items:flex-start}.intro-note{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.send-button:not(:disabled){background:var(--accent);color:#fff;border-color:var(--accent);cursor:pointer}.send-button:not(:disabled):hover{background:#105c51}#upload-progress{display:block;width:100%;height:8px;margin-top:20px;accent-color:var(--accent)}#upload-receipt{background:#edf7f0;color:#235b47}#submission-id{display:block;overflow-wrap:anywhere;font-size:12px;margin:9px 0;user-select:all}.route-card:disabled{cursor:wait;opacity:.7}
.game-confirmation{margin-top:18px;padding:18px;border:1px solid #bdd1c8;border-radius:9px;background:#f1f8f3}.game-confirmation h3{font-size:14px;margin:0 0 10px}.game-confirmation p{font-size:13px;line-height:1.8;margin:0 0 12px;overflow-wrap:anywhere}.confirmation-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px}
.game-picker{border:0;padding:0;margin:0;min-width:0}.game-picker legend{padding:0}.game-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;width:100%}.game-card{position:relative;display:flex;align-items:center;gap:12px;padding:10px;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.game-card:hover{border-color:#83b9a8}.game-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#eff7f2}.game-card:focus-within{outline:3px solid #e5ae53;outline-offset:3px}.game-radio{position:absolute;right:12px;top:12px;width:20px;height:20px;margin:0;accent-color:var(--accent);z-index:1;box-shadow:0 0 0 4px #fff;border-radius:50%;cursor:pointer}.game-cover{position:relative;display:grid;place-items:center;flex:0 0 72px;width:72px;aspect-ratio:2/3;border-radius:5px;background:#e7efeb;overflow:hidden}.game-cover-fallback{font-size:20px;letter-spacing:1px;color:#6b8e80;font-weight:700}.game-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}.game-card-names{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:3px;padding:22px 0 0;overflow-wrap:anywhere}.game-card-names strong{font-size:14px;line-height:1.5}.game-card-names>span:not(.demo-badge){font-size:12px;line-height:1.5;color:var(--muted)}.demo-badge{font-size:10px;background:#eee8f6;color:#6b538c;border-radius:4px;padding:3px 7px}.game-picker:disabled .game-card{cursor:default}.game-picker:disabled .game-radio{cursor:default}@media(max-width:600px){.game-grid{grid-template-columns:1fr;gap:10px}.game-cover{flex-basis:48px;width:48px}.game-cover-fallback{font-size:16px}.game-card-names{padding:0 24px 0 0}.game-card-names strong{font-size:13px}.game-card-names>span:not(.demo-badge){font-size:11px}.game-radio{width:17px;height:17px;right:10px;top:10px}}
.guide-images{display:grid;gap:16px;margin:0;min-width:0}.guide-image{margin:0;width:100%;max-width:640px}.guide-image-link{display:block;text-decoration:none}.guide-image-frame{display:grid;aspect-ratio:1238/1020;overflow:hidden;background:#edf2ef;border:1px solid var(--line);border-radius:8px}.guide-image img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;grid-area:1/1}.guide-image-error{grid-area:1/1;align-self:center;padding:24px;color:var(--muted);font-size:14px;line-height:1.8}.guide-image-caption{display:block;min-height:22px;font-size:13px;color:var(--accent);margin-top:5px}.guide-step-text{margin:0}.guide-box .guide-step+.guide-step{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.guide-step::marker{font-weight:700;color:var(--accent)}.guide-step .guide-images{margin:10px 0 16px}.guide-image-link:hover .guide-image-frame{border-color:var(--accent)}

/* Keep the guide and its action visible together on desktop. */
.guide-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;align-items:start}
.guide-actions{min-width:0;position:sticky;top:20px}
.guide-layout:has(> .guide-images[hidden]){grid-template-columns:1fr}
.manual-guide-layout{margin-top:24px}
.step-heading p+p{margin-top:6px}
.drop-zone p{line-height:1.7}
.guide-image-link:not([href]){cursor:default}
@media(max-width:899px){
    .guide-layout{grid-template-columns:minmax(0,1fr);gap:20px}
    .guide-actions{position:static}
    .guide-image{max-width:560px}
}
@media(max-width:600px){
    .route-text>span{font-size:13px}
    .step-heading p,.guide-box ol{font-size:14px}
    .guide-box{padding:14px 12px}
    .path-row{flex-wrap:wrap}
    .path-row code{flex-basis:100%}
    .route-card{padding:14px}
}

.detected-game-info{display:flex;align-items:center;gap:16px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.detected-game-cover{width:80px;height:120px;object-fit:contain;border-radius:7px;flex-shrink:0}
.detected-game-names{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}
.detected-game-names .hint{margin:0}.detected-game-names strong{font-size:16px}.detected-game-names>span:last-child{font-size:14px;color:var(--muted)}
@media(max-width:420px){.detected-game-cover{width:64px;height:96px}.detected-game-info{gap:12px}}

.identity-section{display:flex;align-items:center;gap:16px}
.identity-section .step-heading{flex-shrink:0;align-items:center;margin-bottom:0}
.identity-section h2{margin:0;white-space:nowrap}
.nickname-target{flex:1;min-width:0;max-width:720px;display:flex;align-items:center;gap:12px}
.nickname-input-label{flex-shrink:0;font-size:15px;font-weight:600;color:#203233}
.nickname-target #nickname{flex:1;min-width:0}
.identity-section #nickname{max-width:none;min-height:58px;border:2px solid #538c7e;background:#f0f8f4;box-shadow:0 0 0 4px #1775680d;font-size:16px;padding:15px 16px}
.identity-section #nickname::placeholder{color:#566f66;font-size:14px;opacity:1}
.identity-section #nickname:focus{background:#fff;border-color:var(--accent);box-shadow:0 0 0 4px #17756820}
.attention-target{position:relative}
.attention-arrow{display:none;position:absolute;right:24px;bottom:calc(100% + 8px);width:64px;height:64px;border:3px solid #b84d00;border-radius:14px;background:#fff8e7;font-family:"Segoe UI Symbol","Segoe UI",sans-serif;font-size:56px;font-weight:900;line-height:58px;text-align:center;color:#b84d00;box-shadow:0 4px 16px #70340040,0 0 0 4px #fff;pointer-events:none;z-index:2}
.attention-active>.attention-arrow{display:block;animation:next-step-cue 1.5s ease-in-out 4}
.attention-active #nickname,.attention-active #send-files{outline:3px solid #c76300;outline-offset:5px;box-shadow:0 0 0 9px #ffdf983d}
@keyframes next-step-cue{0%,100%{opacity:.55;transform:translateY(-7px) scale(.96)}50%{opacity:1;transform:translateY(2px) scale(1.08)}}
@media(prefers-reduced-motion:reduce){.attention-active>.attention-arrow{animation:none}}
@media(max-width:600px){#send-target{align-self:stretch}.identity-section{gap:8px}.identity-section .step-heading{gap:8px}.identity-section h2{font-size:14px}.identity-section #nickname{font-size:16px}}

.status.recognition-success{display:flex;align-items:center;gap:12px;padding:16px 18px;border:2px solid #177568;border-radius:10px;background:#e8f6ee;color:#105c43;font-size:22px;font-weight:750;line-height:1.5}
.status.recognition-success::before{content:"✓";display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#177568;color:#fff;font-size:22px}

.page-navigation{display:flex;align-items:center;gap:18px;margin-right:auto}.page-navigation a{color:var(--accent);font-size:13px;text-underline-offset:3px}
.intro .supported-line{margin:5px 0 0}
.selection-slot .selection-section{margin-top:12px;padding:14px}
.selection-slot .selection-heading{flex-wrap:wrap;gap:6px}
.selection-slot .file-list li{padding:9px 0}
#upload-next-steps{display:flow-root;scroll-margin:24px 0}

.expected-file-heading{flex-wrap:wrap}
.primary-file-badge{background:#dcefe4;color:#16583f;font-weight:650}
.secondary-file-note{font-size:13px;font-weight:400;color:var(--muted);line-height:1.7}

.manual-upload-heading{grid-column:1/-1;margin-bottom:-12px}
#manual-status,.status.error{font-size:16px;font-weight:600;line-height:1.7}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.route-text strong{margin-bottom:0}
.drop-zone h3{margin-bottom:18px}
.send-section{justify-content:flex-end}
.selection-heading>span{font-size:13px;font-weight:600;color:#344e44}
.file-info strong{font-size:13px}
.file-directory-group+.file-directory-group{margin-top:16px}
.file-directory-group .path-row{margin-bottom:10px}
.directory-name{font-size:13px;line-height:1.7;color:var(--muted)}
.file-directory-group .expected-file-heading{margin:8px 0;overflow-wrap:anywhere}
.file-directory-group .expected-file-heading strong{min-width:0;overflow-wrap:anywhere}
.optional-files{margin:0 0 18px;border-top:1px solid var(--line);padding-top:12px}
.optional-files summary{font-size:14px;color:var(--accent);cursor:pointer}
.optional-files[open] summary{margin-bottom:12px}
.optional-files ol{padding-left:20px;font-size:13px;line-height:1.7;color:var(--muted)}
.optional-files .guide-step+.guide-step{margin-top:12px}
summary:focus-visible{outline:3px solid #e5ae53;outline-offset:4px}
#auto-size-error,#manual-size-error{white-space:pre-line}
.supported-sidebar{position:relative;display:inline-block;text-align:left;margin-top:10px;font-size:13px;color:var(--muted)}
.supported-sidebar summary{cursor:pointer;color:var(--accent)}
.supported-sidebar ul{position:absolute;top:100%;left:50%;transform:translateX(-50%);z-index:4;width:240px;max-width:calc(100vw - 32px);max-height:65vh;overflow:auto;list-style:none;margin:8px 0 0;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 6px 20px #193b2514}
.supported-sidebar li+li{margin-top:14px}
.supported-sidebar li{display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.supported-sidebar .game-name-primary{font-size:13px;font-weight:600}
.supported-sidebar .game-name-secondary{font-size:12px}
@media(min-width:1600px){
    .supported-sidebar{position:absolute;left:calc(50% + 580px);top:180px;width:180px;margin:0}
    .supported-sidebar summary{list-style:none;font-size:14px;font-weight:600;pointer-events:none;color:#344e44}
    .supported-sidebar summary::-webkit-details-marker{display:none}
    .supported-sidebar ul{position:static;transform:none;width:auto;margin-top:16px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
}
@media(max-width:600px){.supported-sidebar ul{left:0;transform:none}}
.route-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.screenshot-help-button{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:4px;padding:10px 16px;border:1.5px solid var(--accent);border-radius:8px;background:#e8f4ee;color:#105c51;font-size:16px;font-weight:700;text-align:left}
.screenshot-help-button:hover,.screenshot-help-button[aria-expanded=true]{background:#d7ece2}
.screenshot-help-icon{display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;border-radius:50%;background:var(--accent);color:#fff;font-size:16px}
.screenshot-help-chevron{width:8px;height:8px;flex-shrink:0;margin-left:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.screenshot-help-button[aria-expanded=true] .screenshot-help-chevron{transform:translateY(2px) rotate(225deg)}
.screenshot-layout:has(> .screenshot-help[hidden]){grid-template-columns:minmax(0,1fr)}
.screenshot-help{min-width:0}.screenshot-help p{margin:0 0 14px;line-height:1.7}
.screenshot-method+.screenshot-method{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.screenshot-help .guide-image-frame{display:block;aspect-ratio:auto;min-height:80px}
.screenshot-help .guide-image img{height:auto}
.screenshot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;list-style:none;margin:18px 0 0;padding:0}
.screenshot-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fafcfb}
.screenshot-preview{display:grid;place-items:center;height:140px;background:#eef3f0;border-radius:6px;overflow:hidden}
.screenshot-preview img{display:block;width:100%;height:140px;object-fit:contain}
.screenshot-name{font-size:14px;overflow-wrap:anywhere}.screenshot-remove{align-self:flex-start;border:1px solid var(--line);background:white;border-radius:6px;color:var(--accent);padding:6px 12px}
.preview-error{display:none;font-size:14px;color:#a34837}.preview-failed .preview-error{display:block}
#screenshots-status{font-size:16px;font-weight:600}#screenshots-size-error{white-space:pre-line}#screenshots-summary:empty{display:none}
@media(max-width:800px){.route-options{grid-template-columns:1fr}}
