/* Destination pages share the minimal dark navigation of the reference. */
body[data-destination="hub"] :is(.forum-entry-button,.forum-character-banner,.saved-character-card){transform-origin:center;transition:transform .25s cubic-bezier(.2,.7,.3,1),border-color .25s,box-shadow .25s}
body[data-destination="hub"] .character-hub{padding:10px;margin:8px -10px -10px;max-width:calc(100% + 20px)}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body[data-destination="hub"] :is(.forum-entry-button,.forum-character-banner,.saved-character-card):is(:hover,:focus-visible){transform:translateY(-3px) scale(1.015);z-index:2;border-color:#3ea9e570;box-shadow:0 14px 32px #0005,0 0 20px #129de912}
}
.destination-header{background:#08090bec;border-bottom:1px solid #ffffff0d;position:relative;z-index:20}
.destination-header-inner{width:calc(100% - 64px);max-width:1240px;margin:auto;display:flex;align-items:center;gap:37px;min-height:76px}
.destination-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;white-space:nowrap;flex:none}
.destination-brand img{width:38px;height:38px;object-fit:cover;border-radius:6px}
.destination-brand>span{font-size:24px;font-style:italic;font-weight:800;letter-spacing:-1px}.destination-brand b{color:#33b8ff}
.destination-nav{display:flex;align-items:stretch;gap:28px;align-self:stretch;white-space:nowrap}
.destination-nav button{position:relative;border:0;background:none;padding:0;color:#91939d;font-size:10px;font-weight:700;letter-spacing:1px;transition:color .2s}
.destination-nav button:hover,.destination-nav button.active{color:#fff}
.destination-nav button.active:after{content:'';position:absolute;left:0;right:0;bottom:20px;height:2px;background:#2cb5ff;box-shadow:0 0 14px #2cb5ff30}
.destination-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.destination-user{display:flex;align-items:center;gap:7px;font-size:10px;color:#aaaeb8;max-width:130px;white-space:nowrap}
.destination-user>span{overflow:hidden;text-overflow:ellipsis}.destination-user i{flex:none;width:5px;height:5px;border-radius:50%;background:#30b7ff;box-shadow:0 0 9px #30b7ff35}
.destination-header .destination-actions .server-player-count{display:inline-flex;gap:6px;flex:none;max-width:none;font-size:10px;color:#8f9ba9}
.server-player-count strong{color:#e5f5ff;font-weight:600;font-variant-numeric:tabular-nums}
.server-player-count[data-state="online"] i{background:#21d69b;box-shadow:0 0 9px #21d69b40}
.server-player-count[data-state="loading"] i{background:#7b8a9b;box-shadow:none}
.server-player-count[data-state="unavailable"] i{background:#c5a16b;box-shadow:none}
@media(max-width:800px){.destination-header .destination-actions .server-player-count{font-size:8px;gap:4px}.server-player-count>span{max-width:75px}}
@media(max-width:500px){.destination-header .destination-actions .server-player-count>span{display:none}}
.destination-create,.destination-return{display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 13px;border:1px solid transparent;border-radius:4px;font-size:9px;font-weight:700;letter-spacing:.4px;white-space:nowrap;min-height:37px}
.destination-create{margin-left:10px;background:linear-gradient(110deg,#087bc1,#079fe9);border-color:#3cbaff55;color:#fff;box-shadow:0 0 18px #078fee20}.destination-create svg{width:14px;height:14px;flex:none}
.destination-create:hover{background:#13a9ef}.destination-return{background:#f6f8fb;color:#0a0b0f}.destination-return:hover{background:#dcefff}.destination-return span{font-size:14px;line-height:1}
.destination-return #destination-return-label{font-size:9px;line-height:1.4}
.destination-preview{background:#14171c;border-color:#2b3039;padding:4px 6px;gap:6px;letter-spacing:.8px;font-size:6px;color:#757f90;white-space:nowrap}
.destination-preview select{background:#101216;border-color:#303945;color:#c5d6e4;padding:4px 5px;font-size:9px}
body:not([data-destination="hub"]) .destination-preview{display:none}
.destination-forum-intro{display:none}
/* Player hub uses the same header and neutral surfaces as the inner pages. */
body[data-destination="hub"]{background:#090a0d;color:#eeeff3}
body[data-destination="hub"] .forum-panel{min-height:calc(100svh - 76px);background:radial-gradient(ellipse 65% 450px at 85% 25%,#14374a15,transparent),#090a0d}
body[data-destination="hub"] .forum-header,body[data-destination="hub"] .forum-nav,body[data-destination="hub"] .forum-ambient{display:none}
body[data-destination="hub"] .forum-wrap{width:calc(100% - 64px);max-width:1240px}
body[data-destination="hub"] .forum-content{padding-top:39px;padding-bottom:39px}
body[data-destination="hub"] .forum-page-heading{font-family:Inter,Arial,sans-serif;font-size:23px;font-weight:700;letter-spacing:-.6px;margin-bottom:23px;color:#f5f6f9;text-shadow:none}
body[data-destination="hub"] .forum-page-heading>span{display:block;margin:0 0 9px;font-family:monospace;font-size:9px;font-weight:400;letter-spacing:2px;color:#7a8496}
body[data-destination="hub"] .forum-welcome{min-height:250px;padding:30px 34px;background:radial-gradient(ellipse at 100% 100%,#10304930,transparent 64%),linear-gradient(115deg,#111318,#0b0d11);border-color:#292e37;border-radius:5px;box-shadow:none}
body[data-destination="hub"] .forum-welcome:after{opacity:.025}
body[data-destination="hub"] .forum-welcome h1{font-family:Inter,Arial,sans-serif;font-size:clamp(29px,3.2vw,43px);font-weight:800;letter-spacing:-1.5px;text-shadow:none;margin:11px 0 16px}
body[data-destination="hub"] .forum-welcome h1 span{color:#32b4ff}
body[data-destination="hub"] .forum-eyebrow{font-family:monospace;letter-spacing:1.6px;font-weight:400;font-size:8px;color:#7b93a9}
body[data-destination="hub"] .forum-welcome .forum-personal-welcome{font-size:12px;color:#d1d5df}
body[data-destination="hub"] .forum-welcome-copy>p:last-child{font-size:11px;color:#818a9b}
body[data-destination="hub"] .forum-hero-moon{background:#e3edf4;box-shadow:0 0 40px #62baff0d}
body[data-destination="hub"] .forum-hero-small-ring{border-color:#50a3d2;box-shadow:none}
body[data-destination="hub"] .forum-hero-orbit{background:linear-gradient(115deg,#12304a,#0878bd 56%,#209edc);box-shadow:none}
body[data-destination="hub"] .forum-hero-orbit:before{background:linear-gradient(110deg,#0d4a76,#1489c9 58%,#125c8b)}
body[data-destination="hub"] .forum-hero-orbit:after{border-color:#2399d4;background:#0b0d11}
body[data-destination="hub"] .character-banner-title{font-family:Inter,Arial,sans-serif;font-size:32px;letter-spacing:-1px;font-weight:700;text-shadow:none}
body[data-destination="hub"] .character-banner-title strong{color:#32b4ff;font-weight:700}
body[data-destination="hub"] .character-banner-plus{border-color:#3a779d;background:#111f2c;color:#79c7f5;box-shadow:0 0 0 6px #2289c008}
body[data-destination="hub"] .character-hub.has-characters .character-banner-title{font-size:26px}
body[data-destination="hub"] .saved-character-card{min-height:250px;background:radial-gradient(circle at 95% 90%,#145b8659,transparent 64%),linear-gradient(125deg,#111820,#0b0d11);border-color:#2c343e}
body[data-destination="hub"] .saved-character-card:after{background:linear-gradient(0deg,#0b0d11 0%,#0b0d11de 20%,#0b0d1112 70%,transparent)}
body[data-destination="hub"] .saved-character-info>strong{font-family:Inter,Arial,sans-serif;font-size:22px;letter-spacing:-.5px}
body[data-destination="hub"] .saved-character-number{border-color:#354d61;background:#10151ca8;color:#88bddf}
body[data-destination="hub"] .forum-dialog{background:#111318;border-color:#303640}
@media(min-width:801px) and (max-width:1200px){.destination-header-inner{gap:18px}.destination-preview>span{display:none}body[data-destination="hub"] .destination-user{display:none}}
@media(max-width:800px){body[data-destination="hub"] .forum-wrap{width:calc(100% - 32px)}body[data-destination="hub"] .forum-content{padding-top:27px;padding-bottom:30px}body[data-destination="hub"] .forum-page-heading{font-size:21px;margin-bottom:19px}body[data-destination="hub"] .forum-welcome{min-height:220px;padding:24px}body[data-destination="hub"] .forum-welcome h1{font-size:29px}body[data-destination="hub"] .character-banner-title{font-size:26px}.destination-preview{margin-left:auto}.destination-preview>span{display:none}body[data-destination="hub"] .destination-create{display:none}body[data-destination="hub"] .destination-header-inner{gap:10px}body[data-destination="hub"] .destination-actions{margin-left:0}body[data-destination="hub"] .destination-return #destination-return-label{font-size:8px}}
@media(max-width:450px){.destination-preview select{font-size:8px;max-width:81px}body[data-destination="hub"] .destination-brand>span{font-size:19px}body[data-destination="hub"] .destination-return{padding:8px}body[data-destination="hub"] .forum-welcome h1{font-size:25px}body[data-destination="hub"] .character-hub.has-characters .character-banner-title{font-size:24px}body[data-destination="hub"] .saved-character-info>strong{font-size:16px}}
body[data-destination="forum"],body[data-destination="character"]{background:#090a0d;color:#eeeff3}
body[data-destination="forum"] .forum-panel{background:radial-gradient(ellipse 70% 450px at 90% 0,#1036571a,transparent),#090a0d;color:#e8eaf0}
body[data-destination="forum"] .forum-header,body[data-destination="forum"] .forum-nav,body[data-destination="forum"] .forum-page-heading,body[data-destination="forum"] .forum-back-hub,body[data-destination="forum"] .forum-ambient{display:none}
body[data-destination="forum"] .forum-wrap{width:calc(100% - 64px);max-width:1240px}
body[data-destination="forum"] .forum-content{padding-top:0}
body[data-destination="forum"] .destination-forum-intro{display:block;position:relative;isolation:isolate;overflow:hidden;padding:61px 0 49px;border-bottom:1px solid #ffffff0d}
.destination-forum-intro:after{content:'';position:absolute;z-index:-1;right:-80px;top:38px;width:420px;height:420px;border:2px solid #25adff29;border-radius:50%;transform:rotate(-15deg) scaleX(1.4);box-shadow:0 0 0 35px #25adff03}
.destination-forum-intro>span{display:flex;align-items:center;gap:13px;font-family:monospace;font-size:10px;color:#9ca4b7;letter-spacing:2.2px}
.destination-forum-intro>span:before{content:'';width:27px;height:1px;background:#464c59}
.destination-forum-intro h1{font-family:Inter,Arial,sans-serif;font-size:clamp(30px,3.7vw,50px);font-weight:800;letter-spacing:-2px;line-height:1.1;margin:19px 0 16px;color:#fff}
.destination-forum-intro h1:focus{outline:0}.destination-forum-intro em{font-style:normal;color:#32b4ff}
.destination-forum-intro p{font-size:12px;color:#898d9b;margin:0;line-height:1.7}
body[data-destination="forum"] .forum-toolbar{padding:25px 0}
body[data-destination="forum"] .forum-card{background:#101216;border-color:#25282f;box-shadow:none;border-radius:5px}
body[data-destination="forum"] .forum-section-heading,body[data-destination="forum"] .community-card-heading{background:#15171c;border-bottom-color:#282b33;box-shadow:none}
body[data-destination="forum"] .forum-section-heading h2,body[data-destination="forum"] .community-card-heading h3{color:#ecedf1;font-weight:600}
body[data-destination="forum"] .forum-board-row,body[data-destination="forum"] .forum-topic-row,body[data-destination="forum"] .forum-topic-labels,body[data-destination="forum"] .community-member{border-color:#24272e}
body[data-destination="forum"] .forum-board-row:hover,body[data-destination="forum"] .forum-topic-row:hover{background:#15191f}
body[data-destination="forum"] .forum-board-info button,body[data-destination="forum"] .forum-topic-title{color:#dee2eb}
body[data-destination="forum"] .forum-board-info p,body[data-destination="forum"] .forum-topic-main p,body[data-destination="forum"] .forum-member-top small,body[data-destination="forum"] .forum-side-note p,body[data-destination="forum"] .community-card-heading p,body[data-destination="forum"] .community-identity small{color:#818796}
body[data-destination="forum"] .forum-board-icon,body[data-destination="forum"] .community-icon{border-color:#2e5068;background:#10202e;color:#65c1f8;box-shadow:none}
body[data-destination="forum"] .forum-board-last,body[data-destination="forum"] .forum-member-status,body[data-destination="forum"] .forum-footer,body[data-destination="forum"] .community-card-note{border-color:#292d35}
body[data-destination="forum"] .forum-notice{background:#0f1a24;border-color:#223c50;box-shadow:inset 2px 0 0 #30acfa;color:#8fa4b8}
body[data-destination="forum"] .forum-search,body[data-destination="forum"] .forum-secondary{background:#15171c;border-color:#30343f;box-shadow:none}
body[data-destination="forum"] .forum-primary{background:#129de9;border-color:#35b5fa;box-shadow:0 0 15px #129de91c;font-size:10px;letter-spacing:.5px}
body[data-destination="forum"] .forum-start-card h2,body[data-destination="forum"] .forum-side-note h2{color:#e5e8ef}
body[data-destination="forum"] .community-heading h2{font-family:Inter,Arial,sans-serif;letter-spacing:-.4px}
body[data-destination="forum"] .community-card-note{background:#101216}
body[data-destination="forum"] .community-preview{background:#141921;border-color:#303944}
body[data-destination="forum"] .community-avatar{background:linear-gradient(135deg,#1d2c3d,#131d29);border-color:#324358}
body[data-destination="forum"] .forum-footer{color:#686f80}
body[data-destination="forum"] .forum-breadcrumb{color:#a5aab8}
body[data-destination="forum"] .forum-dialog,body[data-destination="character"] .forum-dialog{background:#111318;border-color:#303640}
body[data-destination="forum"] #forum-compose input,body[data-destination="forum"] #forum-compose select,body[data-destination="forum"] #forum-compose textarea{background:#191c23;border-color:#343a45}

/* Character details are a destination screen, separate from the login layout. */
body[data-destination="character"] .destination-create{display:none}
body[data-destination="character"] main.page{width:100%;margin:0}
body[data-destination="character"] .page-title{position:relative;top:auto;left:auto;width:calc(100% - 64px);max-width:1240px;margin:42px auto 24px;font-family:Inter,Arial,sans-serif;font-weight:800;font-size:28px;letter-spacing:-1px;text-shadow:none}
body[data-destination="character"] .page-title #step{color:#555c6c;font-size:17px}
body[data-destination="character"] .registration{background:transparent;min-height:770px;height:auto;overflow:hidden}
body[data-destination="character"] .registration>.grain{opacity:.02}
body[data-destination="character"] .left-column{position:relative;top:auto;left:auto;width:calc(100% - 64px);max-width:1240px;margin:0 auto;transform:none!important;padding:0 0 42px}
body[data-destination="character"] .left-column>.brand,body[data-destination="character"] .left-column>footer,body[data-destination="character"] .moon,body[data-destination="character"] .aqua-ring,body[data-destination="character"] .pink-orbit{display:none}
body[data-destination="character"] .form-area{width:430px;max-width:100%;margin:0;background:#101216;border:1px solid #282d37;border-radius:5px;padding:27px 29px}
body[data-destination="character"] #form-title{font-size:22px;font-weight:600;color:#f3f4f8;margin-bottom:9px}
body[data-destination="character"] .form-area>.intro{font-size:11px;line-height:1.8;max-width:none;color:#8d94a4;margin-bottom:24px}
body[data-destination="character"] .character-field{margin-bottom:18px}
body[data-destination="character"] .character-field>label,body[data-destination="character"] .character-field legend{font-size:12px;color:#d1d5e0;margin-bottom:8px}
body[data-destination="character"] .character-field .field{height:43px;background:#1a1d24;border-color:#323741;padding:10px}
body[data-destination="character"] .character-field .character-story-field{display:block;height:auto;padding:0;border:0;background:transparent}
body[data-destination="character"] #character-story{display:block;flex:none;width:100%;height:200px;min-height:180px;max-height:none;padding:14px;box-sizing:border-box;font-size:14px;line-height:1.6;resize:vertical;overflow-y:auto}
body[data-destination="character"] #character-story:focus{outline:none;border-color:#32acfa;box-shadow:0 0 0 2px #129de91a}
body[data-destination="character"] .character-field .field input,body[data-destination="character"] .character-field select{font-size:12px;color:#f0f2f7;height:21px}
body[data-destination="character"] .character-field .field:focus-within{border-color:#32acfa;box-shadow:0 0 0 2px #129de90d}
body[data-destination="character"] .field-hint{font-size:9px;color:#737c8c;margin-top:6px}
body[data-destination="character"] .field-check{background:#18212b;border-color:#2e3d4d}
body[data-destination="character"] .gender-option span{min-height:42px;background:#1a1d24;border-color:#323741;font-size:11px;color:#8c95a6}
body[data-destination="character"] .gender-option input:checked+span{background:#132a3c;border-color:#32acfa;color:#e8f7ff;box-shadow:none}
body[data-destination="character"] #character-form>.submit{height:43px;font-size:10px;border-color:#38b8ff;box-shadow:0 0 16px #129de91a;background:#129de9;border-radius:4px;letter-spacing:.8px}
body[data-destination="character"] #character-back{height:32px;background:transparent;border:0;color:#8b98ac;font-size:10px;margin-top:8px}
body[data-destination="character"] .character-feedback{font-size:10px;line-height:1.7}
body[data-destination="character"] .artwork{opacity:.9}
body[data-destination="character"] .artwork:before{content:'';position:absolute;right:-120px;top:180px;width:750px;height:500px;border:3px solid #1d9ee940;border-radius:50%;transform:rotate(-20deg)}
body[data-destination="character"] .character{width:470px;height:auto;min-height:0;top:35px;right:max(20px,calc((100vw - 1240px) / 2));mask-image:linear-gradient(#000 65%,transparent 95%);filter:none}
body[data-destination="character"] .registration:after{display:none}
@media(max-width:1100px){.destination-header-inner{gap:23px}.destination-nav{gap:18px}.destination-actions{gap:8px}.destination-user{display:none}.destination-create{margin-left:0;font-size:8px;padding:10px}.destination-return{font-size:8px;padding:10px}.destination-brand>span{font-size:21px}body[data-destination="character"] .character{right:-30px;width:420px;opacity:.65}}
@media(max-width:800px){.destination-header-inner{width:calc(100% - 32px);gap:15px;flex-wrap:wrap;min-height:70px;padding:14px 0 0}.destination-brand{gap:7px}.destination-brand img{width:30px;height:30px}.destination-brand>span{font-size:21px}.destination-actions{margin-left:auto}.destination-return{min-height:32px;font-size:8px;padding:8px 10px}.destination-create{min-height:32px;font-size:8px;padding:8px}.destination-nav{order:3;width:100%;justify-content:center;gap:32px;min-height:45px}.destination-nav button{font-size:9px;letter-spacing:.8px}.destination-nav button.active:after{bottom:0}body[data-destination="forum"] .forum-wrap{width:calc(100% - 32px)}body[data-destination="forum"] .destination-forum-intro{padding:36px 0 31px}.destination-forum-intro>span{font-size:8px;letter-spacing:1.5px}.destination-forum-intro h1{font-size:34px;letter-spacing:-1.4px}.destination-forum-intro p{font-size:11px;max-width:290px}.destination-forum-intro:after{right:-200px;top:15px;width:320px;height:320px}body[data-destination="character"] .page-title{width:calc(100% - 32px);margin-top:28px;font-size:25px}body[data-destination="character"] .left-column{width:calc(100% - 32px);padding-bottom:30px}body[data-destination="character"] .form-area{padding:24px;width:430px}body[data-destination="character"] .artwork{opacity:.12}body[data-destination="character"] .character{right:-150px;width:400px;top:80px}body[data-destination="character"] .registration{min-height:740px}body[data-destination="character"] .artwork:before{right:-500px}body[data-destination="character"] .form-area{margin:0 auto}}
@media(max-width:400px){.destination-create{display:none}.destination-nav{gap:25px}.destination-return{font-size:7px}.destination-forum-intro h1{font-size:30px}body[data-destination="character"] .form-area{padding:20px}.destination-brand>span{font-size:19px}}
/* Character-list feedback stays beside the saved character cards in the hub. */
.character-list-feedback { display: none; }
body[data-destination="hub"] .character-list-feedback { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 0 24px; color: #9aaabd; font-size: 13px; }
.character-list-feedback p { margin: 0; }
.character-list-feedback button { flex-shrink: 0; border: 1px solid #294050; border-radius: 6px; background: #0b1721; color: #b9e6ff; padding: 8px 14px; cursor: pointer; }
.character-list-feedback button:disabled { opacity: .5; cursor: wait; }
body[data-destination="forum"] .forum-board-topics{list-style:none;margin:10px 0 0;padding:0 0 0 8px;border-left:1px solid #273b4d;display:grid;gap:4px}
body[data-destination="forum"] .forum-board-topics li{display:grid;grid-template-columns:14px minmax(0,1fr);gap:5px;align-items:baseline;min-width:0}
body[data-destination="forum"] .forum-board-topic-branch{color:#3b9dcc;font-size:13px;line-height:1.5}
body[data-destination="forum"] .forum-board-info .forum-board-topic-link{font-size:11px;font-weight:400;line-height:1.5;color:#9db8ca;margin:0;padding:3px 0;overflow-wrap:anywhere}
body[data-destination="forum"] .forum-board-info .forum-board-topic-link:hover{color:#68c9ff;text-decoration:underline;text-underline-offset:3px}
body[data-destination="forum"] .forum-board-topic-link:focus-visible{outline:2px solid #43b6ef;outline-offset:3px;border-radius:2px}
