/* v18: unframed symbols, horizontal section headers and richer rankings. */
.hero-tags .feature-icon{width:32px;height:36px;border:0;background:none;transform:none;box-shadow:none;border-radius:0;color:#d9bd88}
.hero-tags .feature-icon svg{width:27px;height:27px;transform:none;stroke-width:1.55}
.hero-tags a{gap:15px}.hero-tags a+a:before{background:#ffffff12}
.mode-benefits-heading{display:flex;align-items:center;gap:12px;margin:0 0 19px}
.mode-benefits-heading h4{font-family:var(--font);font-size:.92rem;font-weight:600;line-height:1.5;margin:0;color:#e3d4b8}
.mode-benefits-heading .mode-emblem{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.mode-emblem svg{width:27px;height:27px}.mode-benefits{padding-top:0}.mode-benefits ul{margin-top:0}.mode-benefits li>svg{width:13px;height:13px;flex-shrink:0}
.system-stories{gap:24px}.system-story{display:flex;flex-direction:column;align-items:stretch;padding:0 24px 0 0;border:0;border-right:1px solid #ffffff10}
.system-story:last-child{border:0;padding-right:0}
.system-title-row{display:flex;align-items:flex-start;gap:16px;margin-bottom:18px;min-height:110px}
.system-title-row>div{min-width:0}.system-story .system-glyph{display:grid;place-items:center;flex:0 0 30px;width:30px;height:34px;margin:0;border:0;background:none;box-shadow:none;color:#d9bd88}
.system-glyph svg{width:28px;height:28px}.system-title-row .eyebrow{margin:0 0 10px;font-size:.67rem;line-height:1.5;letter-spacing:.075em}
.system-title-row h3{margin:0;min-height:0;font-size:1.5rem;line-height:1.4}
.system-story>p{margin-top:0}.system-story .text-link{align-self:flex-start;margin-top:auto}
.activity-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:none}
.activity-tabs button{min-height:64px;gap:11px;padding:13px 12px;border:1px solid #ffffff13;border-radius:9px;background:#111b263d;line-height:1.4}
.activity-tabs button:last-child:nth-child(odd){grid-column:1/-1}
.activity-tabs button:hover{padding-left:12px;background:#e1b87108}.activity-tabs button>svg{width:23px;height:23px;color:#a8b7c8}
.activity-tabs [aria-selected=true]{border:1px solid #d5b87d70;box-shadow:inset 3px 0 #d5b87d;background:linear-gradient(100deg,#d5b87d12,#111b2650)}
.activity-tabs [aria-selected=true]>svg{color:#e2c796}
.activity-tabs .activity-mark,.activity-tabs [aria-selected=true] .activity-mark{display:grid;place-items:center;transform:none;width:14px;flex:0 0 14px}
.activity-mark svg{width:14px;height:14px;transform:rotate(-90deg)}
.gameplay-card .activity-caption-row{display:flex;align-items:center;gap:13px}.gameplay-card .activity-symbol{width:30px;height:34px;border:0;background:none;box-shadow:none;border-radius:0;backdrop-filter:none;flex-shrink:0}
.activity-symbol svg{width:26px;height:26px}.gameplay-card .activity-kicker{line-height:1.6}
.activity-thumbnails{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.device-gallery .screen-tile{align-content:start}
.device-gallery figcaption{display:flex;flex-direction:column;justify-content:flex-start;gap:7px;padding-top:14px}
.device-gallery figcaption strong{min-height:0;margin:0;line-height:1.45}
.device-gallery figcaption span{margin:0;line-height:1.65}
.empty-emblem:before,.empty-emblem:after{display:none}.scene-card-icon,.scene-card-icon svg,.focus-sigil,.focus-sigil svg{transform:none;border:0;background:none}
.class-tabs button i{transform:none;border-radius:50%}
.ranking-box{max-width:1180px}.ranking-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#776446 #101824}
.home-ranking-table{width:100%;min-width:780px;table-layout:fixed}
.home-ranking-table th,.home-ranking-table td{padding:18px 16px;font-size:.8rem;vertical-align:middle;overflow-wrap:anywhere;text-align:left}
.home-ranking-table th{font-size:.72rem}.home-ranking-table th:first-child{width:7%}.home-ranking-table th:nth-child(2){width:18%}.home-ranking-table th:nth-child(3){width:25%}.home-ranking-table th:nth-child(4){width:14%}.home-ranking-table th:nth-child(5){width:24%}.home-ranking-table th:last-child{width:12%;text-align:right}
.home-ranking-table td:last-child{text-align:right}.home-ranking-table[data-kind=guilds] th:nth-child(2){width:24%}.home-ranking-table[data-kind=guilds] th:nth-child(3){width:22%}.home-ranking-table[data-kind=guilds] th:nth-child(4){width:14%}.home-ranking-table[data-kind=guilds] th:nth-child(5){width:21%}
.profession-label{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0;text-align:left}
.profession-label>.profession-art{flex:none;object-fit:contain;width:30px;height:30px}
.profession-label>strong{color:var(--profession-color);font-size:inherit;font-weight:700;line-height:inherit;min-width:0}
.rank-guild-name{color:#b4c7df}.home-ranking-table .ranking-kingdom-flag{width:45px;height:auto;object-fit:contain}.home-ranking-table .rank-position{font-size:1.1rem}
@media(max-width:1050px){
 .system-stories{gap:25px}.system-story{display:flex;padding:0 0 24px;border:0;border-bottom:1px solid #ffffff12}.system-story:last-child{padding-bottom:0}.system-title-row{min-height:0;margin-bottom:15px}.system-story .text-link{margin-top:6px}.system-story .system-glyph{grid-row:auto}.system-story .text-link{grid-column:auto}
 .system-title-row h3{font-size:1.5rem}.system-story>p{margin-left:46px}.system-story .text-link{margin-left:46px}
}
@media(max-width:760px){
 .hero-tags{grid-template-columns:1fr;text-align:left;padding:5px 15px}.hero-tags a{flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;padding:12px 0;gap:15px}.hero-tags a+a:before{top:0;left:47px;right:0;width:auto;height:1px}.hero-tags .feature-icon{width:30px;height:32px}.hero-tags .feature-icon svg{width:25px;height:25px}.hero-tags strong{font-size:.8rem}.hero-tags small{font-size:.71rem;margin-top:3px}
 .mode-benefits{padding-top:22px}.mode-benefits-heading{margin-bottom:15px}.mode-benefits-heading h4{font-size:.85rem}
 .system-title-row{gap:12px}.system-story .system-glyph{flex-basis:28px;width:28px}.system-glyph svg{width:26px;height:26px}.system-story>p,.system-story .text-link{margin-left:40px}.system-title-row h3{font-size:1.3rem}.system-title-row .eyebrow{font-size:.64rem}
 .activity-tabs button{min-height:58px;padding:12px 10px;gap:9px;font-size:.8rem}.activity-tabs button:hover{padding-left:10px}.activity-tabs button>svg{width:21px;height:21px}
 .device-gallery figcaption{gap:6px;padding-top:11px}.device-gallery figcaption strong{min-height:0;font-size:.84rem;line-height:1.45}.device-gallery figcaption span{font-size:.72rem;line-height:1.65}
 .home-ranking-table{min-width:750px}.home-ranking-table th,.home-ranking-table td{padding:15px 12px}
}
/* v19: a guided mini presentation and balanced ranking identities. */
.activity-tabs{gap:10px}.activity-tabs button{min-height:77px;padding:13px 15px;align-items:center}.activity-tabs button>svg{width:24px;height:24px;flex-shrink:0}.activity-tab-copy{display:flex;flex-direction:column;gap:4px;text-align:left;flex:1;min-width:0}.activity-tab-copy strong{font-size:.88rem;font-weight:600;line-height:1.35}.activity-tab-copy small{color:#8e9cab;font-size:.67rem;line-height:1.4}.activity-tabs button[aria-selected=true] small{color:#c1b399}.activity-tabs button:hover{padding-left:15px}
.chapter-navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding-top:18px;border-top:1px solid #e1b87125}.chapter-navigation>span{display:flex;flex-direction:column;gap:6px}.chapter-navigation small{color:#a7adba;font-size:.58rem;letter-spacing:.13em}.chapter-navigation strong{font-family:var(--display);font-size:1.6rem;color:#e3c991;line-height:1.2}.chapter-navigation i{font-style:normal;font-size:.9rem;color:#788595}.chapter-navigation>div{display:flex;gap:8px}.chapter-navigation button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #c6b18445;border-radius:9px;background:#17212d70;color:#dec492;transition:background .2s,border-color .2s}.chapter-navigation button:hover{background:#e1b87118;border-color:#e1b871}.chapter-navigation svg{width:18px;height:18px;transform:rotate(90deg)}.chapter-navigation #chapter-next svg{transform:rotate(-90deg)}
.system-stories{gap:20px;align-items:stretch}.system-stories .system-story,.system-stories .system-story:last-child{position:relative;isolation:isolate;overflow:hidden;padding:28px;border:1px solid #abbdd11b;border-top:2px solid #bea36c6b;border-radius:13px;background:#0e1721;gap:0;display:flex;flex-direction:column}.system-story:before{content:'';position:absolute;inset:0 0 auto;height:165px;background-image:linear-gradient(180deg,#0e1721c9,#0e1721),var(--system-art);background-size:cover;background-position:center 25%;z-index:-1;opacity:.65}.system-story .system-title-row{min-height:120px;gap:14px;margin-bottom:16px;align-items:flex-start}.system-number{font-family:var(--display);font-size:2rem;color:#dbc29480;line-height:1;flex:0 0 42px}.system-story .system-title-row .eyebrow{font-size:.61rem;letter-spacing:.065em;margin:0 0 10px}.system-story .system-title-row h3{font-size:1.32rem;line-height:1.4}.system-stories .system-story>p{margin:0 0 22px;font-size:.88rem;line-height:1.8}.system-stories .system-story .text-link{margin: auto 0 0;padding-top:8px;font-size:.79rem}
.device-gallery .screen-tile{padding-bottom:8px}.device-gallery figcaption{flex:1;padding-bottom:0}.device-gallery figcaption span{line-height:1.55}.device-gallery.screens-grid{grid-auto-rows:auto}
.rank-tabs{gap:10px}.rank-tabs button{border:1px solid #9cacbf3d;border-radius:8px;background:#18233155;color:#bbc7d7;padding:12px 20px;min-height:44px}.rank-tabs button:hover{border-color:#d6bd8580;background:#d6bd8510}.rank-tabs button[aria-selected=true]{border:1px solid #d6bd85aa;background:linear-gradient(120deg,#d6bd8524,#d6bd850b);color:#f0d7a4;box-shadow:inset 0 -2px #d6bd8590}
.home-ranking-table th,.home-ranking-table td,.home-ranking-table td:last-child,.home-ranking-table th:last-child{text-align:center;padding:15px 12px}.home-ranking-table th{color:#a9b5c5;letter-spacing:.015em;font-weight:500;white-space:nowrap}.home-ranking-table th:first-child{width:7%}.home-ranking-table th:nth-child(2){width:21%}.home-ranking-table th:nth-child(3){width:25%}.home-ranking-table th:nth-child(4){width:13%}.home-ranking-table th:nth-child(5){width:23%}.home-ranking-table th:last-child{width:11%}
.home-ranking-table[data-kind=guilds] th:first-child{width:7%}.home-ranking-table[data-kind=guilds] th:nth-child(2){width:26%}.home-ranking-table[data-kind=guilds] th:nth-child(3){width:25%}.home-ranking-table[data-kind=guilds] th:nth-child(4){width:15%}.home-ranking-table[data-kind=guilds] th:nth-child(5){width:16%}.home-ranking-table[data-kind=guilds] th:last-child{width:11%}
.home-ranking-table .rank-identity{display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:100%;vertical-align:middle}.home-ranking-table .rank-name,.home-ranking-table .rank-guild-name{font-weight:700;font-size:.84rem;color:#ede8df}.home-ranking-table .ranking-avatar{display:block;width:36px;height:42px;object-fit:cover;flex-shrink:0;border:1px solid #c9ab6650;border-radius:5px;background:#121c29}.home-ranking-table .ranking-emblem{display:block;width:28px;height:28px;object-fit:contain;flex-shrink:0}.home-ranking-table .profession-label{justify-content:center;text-align:center}.home-ranking-table .ranking-kingdom-flag{display:inline-block;vertical-align:middle;margin:0 auto}.home-ranking-table .profession-label strong{font-size:.8rem}
@media(max-width:1050px){.system-stories{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.system-stories .system-story,.system-stories .system-story:last-child{padding:21px 17px}.system-story .system-title-row{min-height:135px;gap:8px}.system-number{font-size:1.5rem;flex-basis:30px}.system-story .system-title-row h3{font-size:1.15rem}}
@media(max-width:760px){.activity-tabs button{min-height:74px;padding:11px 9px;gap:8px}.activity-tabs button:hover{padding-left:9px}.activity-tabs button>svg{width:20px;height:20px}.activity-tab-copy strong{font-size:.78rem}.activity-tab-copy small{font-size:.59rem}.activity-tabs .activity-mark{width:10px;flex-basis:10px}.chapter-navigation{margin-top:17px;padding-top:16px}.system-stories{grid-template-columns:1fr;gap:16px}.system-stories .system-story,.system-stories .system-story:last-child{padding:24px}.system-story .system-title-row{min-height:0;margin-bottom:18px;gap:14px}.system-number{font-size:1.8rem;flex-basis:36px}.system-story .system-title-row h3{font-size:1.3rem}.system-stories .system-story>p{font-size:.85rem}.device-gallery figcaption{padding-bottom:0}.device-gallery .screen-tile{padding-bottom:8px}.home-ranking-table th,.home-ranking-table td{padding:14px 10px}.home-ranking-table .rank-identity{gap:7px}.home-ranking-table .rank-name,.home-ranking-table .rank-guild-name{font-size:.8rem}.rank-tabs button{min-width:108px}}
/* v20: square portraits. */
.home-ranking-table .ranking-avatar{width:36px;height:36px;aspect-ratio:1;border-radius:0;object-fit:cover;object-position:center 25%}.home-ranking-table .ranking-emblem{aspect-ratio:1;border-radius:0}.rank-section .ranking-box{margin-top:34px}.home-ranking-table tbody tr:last-child td{border-bottom:0}
.class-tabs .portrait{width:80px;height:80px;aspect-ratio:1;clip-path:none;border-radius:0;margin-inline:auto}
@media(max-width:760px){.class-tabs .portrait{width:64px;height:64px}}
/* Consistent header spacing before and after scroll. */
.header,.header.scrolled{top:20px}.header .nav-shell,.header.scrolled .nav-shell{height:88px}.header .brand,.header.scrolled .brand{height:88px}
.class-info .class-description{font-size:1rem;max-width:460px;line-height:1.85}
/* A stable 16:10 stage for every activity screenshot, regardless of its shape. */
.gameplay-card .activity-image{aspect-ratio:16/10;height:auto;min-height:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.gameplay-card .activity-image>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
.activity-thumbnails button{display:grid;grid-template-rows:76px 36px;height:124px;padding:5px;align-content:start;overflow:hidden}
.activity-thumbnails img{width:100%;height:76px;aspect-ratio:auto;object-fit:contain;object-position:center;background:#0a1018}
.activity-thumbnails span{height:36px;min-height:0;padding:4px 3px;overflow:hidden}
.intro-screen-open>img{height:auto;aspect-ratio:auto;max-height:440px;object-fit:cover;object-position:center top}
.intro-screen-open:hover>img{transform:none}
.device-gallery .screen-tile:not(.device-mobile) .screen-open img{object-fit:cover;object-position:center top}
@media(max-width:760px){
 .activity-thumbnails button{grid-template-rows:52px 36px;height:96px;padding:3px}
 .activity-thumbnails img{height:52px;aspect-ratio:auto}
 .intro-screen-open>img{max-height:320px}
}
[data-class-copy][hidden],[data-activity-copy][hidden]{display:none!important}
@media(max-width:760px){.header,.header.scrolled{top:0}.header .nav-shell,.header.scrolled .nav-shell,.header .brand,.header.scrolled .brand{height:76px}.class-info .class-description{margin-inline:auto;font-size:1rem}}
