/* A fixed category rail and one large, independently scrolling choice panel. */
:root{--sidebar-width:492px}
.sidebar{width:var(--sidebar-width);left:18px;top:18px;bottom:18px;border-radius:16px}
.map-stage{left:528px}
.sidebar-header{padding:16px 20px 14px;flex:none}
.brand{margin-bottom:12px;gap:10px;height:35px}.brand-mark{font-size:36px}.brand strong{font-size:22px}.brand strong span{font-size:12px}.offline{font-size:10px}
.area-label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.area-selector{margin:0 0 10px}.area-selector select{padding:9px 12px;font-size:14px}.search-wrap{padding:7px 10px}.search-wrap input{font-size:12px}.search-wrap button{color:#91a8b6;padding:0 2px;font-size:19px}
.browser-body{flex:1;min-height:0;display:flex;border-top:1px solid var(--line)}
.tabs{flex:none;width:94px;display:flex;flex-direction:column;padding:0;border:0;border-right:1px solid var(--line);background:#0e1c2838;overflow-y:auto;scrollbar-width:thin}
.tabs button{flex:none;padding:17px 3px;min-height:67px;font-size:12px;border-bottom:1px solid #ffffff04;color:#a2b3c0;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding-left:12px;text-align:left}
.tabs button span{font-size:20px;line-height:22px;margin:0;width:19px;text-align:center}.tabs button.active{background:#bfd5bd0c;color:#d4e4bd}.tabs button.active:after{left:0;top:0;bottom:0;right:auto;width:3px;height:auto;background:var(--gold)}
.choices{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
.filter-toolbar{flex:none;padding:14px 15px 10px;gap:9px;min-height:44px}.filter-toolbar strong{font-size:13px}.filter-toolbar #categoryCount{font-size:10px}.filter-toolbar button{font-size:11px}
.filter-list{padding:0 14px 20px;overscroll-behavior:contain;scrollbar-gutter:stable}
.filter-group-title{font-size:12px;padding:16px 1px 10px;color:#a9bdc8;letter-spacing:0}.filter-grid{gap:15px 10px}.filter-card{opacity:1}.filter-card.zero{opacity:.68}.filter-card.unmapped{opacity:.52}.filter-card .thumb{border-radius:8px;aspect-ratio:1}.filter-card img{width:90%;height:90%}.filter-card .label{font-size:11px;line-height:1.45;margin-top:5px;color:#d3dce1;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:30px}.card-count{font-size:10px;bottom:2px;right:4px;background:#14212e99;border-radius:3px;padding:0 2px}.required{font-size:10px;color:#cdbd8c;display:block;margin-top:1px}.fallback-icon{font-size:30px}
.sidebar-footer{padding:12px 18px 13px;flex:none}.footer-options{display:flex;align-items:center;gap:12px;color:#9fb3c0;font-size:10px;flex-wrap:wrap}.footer-options>label{display:flex;align-items:center;gap:3px;white-space:nowrap}.footer-options input{margin:0;width:12px;height:12px}.footer-options .switch-row{gap:10px;margin-right:auto;font-size:11px;color:#c8d6dd}.switch-row i{width:29px;flex:none}.footer-options .switch-row input{position:absolute;width:29px;right:0}.progress-row{font-size:10px;margin-top:12px}.progress-row button{font-size:10px}.progress-line{margin-top:7px}
.growth-heading{display:flex;align-items:center;justify-content:space-between;margin:16px 0 12px}.growth-heading:first-child{margin-top:4px}.growth-heading strong{color:var(--gold);font-weight:500;font-size:14px}.growth-heading button{color:#91aab8;font-size:11px;padding:0}
.roster-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 9px;margin-bottom:22px}.roster-card{padding:0;position:relative;min-width:0;overflow:hidden;text-align:center}.roster-card img,.roster-card>span:first-child:not(:last-child){width:100%;aspect-ratio:1;object-fit:contain;border:1px solid #cdbd8c29;background:linear-gradient(145deg,#c9a56c33,#172a3780);border-radius:8px;display:block}.roster-card>span{display:block;margin-top:5px;font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.roster-card small{position:absolute;right:0;top:0;padding:1px 4px;background:#d8c58f;color:#26322f;border-radius:0 6px 0 5px;font-size:9px}
.growth-detail{background:#0c1c274a;border:1px solid #ffffff06;border-radius:10px;padding:12px;margin-bottom:24px}.growth-person{display:flex;align-items:center;gap:10px}.growth-person>img{width:43px;height:43px;object-fit:contain;border-radius:6px;background:#c2a26a29}.growth-person strong{font-size:15px;font-weight:500}.growth-person button{margin-left:auto;color:#8aa2ad;font-size:22px}.growth-note,.search-note{color:#829eae;font-size:10px;line-height:1.8;margin:9px 0 14px}.show-materials{width:100%;padding:8px 6px;border:1px solid #c3dbbd30;border-radius:5px;background:#b4d8bf0c;color:#bdcfae;font-size:11px}.growth-detail .filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.growth-detail .filter-card .label{font-size:10px}.growth-detail .filter-group-title{font-size:11px;padding-top:12px}.growth-detail .filter-card .thumb{max-height:72px}.growth-detail .filter-card .label{min-height:28px}
.other-regions{margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}.other-regions summary{font-size:11px;color:#819ba9;cursor:pointer;padding-bottom:12px}.search-note{margin:0 0 12px}.area-notice{max-width:550px;font-size:11px!important;line-height:1.7;color:#c3b786!important;margin-top:9px!important}.area-notice:empty{display:none}.dot.teleport{background:#8ccfe1}
.sidebar-hidden .sidebar{transform:translateX(-550px)}
.area-selector select{color-scheme:dark;background:#233440;color:#e7edf0}.area-selector select option{background:#20313d;color:#e7edf0}.map-status #zoomLabel{margin-left:0}.map-status #coordinates{margin-left:0}.tools button:last-child{font-size:21px}
.switch-row{position:relative}.footer-options .switch-row input{top:0;height:100%;z-index:1;cursor:pointer}
#showAreaAll{pointer-events:auto;border:1px solid #afc9b52a;background:#21363be8;padding:6px 11px;border-radius:5px;color:#c6d9b9;font-size:11px;margin-top:12px}.region-result{display:block;width:100%;text-align:left;border:1px solid #b6cabe22;border-radius:6px;padding:9px 11px;margin-bottom:6px;color:#c3d4cb;font-size:12px}.region-result small{display:block;color:#89a4af;font-size:10px}
@media(min-width:851px) and (max-height:780px){.sidebar{top:12px;bottom:12px}.sidebar-header{padding:12px 18px}.brand{height:30px;margin-bottom:9px}.area-selector{margin-bottom:8px}.area-selector select{padding:7px 12px}.tabs button{padding-top:14px;padding-bottom:14px;min-height:61px}.sidebar-footer{padding-top:10px;padding-bottom:10px}}
@media(max-width:1100px){:root{--sidebar-width:450px}.map-stage{left:482px}.sidebar{left:14px;top:14px;bottom:14px}.tabs{width:88px}.tabs button{padding-left:9px;font-size:11px;gap:5px}.filter-list{padding-left:12px;padding-right:12px}.filter-grid{gap:13px 8px}.sidebar-footer{padding-left:15px;padding-right:15px}.footer-options{gap:9px}.map-heading{left:25px}.map-heading h1{font-size:22px}}
@media(max-width:700px){:root{--sidebar-width:calc(100vw - 62px)}.map-stage{left:0}.sidebar{z-index:3;max-width:450px;left:10px;top:10px;bottom:10px;box-shadow:10px 0 80px #000a}.sidebar-header{padding:13px 14px}.brand{margin-bottom:10px}.brand strong{font-size:20px}.brand-mark{font-size:32px}.brand strong span{font-size:11px;margin-left:8px}.tabs{width:76px}.tabs button{padding:15px 5px;font-size:10px;gap:4px;min-height:59px}.tabs button span{font-size:18px;width:16px}.filter-toolbar{padding:13px 11px 9px;gap:8px}.filter-toolbar strong{font-size:12px}.filter-toolbar #categoryCount{font-size:9px;margin-left:4px}.filter-toolbar button{font-size:10px}.filter-list{padding:0 10px 15px}.filter-grid,.roster-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 7px}.filter-card .label{font-size:10px}.roster-card>span{font-size:10px}.growth-detail{padding:9px}.growth-detail .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-heading strong{font-size:13px}.growth-note,.search-note{font-size:10px}.footer-options{font-size:9px;gap:8px}.footer-options .switch-row{font-size:10px}.sidebar-footer{padding:10px 13px}.progress-row{font-size:9px}.progress-row button{font-size:9px}.sidebar-hidden .sidebar{transform:translateX(-110%)}.map-heading{left:20px}.area-notice{max-width:calc(100vw - 90px)}.detail-panel{z-index:4}.tools{z-index:2}.map-status span:last-child{display:none}}
