@charset "UTF-8";
.citadel-shell { width: min(1400px, 100% - 40px); display: grid; grid-template-columns: 200px minmax(0px, 1fr) 260px; gap: 20px; align-items: start; }
.citadel-footer { width: min(1400px, 100% - 40px); }
.realm-navigation, .player-console { display: grid; grid-template-columns: minmax(0px, 1fr); gap: 16px; min-width: 0px; padding-top: 28px; align-content: start; }
.citadel-main { min-width: 0px; }
.realm-nav-group .console-title, .boosted-card .console-title, .world-statistics .console-title { margin: 0px; font-size: 13px; line-height: 1.5; }
.realm-nav-group nav { display: flex; flex-direction: column; padding: 8px; }
.realm-nav-group nav a { display: flex; align-items: center; min-height: 38px; padding: 8px 12px; border-left: 2px solid transparent; color: rgb(187, 205, 199); text-decoration: none; font-size: 13px; line-height: 1.4; }
.realm-nav-group nav a::before { content: ">"; margin-right: 10px; color: rgb(174, 149, 92); }
.realm-nav-group nav a:hover, .realm-nav-group nav a:focus-visible { color: rgb(255, 240, 203); background: rgb(32, 54, 48); }
.realm-nav-group nav a[aria-current="page"] { background: linear-gradient(90deg, rgb(48, 65, 53), rgb(22, 40, 35)); color: rgb(240, 216, 154); border-left-color: rgb(196, 160, 93); }
.boosted-pair { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 8px; padding: 14px 10px 0px; }
.boosted-creature { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 4px; border: 1px solid rgb(59, 81, 72); background: linear-gradient(rgb(22, 44, 37), rgb(12, 25, 22)); min-width: 0px; min-height: 142px; text-decoration: none; }
.boosted-creature:hover { border-color: rgb(196, 160, 93); text-decoration: none; background: rgb(32, 56, 45); }
.boosted-creature strong { color: rgb(226, 231, 220); font-size: 12px; text-align: center; overflow-wrap: anywhere; line-height: 1.4; }
.boosted-creature img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.boosted-creature span { font-size: 12px; font-weight: 700; }
.boost-exp { color: rgb(155, 222, 140); }
.boost-loot { color: rgb(240, 203, 117); }
.boosted-reset { padding: 12px 10px 0px; margin: 0px; color: rgb(153, 175, 165); font-size: 11px; text-align: center; line-height: 1.6; }
.sidebar-more { display: block; padding: 12px 16px; text-align: center; color: rgb(216, 193, 140); font-size: 12px; }
.sidebar-empty { padding: 18px 16px 0px; color: rgb(168, 186, 178); line-height: 1.7; font-size: 13px; }
.world-statistics dl { padding: 8px 16px; margin: 0px; }
.world-statistics dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0px; border-bottom: 1px solid rgb(41, 63, 54); }
.world-statistics dl > div:last-child { border-bottom: 0px; }
.world-statistics dt { color: rgb(169, 190, 180); font-size: 12px; font-weight: 400; }
.world-statistics dd { margin: 0px; color: rgb(230, 221, 194); font-size: 13px; font-weight: 600; }
.world-statistics dd.stat-online { color: rgb(155, 222, 140); }
.world-statistics dd.stat-offline { color: rgb(187, 169, 153); }
@media (max-width: 1100px) and (min-width: 761px) {
  .citadel-shell { width: calc(100% - 32px); grid-template-columns: 180px minmax(0px, 1fr); gap: 18px; }
  .player-console { grid-column: 2; grid-template-columns: repeat(2, minmax(0px, 1fr)); padding-top: 0px; }
  .realm-navigation { grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
  .citadel-shell, .citadel-footer { width: calc(100% - 24px); }
  .citadel-shell { grid-template-columns: minmax(0px, 1fr); gap: 16px; }
  .realm-navigation { padding-top: 0px; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 8px; }
  .realm-nav-group .console-title { font-size: 11px; padding-left: 8px; padding-right: 8px; letter-spacing: 0px; }
  .realm-nav-group nav { padding: 4px; }
  .realm-nav-group nav a { padding: 8px 5px; min-height: 44px; font-size: 12px; overflow-wrap: anywhere; }
  .realm-nav-group nav a::before { display: none; }
  .player-console { padding-top: 0px; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px; }
}
@media (max-width: 480px) {
  .player-console { grid-template-columns: minmax(0px, 1fr); }
  .realm-navigation { grid-template-columns: minmax(0px, 1fr); }
  .realm-nav-group nav { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); }
}
.citadel-shell { grid-template-areas: none; }
.realm-navigation { grid-area: 1 / 1; }
.citadel-main { grid-area: 1 / 2; }
.player-console { grid-area: 1 / 3; }
@media (max-width: 1100px) and (min-width: 761px) {
  .realm-navigation { grid-area: 1 / 1 / span 2; }
  .citadel-main { grid-area: 1 / 2; }
  .player-console { grid-area: 2 / 2; }
}
@media (max-width: 760px) {
  .realm-navigation, .citadel-main, .player-console { grid-area: auto / 1; }
}
/* Royal Forest finish: quiet green surfaces, warm gold and readable controls. */
.realm-navigation-groups { display:grid; gap:16px; }
.realm-navigation-toggle > summary { display:none; }
.realm-navigation-toggle { min-width:0; }
.citadel-shell .console-card { border-color:#3b5145; background:linear-gradient(145deg,#12251e,#0b1714 75%); box-shadow:0 10px 28px #0004,inset 0 1px #f0d89a0a; border-radius:3px; }
.citadel-shell .console-card::before { width:2px; background:linear-gradient(#c4a36688,transparent 160px); pointer-events:none; }
.citadel-shell .console-title { position:relative; padding:15px 17px; color:#ead5a7; background:linear-gradient(110deg,#283b2b,#172a23 70%); border-bottom:1px solid #c4a36638; font-size:12px; line-height:1.5; letter-spacing:.085em; }
.citadel-shell .console-title::after { content:""; position:absolute; left:17px; bottom:-1px; width:32px; height:1px; background:#d5b773; }
.realm-nav-group nav { padding:7px; }
.realm-nav-group nav a { border-radius:2px; transition:background-color .16s,color .16s,border-color .16s; }
.realm-nav-group nav a::before { content:"\203A"; font:18px Georgia,serif; opacity:.8; }
.realm-nav-group nav a[aria-current=page] { box-shadow:inset 0 0 0 1px #cfb1731c; }
.realm-nav-group nav a:hover::before { color:#f0d69d; }
.citadel-shell .account-card { border-color:#a98c5280; box-shadow:0 10px 28px #0004,inset 0 0 0 1px #d5b7730a; }
.citadel-login { padding:18px; gap:8px; }
.citadel-login label { color:#adbeae; font-size:10px; letter-spacing:.08em; }
.citadel-login input { height:44px; background:#091610; border-color:#435548; border-radius:3px; font-size:14px; }
.citadel-login input:focus { border-color:#d5b773; box-shadow:0 0 0 3px #d5b77318; }
.citadel-login button { height:45px; border-radius:3px; font-size:12px; letter-spacing:.07em; background:linear-gradient(120deg,#ebd192,#c8a15b); box-shadow:inset 0 1px #fff6,0 3px 10px #0003; }
.account-actions { gap:10px; flex-wrap:wrap; }
.account-actions a { color:#b6c6b8; font-size:11px; line-height:1.5; padding:4px 0; }
.logged-player a { min-height:36px; display:flex; align-items:center; }
.boosted-pair { gap:8px; padding:14px 12px 0; }
.boosted-creature { position:relative; border-radius:3px; border-color:#476047; background:radial-gradient(ellipse at 50% 58%,#3c573233,#0c191600 68%),linear-gradient(#172b20,#0b1813); transition:border-color .16s,background-color .16s; }
.boosted-creature img { filter:drop-shadow(0 5px 3px #0009); }
.boosted-creature strong { color:#ede7d8; min-height:32px; display:flex; align-items:center; justify-content:center; }
.boosted-creature span { padding:4px 7px; border-radius:3px; background:#a5d7950c; border:1px solid #a5d79520; white-space:nowrap; }
.boosted-creature .boost-loot { background:#e6bc660c; border-color:#e6bc6625; }
.sidebar-more { font-size:12px; text-decoration:none; }
.sidebar-more:hover { color:#ffe0a0; background:#d5b77308; }
.world-statistics dd { font-variant-numeric:tabular-nums; }
.world-statistics dl>div { border-color:#304638; }
.citadel-shell .legend-list a { color:#d4dfd3; }
.citadel-shell .discord-button { border-color:#8f9ce08c; background:linear-gradient(120deg,#5865b9,#424f9d); box-shadow:inset 0 1px #fff1; }
.citadel-shell .discord-button:hover { background:#5865bd; }
@media(max-width:760px) {
 .realm-navigation { display:block; padding-top:0; }
 .realm-navigation-toggle { border:1px solid #786d485e; border-radius:3px; background:#102119; }
 .realm-navigation-toggle>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:50px; padding:13px 16px; list-style:none; cursor:pointer; color:#ead5a7; font-weight:600; }
 .realm-navigation-toggle>summary::-webkit-details-marker { display:none; }
 .realm-navigation-toggle>summary span { font-size:23px; font-weight:400; line-height:1; transition:transform .15s; }
 .realm-navigation-toggle[open]>summary span { transform:rotate(45deg); }
 .realm-navigation-groups { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:0 8px 8px; }
 .realm-navigation-toggle .console-title { font-size:11px; padding:12px 8px; letter-spacing:0; }
 .realm-nav-group nav a { min-height:44px; }
}
@media(max-width:480px) {
 .realm-navigation-groups { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) {
 .realm-nav-group nav a,.boosted-creature,.realm-navigation-toggle>summary span { transition:none; }
}
/* Account panels respond to the available middle column, including tablets. */
.account-roster { container-type:inline-size; }
.premium-wallet { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; margin:14px 0; padding:22px; border:1px solid #a98c5280; background:linear-gradient(130deg,#1b3023,#0c1914); }
.shop-delivery-guide { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0 24px; }
.shop-delivery-guide > div { display:flex; align-items:flex-start; gap:12px; padding:16px; border:1px solid #3b5145; background:#102119; }
.shop-delivery-guide b { color:#ead5a7; }
.shop-delivery-guide strong,.shop-delivery-guide small { display:block; }
.shop-delivery-guide strong { margin-bottom:6px; color:#e2e8d9; }
.shop-delivery-guide small { color:#b7c8b4; font-size:12px; line-height:1.6; }
@media(max-width:760px) { .shop-delivery-guide { grid-template-columns:minmax(0,1fr); } }
.premium-wallet > div { flex:1 1 220px; min-width:0; }
.premium-wallet strong { display:block; margin:8px 0; color:#ead5a7; font-size:28px; }
.premium-wallet p,.premium-points-section > p { color:#bdcbbd; line-height:1.6; }
.premium-wallet > .citadel-button,.premium-point-packages .citadel-button { color:#172015 !important; background:linear-gradient(120deg,#ebd192,#c8a15b); border:1px solid #d5b773; }
.premium-point-packages { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:18px 0; }
.premium-point-packages article { display:flex; flex-direction:column; align-items:flex-start; padding:20px; border:1px solid #4a6149; background:linear-gradient(#193023,#0c1b14); min-width:0; }
.premium-point-packages h3 { margin:10px 0; color:#ead5a7; font-size:26px; }
.premium-point-packages article > strong { font-size:22px; color:#e2e8d9; }
.premium-point-packages article > small,.premium-point-packages article > p { color:#b7c8b4; line-height:1.6; }
.premium-point-packages form { margin-top:auto; width:100%; }
.premium-point-packages :is(button,a) { width:100%; min-height:44px; padding:10px; white-space:normal; text-align:center; }
.premium-point-packages button:disabled { opacity:.65; cursor:not-allowed; }
.premium-points-section,.shop-topup-history,#premium-offers { scroll-margin-top:110px; }
.premium-payment-history { display:grid; gap:8px; }
.premium-payment-history article { display:flex; flex-wrap:wrap; gap:10px 20px; padding:14px; border:1px solid #3b5145; background:#0d2017; }
.premium-payment-history time { flex-basis:100%; color:#bbc6b7; }
.premium-payment-history span { color:#d8ccab; }
.shop-level-requirement { padding:8px 10px; border-left:2px solid #d5b773; background:#24351e; color:#ead5a7 !important; font-weight:600; }
.shop-runtime-details { min-width:0; margin:10px 0 16px; color:#bdcbbd; font-size:12px; line-height:1.6; }
.shop-runtime-details summary { display:list-item; min-height:36px; padding:8px 0; cursor:pointer; color:#ead5a7; }
.shop-runtime-details summary:focus-visible { outline:2px solid #ead5a7; outline-offset:3px; }
.shop-runtime-details ul { margin:6px 0; padding-left:18px; }
.shop-runtime-details li { overflow-wrap:anywhere; margin:4px 0; }
.shop-runtime-details a { color:#e1d0a3; }
.shop-grid-v2 { align-items:start; }
.shop-offer > .shop-runtime-details { grid-column:1/-1; }
.shop-offer footer { flex-wrap:wrap; gap:12px; }
.shop-offer .shop-purchase-form { min-width:0; width:100%; }
.shop-result-count { margin:12px 0; color:#bdcbbd; }
@media(max-width:480px) { .premium-point-packages { grid-template-columns:minmax(0,1fr); } .premium-wallet { padding:18px; } }
.account-summary-grid, .account-security-strip, .account-actions-grid { min-width:0; }
.account-security-strip > div, .character-card-v2 > div, .character-copy, .character-title h3 { min-width:0; }
.account-security-strip strong, .character-title h3, .character-copy p, .character-task-mini strong,
.delete-character-name strong, .recovery-key-result strong { overflow-wrap:anywhere; }
.character-title { flex-wrap:wrap; }
.recovery-key-result { min-width:0; }
.content-stage :is(a, button, input, select, textarea):focus-visible,
.realm-navigation summary:focus-visible { outline:2px solid #ead5a7; outline-offset:3px; }
.choice-card:focus-within, .vocation-choice:focus-within { outline:2px solid #ead5a7; outline-offset:3px; }
.character-create-form :is(.choice-card input, .vocation-choice input) { width:18px; height:18px; }
@container (max-width:720px) {
 .character-card-v2 { grid-template-columns:30px minmax(0,1fr); }
 .character-card-v2 :is(.character-task-mini,.character-login,.character-card-actions) { grid-column:2; }
 .character-card-v2 .character-login { display:block; text-align:left; }
 .character-card-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .security-layout, .vocation-choice-grid, .gender-grid { grid-template-columns:minmax(0,1fr); }
 .password-form .form-actions, .character-create-form .form-actions { flex-wrap:wrap; gap:10px; }
 .password-form :is(button,.citadel-button,.secondary-button),
 .character-create-form :is(button,.citadel-button,.secondary-button) { padding:10px 14px; white-space:normal; text-align:center; }
 .recovery-key-result { padding:18px; }
}
