html,body{scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}
.gm-shell,.gm-shell *{box-sizing:border-box}
.gm-nav{flex-wrap:wrap}
.gm-card-header,.gm-header,.gm-header > div,.gm-card-header > div{flex-wrap:wrap;max-width:100%}
#account-search-input{min-width:0 !important;flex:1 1 160px;max-width:100%}
.gm-page{min-height:100vh;background:#081821;color:#eaf4f4}
.gm-layout{width:min(1120px,calc(100% - 2rem));margin:2.5rem auto;padding-bottom:5rem}
.gm-layout h1{font-size:clamp(2rem,5vw,3.5rem);margin:.25rem 0 1rem}
.gm-layout h2{font-size:1.35rem;margin:0 0 .65rem;letter-spacing:.03em;text-transform:uppercase;color:#f1f5f9}
.gm-command-deck-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.25rem;flex-wrap:wrap;margin-bottom:1.5rem;padding:1.1rem 1.25rem;background:linear-gradient(180deg,#0f1c26 0%,#0b151d 100%);border:1px solid #2d4a58;border-radius:10px}
#gm-access{color:#bcd9dd;margin:.35rem 0 0;font-family:monospace;font-size:.9rem}
.gm-ocd-bar{display:flex;gap:.85rem;flex-wrap:wrap;align-items:center}
.gm-ocd-widget{display:flex;align-items:center;gap:.65rem;padding:.5rem .8rem;background:#09131b;border:1px solid #284250;border-radius:8px}
.gm-ring-base{stroke:#1c313d}
.gm-ring-fill{stroke:#28d07a;transform:rotate(-90deg);transform-origin:18px 18px;transition:stroke-dashoffset .25s ease}
.gm-ring-fill.ring-crimson{stroke:#e5484d}
.gm-ocd-label{display:flex;align-items:center;gap:.35rem;font-size:.68rem;letter-spacing:.08em;color:#93b0b8;font-weight:700}
.gm-ocd-value{font-family:monospace;font-size:.82rem;font-weight:700;color:#eaf4f4}
.gm-ocd-led{display:inline-block;width:8px;height:8px;border-radius:50%}
.led-green{background:#28d07a;box-shadow:0 0 6px #28d07a}
.led-amber{background:#e2a93b;box-shadow:0 0 6px #e2a93b}
.led-crimson{background:#e5484d;box-shadow:0 0 6px #e5484d}
.led-slate{background:#64748b}
.gm-ocd-seal-pill{display:inline-block;padding:.25rem .55rem;background:#102430;border:1px solid #3c6270;border-radius:5px;font-family:monospace;font-size:.76rem;color:#e2a93b}
#gm-search,#gm-dossier,#gm-moderation,#gm-punish,#gm-audit,#gm-village-rename,#gm-resource-edit,#gm-gold-edit,#gm-multiaccount{background:#102c38;border:1px solid #3e6770;border-radius:14px;padding:clamp(1rem,3vw,2rem);margin-bottom:1.25rem}
#gm-search-form,#gm-dossier-form,#gm-moderation-form,#gm-punish-form,#gm-village-rename-form,#gm-resource-edit-form,#gm-gold-edit-form{display:flex;gap:1rem;flex-wrap:wrap;align-items:end;margin:1.5rem 0}
#gm-search-form label,#gm-dossier-form label,#gm-moderation-form label,#gm-punish-form label,#gm-village-rename-form label,#gm-resource-edit-form label,#gm-gold-edit-form label{display:grid;gap:.4rem;min-width:min(170px,100%);flex:1}
#gm-search-form input,#gm-search-form select,#gm-dossier-form input,#gm-dossier-form select,#gm-moderation-form input,#gm-moderation-form select,#gm-punish-form input,#gm-punish-form select,#gm-village-rename-form input,#gm-resource-edit-form input,#gm-gold-edit-form input{width:100%;box-sizing:border-box;padding:.7rem;border:1px solid #3c6270;border-radius:7px;background:#09161e;color:#eaf4f4}
#gm-search-form button,#gm-dossier-form button,#gm-moderation-form button,#gm-punish-form button,#gm-village-rename-form button,#gm-resource-edit-form button,#gm-gold-edit-form button,#gm-multiaccount button,.gm-pager button{padding:.7rem 1rem;border:1px solid #a6cfcc;border-radius:7px;background:#cbe9df;color:#10242d;font-weight:700;cursor:pointer}
#gm-search-form button:disabled,#gm-dossier-form button:disabled,#gm-moderation-form button:disabled,#gm-punish-form button:disabled,#gm-village-rename-form button:disabled,#gm-resource-edit-form button:disabled,#gm-gold-edit-form button:disabled,#gm-multiaccount button:disabled,.gm-pager button:disabled{opacity:.55;cursor:default}
#gm-results,#gm-bans{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.6rem}
#gm-results li,#gm-bans li,.gm-dossier-card{padding:.9rem 1rem;background:#173844;border:1px solid #3e6770;border-radius:8px;overflow-wrap:anywhere}
#gm-audit-events,#gm-ban-history{padding-left:1.5rem;display:grid;gap:.6rem}
#gm-audit-events li,#gm-ban-history li{padding:.8rem;background:#173844;border:1px solid #3e6770;border-radius:8px;overflow-wrap:anywhere}
#gm-audit-operation{padding:.7rem;border:1px solid #3c6270;border-radius:7px;background:#09161e;color:#eaf4f4}
.gm-result-icon{vertical-align:middle;margin-right:.7rem}
.gm-pager{display:flex;gap:1rem;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.gm-preview-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}
.gm-badge-pending{padding:.25rem .6rem;border-radius:5px;border:1px solid #e2a93b;background:rgba(226,169,59,.14);color:#ffd380;font-family:monospace;font-size:.75rem;font-weight:700}
.gm-radar-preview-grid{display:flex;gap:1.25rem;align-items:center;flex-wrap:wrap;margin-top:.75rem}
#studio-tick-scrollbar{position:fixed;right:4px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:flex-end;gap:4px;z-index:900;pointer-events:none}
#studio-tick-scrollbar .tick-line{display:block;height:1.5px;width:5px;background:rgba(148,163,184,.35);border-radius:2px;transition:width .08s linear,background .12s ease}
#studio-tick-scrollbar .tick-line.major{background:rgba(226,169,59,.55)}
#studio-tick-scrollbar .tick-line.active-peak{background:#e2a93b;box-shadow:0 0 6px #e2a93b}
.gm-page :focus-visible,.gm-layout :focus-visible{outline:3px solid #ffd380;outline-offset:3px}
@media (max-width:600px){
  .gm-shell{padding:12px 12px 48px}
  .gm-layout{width:calc(100% - 1.5rem);margin:1.25rem auto}
  #studio-tick-scrollbar{display:none}
}
