html.creator-document{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}
.creator-page{height:auto;min-height:100%;overflow:auto;background:#0d1118;color:#edf2f7;font-size:15px}
.creator-page [hidden]{display:none!important}
.creator-page header{padding:16px max(20px,calc((100vw - 880px)/2));gap:16px;flex-wrap:wrap}
.creator-page .brand{font-weight:800;text-decoration:none;color:#edf2f7;font-size:13px;letter-spacing:.03em}
.creator-page #account,.creator-page .inline,.section-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.creator-page #account-name{overflow-wrap:anywhere}
.creator-page main,.creator-page footer{max-width:880px;margin:auto;padding:24px}
.creator-intro{padding:12px 0 20px}
.creator-intro h1{font-size:clamp(26px,4vw,34px);line-height:1.3;margin:8px 0 10px;letter-spacing:-.02em}
.creator-page p{color:#b9c6d7;line-height:1.75;max-width:72ch;text-wrap:pretty}
.creator-intro p{margin:0}
.creator-page a{color:#9cd0ff}
.creator-page h2{font-size:19px;margin:0 0 12px;text-wrap:balance}
.creator-page h3{font-size:24px;margin:12px 0 8px;line-height:1.4;overflow-wrap:anywhere}
.creator-page section{padding:24px 0;border-bottom:1px solid #293342}
.creator-page #challenge-section{padding-top:8px}
.section-heading{justify-content:space-between;gap:8px}
.section-heading h2{margin:0}
.creator-page button,.creator-page .challenge-actions a{font:inherit;min-height:44px;padding:10px 16px;white-space:normal;line-height:1.5}
.creator-page button:disabled{opacity:.6;cursor:wait}
.creator-page button:active{transform:none}
.creator-page .primary{background:#f2c14e;color:#13171e;border-color:#f2c14e;font-weight:700}
.creator-page .account-login{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:8px;text-decoration:none;margin:8px 0}
.creator-page #status{color:#ffe09a;padding:12px 16px;background:#242417;border:1px solid #786539;border-radius:8px;line-height:1.7}
.creator-page #status:empty{display:none}
.challenge-row{display:block;padding:24px 0 8px}
.challenge-row>div{min-width:0}
.challenge-row p{margin:8px 0;overflow-wrap:anywhere}
.version-label{display:inline-block;color:#e5edfa;font-size:13px;font-weight:600}
.challenge-row .version-label{background:#263244;padding:4px 10px;border-radius:5px}
.creator-page .map-summary{font-size:13px;color:#b9c6d7;margin-top:14px}
.challenge-feedback:empty{display:none}
.creator-page .challenge-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px}
.creator-page .challenge-actions a{display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}
.creator-page .challenge-actions>*{min-width:0}
.creator-page #creation-limit-note{font-size:13px;margin-top:18px}
.creator-page :is(.challenge-more,.version-history,.account-section)>summary{cursor:pointer;min-height:44px;padding:12px 0;line-height:1.5;color:#c2cfe0}
.challenge-more{margin-top:16px}
.challenge-more button{margin:4px 8px 4px 0}
.challenge-more p{font-size:13px}
.version-history{border-top:1px solid #293342;margin-top:18px;padding-top:4px}
.archived-version{padding:12px 0;border-top:1px solid #293342}
.archived-version p{margin:4px 0}
.archived-version a{display:inline-flex;min-height:44px;align-items:center;margin-right:16px}
.account-section{border-bottom:1px solid #293342;padding:8px 0}
.account-section section{border:0;padding:16px 0}
.account-delete{margin:20px 0}
.account-delete summary{cursor:pointer;padding:12px 0;color:#c2cfe0}
.creator-page footer{padding-top:28px;padding-bottom:40px;font-size:13px}
.creator-page label{display:block;font-size:14px;margin:14px 0 7px}
.creator-page input,.creator-page textarea{font:inherit;display:block;width:100%;box-sizing:border-box;background:#151e2a;color:#edf2f7;border:1px solid #526174;border-radius:6px;padding:12px;min-height:46px}
.creator-page input::placeholder,.creator-page textarea::placeholder{color:#a7b4c7}
.creator-page .inline input{flex:1;min-width:160px;width:auto}
.creator-page .inline label{flex-basis:100%}
.creator-page fieldset{margin:24px 0;padding:18px;border:1px solid #425068;border-radius:8px;min-width:0}
.creator-page legend{padding:0 8px;font-weight:600}
.creator-page #draft-form{max-width:720px}
.creator-search-result{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #293342}
.creator-search-result strong{min-width:0;overflow-wrap:anywhere}
.creator-search-result button{margin:0}
.creator-page dialog{width:min(580px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;background:#121a26;color:#edf2f7;border:1px solid #65748b;border-radius:12px;padding:24px}
.creator-page dialog::backdrop{background:#000b}
.creator-page dialog input,.creator-page dialog textarea{margin-bottom:12px}
.creator-page dialog button{margin:6px 8px 0 0}
.edit-choices>div{padding:16px 0;border-bottom:1px solid #293342}
.edit-choices>div:first-child{padding-top:0}
.edit-choices p{margin:8px 0 0;font-size:14px}
.edit-choices>div>button{font-weight:600;margin:0}
.history-row{padding:14px 0;border-bottom:1px solid #293342}
.creator-page :focus-visible{outline:3px solid #f2c14e;outline-offset:3px}
@media(max-width:600px){.creator-page main,.creator-page footer{padding:20px 16px}.creator-page header{padding:14px 16px}.creator-intro{padding-top:4px}.creator-page h3{font-size:22px}.section-heading button{font-size:13px;padding:8px 12px}.creator-page .challenge-actions{display:grid;grid-template-columns:1fr 1fr}.challenge-actions>.primary{grid-column:1/-1}.creator-page fieldset{padding:14px}.creator-search-result>*{width:100%}.creator-page dialog{padding:20px}.creator-page input,.creator-page textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){.creator-page *{scroll-behavior:auto!important;transition:none!important}}
.auth-problem{border:1px solid #b8860b;background:#2a2410;color:#f5e6b8;border-radius:8px;padding:12px 14px;line-height:1.6}
.name-onboarding{border:2px solid #f2c14e;border-radius:12px;padding:16px;margin:16px 0;background:#141b26}
.name-onboarding h2{margin-top:0}
.preview-label{margin:16px 0 4px;color:#9fb0c6;font-size:.9rem}
.ranking-preview{list-style:none;margin:0;padding:0}
.ranking-preview li{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:8px;background:#1d2633}
.preview-rank{color:#f2c14e;font-weight:700}.preview-name{flex:1;font-weight:700;overflow-wrap:anywhere}.preview-score{color:#c2cfe0}
.standings{display:grid;gap:8px;margin:8px 0}
.standing-row{border:1px solid #293342;border-radius:8px;padding:12px}
.standing-row h3{margin:0 0 6px;font-size:1rem}
.standing-row dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0}
.standing-row dt{color:#9fb0c6}.standing-row dd{margin:0}
.standing-row .ahead{color:#7fd18b}.standing-row .behind{color:#f2c14e}
.standing-row>a{display:inline-block;margin-top:8px}
.creation-rules,.no-access{margin:12px 0 16px;padding:12px 14px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.04)}
.creation-rules h3,.no-access h3{margin:0 0 6px;font-size:15px}
.creation-rules ul{margin:0;padding-left:1.2em;line-height:1.7}
.no-access p{margin:6px 0;line-height:1.7}
.play-kinds{font-size:13px;opacity:.82;line-height:1.6}
.challenge-row.just-saved{outline:2px solid #f3c34b;outline-offset:4px;border-radius:10px}
.challenge-feedback .primary{display:block;margin-top:8px}

/* 題名は単語の途中で折り返さない（日本語は文節単位、行の長さをそろえる） */
.creator-intro h1,.challenge-row h3,.standing-row h3{word-break:auto-phrase;text-wrap:balance}
