/* ArcheAge artwork with the official shared Orbynia palette. */
@layer orb-studio{
html body.archeage-page{--flat-scene-image:url('/assets/archeage-banner-home-v1.webp')!important;--ac-panel:var(--flat-panel);--ac-deep:var(--flat-inset);--ac-line:var(--flat-line);--ac-gold:var(--flat-accent);--ac-muted:var(--flat-muted);font-family:Inter,ui-sans-serif,system-ui,'Segoe UI',sans-serif!important}
html body.archeage-page :is(button,input,select,textarea,summary){font-family:inherit!important;accent-color:var(--flat-accent)!important}
html body.archeage-page :is(input,select,textarea){background:var(--flat-inset)!important;border-color:var(--flat-line)!important;color:var(--flat-text)!important}
html body.archeage-page :is(button,.ac-button){background:var(--flat-raised)!important;color:var(--flat-text)!important;border-color:var(--flat-line)!important;box-shadow:none!important}
html body.archeage-page :is(.ac-primary,button[type=submit],button[aria-pressed=true],button[aria-selected=true],.archeage-tabs a[aria-current=page]){background:var(--flat-accent)!important;color:var(--flat-text)!important;border-color:var(--flat-accent)!important}
html body.archeage-page :is(a,button,input,select,textarea,summary):focus-visible{outline-color:var(--flat-accent)!important}
html body.archeage-page .flat-page-atmosphere:before{background-image:linear-gradient(#0c1120c9,#0c1120f0),var(--flat-scene-image)!important;filter:blur(5px) saturate(.35)!important}
html body.archeage-page .flat-route-banner{height:clamp(120px,9vw,160px)!important;max-width:1480px!important;margin:0 auto 24px!important;border-radius:18px!important;border:1px solid var(--flat-line)!important;box-shadow:0 16px 44px #0003!important}
html body.archeage-page .flat-route-banner>img.flat-banner-art{object-position:50% 50%!important}
html body.archeage-page .flat-banner-caption{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:18px 24px!important;text-align:center!important;background:linear-gradient(90deg,#0c112015,#0c112099 37%,#0c112099 63%,#0c112015)!important}
html body.archeage-page .flat-banner-caption small{font-size:9px!important;letter-spacing:.24em!important;color:var(--flat-accent)!important}
html body.archeage-page .flat-banner-caption strong{font-size:clamp(22px,2vw,34px)!important;line-height:1.12!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.015em!important;color:var(--flat-text)!important;text-shadow:0 2px 18px #0009!important}
html body.archeage-page :is(.feature-card,.ac-panel,.ac-summary,.ac-build-toolbar,.ac-item-settings,.ac-slot,.ac-news-card,.ac-dialog,.ac-draft){background:var(--flat-panel)!important;border-color:var(--flat-line)!important;color:var(--flat-text)!important}
html body.archeage-page .ac-private-character{padding:8px 12px;color:var(--flat-accent);border:1px solid var(--flat-line);border-radius:20px;font-size:11px;white-space:nowrap}
/* The catalogue deliberately overrides every shared AION colour surface, including selected filters and rows. */
html body.archeage-page #main-content .ac-catalog :is(.oc-nav,.oc-search,.oc-filters,.oc-category,.oc-table-wrap){background:var(--flat-panel)!important;border-color:var(--flat-line)!important}
html body.archeage-page #main-content .ac-catalog :is(.oc-search input,.oc-filters select){background:var(--flat-inset)!important;color:var(--flat-text)!important;border-color:var(--flat-line)!important}
html body.archeage-page #main-content .ac-catalog :is(.oc-nav a,.oc-category,.oc-name,.oc-heading,.oc-list-heading){color:var(--flat-text)!important}
html body.archeage-page #main-content .ac-catalog :is(.oc-nav svg,.oc-mark,.oc-category-icon,.oc-heading h1 span,.oc-category-arrow,.oc-search>span){color:var(--flat-accent)!important;border-color:var(--flat-line)!important}
html body.archeage-page #main-content .ac-catalog :is(.oc-nav h2,.oc-nav-home small,.oc-category p,.oc-category small,.oc-name small,.oc-list-heading p,.oc-table td){color:var(--flat-muted)!important}
html body.archeage-page #main-content .ac-catalog .oc-nav a:is(:hover,[aria-current=page]){background:var(--flat-soft)!important;border-color:var(--flat-line)!important;color:var(--flat-accent)!important}
html body.archeage-page #main-content .ac-catalog .oc-category-icon{background:var(--flat-soft)!important}
html body.archeage-page #main-content .ac-catalog .oc-table{background:var(--flat-surface)!important}
html body.archeage-page #main-content .ac-catalog .oc-table th{background:var(--flat-raised)!important;color:var(--flat-accent)!important;border-color:var(--flat-line)!important}
html body.archeage-page #main-content .ac-catalog .oc-table td{background:transparent!important;border-color:var(--flat-line)!important}
html body.archeage-page #main-content .ac-catalog .oc-table tbody tr:nth-child(even){background:var(--flat-soft)!important}
html body.archeage-page #main-content .ac-catalog .oc-table tbody tr:hover{background:var(--flat-soft)!important}
html body.archeage-page #main-content .ac-catalog .oc-name strong{color:var(--flat-text)!important}
html body.archeage-page #main-content .ac-catalog :is(.oc-search kbd,.oc-search button,.ac-pagination button){background:var(--flat-raised)!important;border-color:var(--flat-line)!important;color:var(--flat-accent)!important}
html body.archeage-page #main-content .game-guild-root{--gx-accent:var(--flat-accent);--gx-bg:#0c1120;--gx-panel:var(--flat-panel);--gx-text:var(--flat-text);--gx-muted:var(--flat-muted);color:var(--flat-text)!important}
html body.archeage-page #main-content .game-guild-root :is(.gx-card,.gx-panel,.gx-member-card,.gx-overview-card,.gx-event-card,.gx-roster-card,.gx-roster-group,.gx-class-panel,.gx-member-detail,.gx-stat-card){background:var(--flat-panel)!important;border-color:var(--flat-line)!important;color:var(--flat-text)!important}
html body.archeage-page #main-content .game-guild-root :is(a[aria-current=page],button[aria-selected=true],button[aria-pressed=true]){background:var(--flat-accent)!important;color:var(--flat-text)!important;border-color:var(--flat-accent)!important}
html body.archeage-page #main-content .game-guild-root :is(th,td){border-color:var(--flat-line)!important}
html body.archeage-page #main-content .game-guild-root th{background:var(--flat-raised)!important;color:var(--flat-accent)!important}
@media(max-width:650px){html body.archeage-page .flat-banner-caption{padding:18px!important}html body.archeage-page .flat-route-banner{height:100px!important}}
}

@layer orb-state{html body.archeage-page{--flat-scene-image:url("/assets/archeage-banner-home-v1.webp")!important}}
@layer orb-studio{
html body.archeage-page #main-content .ac-icon{background:var(--flat-raised)!important;border-color:var(--flat-line)!important}
html body.archeage-page #flat-site-navigation nav section:nth-of-type(1)>p{--rail-category-color:#7ccddd!important}
html body.archeage-page #flat-site-navigation nav section:nth-of-type(2)>p{--rail-category-color:#dfbf80!important}
html body.archeage-page #flat-site-navigation nav section:nth-of-type(3)>p{--rail-category-color:#bb9aee!important}
html body.archeage-page #main-content .game-guild-root :is([class*='-card'],[class*='-panel'],.game-guild-list-item,.game-guild-event,.guild-member-row){background:var(--flat-panel)!important;border-color:var(--flat-line)!important;color:var(--flat-text)!important}
html body.archeage-page #main-content .game-guild-root :is(button,a[role=tab]){background:var(--flat-raised)!important;color:var(--flat-text)!important;border-color:var(--flat-line)!important}
html body.archeage-page #main-content .game-guild-root :is(button[aria-selected=true],button[aria-pressed=true],a[aria-current=page],.game-guild-tab.active,.game-guild-tab.is-active){background:var(--flat-accent)!important;color:var(--flat-text)!important;border-color:var(--flat-accent)!important}
}
@layer orb-studio{html body.archeage-page #main-content .guild-member-curves{grid-template-columns:1fr!important}}

@layer orb-studio{html body.archeage-page #main-content .game-guild-root :is(article,[data-member-row]){background:var(--flat-panel)!important;border-color:var(--flat-line)!important}html body.archeage-page #main-content .game-guild-root .guild-member-avatar{background:var(--flat-raised)!important;color:var(--flat-accent)!important;border-color:var(--flat-line)!important}html body.archeage-page #main-content .game-guild-root [data-member-profile]{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;color:var(--flat-text)!important}html body.archeage-page :is(.guild-progress-chart,.guild-sparkline) svg line{stroke:var(--flat-accent)!important}html body.archeage-page :is(.guild-progress-chart,.guild-sparkline) svg circle{fill:var(--flat-accent)!important}}

@layer orb-studio{
/* These are visible page titles, not the shared shell's screen-reader-only heading. */
html body.archeage-page #main-content :is(:is(.archeage-welcome,.flat-home-layout) .hero-inner>h1,.oc-heading h1){display:block!important;position:static!important;inset:auto!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;font-size:clamp(28px,3.2vw,46px)!important;line-height:1.12!important;letter-spacing:-.04em!important;font-weight:750!important;color:var(--flat-text)!important}
html body.archeage-page #main-content :is(.archeage-welcome,.flat-home-layout){min-height:420px!important;height:auto!important}
/* Match the AION home: one fixed scene seen through the hero while scrolling. */
html body.archeage-page[data-flat-home-scene] #main-content .flat-home-layout>.flat-home-photo{background-position:center!important}
@media(min-width:700px){
html body.archeage-page[data-flat-home-scene] #main-content .flat-home-layout>.flat-home-photo{background-attachment:fixed!important;background-position:center calc(50% - 18vh)!important}
html body.archeage-page[data-flat-home-scene] .flat-page-atmosphere::before{background-position:center calc(50% - 18vh)!important}
}
@media(max-width:699px),(prefers-reduced-motion:reduce){html body.archeage-page[data-flat-home-scene] #main-content .flat-home-layout>.flat-home-photo{background-attachment:scroll!important;background-position:center 68%!important}}
html[data-orb-motion=off] body.archeage-page[data-flat-home-scene] #main-content .flat-home-layout>.flat-home-photo{background-attachment:scroll!important;background-position:center 68%!important}
/* All routes share the banner's content column, including asynchronously mounted guilds/builders. */
html body.archeage-page #main-content>:not(dialog):not(input){box-sizing:border-box!important;width:100%!important;max-width:1480px!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important}
html body.archeage-page.orb-floating-layout>.premium-footer{box-sizing:border-box!important;width:calc(100% - var(--layout-rail) - clamp(44px,6vw,96px))!important;max-width:1480px!important;margin-left:auto!important;margin-right:auto!important;transform:translateX(calc(var(--layout-rail) / 2))!important}
@media(max-width:1100px){html body.archeage-page.orb-floating-layout>.premium-footer{width:calc(100% - 40px)!important;transform:none!important}}
@media(max-width:700px){html body.archeage-page.orb-floating-layout>.premium-footer{width:calc(100% - 28px)!important}}
html body.archeage-page .news-grid>.news-story.news-featured{border-color:var(--flat-line)!important}
html body.archeage-page .news-story-content>.ac-news-read{display:inline-flex!important;align-items:center!important;align-self:flex-start!important;min-height:36px!important;padding:9px 13px!important;border-radius:10px!important;font-size:12px!important;font-weight:600!important;background:var(--flat-soft)!important;color:var(--flat-text)!important;border-color:var(--flat-line)!important}
html body.archeage-page .news-featured .news-story-content>.ac-news-read{min-height:40px!important;background:var(--flat-accent)!important;color:var(--flat-text)!important;border-color:var(--flat-accent)!important}
html body.archeage-page .news-grid>.news-featured>.news-story-content>a{background:transparent!important;color:var(--flat-muted)!important;padding:0!important;min-height:0!important;border:0!important;border-radius:0!important}
html body.archeage-page #main-content :is(.archeage-welcome,.flat-home-layout) .hero-inner{gap:14px!important;padding:32px!important}
html body.archeage-page #main-content :is(.archeage-welcome,.flat-home-layout) .hero-inner>h1 span{color:var(--flat-accent)!important}
html body.archeage-page #main-content :is(.archeage-welcome,.flat-home-layout) .minimal-home-actions>a{background:var(--flat-raised)!important;color:var(--flat-text)!important;border:1px solid var(--flat-line)!important}
html body.archeage-page #main-content :is(.archeage-welcome,.flat-home-layout) .minimal-home-actions>a.minimal-primary{background:var(--flat-accent)!important;color:var(--flat-text)!important;border-color:var(--flat-accent)!important}
@media(max-width:650px){html body.archeage-page #main-content :is(.archeage-welcome,.flat-home-layout) .hero-inner{padding:24px!important}}
}
