:root {
  --bg: #0b0e14; --panel: #131826; --panel2: #1a2133; --line: #26304a; --text: #e6eaf2; --muted: #8a94ad;
  --accent: #6c5ce7; --accent2: #00d1b2; --pos: #3ddc84; --neg: #ff5c6c; --gold: #ffd700;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --cellw: 120px; --tabh: 58px; color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { min-height: 100vh; padding-top: var(--safe-t); -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h2 { margin: 12px 0 8px; font-size: clamp(1.2rem, 4vw, 1.5rem); } h3 { margin: 18px 0 8px; font-size: 1.05rem; } h4 { margin: 14px 0 6px; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em; word-break: break-all; background: #0007; padding: 1px 4px; border-radius: 4px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); } .small { font-size: .82rem; } .pos { color: var(--pos); } .neg { color: var(--neg); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; } .row.center { justify-content: center; }

/* ---------- каркас */
.shell { max-width: 1100px; margin: 0 auto; padding: 0 12px calc(var(--tabh) + var(--safe-b) + 100px); }
header.top { display: flex; align-items: center; gap: 8px; padding: 10px 0; position: sticky; top: var(--safe-t); z-index: 20; background: linear-gradient(var(--bg) 82%, transparent); }
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: .5px; flex: 1; } .logo span, h1 span { color: var(--accent2); }
.bal { background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; transition: background .4s; } .bal.flash { background: #1f3a33; }
.ico-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel2); cursor: pointer; font-size: 1.1rem; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: #0d1220f2; backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.tab { flex: 1; min-height: var(--tabh); border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); }
.tab.on { color: var(--text); box-shadow: inset 0 3px var(--accent2); } .ti { font-size: 1.25rem; } .tn { font-size: .72rem; }
.boot { text-align: center; margin-top: 30vh; color: var(--muted); } .big-err { margin: 20vh 16px; }

