@layer orb-state {
.archeage-page{--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)}
.archeage-page .ac-panel,.archeage-page .ac-item,.archeage-page .ac-news-card{background:var(--ac-panel);border:1px solid var(--ac-line);border-radius:16px;padding:20px}
.archeage-page .ac-toolbar,.archeage-page .ac-heading,.archeage-page .ac-actions,.archeage-page .ac-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}
.archeage-page .ac-heading{justify-content:space-between;margin-top:0}.archeage-page .ac-heading h2{margin:0}.archeage-page .ac-toolbar label{display:grid;gap:6px;font-size:13px;color:var(--ac-muted)}
.archeage-page .ac-search{flex:1;min-width:200px}.archeage-page .ac-toolbar input,.archeage-page .ac-toolbar select{width:100%}
.archeage-page :is(.ac-panel,.ac-toolbar,.ac-dialog,.ac-pagination,.ac-builder) :is(button,.ac-button){background:var(--flat-raised);border:1px solid var(--flat-line);color:var(--flat-text);border-radius:9px;padding:9px 13px;font:inherit;cursor:pointer;text-decoration:none;min-height:38px}
.archeage-page button:hover{border-color:var(--ac-gold)}.archeage-page button:disabled{opacity:.45;cursor:default}.archeage-page :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--ac-gold);outline-offset:3px}
.archeage-page :is(.ac-panel,.ac-toolbar,.ac-dialog,.ac-builder) :is(input,select,textarea){background:var(--ac-deep);border:1px solid var(--ac-line);border-radius:9px;color:var(--flat-text);padding:10px;font:inherit;max-width:100%;min-height:40px;box-sizing:border-box}
.archeage-page .ac-item-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.archeage-page .ac-item{display:flex;align-items:center;gap:12px;text-align:left;color:var(--flat-text);min-height:98px;cursor:pointer}.archeage-page .ac-item span{min-width:0}.archeage-page .ac-item strong{display:block;font-size:14px}.archeage-page .ac-item small{display:block;color:var(--ac-muted);margin-top:5px;font-size:12px}.archeage-page .ac-icon{width:48px;height:48px;object-fit:contain;background:var(--flat-inset);border-radius:9px;flex:none}.archeage-page .ac-grade-1{border-left:3px solid #c9c9c9}.archeage-page .ac-grade-2{border-left:3px solid #6cc35a}.archeage-page .ac-grade-3{border-left:3px solid #4fa3ff}.archeage-page .ac-grade-4{border-left:3px solid #b06cf0}.archeage-page .ac-grade-5{border-left:3px solid #f0a43a}
.archeage-page .ac-source{font-size:12px;line-height:1.8;color:var(--ac-muted);margin-top:26px}.archeage-page .ac-source a{color:var(--ac-gold)}.archeage-page .ac-pagination{justify-content:center}.archeage-page .ac-dialog{background:var(--flat-inset);color:var(--flat-text);border:1px solid var(--ac-line);border-radius:20px;padding:28px;width:min(820px,calc(100vw - 32px));max-height:86vh;box-sizing:border-box;overflow:auto}.archeage-page .ac-dialog::backdrop{background:#0c1120ca;backdrop-filter:blur(5px)}.archeage-page .ac-close{float:right}.archeage-page .ac-detail-header{display:flex;align-items:center;gap:16px;padding-right:35px;margin-bottom:18px}.archeage-page .ac-detail-header .ac-icon{width:72px;height:72px}.archeage-page .ac-detail-header h2{margin:0 0 5px}.archeage-page .ac-detail-header p{margin:0;color:var(--ac-muted)}.archeage-page .ac-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.archeage-page .ac-stat{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--flat-panel);padding:10px;border-radius:8px;font-size:13px}.archeage-page .ac-stat strong{color:var(--ac-gold);white-space:nowrap}.archeage-page .ac-list{list-style:none;padding:0}.archeage-page .ac-list li{padding:10px 0;border-bottom:1px solid var(--ac-line);display:flex;gap:10px;align-items:center}.archeage-page .ac-list .ac-icon{width:32px;height:32px}.archeage-page .ac-list input{width:85px;margin-left:auto}.archeage-page .ac-list strong{margin-left:auto}.archeage-page .ac-muted{color:var(--ac-muted);font-size:13px;line-height:1.65}
.archeage-page .ac-craft-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.5fr);gap:20px;align-items:start}.archeage-page .ac-recipe-list{display:grid;gap:8px;max-height:76vh;overflow:auto;padding-right:6px}.archeage-page .ac-recipe-list .ac-item{width:100%}.archeage-page .ac-planner{position:sticky;top:95px}.archeage-page .ac-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.archeage-page .ac-inline input[type=number]{width:100px}.archeage-page .ac-inline input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--ac-gold)}
.archeage-page .ac-builder-layout{display:grid;grid-template-columns:255px minmax(0,1fr) 255px;gap:16px;align-items:start}.archeage-page .ac-builder{min-width:0}.archeage-page .ac-builder .ac-panel{padding:16px}.archeage-page .ac-builder h3{margin:12px 0}.archeage-page .ac-builder .ac-side{position:sticky;top:90px}.archeage-page .ac-builder label{display:grid;gap:6px;font-size:13px;color:var(--ac-muted)}.archeage-page .ac-profile{display:grid;gap:12px}.archeage-page .ac-profile-head{display:flex;gap:12px;align-items:center}.archeage-page .ac-profile input{width:100%}.archeage-page .ac-attributes{display:grid;gap:8px}.archeage-page .ac-attributes label{grid-template-columns:1fr 40px 65px;align-items:center}.archeage-page .ac-attributes input{width:65px;padding:6px}.archeage-page .ac-attributes strong{color:var(--ac-gold);text-align:right}.archeage-page .ac-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:14px}.archeage-page .ac-slot{display:flex;gap:7px;align-items:center;text-align:left;padding:7px!important;min-width:0;background:var(--ac-deep)!important}.archeage-page .ac-slot img{width:32px;height:32px}.archeage-page .ac-slot span{font-size:11px;overflow:hidden;text-overflow:ellipsis}.archeage-page .ac-slot[aria-pressed=true],.archeage-page button[aria-pressed=true]{border-color:var(--ac-gold)!important;background:var(--flat-raised)!important}.archeage-page .ac-builder-tabs{display:flex;gap:7px;margin-bottom:15px}.archeage-page .ac-builder-tabs button{flex:1}.archeage-page .ac-builder-stats{display:grid;gap:6px}.archeage-page .ac-builder-stats .ac-stat{font-size:12px;gap:8px}.archeage-page .ac-editor input[type=range]{width:100%;accent-color:var(--ac-gold);padding:0;min-height:20px}.archeage-page .ac-editor .ac-item{width:100%;background:var(--flat-inset)}.archeage-page .ac-options{display:grid;gap:8px}.archeage-page .ac-options label{display:flex;align-items:center;gap:8px}.archeage-page .ac-options input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--ac-gold)}.archeage-page .ac-options input[type=number]{width:90px;margin-left:auto}.archeage-page .ac-options small{font-size:11px}.archeage-page .ac-traits{display:grid;gap:12px}.archeage-page .ac-trait-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.archeage-page .ac-trait{display:flex;align-items:center;gap:8px;text-align:left;font-size:12px!important;min-width:0}.archeage-page .ac-trait img{width:30px;height:30px}.archeage-page .ac-trait small{color:var(--ac-muted)}.archeage-page .ac-progress{height:5px;border-radius:5px;background:var(--flat-line);overflow:hidden;margin:10px 0}.archeage-page .ac-progress i{height:100%;background:var(--ac-gold);display:block}.archeage-page .ac-builder textarea{width:100%;min-height:180px}.archeage-page [data-ac-builder-status]{min-height:1.6em;color:var(--ac-gold);font-size:13px}.archeage-page .ac-draft{display:flex;gap:14px;align-items:center;margin:10px 0;padding:15px;border:1px solid var(--ac-line);border-radius:12px}.archeage-page .ac-draft strong{flex:1}.archeage-page .ac-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.archeage-page .ac-news-card{padding:0;overflow:hidden}.archeage-page .ac-news-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.archeage-page .ac-news-copy{padding:20px}.archeage-page .ac-news-copy h2{font-size:19px;line-height:1.4}.archeage-page .ac-article-body{white-space:pre-wrap;line-height:1.8;font-size:15px}.archeage-page .ac-news-copy p{color:var(--ac-muted);line-height:1.6}.archeage-page .ac-news-copy a{color:var(--ac-gold)}
.archeage-page .ac-builder label.ac-inline{display:flex;align-items:center;gap:10px}.archeage-page .ac-builder label.ac-inline input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--ac-gold)}.archeage-page .ac-builder :is(h2,h3){text-align:left}.archeage-page .ac-builder .ac-attributes label{min-width:0}.archeage-page .ac-builder .ac-attributes input{min-height:30px;height:30px;padding:4px}.archeage-page .ac-builder .ac-profile :is(h3,p){margin:6px 0}.archeage-page .ac-builder .ac-slot-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.archeage-page .ac-builder .ac-slot{justify-content:center;min-height:48px}.archeage-page .ac-builder .ac-slot>span:not(.ac-icon){display:none}
@media(min-width:1600px){.archeage-page .ac-builder-layout{grid-template-columns:290px minmax(0,1fr) 290px}}
@media(max-width:1100px){.archeage-page .ac-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.archeage-page .ac-builder-layout{grid-template-columns:230px minmax(0,1fr)}.archeage-page .ac-builder .ac-summary{position:static;grid-column:1/-1}.archeage-page .ac-builder-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.archeage-page .ac-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.archeage-page .ac-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archeage-page .ac-craft-layout,.archeage-page .ac-builder-layout{grid-template-columns:1fr}.archeage-page .ac-builder .ac-side,.archeage-page .ac-planner{position:static}.archeage-page .ac-slot-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.archeage-page .ac-slot span{display:none}.archeage-page .ac-slot{justify-content:center}.archeage-page .ac-news-grid{grid-template-columns:1fr}.archeage-page .ac-item{padding:12px}.archeage-page .ac-stats,.archeage-page .ac-builder-stats{grid-template-columns:1fr 1fr}.archeage-page .ac-dialog{padding:18px}}
@media(prefers-reduced-motion:reduce){.archeage-page *{scroll-behavior:auto!important}}
}
