/* scenes.css — main menu, setup, top bar, office, HQ and all management screens. Loaded after game.css. */
:root {
  --tb: 46px; --ts: 1;
  --navy: #1b1916; --navy2: #2a2721; --navy3: #37322b; --line-b: #48423a; --cyan: #bcad96;
}
html, body { background: var(--navy); }
#app { position: fixed; inset: 0; display: block; padding: 0; grid-template: none; overflow: hidden; }
.scene { position: absolute; inset: 0; display: none; overflow: hidden; }
.scene.active { display: block; }
#game { position: absolute; inset: 0; display: none; grid-template-rows: calc(var(--tb) + var(--sat)) minmax(0, 1fr); padding-right: var(--sar); padding-bottom: var(--sab); zoom: var(--ts); }
#game.active { display: grid; }
#stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--bg); }
#stage > .screen { background: var(--bg); }
.screen.fill-bg { background: var(--bg); }
.scroll.fill { height: 100%; }

/* ---------------- top bar ---------------- */
#topbar { display: flex; align-items: center; gap: 8px; padding: var(--sat) 10px 0 calc(var(--sal) + 8px); background: #312d27; border-bottom: 1px solid var(--line-b); z-index: 100; min-width: 0; }
.tb-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font: 800 11px 'Source Sans 3'; color: #e6dcc9; flex: none; }
.tb-btn i { font-size: 11px; }
#tb-title { font: 700 15px var(--display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.tb-date { font: 700 11px var(--num); color: var(--acc2); padding: 5px 9px; border: 1px solid rgba(224, 176, 90, .4); border-radius: 8px; white-space: nowrap; flex: none; background: rgba(0, 0, 0, .18); }
.tb-time { display: flex; gap: 3px; flex: none; }
.tb-sp { flex: 1 1 0; min-width: 0; }
.tb-ico { min-width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #cbbfa8; display: grid; place-items: center; font-size: 11px; padding: 0 8px; flex: none; }
.tb-ico.wide { font: 700 11px var(--num); }
.tb-ico.on { background: var(--acc); border-color: var(--acc); color: #2a160c; }
.tb-res { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 10px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .14); flex: none; }
.tb-res b { font: 700 13px var(--num); color: #fff; }
.tb-res.rp i { color: #9bc07f; } .tb-res.money i { color: #e0b05a; } .tb-res.fans i { color: #d98077; }
.tb-res u { text-decoration: none; width: 18px; height: 18px; border-radius: 50%; background: #8fb573; color: #1f2a14; font: 800 13px/18px Source Sans 3; text-align: center; margin-right: -4px; }
.tb-res b.neg { color: var(--bad); }
@media (max-width: 860px) { .tb-date { padding: 4px 6px; } .tb-res.fans { display: none; } #tb-title { font-size: 13px; } }
@media (max-width: 700px) { #tb-title { display: none; } .tb-ico.wide { display: none; } }

/* ---------------- main menu ---------------- */
.menu-bg { position: absolute; inset: 0; }
.menu-bg.dim::after { content: ''; position: absolute; inset: 0; background: rgba(18, 17, 15, .72); }
.menu-svg { width: 100%; height: 100%; display: block; }
.mb-float { animation: mbfloat 7s ease-in-out infinite; transform-origin: center; } @keyframes mbfloat { 50% { transform: translateY(-10px) rotate(-1.2deg); } }
.mb-drift { animation: mbdrift 14s ease-in-out infinite; } @keyframes mbdrift { 50% { transform: translateY(-14px); } }
.menu-left { position: absolute; left: calc(var(--sal) + 5%); top: 0; bottom: 0; width: min(380px, 52%); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: calc(var(--sat) + 8px) 0 calc(var(--sab) + 8px); }
.menu-logo { display: flex; align-items: center; gap: 14px; }
.ml-mark { width: 62px; height: 62px; border-radius: 18px; background: #e08a5a; display: grid; place-items: center; font-size: 28px; color: #2a160c; box-shadow: 0 10px 30px rgba(217, 123, 74, .45); flex: none; }
.menu-logo h1 { font: 800 28px/.95 var(--display); color: #fff; letter-spacing: -.5px; } .menu-logo h1 span { color: var(--acc2); }
.menu-tag { color: #d8ccb6; font-size: 12px; max-width: 300px; line-height: 1.4; }
.menu-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.mbtn { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(6px); position: relative; text-align: left; }
.mbtn i { width: 22px; text-align: center; font-size: 15px; }
.mbtn span { font: 700 14px var(--display); }
.mbtn small { margin-left: auto; font-size: 11px; color: rgba(255, 255, 255, .75); font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbtn.pri { background: #e08a5a; border-color: #e6b08c; color: #2a160c; box-shadow: 0 8px 22px rgba(217, 123, 74, .4); } .mbtn.pri small { color: rgba(26, 10, 4, .75); }
.mbtn.sm { height: 40px; flex: 1; padding: 0 12px; } .mbtn.sm span { font-size: 11px; }
.mbtn:active { transform: scale(.98); }
.mrow { display: flex; gap: 8px; }
.menu-foot { color: rgba(255, 255, 255, .4); font-size: 11px; margin-top: 4px; }
@media (max-height: 420px) { .menu-logo h1 { font-size: 22px; } .ml-mark { width: 48px; height: 48px; font-size: 22px; } .mbtn { height: 42px; } .menu-left { gap: 8px; } .menu-tag { display: none; } }

/* ---------------- setup ---------------- */
.setup { position: absolute; inset: 0; display: flex; flex-direction: column; padding: var(--sat) var(--sar) var(--sab) var(--sal); }
.setup-head { display: flex; align-items: center; gap: 12px; padding: 8px 14px; flex: none; }
.setup-head h2 { flex: 1; font: 700 20px var(--display); color: #fff; } .setup-head .mbtn { flex: none; height: 38px; }
.setup-body { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 4px 14px 14px; }
@media (max-width: 760px) { .setup-body { grid-template-columns: 1fr 1fr; } }
.sc { background: rgba(36, 32, 28, .78); border: 1px solid var(--line-b); border-radius: 14px; padding: 12px; backdrop-filter: blur(6px); }
.sc h3 { font: 700 11px Source Sans 3; color: #c9a977; margin-bottom: 8px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-top: 8px; } .lg { aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #d8ccb6; font-size: 15px; } .lg.sel { background: var(--c); color: #2a160c; border-color: #fff; }
.col-grid { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; } .cg { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; } .cg.sel { border-color: #fff; box-shadow: 0 0 0 2px var(--navy); }
.reg-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .regp { display: flex; align-items: center; gap: 7px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 11px; font-weight: 700; color: #e6dcc9; text-align: left; } .regp.sel { border-color: var(--acc); background: rgba(217, 123, 74, .14); color: #fff; } .regp i { color: var(--cyan); }
.dir-row { display: flex; align-items: center; justify-content: center; gap: 10px; } .dir-av { border-radius: 50%; overflow: hidden; width: 84px; height: 84px; border: 3px solid var(--line-b); } .dir-av svg { display: block; }
.arr { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #e6dcc9; }
.prof-list { display: flex; flex-direction: column; gap: 5px; } .prof { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); text-align: left; } .prof i { width: 24px; color: var(--acc2); font-size: 14px; text-align: center; } .prof b { font-size: 11.5px; color: #fff; display: block; } .prof small { font-size: 11px; color: #cbbfa8; line-height: 1.3; display: block; } .prof.sel { border-color: var(--acc); background: rgba(217, 123, 74, .12); }
.seg-pick { display: flex; flex-direction: column; gap: 5px; } .segp { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); text-align: left; } .segp b { font-size: 12px; color: #fff; display: block; } .segp small { font-size: 11px; color: #cbbfa8; } .segp.sel { border-color: var(--acc); background: rgba(217, 123, 74, .12); }
.slot-pick { display: flex; flex-direction: column; gap: 5px; } .slp { text-align: left; padding: 0; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); } .slp.sel { border-color: var(--acc); }
.slot { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); min-width: 0; } .slot.empty { color: #b0a695; } .slot.empty i { width: 30px; text-align: center; }
.sl-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #2a160c; flex: none; } .sl-info { min-width: 0; } .sl-info b { font-size: 12px; color: #fff; display: block; } .sl-info small, .slot small { font-size: 11px; color: #cbbfa8; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .slot b { font-size: 12px; }
.slot-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .slot-row .slot { flex: 1; } .sl-btns { display: flex; gap: 4px; flex: none; }
.set-list { display: flex; flex-direction: column; } .set { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--panel2); } .set b { font-size: 12.5px; display: block; } .set small { font-size: 11px; color: var(--mut); }
.tgl { width: 46px; height: 26px; border-radius: 13px; background: #322e28; position: relative; flex: none; } .tgl::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #d8ccb6; transition: .2s; } .tgl.on { background: var(--acc); } .tgl.on::after { left: 23px; background: #fff; }
.segs { display: flex; border: 1px solid var(--line2); border-radius: 9px; overflow: hidden; } .segs button { padding: 6px 14px; font: 700 11px Source Sans 3; color: var(--mut); background: var(--panel2); } .segs button.sel { background: var(--acc); color: #2a160c; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; } .how { display: flex; gap: 10px; } .how > i { width: 36px; height: 36px; border-radius: 11px; background: rgba(217, 123, 74, .14); color: var(--acc); display: grid; place-items: center; flex: none; } .how b { font-size: 12.5px; } .how p { font-size: 11px; color: var(--mut); line-height: 1.45; margin-top: 2px; }

/* ---------------- office scene ---------------- */
#scene-office { background: #151311; }
.office-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; }
.scene-box { position: relative; flex: none; container-type: inline-size; margin-top: 0; overflow: hidden; border-radius: 0 0 14px 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.office-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hs { position: absolute; background: transparent; border: 0; padding: 0; cursor: pointer; border-radius: 6px; font-size: clamp(7px, 1.05cqw, 13px); text-align: left; }
.hs:hover, .stand:hover { outline: 2px solid rgba(255, 255, 255, .55); outline-offset: 2px; }
.hs.monitor { color: #8dffd0; font-family: 'JetBrains Mono', monospace; padding: .9cqw 1.4cqw; display: flex; flex-direction: row; align-items: center; gap: 1.2cqw; overflow: hidden; } .mon-l { display: flex; flex-direction: column; gap: .3cqw; flex: none; }
.mon-h { font-size: .85em; letter-spacing: 1px; opacity: .8; } .mon-n { font: 700 2.7cqw 'JetBrains Mono', monospace; line-height: 1; color: #eafff6; } .mon-n small { font-size: .38em; opacity: .7; } .mon-c { flex: 1; min-height: 0; } .mon-c .spk, .spk { width: 100%; height: 100%; display: block; } .mon-s { font-size: .85em; opacity: .85; }
.hs.poster { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: .7cqw; color: #25303a; } .hs.poster b { font: 800 3.3cqw var(--display); color: #fff; margin: .1cqw 0; text-shadow: 0 2px 4px rgba(0, 0, 0, .35); line-height: 1; } .hs.poster small { font-size: .8em; font-weight: 800; letter-spacing: 1px; color: #fff; } .hs.poster small:last-child { color: #25303a; position: absolute; bottom: .6cqw; }
.hs.board { color: #1f2d3b; padding: .9cqw 1cqw; display: flex; flex-direction: column; gap: .5cqw; overflow: hidden; } .scene-box[data-era="2"] .hs.board { color: #bfeaff; }
.wb-h { font: 800 .95em Source Sans 3; letter-spacing: 1px; display: flex; justify-content: space-between; } .wb-h em { font-style: normal; color: #e5481a; } .wb-row { display: flex; flex-direction: column; gap: .2cqw; font-size: .9em; } .wb-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wb-empty { margin: auto; text-align: center; font-size: .95em; opacity: .8; line-height: 1.4; }
.hs.board .bar { height: .7cqw; min-height: 4px; }
.stand { position: absolute; background: transparent; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .3cqw; font-size: clamp(7px, 1cqw, 12px); color: #fff; padding: 0; cursor: pointer; border-radius: 8px; }
.stand b { font-size: 1.05em; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stand .chip { font-size: .85em; padding: 1px 5px; }
.st-ph { display: grid; place-items: end center; height: 70%; overflow: visible; } .st-ph .thumb { width: 74px; height: 130px; margin: -40px 0 -34px; }
.stand.empty { color: rgba(255, 255, 255, .8); justify-content: center; border: 2px dashed rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .12); } .stand.empty i { font-size: 2.2cqw; } .stand.locked { color: rgba(255, 255, 255, .5); justify-content: center; border: 2px dashed rgba(255, 255, 255, .2); } .stand.locked i { font-size: 1.6cqw; }
.hs.door { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 1.3cqw; color: #fff; text-align: center; } .hs.door span { font: 800 .85em Source Sans 3; letter-spacing: 1.5px; line-height: 1.1; background: #1b232c; padding: .5cqw .8cqw; border-radius: 4px; margin-top: .2cqw; } .hs.door small { margin-top: 2cqw; font-size: .8em; background: rgba(0, 0, 0, .4); padding: 2px 6px; border-radius: 6px; }
.hs.laptop { display: flex; align-items: center; justify-content: center; gap: .5cqw; color: #06251a; background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%); animation: lap 2.2s ease-in-out infinite; border-radius: 4px; } .hs.laptop b { font: 800 .95em Source Sans 3; letter-spacing: .6px; } .hs.laptop i { font-size: 1.3em; }
@keyframes lap { 50% { filter: drop-shadow(0 0 1.2cqw #fff) brightness(1.15); } }
.hs.safe, .hs.globe, .hs.trophy { border-radius: 50%; } .hs.news span { display: block; font-size: .7em; line-height: 1.15; color: #333; overflow: hidden; max-height: 100%; padding: 1px 3px; }
.hs.phone { border-radius: 4px; } .hs.phone u { position: absolute; top: -.8cqw; right: -.8cqw; min-width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--bad); color: #fff; font: 800 .9em/1.6cqw Inter; text-align: center; text-decoration: none; } .hs.phone.ring { animation: ring .7s ease-in-out infinite; } @keyframes ring { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.office-stats { position: absolute; top: 2%; left: 50%; transform: translateX(-50%); display: flex; gap: .6cqw; z-index: 3; }
.os { display: inline-flex; align-items: center; gap: .5cqw; padding: .35cqw .9cqw; border-radius: 99px; background: rgba(10, 20, 36, .72); color: #fff; font: 700 clamp(8px, 1.1cqw, 13px) 'JetBrains Mono', monospace; backdrop-filter: blur(6px); white-space: nowrap; border: 1px solid rgba(255, 255, 255, .15); }
.os i { opacity: .8; font-size: .9em; } .os em { font: 500 .8em Source Sans 3; opacity: .65; font-style: normal; } .os.good { color: #8dffb8; } .os.bad { color: #ff9aa8; }
.odock { display: flex; gap: 6px; width: 100%; align-self: stretch; max-width: 100%; overflow-x: auto; padding: 6px 12px calc(6px + var(--sab)) calc(12px + var(--sal)); background: linear-gradient(#0f1d34, #0a1426); border-top: 1px solid var(--line-b); flex: none; scrollbar-width: none; }
.odock::-webkit-scrollbar { display: none; }
.dk { flex: 0 0 auto; min-width: 62px; height: 48px; padding: 0 8px; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #d8ccb6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; position: relative; }
.dk i { font-size: 15px; } .dk span { font: 700 11px Source Sans 3; white-space: nowrap; }
.dk.pri { min-width: 104px; background: #e08a5a; border-color: #e6b08c; color: #2a160c; flex-direction: row; gap: 7px; } .dk.pri span { font-size: 11px; }
.dk u { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--bad); color: #fff; font: 800 11px/16px Source Sans 3; text-align: center; text-decoration: none; padding: 0 4px; }

/* ---------------- headquarters ---------------- */
#scene-hq { background: #2a2722; }
.hq-wrap { height: 100%; display: flex; flex-direction: column; padding: 8px 14px 10px; gap: 8px; }
.hq-head h2 { font: 700 18px var(--display); color: #fff; } .hq-head small { color: #cbbfa8; font-size: 11px; }
.hq-building { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; background: #141210; border: 3px solid #514b41; border-radius: 12px; padding: 6px; }
.hq-floor { flex: 1; min-height: 0; display: grid; grid-template-columns: 22px repeat(4, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.hq-fl { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 11px var(--num); color: #938775; text-align: center; align-self: center; }
.room { position: relative; border-radius: 9px; overflow: hidden; background: #151311; border: 2px solid #423d35; padding: 0; display: flex; flex-direction: column; min-height: 0; text-align: left; }
.room:hover { border-color: var(--cyan); }
.rm-art { flex: 1; min-height: 0; position: relative; } .rm-art .room-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rm-era { position: absolute; top: 4px; right: 5px; font: 700 11px var(--num); background: rgba(0, 0, 0, .55); color: #e6dcc9; padding: 1px 5px; border-radius: 4px; }
.rm-info { padding: 4px 7px 5px; background: #1b1916; flex: none; } .rm-info b { font-size: 11px; color: #fff; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rm-info b i { color: var(--acc2); font-size: 11px; }
.rm-act { display: flex; gap: 4px; margin-top: 3px; flex-wrap: wrap; } .rm-act .chip { font-size: 11px; padding: 1px 6px; }
.room-modal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; } .rmm-art { border-radius: 12px; overflow: hidden; border: 2px solid var(--line-b); aspect-ratio: 8 / 5; } .rmm-art .room-svg { width: 100%; height: 100%; display: block; }
.exec { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 1px solid var(--panel2); } .exec small { display: block; font-size: 11px; color: var(--mut); } .exec .btn { margin-left: auto; } .ex-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
@media (max-width: 700px) { .room-modal { grid-template-columns: 1fr; } }

/* ---------------- shared management pieces ---------------- */
.pad { padding: 12px 14px 20px; }
.big-n { font: 700 28px var(--display); color: #fff; }
.news-card { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 8px; } .nc-i { width: 36px; height: 36px; border-radius: 10px; background: rgba(224, 176, 90, .12); color: var(--cyan); display: grid; place-items: center; flex: none; } .news-card small { color: var(--dim); font: 600 11px var(--num); } .news-card b { display: block; font: 700 13px var(--display); margin: 1px 0 3px; } .news-card p { font-size: 11px; color: var(--mut); line-height: 1.45; }
.rating-chart { display: flex; gap: 8px; height: 180px; } .yaxis { display: flex; flex-direction: column; justify-content: space-between; font: 600 11px var(--num); color: var(--dim); padding-bottom: 34px; text-align: right; min-width: 46px; } .yt span { display: block; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 6px; position: relative; min-width: 0; }
.bcol { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; } .bcol .bb { width: 74%; border-radius: 4px 4px 0 0; min-height: 2px; transition: height .5s; } .bcol .bv { font: 600 11px var(--num); color: var(--mut); margin-bottom: 2px; white-space: nowrap; } .bcol .bn { position: absolute; bottom: -34px; width: 100%; text-align: center; font-size: 11px; color: var(--mut); line-height: 1.15; } .bcol .bn b { display: block; color: var(--text); font-size: 11px; } .bcol .bn span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcol.me .bb { box-shadow: 0 0 0 2px #fff; } .bcol.me .bn b { color: var(--acc); }
.arena-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(224, 176, 90, .14); color: var(--acc2); display: grid; place-items: center; font-size: 22px; }
.arena-row { padding: 8px 0; border-bottom: 1px solid var(--panel2); } .ar-h { display: flex; align-items: center; gap: 8px; font-size: 12px; } .ar-h i { color: var(--acc2); } .ar-h small { color: var(--mut); margin-left: auto; margin-right: 4px; } .podium { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; font-size: 11px; color: var(--mut); } .podium span { background: var(--panel2); padding: 2px 8px; border-radius: 6px; } .podium span.me { background: rgba(217, 123, 74, .15); color: var(--acc); } .podium em { font: 600 11px var(--num); opacity: .7; font-style: normal; }
.deal { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--panel2); } .deal:last-child { border-bottom: 0; } .dl-i { width: 38px; height: 38px; border-radius: 11px; background: rgba(224, 176, 90, .12); color: var(--cyan); display: grid; place-items: center; flex: none; } .dl-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .dl-b small { color: var(--mut); font-size: 11px; } .dl-r { text-align: right; display: flex; flex-direction: column; gap: 3px; align-items: flex-end; } .dl-r small { font-size: 11px; }
.co-logo { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #2a160c; font-size: 22px; }

/* research tree */
.rs { display: flex; height: 100%; }
.rs-tabs { width: 62px; flex: none; display: flex; flex-direction: column; gap: 4px; padding: 8px 6px; background: #1b1915; border-right: 1px solid var(--line-b); overflow-y: auto; }
.rs-tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 10px; color: #c9bba0; } .rs-tab i { font-size: 17px; } .rs-tab span { font: 700 7.5px Source Sans 3; } .rs-tab.active { background: rgba(224, 176, 90, .14); color: #fff; box-shadow: inset 2px 0 0 var(--cyan); } .rs-tab u { position: absolute; top: 2px; right: 6px; min-width: 14px; height: 14px; border-radius: 7px; background: #8fb573; color: #1f2a14; font: 800 11px/14px Source Sans 3; text-align: center; text-decoration: none; }
.rs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #221f1b; }
.rs-top { display: flex; gap: 10px; padding: 8px 12px; align-items: stretch; flex: none; border-bottom: 1px solid var(--line-b); }
.rs-rp { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 12px; background: rgba(63, 199, 125, .12); border: 1px solid rgba(63, 199, 125, .35); flex: none; } .rs-rp i { color: #9bc07f; font-size: 18px; } .rs-rp b { font: 700 22px var(--display); color: #fff; } .rs-rp small { font-size: 11px; color: #a8c690; line-height: 1.25; }
.rs-active { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; }
.ra { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); min-width: 190px; flex: 1; } .ra i { color: var(--acc2); } .ra b { font-size: 11px; display: block; margin-bottom: 4px; } .ra > div { flex: 1; min-width: 0; } .ra.empty { border-style: dashed; color: #b0a695; justify-content: center; font-size: 11px; gap: 6px; }
.rs-tree { flex: 1; min-height: 0; display: flex; gap: 10px; overflow: auto; padding: 12px; align-items: flex-start; -webkit-overflow-scrolling: touch; }
.rs-col { flex: 0 0 150px; display: flex; flex-direction: column; gap: 8px; } .rs-year { font: 800 13px var(--num); color: #b0a695; text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--line-b); } .rs-col.now .rs-year { color: var(--acc2); } .rs-year em { font: 700 11px Source Sans 3; background: var(--acc2); color: #2a160c; padding: 1px 5px; border-radius: 4px; font-style: normal; vertical-align: middle; }
.node { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 6px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); text-align: center; } .node b { font-size: 11px; line-height: 1.2; color: #f0e9dc; } .node small { font-size: 11px; color: #c9bba0; }
.nd-i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(224, 176, 90, .14); color: var(--cyan); font-size: 16px; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); border-radius: 0; }
.node.done { border-color: rgba(63, 199, 125, .5); background: rgba(63, 199, 125, .1); } .node.done .nd-i { background: #8fb573; color: #1f2a14; }
.node.active { border-color: var(--acc); background: rgba(217, 123, 74, .12); } .node.active .nd-i { background: var(--acc); color: #2a160c; }
.node.available.go { border-color: var(--cyan); box-shadow: 0 0 0 1px rgba(224, 176, 90, .4), 0 0 18px rgba(224, 176, 90, .2); } .node.available.go .nd-i { background: var(--cyan); color: #1e1c18; }
.node.locked, .node.future { opacity: .5; } .node.locked .nd-i, .node.future .nd-i { background: #35312a; color: #8a8172; }

/* sales cards */
.sale-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 8px; } .sale-card.empty { display: flex; justify-content: center; padding: 18px; border-style: dashed; background: transparent; }
.sc-ph { display: flex; flex-direction: column; align-items: center; } .sc-main { min-width: 0; display: flex; flex-direction: column; gap: 7px; } .sc-main h4 { font: 700 15px var(--display); }
.dl { display: flex; flex-direction: column; gap: 8px; min-width: 120px; padding-top: 2px; } .dl small { font-size: 11px; color: var(--mut); } .dl input { width: 100%; }
/* ads */
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 7px; } .ad-card { background: var(--panel2); border: 1px solid var(--line); border-radius: 11px; padding: 8px; display: flex; flex-direction: column; gap: 5px; } .ad-card b { font-size: 11px; } .ad-card b i { color: var(--acc2); } .ad-card.on { border-color: rgba(143, 181, 115, .5); background: rgba(143, 181, 115, .06); } .ad-card small { font-size: 11px; color: var(--mut); }
.lvls { display: flex; gap: 4px; } .lvls button { flex: 1; padding: 6px 0; border-radius: 7px; background: #27241f; border: 1px solid var(--line2); font: 700 11px var(--num); color: var(--mut); } .lvls button.sel { background: var(--acc); border-color: var(--acc); color: #2a160c; }
/* reviews */
.rboard { } .rb-top { display: flex; gap: 16px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; } .rb-over small { font: 700 11px Source Sans 3; color: var(--mut); display: block; } .rb-over b { font: 700 40px var(--display); line-height: 1; } .rb-over b span { font-size: 15px; color: var(--mut); } .rb-meta { display: flex; align-items: center; gap: 10px; }
.rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } @media (max-width: 640px) { .rgrid { grid-template-columns: 1fr; } }
.rcard { display: flex; gap: 10px; padding: 10px; border-radius: 14px; background: #292621; border: 1px solid #4d473e; transition: .35s; } .rcard.hidden { opacity: 0; transform: translateY(10px) scale(.96); } .rcard.pop { animation: rpop .4s; } @keyframes rpop { 0% { transform: scale(.9); } 60% { transform: scale(1.04); } }
.rc-av { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid #6e6557; } .rc-b { flex: 1; min-width: 0; } .rc-h { display: flex; justify-content: space-between; gap: 6px; align-items: flex-start; } .rc-h small { font: 700 11px Source Sans 3; color: #c9a977; display: block; } .rc-h b { font-size: 12px; color: #fff; display: block; } .rc-h em { font-size: 11px; color: #b0a695; font-style: normal; } .rc-b p { font-size: 11px; line-height: 1.4; color: #e6dcc9; margin-top: 5px; }
.badge { min-width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--display); color: #1a1204; background: #e0b05a; flex: none; box-shadow: 0 0 0 3px rgba(224, 176, 90, .25); } .badge.s1, .badge.s2, .badge.s3, .badge.s4 { background: #d98077; box-shadow: 0 0 0 3px rgba(209, 102, 91, .25); } .badge.s5, .badge.s6 { background: #e0b05a; } .badge.s9, .badge.s10 { background: #9bc07f; box-shadow: 0 0 0 3px rgba(143, 181, 115, .25); }
.launch-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; } .lg-l { display: flex; flex-direction: column; align-items: center; gap: 8px; } .lab-rep { width: 100%; background: var(--panel2); border-radius: 10px; padding: 8px; } .lab-rep h4 { font-size: 11px; color: var(--mut); margin-bottom: 4px; } .lab-rep .rv-bar { grid-template-columns: 1fr; } .lab-rep .rv-bar b { display: none; }
@media (max-width: 700px) { .launch-grid { grid-template-columns: 1fr; } }
.rb-foot { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; transition: opacity .4s; }
.modal.wide { width: min(860px, 100%); }
/* create dialog */
.cr-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; } .cr-head .thumb { transform: scale(.7); margin: -20px -14px; }
.cr-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; } @media (max-width: 700px) { .cr-grid { grid-template-columns: 1fr; } }
.rep-opt { display: flex; align-items: center; gap: 8px; font-size: 11.5px; padding: 4px 0; } .opt-card.off { opacity: .4; }

/* ---------------- studio chrome ---------------- */
#screen-studio.active { display: grid; grid-template-columns: minmax(0, 1fr); }
#screen-studio .left-panel { display: grid; grid-template-columns: 56px minmax(0, 1fr); position: absolute; left: 0; top: 0; bottom: 0; width: var(--lp); overflow-y: auto; overflow-x: hidden; z-index: 5; align-content: start; }
#screen-studio .left-panel > .panel-tabs { grid-column: 1; grid-row: 1 / span 10; position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; flex-wrap: nowrap; padding: 6px 4px; gap: 3px; height: calc(100dvh - var(--tb) - var(--sat) - var(--sab)); background: #1b1915; border-bottom: 0; border-right: 1px solid var(--line-b); }
#screen-studio .left-panel > div[id^="panel-"] { grid-column: 2; grid-row: 1; min-width: 0; }
.left-panel .panel-tab { position: relative; flex: 1 1 0; max-height: 64px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 10px; border-bottom: 0; padding: 4px 0; color: #b0a695; font-size: 11px; }
.left-panel .panel-tab i { font-size: 16px; } .left-panel .panel-tab b { position: absolute; top: 3px; left: 5px; font: 700 11px var(--num); opacity: .55; }
.left-panel .panel-tab.active { background: rgba(224, 176, 90, .14); color: #fff; box-shadow: inset 2px 0 0 var(--cyan); border-bottom: 0; }
#screen-studio .stage-area { position: absolute; left: var(--lp); right: 0; top: 0; bottom: 0; }
#screen-studio.lab-mode .left-panel { display: none; } #screen-studio.lab-mode .stage-area { left: 0; }
#screen-studio.lab-mode #proj-pill, #screen-studio.lab-mode #cost-box, #screen-studio.lab-mode #btn-specs { display: none; }
#screen-studio .right-panel { top: 0; }
@media (min-width: 1180px) { #screen-studio.active:not(.lab-mode) { grid-template-columns: minmax(0, 1fr); } #screen-studio .right-panel { position: absolute; transform: none; width: 270px; z-index: 5; } #screen-studio:not(.lab-mode) .stage-area { right: 270px; } #btn-specs { display: none; } }
#proj-pill { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 12px; background: rgba(36, 32, 28, .88); border: 1px solid var(--line-b); backdrop-filter: blur(8px); }
#proj-pill span { font: 700 11px Source Sans 3; color: #b0a695; } #proj-pill input { background: transparent; border: 0; outline: 0; color: #fff; font: 700 14px var(--display); width: 150px; padding: 4px 0; }
#btn-specs { top: 8px; left: 8px; z-index: 6; }
#cost-box { position: absolute; right: 10px; bottom: 10px; z-index: 6; width: 172px; background: rgba(36, 32, 28, .92); border: 1px solid var(--line-b); border-radius: 14px; padding: 9px 11px; backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 5px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.cb-top { display: flex; justify-content: space-between; align-items: baseline; } .cb-top span { font: 700 11px Source Sans 3; color: #b0a695; } .cb-top b { font: 700 19px var(--display); color: #e0b05a; }
.cb-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #cbbfa8; } .cb-row b { color: #fff; font: 700 11px var(--num); } .cb-row .stars { font-size: 11px; }
.cb-go { margin-top: 3px; height: 38px; border-radius: 11px; background: #e08a5a; color: #2a160c; font: 700 12px var(--display); display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 6px 16px rgba(217, 123, 74, .4); }
#screen-studio .view-controls { top: 52px; right: 8px; }
#screen-studio .dimension-display { top: auto; bottom: 10px; left: 10px; right: auto; transform: none; }
@media (max-height: 430px) { #cost-box { width: 150px; padding: 7px 9px; gap: 3px; } .cb-top b { font-size: 16px; } .cb-go { height: 34px; } #proj-pill input { width: 120px; } #screen-studio .dimension-display { display: none; } }
@media (max-width: 760px) { #screen-studio .dimension-display { display: none; } }
.fit-row { }
.stage-area .rd-layout { padding-top: 12px; }
@media (hover: none) { .hs:hover, .stand:hover { outline: 0; } }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation: none !important; transition: none !important; }

/* compact reviewer cards for short landscape screens */
.rcard { padding: 8px 10px; gap: 9px; } .rc-av { width: 44px; height: 44px; } .rc-b p { font-size: 11px; margin-top: 3px; line-height: 1.35; }
.badge { min-width: 28px; height: 28px; font-size: 13px; } .rb-over b { font-size: 32px; } .rb-top { margin-bottom: 8px; gap: 12px; }
.launch-grid { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; } .lg-l .thumb { height: 110px; margin: -10px 0; }
.sale-card .sc-ph .thumb { height: 120px; }

/* HQ rooms: art fills the card, labels overlay */
.room { display: block; } .rm-art { position: absolute; inset: 0; }
.rm-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 7px 4px; background: linear-gradient(transparent, rgba(15, 13, 12, .95)); }
.rm-act { position: absolute; top: 4px; left: 4px; display: flex; gap: 3px; flex-wrap: wrap; max-width: 70%; }
.rm-act .chip { background: rgba(16, 15, 13, .85); } .rm-era { display: none; }
.hq-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .hq-head > div { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

@media (pointer: coarse) { .lvls button { min-height: 34px; } .tgl { width: 52px; height: 32px; border-radius: 16px; } .tgl::after { width: 26px; height: 26px; } .tgl.on::after { left: 23px; } .hs { min-width: 24px; min-height: 24px; } }

/* proving ground */
.test-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; } @media (max-width: 700px) { .test-grid { grid-template-columns: 1fr; } }
.trow { display: flex; gap: 10px; align-items: center; padding: 6px 0; opacity: .35; transition: opacity .3s; } .trow.on { opacity: 1; }
.tr-i { width: 32px; height: 32px; border-radius: 10px; background: rgba(224, 176, 90, .12); color: var(--acc2); display: grid; place-items: center; flex: none; } .tr-b { flex: 1; min-width: 0; } .tr-b b { font-size: 11.5px; } .tr-s { font-size: 11px; } .tr-s small { color: var(--dim); font-size: 11px; }
.tr-b .bar { height: 8px; position: relative; margin-top: 4px; overflow: visible; } .tr-b .bar i { transition: width 1s cubic-bezier(.2, .8, .2, 1); } .tr-b .bar u { position: absolute; top: -3px; width: 2px; height: 14px; background: #fff; opacity: .7; }
.verdict { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; margin-bottom: 8px; background: var(--panel2); } .verdict i { font-size: 24px; } .verdict small { display: block; font: 700 11px Source Sans 3; color: var(--mut); } .verdict b { font: 700 16px var(--display); }
.verdict.good i, .verdict.good b { color: var(--good); } .verdict.gold i, .verdict.gold b { color: var(--acc2); } .verdict.bad i, .verdict.bad b { color: var(--bad); }
.flaws { margin-top: 8px; } .flaws > b { font-size: 11.5px; display: block; margin-bottom: 4px; color: var(--bad); } .flaws.ok > b { color: var(--good); }
.flaw { display: flex; gap: 8px; align-items: flex-start; padding: 6px 8px; border-radius: 9px; background: var(--panel2); margin-bottom: 4px; font-size: 11px; } .flaw small { display: block; font-size: 11px; color: var(--mut); } .flaw.sev3 { border: 1px solid rgba(209, 102, 91, .4); } .flaw.sev2 { border: 1px solid rgba(224, 176, 90, .35); }
.flaw input { margin-top: 2px; accent-color: var(--acc); }
/* trims */
.trims { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .trims > small { font: 700 11px Source Sans 3; color: var(--dim); margin-right: 2px; }
.trim { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line2); font-size: 11px; color: var(--mut); min-height: 32px; } .trim i { color: var(--acc2); } .trim b { color: var(--text); } .trim span { font-size: 11px; } .trim.on { border-color: rgba(143, 181, 115, .5); background: rgba(143, 181, 115, .08); }

.regsel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 6px; }
.rchip { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 10px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line2); color: var(--mut); text-align: left; min-height: 44px; }
.rchip i { color: var(--dim); } .rchip b { color: var(--text); font-size: 11px; } .rchip small { font-size: 11px; color: var(--dim); }
.rchip.on { border-color: rgba(217, 123, 74, .6); background: rgba(217, 123, 74, .08); } .rchip.on i { color: var(--acc2); }
.node.future.fut { opacity: .9; border-style: dashed; cursor: pointer; } .node.future.fut .nd-i { color: var(--acc2); }
#cr-price { background: var(--panel2); color: var(--text); border: 1px solid var(--acc); border-radius: 10px; padding: 6px 10px; }
#cr-price::placeholder { color: var(--dim); font-size: 13px; }

/* era bodies */
.body-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 4px 14px 10px; }
.bs-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 8px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); cursor: pointer; text-align: center; min-height: 92px; }
.bs-card b { font-size: 11px; color: var(--text); } .bs-card small { font-size: 11px; color: var(--dim); }
.bs-card.active { border-color: var(--acc); background: rgba(217, 123, 74, .08); } .bs-card.locked { opacity: .45; }
.bs-sil { position: relative; background: linear-gradient(160deg, #6b7388, #3a4152); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); flex: none; }
.bs-sil i { position: absolute; background: #0a0c12; } .bs-sil u { position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; border: 1px solid #9a9080; transform: translateX(-50%); } .bs-sil u.pill { width: 8px; height: 3px; border-radius: 2px; }
.era-bz { position: absolute; inset: 0; border-radius: inherit; border: 0 solid #060709; box-sizing: border-box; z-index: 24; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.era-home { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 26; pointer-events: none; display: none; }
.era-home.round { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #3a3f4d; background: radial-gradient(circle at 40% 35%, #20232c, #0a0b10); bottom: 14px; }
.era-home.pill { width: 36px; height: 14px; border-radius: 8px; border: 1.5px solid #3a3f4d; background: #0d0e14; bottom: 14px; }
.era-ear { position: absolute; left: 50%; top: 18px; width: 54px; height: 5px; border-radius: 3px; transform: translateX(-50%); background: #14161d; box-shadow: inset 0 1px 2px #000; z-index: 26; pointer-events: none; display: none; }
#phone[data-body="brick"] .screen-cutout, #phone[data-body="slab"] .screen-cutout, #phone[data-body="unibody"] .screen-cutout { display: none !important; }
#phone[data-body="brick"] .status-bar-ui, #phone[data-body="slab"] .status-bar-ui, #phone[data-body="unibody"] .status-bar-ui { top: 46px; }
.era-back { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
#phone[data-body="brick"] .era-back { background: linear-gradient(180deg, rgba(0,0,0,.16) 0, rgba(0,0,0,.16) 9%, transparent 9.2%, transparent 90.8%, rgba(0,0,0,.16) 91%); border-top: 0; box-shadow: inset 0 9.2% 0 -8.4% rgba(255,255,255,.1); }
#phone[data-body="slab"] .era-back { background: linear-gradient(180deg, transparent 0, transparent 91%, rgba(0,0,0,.14) 91.2%); }
#phone[data-body="unibody"] .era-back { background: linear-gradient(180deg, transparent 6.6%, rgba(0,0,0,.35) 6.8%, transparent 7.2%, transparent 92.6%, rgba(0,0,0,.35) 92.8%, transparent 93.2%); }

.era-depth { position: absolute; inset: -1.5px; transform-style: preserve-3d; pointer-events: none; z-index: 0; }
.era-depth i, .era-depth b { position: absolute; inset: 0; display: block; backface-visibility: visible; }
.era-depth b { background: linear-gradient(160deg, #15171f, #05060a); }
#phone-frame { z-index: 0; }

.era-depth i { }
.ed-face { position: absolute; transform-style: preserve-3d; overflow: visible; }
.ed-face .ed-btn { position: absolute; left: 16%; right: 16%; border-radius: 3px; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(255,255,255,.55) 40%, rgba(255,255,255,.25) 70%, rgba(0,0,0,.45)); box-shadow: 0 0 0 1px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.6); transform: translateZ(1.6px); }
.ed-seam { position: absolute; left: 0; right: 0; height: 2px; background: rgba(8,9,12,.75); box-shadow: 0 1px 0 rgba(255,255,255,.25); }
.ed-sim { position: absolute; left: 18%; width: 64%; height: 3px; border-radius: 2px; background: rgba(8,9,12,.7); box-shadow: 0 1px 0 rgba(255,255,255,.2); transform: translateZ(.4px); }
.ed-sim::after { content: ''; position: absolute; right: -10%; top: -1px; width: 4px; height: 4px; border-radius: 50%; background: #05060a; }
.ed-usb { position: absolute; left: 50%; top: 50%; width: 30px; height: 9px; margin: -4.5px 0 0 -15px; border-radius: 5px; background: #07080c; box-shadow: inset 0 1px 2px #000, 0 0 0 1.5px rgba(255,255,255,.25); }
.ed-holes { position: absolute; top: 50%; display: flex; gap: 4px; margin-top: -2px; } .ed-holes.l { left: 14%; } .ed-holes.r { right: 14%; }
.ed-holes u { width: 4px; height: 4px; border-radius: 50%; background: #07080c; box-shadow: 0 0 0 .5px rgba(255,255,255,.2); }
.ed-mic { position: absolute; right: 24%; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #07080c; }

.era-bump { position: absolute; left: 3px; top: 3px; width: 0; height: 0; transform-style: preserve-3d; pointer-events: none; z-index: 12; }
.era-bump > i { position: absolute; display: block; }
.era-bump .barrel { position: absolute; border-radius: 50%; background: linear-gradient(145deg, #5a5a64, #17171c); display: block; }
