#app.wardrobe-active{height:100dvh;min-height:0}#app.wardrobe-active .ticker{display:none}#view-wardrobe .page-head{min-height:46px;padding:8px 12px}#view-wardrobe .page-head small{font-size:12px;color:#17233d;font-weight:800;margin-left:auto}.wardrobe-help{width:28px;height:28px;margin-left:5px;padding:0;border:2px solid var(--ink);background:var(--cream);border-radius:50%;font-weight:900}#view-wardrobe #wardrobe-content{display:flex;flex-direction:column;gap:8px;padding:8px 10px 10px;overflow:hidden;background:#edddba;background-image:radial-gradient(#17233d18 .8px,transparent .8px);background-size:6px 6px}.closet-stage{position:relative;display:flex;flex:1;min-height:95px;overflow:hidden;border:2.5px solid var(--ink);border-radius:10px;box-shadow:3px 3px 0 var(--ink);background:#244951 url('assets/wardrobe-room-boxer-clean.png') 0 50%/cover}.closet-stage:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#17304655 0 48%,#14264bf2 61% 100%)}.closet-stage-label{position:absolute;left:7px;top:7px;z-index:3;border:1.5px solid var(--ink);border-radius:4px;background:#fff5da;padding:4px 6px;font-size:10px;font-weight:800}.closet-stage-label b{margin-left:6px;color:#ad5515}.closet-avatar-frame{position:relative;flex:0 0 57%;height:100%;min-width:0;isolation:isolate}.wardrobe-avatar{width:100%;height:100%;display:block}.closet-platform{position:absolute;bottom:6px;left:7px;right:3px;background:#17233ded;border:1px solid #f9e9c366;color:#fff5da;border-radius:4px;text-align:center;padding:4px 2px;font-size:9px}.closet-hud{position:relative;flex:1;min-width:0;padding:36px 10px 11px 2px;display:flex;flex-direction:column;justify-content:center;gap:12px;color:#fff5da}.closet-id{font-size:10px;color:#eed1a0;letter-spacing:1px}.closet-hud h2{font-size:22px;line-height:1.3}.closet-equipped{border-top:1px dashed #fff5da66;border-bottom:1px dashed #fff5da66;padding:10px 0}.closet-equipped>span{display:block;font-size:10px;color:#f2d1a5}.closet-equipped strong{font-size:19px;display:block;margin:5px 0;color:#ffd05c}.closet-equipped small{font-size:11px;line-height:1.5;display:block}.closet-mini-stats{display:flex;gap:10px}.closet-mini-stats>span{display:flex;align-items:center;gap:3px;font-size:12px}.closet-mini-stats .icon{width:15px;height:15px;color:#ffcf61}.closet-point-badge{font-size:11px;color:#e8d6b3}.closet-point-badge b{margin-left:5px;font-size:17px;color:#ffce61}.closet-tabs{display:flex;gap:5px;flex:0 0 35px}.closet-tabs button{position:relative;flex:1;border:2px solid var(--ink);border-radius:6px;background:#d7ccb6;font-size:13px;font-weight:800;padding:5px 2px;white-space:nowrap}.closet-tabs button.active{background:#ff9a31;box-shadow:2px 2px 0 var(--ink)}.closet-tabs i{display:inline-grid;place-items:center;font-style:normal;font-size:10px;border:1px solid var(--ink);width:16px;height:16px;border-radius:50%;background:#fff5da;margin-left:3px}.closet-panel{display:flex;flex-direction:column;flex:0 0 274px;gap:8px;min-height:0;border:2px solid var(--ink);border-radius:8px;background:#fffaf0;box-shadow:3px 3px 0 var(--ink);padding:10px}.closet-collection-head{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-shrink:0;font-size:12px}.closet-collection-head>span{font-size:10px;color:#65686e}.closet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));flex:1;gap:6px;min-height:0}.closet-item{position:relative;min-width:0;min-height:0;padding:4px;border:1.5px solid var(--ink);border-radius:6px;background:#f3ead9;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.closet-item img{height:38px;width:100%;object-fit:contain;min-height:0;flex-shrink:1;border-radius:3px}.closet-item b{font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap}.closet-item small{font-size:9px;line-height:1.2;color:#637065}.closet-item.selected{border:2px solid #9e4a0e;background:#ffe5ae;box-shadow:1px 2px 0 #9e4a0e}.closet-item.locked{background:#e8e5df}.closet-item.locked img{filter:grayscale(1);opacity:.5}.closet-item.locked small{color:#736c65}.closet-inspect{display:flex;gap:6px;align-items:center;border-top:1px dashed #b7a98d;padding-top:7px;flex-shrink:0;min-width:0}.closet-inspect>div{flex:1;min-width:0}.closet-inspect span{display:block;font-size:9px;color:#75664f}.closet-inspect strong{display:block;font-size:14px;line-height:1.3;margin:3px 0}.closet-inspect p{font-size:11px;line-height:1.3;color:#606975}.closet-inspect>.primary{font-size:12px;min-height:39px;padding:7px 9px;flex-shrink:0}.closet-icon-button{width:24px;height:24px;flex-shrink:0;padding:0;border:1.5px solid var(--ink);border-radius:50%;font-size:12px;font-weight:900;background:#fff5da}.closet-footnote{font-size:9px;line-height:1.3;color:#6c7079;flex-shrink:0;text-align:center}.closet-growth-head{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-shrink:0}.closet-growth-head b{display:block;font-size:14px}.closet-growth-head small{display:block;font-size:11px;margin-top:4px;color:#786143}.closet-text-button{background:none;border:0;border-bottom:1px dashed #536272;font-size:11px;padding:3px 1px;white-space:nowrap}.closet-attributes{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:space-evenly;gap:5px}.closet-stat{display:flex;align-items:center;gap:7px;min-height:38px}.closet-stat-icon{border:1.5px solid var(--ink);border-radius:6px;background:#ffdf98;padding:4px;display:grid;place-items:center}.closet-stat-icon .icon{width:22px;height:22px}.closet-stat-name{flex:1;min-width:0}.closet-stat-name b{font-size:15px}.closet-stat-name small{display:block;font-size:10px;color:#656d75;margin-top:2px}.closet-stat-value{font-size:18px;font-weight:900;min-width:30px;white-space:nowrap}.closet-stat-value em{font-style:normal;color:#b45313;font-size:12px;margin-left:2px}.closet-stat-button{border:1.5px solid var(--ink);border-radius:5px;background:#f1e4c6;box-shadow:1px 2px 0 var(--ink);width:28px;height:29px;padding:0;font-size:20px;line-height:1}.closet-stat-button.plus{background:#ff9a31}.closet-growth-actions{display:flex;gap:7px;flex-shrink:0}.closet-growth-actions>.primary{flex:2;font-size:13px;min-height:40px;padding:8px 5px}.closet-growth-actions>.secondary{flex:1;font-size:12px;min-height:40px;padding:8px 5px}.closet-binding-steps{display:flex;justify-content:space-between;gap:4px;flex-shrink:0}.closet-binding-steps span{flex:1;text-align:center;font-size:10px;font-weight:800;background:#e4dfd2;border:1px solid #adab9e;border-radius:4px;padding:5px 1px;color:#676b6e}.closet-binding-steps .active{background:#ffdf98;border-color:#a56b2c;color:#5e4123}.closet-binding-card{display:flex;align-items:center;gap:10px;flex:1;min-height:0}.closet-scan-art{flex:0 0 80px;width:80px;height:90px;display:flex;align-items:center;justify-content:center;background:#f4e5c5;border:2px solid var(--ink);border-radius:8px;position:relative;overflow:hidden}.closet-scan-art>.icon{width:48px;height:48px}.closet-scan-art img{width:100%;height:100%;object-fit:contain}.closet-scan-art.scanning:after{content:"";position:absolute;left:5px;right:5px;top:10px;height:3px;background:#ef792b;box-shadow:0 0 8px #ef792b;animation:closet-scan .7s ease-in-out infinite alternate}.closet-binding-card>div:last-child{flex:1;min-width:0}.closet-binding-label{font-size:10px;color:#93632c;font-weight:800}.closet-binding-card h3{font-size:16px;line-height:1.45;margin:5px 0}.closet-binding-card p{font-size:12px;line-height:1.5;color:#616a73}.closet-binding-action{font-size:14px;min-height:42px;flex-shrink:0;padding:8px}.closet-help-row{display:flex;gap:11px;align-items:center;border-bottom:1px dashed #baad96;padding:12px 0}.closet-help-row>.icon{width:30px;height:30px}.closet-help-row p{font-size:13px!important;margin:5px 0 0!important}.closet-gear-detail{display:flex;gap:12px;align-items:center;margin-bottom:15px}.closet-gear-detail img{width:95px;height:130px;object-fit:contain;flex-shrink:0}.closet-gear-detail h3{font-size:16px;line-height:1.4;margin:9px 0}.closet-gear-detail p{font-size:13px!important;line-height:1.6!important}.closet-changed .wardrobe-avatar{animation:closet-change .45s ease}#app.wardrobe-active .toast{bottom:auto;top:120px;font-size:12px;padding:7px 10px}@keyframes closet-scan{to{top:75px}}@keyframes closet-change{40%{filter:brightness(1.22)}100%{filter:none}}
@media(min-width:700px){#app.wardrobe-active{height:min(920px,calc(100dvh - 44px));min-height:0}}
@media(max-height:740px){.closet-panel{flex-basis:253px;gap:7px;padding:8px}.closet-hud{gap:8px;padding-top:28px}.closet-hud h2{font-size:19px}.closet-equipped{padding:7px 0}.closet-equipped strong{font-size:17px}.closet-mini-stats{gap:7px}.closet-mini-stats>span{font-size:11px}.closet-mini-stats .icon{width:13px;height:13px}.closet-point-badge{font-size:10px}.closet-item img{height:32px}.closet-scan-art{flex-basis:70px;width:70px;height:80px}.closet-binding-card h3{font-size:15px}.closet-binding-card p{font-size:11px}}
@media(max-height:590px){#app.wardrobe-active header{height:47px;padding:5px 12px}#app.wardrobe-active .brand{font-size:25px}#view-wardrobe .page-head{min-height:40px;padding:4px 10px}#view-wardrobe .page-head h1{font-size:17px}#view-wardrobe #wardrobe-content{gap:6px;padding:6px 8px 8px}.closet-panel{flex-basis:224px;gap:5px;padding:7px}.closet-tabs{flex-basis:31px;gap:4px}.closet-tabs button{font-size:12px;padding:4px 1px}.closet-stage-label{font-size:9px;top:5px;left:5px;padding:3px 4px}.closet-hud{gap:5px;padding:22px 8px 6px 1px}.closet-id{display:none}.closet-hud h2{font-size:15px}.closet-equipped{padding:5px 0}.closet-equipped>span{font-size:9px}.closet-equipped strong{font-size:15px;margin:3px 0}.closet-equipped small{font-size:10px;line-height:1.25}.closet-mini-stats{gap:6px}.closet-mini-stats>.icon{width:11px;height:11px}.closet-point-badge{font-size:9px}.closet-point-badge b{font-size:13px}.closet-platform{font-size:8px;padding:2px;bottom:4px}.closet-collection-head{font-size:11px}.closet-collection-head>span{font-size:9px}.closet-grid{gap:4px}.closet-item{padding:3px;gap:1px}.closet-item img{height:29px}.closet-item b{font-size:10px}.closet-item small{font-size:8px}.closet-inspect{padding-top:5px;gap:5px}.closet-inspect strong{font-size:12px;margin:2px 0}.closet-inspect p{font-size:10px}.closet-inspect>.primary{font-size:11px;min-height:35px;padding:5px 7px}.closet-icon-button{width:21px;height:21px;font-size:11px}.closet-footnote{font-size:8px}.closet-growth-head b{font-size:12px}.closet-growth-head small{font-size:10px;margin-top:2px}.closet-stat{gap:5px;min-height:34px}.closet-stat-name b{font-size:13px}.closet-stat-name small{font-size:9px}.closet-stat-icon{padding:3px}.closet-stat-icon>.icon{width:18px;height:18px}.closet-stat-button{width:26px;height:27px;font-size:18px}.closet-stat-value{font-size:16px;min-width:25px}.closet-growth-actions>.primary,.closet-growth-actions>.secondary{min-height:35px;padding:5px;font-size:11px}.closet-binding-card{gap:7px}.closet-scan-art{flex-basis:62px;width:62px;height:73px}.closet-scan-art>.icon{width:38px;height:38px}.closet-binding-card h3{font-size:14px;line-height:1.35;margin:4px 0}.closet-binding-card p{font-size:10px;line-height:1.4}.closet-binding-action{font-size:12px;min-height:36px;padding:6px}.closet-binding-steps span{font-size:9px;padding:4px 1px}}
.closet-platform{cursor:pointer;border:1px solid #f9e9c366}.closet-large-avatar{height:min(56dvh,470px);background:#1f384b;border:2px solid var(--ink);border-radius:8px;overflow:hidden;margin-bottom:10px}
@media(max-height:590px){.closet-hud h2{display:none}.closet-hud{gap:4px}}
@media(min-height:591px) and (max-height:740px){.closet-hud h2{display:none}.closet-hud{gap:6px;padding-top:24px;padding-bottom:8px}}
/* Equipment dossier: solid ink panel, restrained comic texture, clear information hierarchy. */
.closet-hud{padding:24px 12px 16px 14px;gap:13px;background:#14253d;border-left:2px solid #e6b956;isolation:isolate;justify-content:center}.closet-hud:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(#8babc024 .8px,transparent .8px) 0 0/6px 6px,linear-gradient(145deg,#223b5377 0%,transparent 50%);pointer-events:none}.closet-hud:after{content:"";position:absolute;right:0;top:0;width:34px;height:34px;background:linear-gradient(45deg,transparent 49%,#f0b850 50% 57%,transparent 58% 65%,#f0b850 66% 73%,transparent 74%);opacity:.6;pointer-events:none}.closet-id{display:block;font-size:9px;letter-spacing:.8px;color:#a9bdca;line-height:1.4}.closet-equipped{border:0;padding:0}.closet-equipped>span{font-size:10px;font-weight:700;color:#d2c29b;line-height:1.4}.closet-equipped strong{display:block;color:#ffcf66;font-size:22px;font-weight:1000;line-height:1.35;margin:5px 0 0;overflow-wrap:anywhere}.closet-ability{border-left:3px solid #efa543;background:#27405688;padding:8px 8px 9px;border-radius:0 5px 5px 0}.closet-ability>span{display:block;color:#9eafba;font-size:9px;line-height:1.3;letter-spacing:1px}.closet-ability>b{display:block;font-size:15px;line-height:1.4;margin:3px 0;color:#fff2cf}.closet-ability>small{display:block;font-size:12px;line-height:1.5;color:#d2dee3;overflow-wrap:anywhere}.closet-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;border-top:1px solid #8ba5b44d;padding-top:10px}.closet-mini-stats>span{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.closet-mini-stats>span>b{display:flex;align-items:center;gap:3px;font-size:14px;line-height:1.1;white-space:nowrap}.closet-mini-stats .icon{width:14px;height:14px;color:#e5bd6c}.closet-mini-stats small{font-size:9px;line-height:1.2;color:#aabeca}.closet-point-badge{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:35px;padding:5px 7px;border:1.5px solid #f7cf79;border-radius:5px;background:#f4d28c;color:#28384b;gap:3px;text-align:left;box-shadow:2px 2px 0 #07131f}.closet-point-badge>span{font-size:10px;font-weight:800;line-height:1.3}.closet-point-badge b{font-size:21px;line-height:1;margin:0;color:#253448}
@media(max-height:740px){.closet-hud{padding:10px 10px 9px 11px;gap:7px}.closet-id{display:none}.closet-equipped strong{font-size:19px;margin-top:3px}.closet-equipped>span{font-size:9px}.closet-ability{padding:6px 6px 7px}.closet-ability>span{display:none}.closet-ability>b{font-size:13px;margin:0 0 2px}.closet-ability>small{font-size:11px;line-height:1.35}.closet-mini-stats{padding-top:6px;gap:3px}.closet-mini-stats>span{gap:3px}.closet-mini-stats>span>b{font-size:12px;gap:2px}.closet-mini-stats .icon{width:12px;height:12px}.closet-mini-stats small{font-size:8px}.closet-point-badge{min-height:30px;padding:4px 5px}.closet-point-badge>span{font-size:9px}.closet-point-badge b{font-size:17px}}
@media(max-height:590px){.closet-hud{padding:7px 8px;gap:5px}.closet-equipped>span{display:none}.closet-equipped strong{font-size:16px;line-height:1.2;margin:0}.closet-ability{padding:4px 5px;border-left-width:2px}.closet-ability>b{font-size:12px;line-height:1.2;margin-bottom:2px}.closet-ability>small{font-size:10px;line-height:1.25}.closet-mini-stats{padding-top:4px}.closet-mini-stats small{display:none}.closet-mini-stats>span>b{font-size:11px}.closet-mini-stats .icon{width:11px;height:11px}.closet-point-badge{min-height:26px;padding:3px 5px}.closet-point-badge>span{font-size:8px}.closet-point-badge b{font-size:15px}.closet-hud:after{width:24px;height:24px}}
.closet-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.closet-item b{font-size:10px}.closet-item small{font-size:8px}.closet-item img{height:36px}@media(max-height:590px){.closet-item img{height:27px}.closet-item b{font-size:9px}}
/* Walnut equipment room, amber light and ink panels. */
#view-wardrobe #wardrobe-content{background:#101f29;background-image:radial-gradient(ellipse at 0 0,#c88a3530,transparent 70%),repeating-linear-gradient(135deg,#ffffff03 0 1px,transparent 1px 5px);background-size:auto;color:#f5e6c8}
.closet-stage{background:#172c31;border:1px solid #ac824c;border-top:3px solid #bf8c52;border-bottom:4px solid #815431;border-radius:6px;box-shadow:0 3px 0 #080f17}.closet-stage:before{background:linear-gradient(90deg,#13282d22,transparent 52%,#10242be8 66%)}
.closet-stage-label{background:#10252be8;color:#e6c58d;border:1px solid #a9874a88;font-size:9px;border-radius:3px}.closet-stage-label b{color:#ffda91}.closet-avatar-frame{flex-basis:57%}.closet-platform{background:#10252bdd;border:1px solid #bfa16b99;color:#e7cf9e;border-radius:3px;min-height:28px;font-size:9px}.closet-hud{background:#142a30;border-left:1px solid #a9874b;gap:11px}.closet-hud:before{background:repeating-linear-gradient(135deg,#ffffff04 0 1px,transparent 1px 5px),radial-gradient(ellipse at 100% 0,#ddab5630,transparent 80%)}.closet-hud:after{display:none}.closet-id{color:#b5b6a1}.closet-equipped>span{color:#c9b68f}.closet-equipped strong{color:#ffe0a3;font-weight:800;font-size:21px}.closet-ability{background:#d2ac5810;border-left:2px solid #d3ad69;border-radius:0;padding:8px}.closet-ability>span{color:#b1b5a3}.closet-ability>b{color:#f3d79f;font-weight:700}.closet-ability>small{color:#ded8c3}.closet-mini-stats{border-color:#a58c5b55}.closet-mini-stats small{color:#b8b8a5}.closet-point-badge{background:linear-gradient(110deg,#b79150,#e3c58a);border:1px solid #ffe1a3;color:#162831;border-radius:3px;box-shadow:0 2px 0 #07181f}.closet-point-badge b{color:#142c33}
.closet-tabs{gap:6px}.closet-tabs button{border:1px solid #a98b54;background:#142a32;color:#ccbd9e;border-radius:4px;font-weight:700}.closet-tabs button.active{background:#d5b273;color:#152831;box-shadow:0 2px 0 #060f18;border-color:#f7dba6}.closet-tabs i{background:#173039;color:#f0d6a3;border:1px solid #eac784;font-weight:700}
.closet-panel{background:#142c31;background-image:repeating-linear-gradient(140deg,#ffffff03 0 1px,transparent 1px 6px);color:#f4e5c8;border:1px solid #aa854d;border-top:2px solid #bd8d50;border-bottom:3px solid #80522f;border-radius:5px;box-shadow:0 3px 0 #07101a}.closet-collection-head{color:#ceb68b;font-size:11px}.closet-item{background:#1d3338;border:1px solid #8f79504d;border-radius:4px;color:#f5e3c1;box-shadow:0 2px 0 #091c23}.closet-item img{border-radius:2px}.closet-item b{font-weight:700}.closet-item small{color:#b9c0ac}.closet-item.selected{background:linear-gradient(120deg,#655232,#273c3c);border:1px solid #edc781;box-shadow:inset 0 0 0 1px #cf9e4e44}.closet-item.locked{background:#14272d;border-color:#66706b70;color:#a4a99c}.closet-item.locked small{color:#929d95}.closet-item.locked img{opacity:.35}.closet-inspect{border-color:#b89b6655}.closet-inspect span{color:#b5a781}.closet-inspect strong{color:#ffe0a4}.closet-inspect p{color:#c4c8b6}.closet-icon-button{background:#192f35;border:1px solid #b69a63;color:#f1d7a4}
#wardrobe-content .primary{background:linear-gradient(110deg,#ffbc51,#ef9b30);color:#172933;border:1px solid #f5d08c;border-bottom:3px solid #986129;border-radius:4px;box-shadow:0 2px 0 #07101a;text-shadow:none}#wardrobe-content .secondary{background:#182d34;color:#e9d5ad;border:1px solid #aa8c56;border-radius:4px;box-shadow:0 2px 0 #07101a}#wardrobe-content button:disabled{opacity:.48}#wardrobe-content button:focus-visible{outline:2px solid #ffe0a0;outline-offset:2px}
.closet-growth-head b{color:#f8dfad}.closet-growth-head small{color:#d7b87a}.closet-text-button{color:#c2b99c;border-color:#a29575}.closet-stat-icon{background:#283b3b;border:1px solid #ad8c53;color:#edca85;border-radius:4px}.closet-stat-name small{color:#b1b9aa}.closet-stat-value{color:#f3d59b}.closet-stat-value em{color:#c5dca8}.closet-stat-button{background:#1b3137;color:#e4c68d;border:1px solid #a98a51;border-radius:3px;box-shadow:none}.closet-stat-button.plus{background:#d2ad6c;color:#152b32}.closet-footnote{color:#a4aa99}.closet-binding-steps span{background:#172a30;border-color:#797961;color:#9ca496}.closet-binding-steps .active{background:#625335;border-color:#c3a36a;color:#ffdf9e}.closet-scan-art{background:#20363b;border:1px solid #b4935a;border-radius:5px;color:#efd291}.closet-binding-label{color:#d3b574}.closet-binding-card h3{color:#f4dfb3}.closet-binding-card p{color:#b8beac}
.closet-role-switch{display:flex;align-items:center;gap:3px;position:absolute;top:7px;right:7px;z-index:4;padding:3px;border:1px solid #b18c5377;border-radius:4px;background:#10252bec}.closet-role-switch button{border:0;border-radius:2px;background:transparent;color:#bdb69f;min-height:28px;padding:3px 8px;font-size:10px;font-weight:700}.closet-role-switch button[aria-pressed="true"]{background:#d5b273;color:#142831}.closet-large-avatar{background:#132a30;border:1px solid #ac8752}
@media(max-height:740px){.closet-hud{gap:7px}.closet-equipped strong{font-size:19px}.closet-ability{padding:6px}.closet-role-switch{top:5px;right:5px}.closet-role-switch button{padding:2px 6px;min-height:24px;font-size:9px}.closet-hud{padding-top:36px}.closet-platform{min-height:23px}}
@media(max-height:590px){.closet-equipped strong{font-size:15px}.closet-stage-label{font-size:8px;padding:2px 4px}.closet-role-switch{top:4px;right:4px;padding:2px}.closet-role-switch button{min-height:22px;padding:2px 5px;font-size:8px}.closet-hud{padding-top:32px;gap:4px}.closet-ability{padding:4px 5px}.closet-platform{min-height:18px;font-size:7px}}
/* Keep role controls above the portrait, clear of both faces. */
#view-wardrobe .page-head #collection-count{display:none}
.closet-role-switch{position:static;margin-left:auto;flex-shrink:0;padding:2px;gap:2px;background:#182e35;border-color:#aa8b55}
.closet-role-switch button{min-height:30px;padding:3px 8px;font-size:10px}
.closet-hud{padding-top:16px}.closet-id{display:none}
@media(max-height:740px){.closet-hud{padding-top:10px;gap:6px}.closet-role-switch button{min-height:28px;padding:3px 7px;font-size:10px}}
@media(max-height:590px){.closet-hud{padding-top:7px;gap:4px}.closet-role-switch button{min-height:26px;padding:2px 6px;font-size:9px}}
/* Native modal is sized to the phone preview interior, including on desktop. */
.closet-fullscreen{position:fixed;inset:auto;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;overscroll-behavior:contain;background:#08131a;color:#ffe5b5}
.closet-fullscreen::backdrop{background:transparent}
.closet-fullscreen-art{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.closet-fullscreen-art .wardrobe-avatar{display:block;width:100%;height:100%;max-width:none;max-height:none}
.closet-fullscreen-head{position:absolute;inset:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:calc(15px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 32px max(18px,env(safe-area-inset-left));background:linear-gradient(#07121ae8,transparent);pointer-events:none}
.closet-fullscreen-head h2{font-size:17px;font-weight:800;line-height:1.4;margin:0;text-shadow:0 2px 5px #000}
.closet-fullscreen-head small{display:block;margin-top:3px;font-size:11px;font-weight:500;color:#d5c3a1;letter-spacing:.5px}
.closet-fullscreen-close{pointer-events:auto;flex-shrink:0;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d0ad6e;border-radius:50%;background:#10242cde;color:#ffe5b5;font:400 30px/1 sans-serif;box-shadow:0 2px 9px #0005}
.closet-fullscreen-close:focus-visible{outline:2px solid #ffe0a0;outline-offset:3px}
/* Character identity, outfit and named attributes. */
.closet-name{display:block;min-width:0;width:100%;text-align:left;border:0;border-bottom:1px solid #ae945744;padding:0 0 7px;background:none;color:#fff0cc}
.closet-name>span{display:block;font-size:9px;line-height:1.3;color:#b7b59e;margin-bottom:3px}.closet-name strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:18px;font-weight:800;line-height:1.3;color:#fff0cd}
.closet-hud{gap:9px}.closet-equipped strong{font-size:19px;margin-top:3px}.closet-equipped>span{font-size:9px}.closet-mini-stats small{display:block;font-size:9px}.closet-name-label{display:block;font-size:14px;margin:0 0 10px}.closet-name-input{display:block;width:100%;font:inherit;font-size:17px;padding:12px;border:1px solid #9e8659;border-radius:5px;background:#fffaf0;color:#172b34}.closet-name-limit{display:block;margin:6px 0 12px;font-size:11px;color:#696b6a}.closet-name-error{color:#9b422d;font-size:12px!important;margin:0 0 10px!important}#closet-name-form>.primary{width:100%;min-height:44px;font-size:15px}
.closet-fullscreen-identity{max-width:calc(100% - 60px);min-width:0}.closet-fullscreen-identity>span{display:block;color:#c5b593;font-size:9px;letter-spacing:1px;line-height:1.3;margin-bottom:3px}.closet-fullscreen-identity h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}.closet-fullscreen-identity p{display:flex;align-items:baseline;gap:8px;font-size:12px;line-height:1.5;color:#f2d49f;margin:5px 0 0}.closet-fullscreen-identity p>span{color:#b6b49d;font-size:10px;flex-shrink:0}
.closet-fullscreen-stats{position:absolute;bottom:calc(14px + env(safe-area-inset-bottom));left:16px;right:16px;display:flex;justify-content:center;gap:0;border:1px solid #c5a26280;border-radius:5px;background:#10252be6;color:#ffe1a1;pointer-events:none;box-shadow:0 2px 8px #0003;padding:10px 2px;backdrop-filter:blur(8px)}.closet-fullscreen-stats>span{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;border-right:1px solid #b1a17640}.closet-fullscreen-stats>span:last-child{border:0}.closet-fullscreen-stats .icon{width:16px;height:16px}.closet-fullscreen-stats small{color:#d2c4a5;font-size:11px}.closet-fullscreen-stats b{font-size:18px;font-variant-numeric:tabular-nums}
@media(max-height:740px){.closet-name strong{font-size:16px}.closet-name{padding-bottom:4px}.closet-name>span{font-size:8px;margin-bottom:2px}.closet-hud{gap:6px}.closet-equipped strong{font-size:17px}.closet-ability{display:none}.closet-mini-stats small{font-size:8px}.closet-fullscreen-art{bottom:56px}.closet-fullscreen-stats{bottom:10px;padding:9px 1px}}
@media(max-height:590px){.closet-hud{gap:5px}.closet-name strong{font-size:14px}.closet-equipped>span{display:block;font-size:8px}.closet-equipped strong{font-size:14px}.closet-mini-stats small{display:block;font-size:8px}.closet-point-badge{display:none}.closet-fullscreen-stats{left:12px;right:12px;bottom:8px}.closet-fullscreen-stats>span{gap:4px}.closet-fullscreen-stats small{font-size:10px}.closet-fullscreen-stats b{font-size:16px}.closet-fullscreen-head{padding-top:12px}}
/* Frame styling carries item category; separate info controls keep equip immediate. */
.closet-card{position:relative;min-width:0;min-height:0}.closet-card .closet-item{width:100%;height:100%;padding:13px 4px 7px;gap:6px;border-radius:5px;isolation:isolate}.closet-card .closet-item img{height:52px;max-height:62%;width:100%;object-fit:contain}.closet-card .closet-item b{font-size:10px;line-height:1.3}.closet-item.tier-basic{border:1px solid #74817a80;background:#1c3036;box-shadow:0 2px 0 #081a21}.closet-item.tier-skill{border:2px solid #d29b52;background:linear-gradient(135deg,#56412a44,#182d33);box-shadow:inset 0 0 0 1px #e4b77633,0 2px 0 #081a21}.closet-item.tier-skill:before{content:"";position:absolute;inset:3px;pointer-events:none;border:1px solid #d7a56a50;border-radius:2px;clip-path:polygon(0 0,27% 0,27% 14%,73% 14%,73% 0,100% 0,100% 100%,73% 100%,73% 86%,27% 86%,27% 100%,0 100%)}
.closet-item.tier-collection{border:2px solid transparent;background:linear-gradient(125deg,#392b46,#211d30) padding-box,linear-gradient(130deg,#c3a1dc,#73518c 30%,#af8bc8 55%,#76578e 80%,#b79ace) border-box;box-shadow:0 2px 0 #081a21,inset 0 0 14px #b88cce12}.closet-item.tier-collection:before{content:"";position:absolute;inset:3px;pointer-events:none;border:1px solid #c5ab7b77;border-radius:2px}.closet-item.tier-collection:after{content:"";position:absolute;left:calc(50% - 2px);top:2px;width:4px;height:4px;transform:rotate(45deg);background:#f0d391;pointer-events:none}
.closet-item.selected{outline:1px solid #fff1cd;outline-offset:-6px}.closet-card-info{position:absolute;right:0;top:0;width:28px;height:28px;display:grid;place-items:center;padding:0;background:transparent;border:0;color:#d6c598;font:italic 700 13px/1 Georgia,serif;border-radius:4px;z-index:2}.closet-card-info:hover,.closet-card-info:focus-visible{background:#e5c58325;color:#fff1cb}.closet-card-status{position:absolute;top:6px;left:6px;color:#abae9b;line-height:1;font-size:10px;pointer-events:none}.closet-card-status.worn{color:#cee6b9}.closet-card-status svg{width:12px;height:12px;display:block}.closet-detail-route{width:100%;min-height:44px;font-size:14px}
@media(max-height:740px){.closet-card .closet-item img{height:46px}.closet-card .closet-item{gap:4px}}
@media(max-height:590px){.closet-card .closet-item img{height:40px}.closet-card .closet-item{padding:11px 3px 5px;gap:4px}.closet-card .closet-item b{font-size:9px}.closet-card-info{width:24px;height:24px;font-size:12px}.closet-card-status{top:5px;left:5px}}
/* Inline product story follows the selected garment; no separate info popup. */
.closet-product-intro{border-left:2px solid #d0ab68;background:#d2ac5810;padding:8px;min-height:0}.closet-product-intro>span{display:block;color:#d5b67e;font-size:9px;letter-spacing:1px;margin-bottom:5px;line-height:1.3}.closet-product-intro p{font-size:12px;line-height:1.65;color:#ede0c6;margin:0;overflow-wrap:anywhere}.closet-product-source{display:block;max-width:100%;background:none;border:0;border-bottom:1px solid #b8985b99;color:#f2cc8a;padding:3px 0;margin-top:6px;font-size:10px;text-align:left;min-height:24px}
.closet-card .closet-item{padding-top:9px}
@media(max-height:740px){.closet-panel:has(.closet-grid){flex-basis:230px}.closet-product-intro{padding:6px}.closet-product-intro>span{font-size:8px;margin-bottom:3px}.closet-product-intro p{font-size:11px;line-height:1.5}#wardrobe-content:has(.closet-attributes,.closet-binding-card) .closet-product-intro{display:none}}
@media(max-height:590px){.closet-panel:has(.closet-grid){flex-basis:170px}.closet-card .closet-item img{height:30px}.closet-card .closet-item{padding:7px 3px 5px;gap:3px}.closet-product-intro{padding:5px}.closet-product-intro p{font-size:10px;line-height:1.45}.closet-product-intro>span{margin-bottom:2px}.closet-product-source{min-height:20px;font-size:9px;margin-top:3px;padding:2px 0}}
@media(min-height:591px) and (max-height:740px){.closet-product-source{min-height:20px;margin-top:3px;padding:1px 0}}