/* ---------- кнопки, поля, чипы */
.btn { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel2); cursor: pointer; position: relative; transition: transform .08s, filter .15s; }
.btn:hover { filter: brightness(1.15); } .btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, var(--accent), #8e7bff); border-color: transparent; font-weight: 600; }
.btn.ghost { background: transparent; } .btn.big { min-height: 52px; font-size: 1.05rem; padding: 0 24px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
body.busy [data-lock] { pointer-events: none; opacity: .6; }                     /* пока идёт действие — повторные нажатия невозможны */
.btn.loading::after { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 2px solid #fff5; border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner { display: inline-block; width: 1em; height: 1em; border: 2px solid #fff4; border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -.15em; margin-right: 6px; }
.spinner.big { width: 36px; height: 36px; border-width: 3px; margin-bottom: 10px; }
input, select { width: 100%; min-height: 44px; background: #0d1220; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; }
input[type=checkbox] { width: auto; min-height: 0; } .row > input, .row > select, .row > label { flex: 1 1 140px; min-width: 0; }
.search { margin: 6px 0; } label { display: block; } .chk { display: flex; gap: 6px; align-items: center; flex: 0 0 auto !important; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel2); cursor: pointer; font-size: .85rem; opacity: .55; }
.chip.on { opacity: 1; border-color: var(--c, var(--accent2)); box-shadow: 0 0 8px -2px var(--c, var(--accent2)); } .stats .chip, .chips > span.chip { cursor: default; opacity: 1; display: inline-flex; align-items: center; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.err { color: var(--neg); background: #3a1620; border: 1px solid #6b2030; border-radius: 10px; padding: 8px 12px; margin: 8px 0; }
.empty { text-align: center; color: var(--muted); padding: 28px 8px; } .empty.small { padding: 10px; }
.login { max-width: 420px; margin: 10vh auto 0; padding: 0 16px; text-align: center; } .login h1 { font-size: 2.2rem; margin: 0 0 6px; }
.login label { text-align: left; margin: 10px 0; color: var(--muted); }

/* ---------- карточки скинов и свечение редкости */
.r0 { --c: #B0C3D9; --g: 0; } .r1 { --c: #5E98D9; --g: 1; } .r2 { --c: #4B69FF; --g: 2; } .r3 { --c: #8847FF; --g: 3; }
.r4 { --c: #D32CE6; --g: 4; } .r5 { --c: #EB4B4B; --g: 5; } .r6 { --c: #FFD700; --g: 6; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; } .grid.cases { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.grid.scroll { max-height: 56vh; overflow: auto; padding: 4px; }
.card { position: relative; background: linear-gradient(160deg, var(--panel2), var(--panel)); border-radius: 12px; padding: 8px; overflow: hidden; box-shadow: 0 0 calc(2px + var(--g, 0) * 3px) var(--c, transparent); transition: transform .12s; min-width: 0; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--c, var(--line)); opacity: .55; pointer-events: none; }
.card.act { cursor: pointer; } .card.act:hover { transform: translateY(-2px); }
.card.sel { outline: 2px solid var(--accent2); transform: translateY(-2px); }
.card .ico { width: 100%; border-radius: 8px; background: #0a0d15; aspect-ratio: 5 / 3; object-fit: cover; }
.card .nm { font-weight: 600; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .fn { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .ft { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; margin-top: 4px; gap: 4px; }
.card.small { padding: 6px; } .card.small .nm { font-size: .85rem; } .card.small .fn { display: none; }
.wear { padding: 1px 6px; border-radius: 6px; background: #0006; font-size: .72rem; } .w0 { color: #7dffb0; } .w1 { color: #b9ff7d; } .w2 { color: #ffe27d; } .w3 { color: #ffb27d; } .w4 { color: #ff8f8f; }
.card.r5::after, .card.r6::after, .result.r5::after, .result.r6::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 40%, #ffffff38 50%, transparent 60%); background-size: 250% 100%; }
@media (prefers-reduced-motion: no-preference) { .card.r5::after, .card.r6::after, .result.r5::after, .result.r6::after { animation: shine 3.2s linear infinite; } }
.skeleton { min-height: 140px; border: 0; background: linear-gradient(90deg, #161c2c 25%, #20283d 37%, #161c2c 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; box-shadow: none; }
.skeleton::before { display: none; }

/* ---------- кейсы и рулетка */
.case-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px 8px; background: var(--panel); cursor: pointer; text-align: center; transition: transform .12s, box-shadow .2s; }
.case-card:hover { transform: translateY(-3px); } .case-ico { font-size: 2.6rem; filter: drop-shadow(0 0 8px var(--c)); } .case-card .price { color: var(--gold); font-weight: 700; margin-top: 4px; }
.k-green { --c: #3ddc84; } .k-blue { --c: #4B69FF; } .k-gold { --c: #FFD700; box-shadow: 0 0 14px -4px var(--c); }
.stats { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); margin: 6px 0; } .stats b { color: var(--text); }
.roulette { position: relative; height: calc(var(--cellw) * .92); overflow: hidden; border-radius: 14px; background: #0a0d15; border: 1px solid var(--line); margin: 12px 0; }
.roulette.mini { height: 78px; --cellw: 84px; margin: 6px 0; }
.rl-pointer { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--gold); box-shadow: 0 0 10px var(--gold); z-index: 2; }
.rl-strip { display: flex; height: 100%; will-change: transform; }
.cell { flex: 0 0 var(--cellw); width: var(--cellw); height: 100%; padding: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #0006; border-bottom: 4px solid var(--c, #333); background: linear-gradient(180deg, transparent 55%, #ffffff0d); }
.cell img { width: 100%; max-height: 64%; object-fit: cover; border-radius: 6px; } .cell span { font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.roulette.mini .cell span { display: none; }
.result { position: relative; overflow: hidden; margin: 14px 0; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--c, var(--line)); box-shadow: 0 0 calc(10px + var(--g, 0) * 4px) -4px var(--c, transparent); text-align: center; animation: pop .35s ease; }
.result .big-ico { max-width: 260px; margin: 0 auto 8px; } .result .big-ico img { border-radius: 10px; width: 100%; } .nm.big { font-size: 1.15rem; font-weight: 700; }
.banner { font-size: 1.6rem; font-weight: 800; } .result.win .banner { color: var(--pos); } .result.lose .banner { color: var(--neg); } .val { font-size: 1.3rem; font-weight: 700; margin: 6px 0; color: var(--gold); }
.verify { margin: 8px 0; padding: 8px 10px; border-radius: 10px; background: #0007; font-size: .88rem; white-space: pre-wrap; text-align: left; }

/* ---------- инвентарь */
.filters { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 10px; }
.inv-sum { color: var(--muted); margin: 8px 0; }
.selbar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabh) + var(--safe-b)); z-index: 25; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 12px; background: #10162af5; border-top: 1px solid var(--line); }
#selbar:empty { display: none; } .selbar-space { height: 76px; } .selbar .row { margin: 0; }

/* ---------- апгрейд */
.up-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; } .mults { display: flex; gap: 6px; flex-wrap: wrap; } .mults .chip { opacity: 1; }
.wheel-box { margin: 8px 0; } .wheel { width: min(260px, 70vw); display: block; margin: 0 auto; }
.w-bg { fill: #1b2236; stroke: var(--line); } .w-win { fill: var(--pos); opacity: .9; } .w-hole { fill: var(--panel); } .w-ptr { fill: var(--gold); filter: drop-shadow(0 0 3px #000); }
.w-txt { fill: #fff; font-size: 22px; font-weight: 700; text-anchor: middle; } .w-sub { fill: var(--muted); font-size: 10px; text-anchor: middle; }
.up-info { text-align: center; margin: 8px 0; }
.hist-mini, .hist { display: flex; flex-direction: column; gap: 6px; }
.hrow { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 8px 10px; background: var(--panel); border-radius: 10px; border-left: 4px solid var(--line); }
.hrow.win { border-left-color: var(--pos); } .hrow.lose { border-left-color: var(--neg); } .hrow .what { flex: 1 1 160px; min-width: 0; } .hk { font-weight: 700; }
.fair .search { min-width: 0; } .seedrow { padding: 6px 0; border-top: 1px solid var(--line); }

/* ---------- баттлы */
.lobbies { display: grid; gap: 8px; } .lobby { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.case-pick .chip { opacity: .6; }
.room-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .badge { padding: 2px 10px; border-radius: 999px; background: var(--panel2); font-size: .8rem; } .badge.ph1 { background: #5a4a00; } .badge.ph2 { background: #0f4a3a; } .badge.ph3 { background: #3a2a6a; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 10px 0; }
.slot { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 0; } .slot.me { border-color: var(--accent2); }
.slot.winner { border-color: var(--gold); box-shadow: 0 0 18px #ffd70055; } .slot.loser { opacity: .7; } .empty-slot { display: flex; align-items: center; justify-content: center; color: var(--muted); min-height: 120px; border-style: dashed; }
.slot-head { display: flex; justify-content: space-between; gap: 6px; } .nick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drops { display: flex; flex-wrap: wrap; gap: 4px; min-height: 40px; } .chip-drop { width: 62px; border-radius: 8px; overflow: hidden; border-bottom: 3px solid var(--c); background: #0a0d15; text-align: center; font-size: .68rem; }
.room-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }

/* ---------- модалки, тосты, ошибки */
.modal-root { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; }
.modal-back { position: absolute; inset: 0; background: #000b; }
.modal { position: relative; width: min(560px, calc(100% - 24px)); max-height: 88vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; animation: pop .2s ease; }
.odds { display: flex; flex-direction: column; gap: 4px; } .orow { display: grid; grid-template-columns: 62px 1fr auto auto; gap: 8px; align-items: center; padding: 4px 8px; border-left: 3px solid var(--c); background: #0006; border-radius: 6px; font-size: .88rem; }
.orow .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pct { font-weight: 700; }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabh) + var(--safe-b) + 12px); z-index: 80; display: flex; flex-direction: column; gap: 6px; width: min(92vw, 420px); pointer-events: none; }
.toast { padding: 10px 14px; border-radius: 10px; background: #222a40; border: 1px solid var(--line); animation: pop .2s ease; } .toast.err { background: #3a1620; border-color: #6b2030; } .toast.ok { background: #12332a; border-color: #1f6b4f; }
.warn { margin: 12px 0; padding: 10px 12px; border: 1px solid #b8860b; border-radius: 10px; background: rgba(184, 134, 11, .15); color: #ffd966; font-size: .88rem; line-height: 1.35; }
.conn-bar { position: fixed; top: var(--safe-t); left: 0; right: 0; z-index: 70; background: #b8860b; color: #000; text-align: center; padding: 4px; font-weight: 600; }
.fatal { position: fixed; inset: 0; z-index: 100; background: #000d; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fatal-card { background: var(--panel); border: 1px solid var(--neg); border-radius: 16px; padding: 20px; max-width: 460px; text-align: center; }

/* ---------- адаптив (телефон — первым) */
@media (max-width: 720px) { .up-grid { grid-template-columns: 1fr; } .tn { font-size: .66rem; } .grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); } :root { --cellw: 104px; } .modal { width: 100%; height: 100%; max-height: none; border-radius: 0; } }
@media (min-width: 721px) { .tabs { max-width: 640px; left: 50%; right: auto; width: 100%; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 14px 14px 0 0; } }
@media (min-width: 1000px) { :root { --cellw: 150px; } .roulette { height: 150px; } }

@keyframes spin { to { transform: rotate(360deg); } } @keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -100% 0; } } @keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.case-ico img { display: block; width: 96px; height: auto; aspect-ratio: 5 / 3; object-fit: contain; margin: 0 auto; }

/* ───────── v4: символ валюты, «Ещё», профиль, рынок, лента, рейтинг ───────── */
.coin { display: inline-block; width: .82em; height: .82em; margin-left: .28em; vertical-align: -.08em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3a8, var(--gold) 45%, #b8860b); box-shadow: inset 0 0 0 .1em #a67c00, 0 0 .3em #ffd70055; }
.bal .coin { margin: 0 .35em 0 0; }
.menu { display: grid; gap: 8px; }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: inherit; cursor: pointer; min-height: 52px; font: inherit; }
.menu-item small { display: block; } .menu-item > span:nth-child(2) { flex: 1; min-width: 0; } .mi { font-size: 1.4rem; }
.mscroll { max-height: 50vh; overflow: auto; }
.daily { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 12px; border-color: var(--accent); } .daily.done { border-color: var(--line); opacity: .85; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); } .kv:last-of-type { border-bottom: 0; } .kv b { text-align: right; }
.who { display: flex; align-items: center; gap: 12px; }
.av { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; font-size: 1.25rem; border-radius: 50%; background: var(--panel2); border: 1px solid var(--line); color: inherit; } .av.big { width: 56px; height: 56px; font-size: 2rem; }
button.av { cursor: pointer; } button.av.on { border-color: var(--accent2); box-shadow: 0 0 8px -2px var(--accent2); } .avs { display: flex; flex-wrap: wrap; gap: 6px; }
.lb, .feed, .mlist { display: grid; gap: 6px; margin-top: 8px; }
.lbrow, .feedrow, .mrow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--panel); border-radius: 10px; border-left: 4px solid var(--c, var(--line)); }
.lbrow.me { border-left-color: var(--accent2); } .lbrow .rk { width: 28px; font-weight: 700; color: var(--muted); text-align: center; } .lbrow .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw { flex: 1; min-width: 0; } .fv { text-align: right; } .fn { font-weight: 600; }
.mrow img { width: 56px; height: 42px; object-fit: contain; flex: 0 0 auto; } .mw { flex: 1; min-width: 0; display: grid; } .mw .fn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mp { display: grid; text-align: right; }
.modal-card h3 { margin-top: 0; } .modal-card .row { margin-top: 12px; }
code.sel { user-select: all; word-break: break-all; }
.conn-bar .btn { min-height: 28px; padding: 0 10px; margin-left: 8px; }
.skel-wrap { display: grid; gap: 8px; }

/* ───────── светлая тема: выбор в «Настройках» (по умолчанию — как в системе) ───────── */
html[data-theme="light"] { --bg: #f2f4f9; --panel: #ffffff; --panel2: #e9edf6; --line: #cfd6e6; --text: #151a28; --muted: #5a6580; --accent2: #00957f; --pos: #14833b; --neg: #c8283a; --gold: #c99a00; color-scheme: light; }
@media (prefers-color-scheme: light) { html[data-theme="auto"] { --bg: #f2f4f9; --panel: #ffffff; --panel2: #e9edf6; --line: #cfd6e6; --text: #151a28; --muted: #5a6580; --accent2: #00957f; --pos: #14833b; --neg: #c8283a; --gold: #c99a00; color-scheme: light; } }
html[data-theme="light"] header.top, html[data-theme="auto"] header.top { background: linear-gradient(var(--bg) 82%, transparent); }
html[data-theme="light"] .modal-back { background: #0007; }
/* отключение анимаций для слабых телефонов */
html[data-anim="off"] *, html[data-anim="off"] *::before, html[data-anim="off"] *::after { animation: none !important; transition: none !important; }
html[data-anim="reduced"] .case-card, html[data-anim="reduced"] .card, html[data-anim="reduced"] .result { animation-duration: .01s !important; }

/* ───────── планшет и ПК: боковая панель вместо нижней, шире сетки ───────── */
@media (min-width: 900px) {
  .shell { padding-left: 124px; padding-bottom: 40px; }
  .tabs { left: max(8px, calc((100vw - 1100px) / 2)); right: auto; top: 96px; bottom: auto; width: 100px; transform: none; flex-direction: column; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); height: auto; }
  .tab { min-height: 72px; } .tab.on { box-shadow: inset 3px 0 var(--accent2); } .tn { font-size: .8rem; }
  .grid.cases { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .menu { grid-template-columns: 1fr 1fr; }
  .selbar { left: 124px; bottom: 0; }
}
@media (min-width: 1400px) { .shell { max-width: 1280px; } .tabs { left: max(8px, calc((100vw - 1280px) / 2)); } }

/* боты и админ-панель */
.bot-tag { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .04em; padding: 1px 5px; margin-left: 4px; border-radius: 6px; background: var(--line); color: var(--muted); vertical-align: middle; }
.adm-row { width: 100%; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; min-height: 52px; }
.adm-row .av { font-size: 1.4rem; }
.btn.danger { background: #7a1f2b; border-color: #a02c3b; color: #fff; }
.btn.small { padding: 6px 10px; min-height: 36px; font-size: .8rem; }
#adm-wear { margin: 8px 0; }
