/* TeamGhost · Signet
   Graphite surfaces, recessed controls and warm metallic highlights.
   Layout/behaviour live in app.css; this layer owns the visual identity. */
:root {
  color-scheme: dark;
  --bg-0: #08090d;
  --bg-1: #101117;
  --bg-2: #151720;
  --bg-3: #1c1e28;
  --bg-4: #252733;
  --line: #2b2c36;
  --text: #f0eee8;
  --text-2: #c4c3ca;
  --muted: #9595a3;
  --accent: #d8b66c;
  --accent-2: #f1dca4;
  --accent-soft: rgba(216, 182, 108, .1);
  --accent-glow: rgba(216, 182, 108, .18);
  --success: #8bb49e;
  --danger: #e48d91;
  --warning: #e1be75;
  --radius: 14px;
  --rail-w: 80px;
  --side-w: 250px;
  --metal: linear-gradient(110deg, #a27a30 0%, #ceaa5f 35%, #f3dfa8 82%, #e6cc8a 100%);
  --raised: linear-gradient(135deg, #1b1d28 0%, #13151e 58%, #191a24 100%);
  --recessed: inset 3px 4px 9px #06070a, inset -2px -2px 5px rgba(75, 77, 96, .14);
  --lifted: 6px 8px 18px rgba(0, 0, 0, .38), inset 1px 1px 0 rgba(255, 255, 255, .035);
}
body { background: #08090c; font-size: 14px; letter-spacing: .005em; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { transition: background .18s, color .18s, box-shadow .18s, transform .18s; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
::selection { color: var(--text); background: #66512a; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #363640; border: 1px solid var(--bg-1); }
input::placeholder, textarea::placeholder { color: #898996; opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* The same physical controls on every screen. */
.gold-native-select { display: none !important; }
.input.gold-select {
  display: flex; align-items: center; gap: 16px; text-align: left; min-height: 46px;
  width: 100%; min-width: 0; max-width: 100%; cursor: pointer; font-weight: 500; font-size: 13px;
}
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid2 > *, .field { min-width: 0; }
.settings-layout, .settings-content { min-width: 0; max-width: 100%; }
.modal-body { overflow-x: hidden; }
@media (max-width: 640px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.gold-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gold-select-arrow { width: 7px; height: 7px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(45deg); flex-shrink: 0; margin: -4px 3px 0 0; transition: transform .18s; }
.gold-select[aria-expanded="true"] { border-color: #b49656; box-shadow: var(--recessed), 0 0 0 3px #d8b66c0c; }
.gold-select[aria-expanded="true"] .gold-select-arrow { transform: rotate(225deg); margin-top: 3px; }
.gold-select:disabled { opacity: .5; cursor: not-allowed; }
.gold-select-menu {
  position: fixed; z-index: 500; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  padding: 6px; border: 1px solid #b99b5c55; border-radius: 14px;
  background: linear-gradient(135deg, #20222e, #12141d 80%);
  box-shadow: 0 18px 45px #000b, inset 0 1px 0 #ffffff08;
  scrollbar-width: thin; scrollbar-color: #625237 transparent;
}
.gold-option {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 11px 12px; border: 1px solid transparent; border-radius: 9px;
  color: #d0cdd7; font-size: 13px; line-height: 1.5; cursor: pointer;
}
.gold-option > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gold-option-check { width: 15px; flex-shrink: 0; color: var(--accent-2); }
.gold-option[aria-selected="true"] { color: #f1dca4; background: #d8b66c0a; }
.gold-option.highlighted { background: linear-gradient(105deg, #d8b66c20, #d8b66c0a); border-color: #d8b66c25; color: #f3dfb0; }
.gold-option[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.list-row .gold-select { width: 180px; min-width: 0; max-width: 100%; flex: 0 1 180px; }
@media (max-width: 760px) { .gold-select-menu { border-radius: 15px; } .gold-option { min-height: 48px; } .list-row .gold-select { flex: 1; max-width: 100%; } }
.btn {
  min-height: 42px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 12px; background: var(--raised); box-shadow: var(--lifted);
  font-weight: 600; letter-spacing: .02em;
}
.btn:hover { background: linear-gradient(135deg, #272935, #1b1d27); border-color: #45413a; }
.btn:active { box-shadow: var(--recessed); transform: translateY(1px); }
.btn-primary, .btn-primary:hover, .tab.tab-cta.active {
  background: var(--metal); color: #33250e; border-color: #aa8643;
  box-shadow: inset 0 1px 2px #f9e7b8, inset 0 -2px 3px #9a7736, 0 4px 16px #0006;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { filter: brightness(.95); box-shadow: inset 0 2px 5px #7f5e2d; }
.btn-ghost { background: transparent; box-shadow: none; border-color: transparent; }
.btn-ghost:hover { background: #ffffff05; border-color: #ffffff09; }
.btn-danger { color: #f5b4b6; background: linear-gradient(135deg, #4a292e, #2c1c23); border-color: #744149; }
.btn-danger:hover { background: #563037; border-color: #ab6069; }
.btn-sm { min-height: 32px; padding: 6px 11px; font-size: 12px; }
.btn-link { color: var(--accent-2); text-underline-offset: 4px; }
.icon-btn { border-radius: 10px; color: #9b9aa7; }
.icon-btn:hover { color: var(--accent-2); background: #ffffff05; box-shadow: inset 0 0 0 1px #d8b66c22; }
.input, textarea.input, select.input, .main-header .search-box .input {
  background: #0d0f16; border: 1px solid #ffffff03; border-radius: 13px;
  box-shadow: var(--recessed); padding: 12px 14px; color: var(--text);
}
.input:focus, textarea.input:focus, select.input:focus {
  border-color: #b49656; box-shadow: var(--recessed), 0 0 0 3px #d8b66c10;
}
.field { gap: 9px; margin-bottom: 20px; }
.field label { color: #b6b4bd; font-size: 10px; letter-spacing: .15em; font-weight: 600; }
.field .hint { line-height: 1.6; }
.tabs { gap: 8px; padding-bottom: 10px; border-color: #ffffff08; }
.tab { border: 1px solid transparent; border-radius: 10px; margin: 0; font-size: 13px; }
.tab.active { color: var(--accent-2); border-color: #d8b66c25; background: #0d0f16; box-shadow: var(--recessed); }
.tab.tab-cta.active { border-radius: 10px; }
.badge { background: var(--metal); color: #2b210f; box-shadow: 0 2px 6px #0005; }
.pill { border-radius: 6px; font-size: 9px; letter-spacing: .12em; padding: 4px 7px; }
.divider { background: linear-gradient(90deg, transparent, #ffffff10, transparent); }

/* Entry: one sculpted card and a warm edge, as in the reference. */
#auth {
  overflow-y: auto; padding: 64px 0;
  background: radial-gradient(ellipse at 25% 10%, #d8b66c08, transparent 48%),
    radial-gradient(ellipse at 80% 85%, #44435f13, transparent 50%), #07080b;
}
.auth-card {
  width: 480px; padding: 42px 44px 36px; flex-shrink: 0;
  border: 1px solid transparent; border-radius: 34px;
  background: linear-gradient(135deg, #171a25, #10121a 58%, #191923) padding-box,
    linear-gradient(140deg, #ffffff08 5%, #ffffff03 60%, #d8b66c95 100%) border-box;
  box-shadow: 20px 30px 75px #0009, -8px -8px 32px #24263113, inset 1px 1px 0 #ffffff03;
}
.auth-logo { flex-direction: column; gap: 22px; margin: 0 0 14px; text-align: center; }
.auth-logo .ghost {
  width: 66px; height: 66px; padding: 16px; border-radius: 20px;
  background: linear-gradient(145deg, #191b25, #0e1017); box-shadow: var(--lifted);
  filter: none;
}
.auth-logo h1 { font-size: 31px; font-weight: 500; letter-spacing: -.055em; }
.auth-logo h1 span { color: var(--accent-2); font-weight: 600; }
.auth-card p.tagline { text-align: center; font-size: 13px; line-height: 1.7; margin: 0 auto 32px; max-width: 290px; color: #a4a2af; }
.auth-card .input { min-height: 54px; border-radius: 15px; }
.auth-card .btn-primary { min-height: 54px; border-radius: 15px; letter-spacing: .15em; text-transform: uppercase; font-size: 11px; }
.auth-switch { text-align: center; margin-top: 26px; color: #a4a2af; font-size: 12px; line-height: 1.9; }
.auth-switch .btn-link { margin-left: 5px; }
.auth-lang { top: 24px; right: 28px; }
.auth-lang .btn { color: var(--accent-2); letter-spacing: .15em; border: 1px solid #d8b66c20; }

/* Workspace: separate, softly lit surfaces instead of flat colour blocks. */
#app { padding: 14px 14px 14px 0; gap: 12px; background: radial-gradient(ellipse at 70% -30%, #2a28384a, transparent 65%), #090a0e; }
#rail { background: transparent; padding: 14px 10px; gap: 14px; width: var(--rail-w); }
.rail-item, .rail-btn { width: 48px; height: 48px; }
.rail-btn, .rail-btn.home { border-radius: 16px; background: var(--raised); border: 1px solid #ffffff04; box-shadow: var(--lifted); }
.rail-btn:hover, .rail-item.active .rail-btn { background: var(--metal); color: #31250f; border-color: #d6b674; box-shadow: inset 0 1px 1px #ffebbc, 0 4px 18px #0008; }
.rail-btn.home:hover, .rail-item.active .rail-btn.home { background: var(--raised); }
.rail-btn.add { color: var(--accent); }
.rail-btn.add:hover { background: #24221d; color: var(--accent-2); }
.rail-item::before { left: -13px; width: 2px; }
.rail-item.active::before { height: 22px; box-shadow: 0 0 9px #d8b66c55; }
.rail-sep { height: 1px; background: #d8b66c1a; }
#sidebar { background: linear-gradient(165deg, #151720, #101118 75%); border: 1px solid #ffffff05; border-radius: 22px; overflow: hidden; }
.side-header { height: 66px; padding: 0 18px; border-bottom: 1px solid #ffffff06; box-shadow: none; font-size: 14px; font-weight: 600; }
.side-header:hover { background: #ffffff03; }
.side-body { padding: 8px 12px 20px; }
.cat { padding: 22px 8px 10px; font-size: 9px; letter-spacing: .16em; font-weight: 600; }
.chan, .dm-item { padding: 10px; margin-bottom: 5px; border-radius: 11px; border: 1px solid transparent; }
.chan .icon { width: 17px; height: 17px; }
.chan:hover, .dm-item:hover, .voice-user:hover { background: #ffffff03; }
.chan.active, .dm-item.active { background: #0d0f16; border-color: #d8b66c20; box-shadow: var(--recessed); color: var(--accent-2); }
.chan.active > .icon { color: var(--accent); }
.voice-user { padding: 7px; font-size: 12px; }
.voice-panel { margin: 8px; border: 1px solid #a4b49a24; border-radius: 13px; background: #0c1011; box-shadow: var(--recessed); padding: 12px; }
.user-panel { height: 72px; min-height: 72px; padding: 10px; gap: 3px; background: #0d0f15; border-top: 1px solid #ffffff05; }
.user-panel .avatar { width: 30px; height: 30px; font-size: 11px; }
.user-panel .info .n { font-size: 12px; }
.user-panel .info .s { font-size: 10px; }
.user-panel .icon-btn { width: 28px; height: 32px; flex-shrink: 0; }
.user-panel .icon-btn .icon { width: 16px; height: 16px; }
#main {
  border: 1px solid transparent; border-radius: 24px; overflow: hidden;
  background: linear-gradient(145deg, #191b26 0%, #12141c 65%, #171820 100%) padding-box,
    linear-gradient(140deg, #ffffff09, #ffffff03 75%, #d8b66c55) border-box;
  box-shadow: 10px 12px 28px #0004, inset 0 1px 0 #ffffff02;
}
.main-header { min-height: 66px; padding: 0 24px; gap: 12px; border-bottom: 1px solid #ffffff07; box-shadow: none; background: #ffffff01; }
.main-header .title { gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.main-header .title .icon { color: var(--accent); }
.main-header .topic { font-size: 12px; border-color: #ffffff0a; }
.main-header .search-box { width: 180px; }
.main-header .search-box .input { padding: 9px 13px; font-size: 12px; border-radius: 10px; }
#members { width: 218px; padding: 12px 10px; border-radius: 22px; border: 1px solid #ffffff04; background: linear-gradient(160deg, #13151d, #0e1016); }
.member { padding: 10px 8px; border-radius: 11px; gap: 10px; }
.member:hover { background: #ffffff03; }
.member .n { font-size: 12px; font-weight: 500; }
.member .s { font-size: 10px; }
.member.off { opacity: 1; }
.member.off .avatar { opacity: .65; }
.member.off .n { color: var(--text-2); }
.avatar { color: #eee4cf; border: 1px solid #ffffff12; box-shadow: inset 0 1px 2px #ffffff13, 2px 3px 8px #0004; font-weight: 500; }
.avatar .dot { border-color: #14161d; }
.avatar.speaking { box-shadow: 0 0 0 2px var(--success), 0 0 14px #8bb49e24; }

/* Conversations stay quiet; gold indicates interaction and selection. */
.messages { padding-top: 24px; }
.msg { padding-left: 24px; padding-right: 24px; margin-top: 20px; gap: 14px; }
.msg .author { font-size: 13px; font-weight: 600; }
.msg .content { color: #c8c6cf; line-height: 1.7; font-size: 14px; }
.msg .time { font-size: 10px; color: #93909d; margin-left: 4px; }
.msg.compact { margin-top: 2px; }
.msg:hover { background: #ffffff02; }
.msg.mention { background: #d8b66c08; }
.msg.mention:hover { background: #d8b66c0f; }
.msg .content pre { border: 1px solid #ffffff05; border-radius: 12px; padding: 14px; box-shadow: var(--recessed); }
.day-sep { margin: 26px 24px 12px; gap: 16px; font-size: 10px; font-weight: 400; letter-spacing: .05em; color: #9996a1; }
.day-sep::before, .day-sep::after { background: #ffffff07; }
.chan-intro { padding: 12px 24px 24px; }
.chan-intro .big { border-radius: 22px; background: var(--raised); box-shadow: var(--lifted); border: 1px solid #d8b66c12; margin-bottom: 20px; }
.chan-intro .big .icon { color: var(--accent); width: 30px; height: 30px; }
.chan-intro h2 { font-size: 29px; font-weight: 500; letter-spacing: -.045em; }
.chan-intro p { font-size: 13px; margin-top: 8px; }
.reaction { background: #0d0f16; border-color: #ffffff06; border-radius: 8px; box-shadow: var(--recessed); }
.reaction.mine { background: #242016; border-color: #b399604d; color: var(--accent-2); }
.msg-actions, .emoji-pop { border-color: #d8b66c25; border-radius: 12px; background: #171922; box-shadow: 0 8px 24px #0009; }
/* The existing context menu sets its geometry inline; only its material is overridden. */
.ctx-menu { background: #171922 !important; border-color: #d8b66c30 !important; border-radius: 14px !important; box-shadow: 0 12px 32px #000a !important; padding: 8px !important; }
.ctx-menu > button { border-radius: 9px !important; }
.attachments img { border-radius: 15px; border: 1px solid #ffffff08; }
.att-file { background: #10121a; border-color: #d8b66c20; border-radius: 13px; box-shadow: var(--recessed); }
.att-file > .icon { color: var(--accent); }
.composer { padding: 0 22px 22px; }
.composer .box { padding: 7px 8px; border: 1px solid #ffffff05; border-radius: 17px; background: #0e1017; box-shadow: var(--recessed); }
.composer .box:focus-within { border-color: #d8b66c45; }
.composer textarea { min-width: 0; padding: 12px; font-size: 13px; min-height: 46px; }
.composer .icon-btn { margin-bottom: 5px; }
.composer .icon-btn.send { background: var(--metal); color: #392a12; border: 1px solid #c4a05a; width: 36px; height: 36px; border-radius: 11px; box-shadow: inset 0 1px 1px #f6e2af, 0 2px 5px #0007; }
.composer .icon-btn.send:hover { filter: brightness(1.1); }
.composer .reply-bar, .composer .att-bar { background: #1d1d24; border: 1px solid #d8b66c20; border-bottom: 0; border-radius: 14px 14px 0 0; }
.composer .att-chip { background: #11131a; border-radius: 8px; }
.typing { padding-left: 26px; color: #a5a1ac; font-size: 11px; height: 25px; }

/* Friends, dialogs, voice and every transient surface use the same material. */
.friends-page { padding: 24px; }
.friend-row { padding: 16px 10px; border-color: #ffffff07; }
.friend-row:hover { background: #ffffff03; border-radius: 12px; }
.friend-row .n { font-size: 13px; font-weight: 500; }
.friend-row .icon-btn { border-radius: 11px; background: var(--raised); box-shadow: var(--lifted); }
.add-friend-box { background: #10121a; border: 1px solid #d8b66c18; border-radius: 18px; padding: 22px; box-shadow: var(--recessed); }
.empty { padding: 64px 20px; line-height: 1.8; }
.empty .ghost { opacity: .5; width: 64px; height: 64px; margin-bottom: 22px; }
.modal-back { background: #030408b8; backdrop-filter: blur(12px); }
.modal {
  border-radius: 26px; border: 1px solid transparent;
  background: linear-gradient(135deg, #1b1d28, #12141d 65%, #1b1c25) padding-box,
    linear-gradient(135deg, #ffffff10, #ffffff03 65%, #d8b66c80) border-box;
  box-shadow: 24px 32px 80px #000a;
}
.modal.wide { width: 820px; }
.modal-head { padding: 26px 28px 18px; }
.modal-head h2 { font-size: 22px; letter-spacing: -.04em; font-weight: 500; }
.modal-body { padding: 8px 28px 28px; }
.modal-foot { padding: 18px 28px; background: #0e101780; border-top: 1px solid #ffffff05; border-radius: 0 0 26px 26px; }
.settings-layout { gap: 0; }
.settings-nav { width: 180px; flex-shrink: 0; padding-right: 18px; border-color: #ffffff07; gap: 8px; }
.settings-nav button { padding: 12px; font-size: 12px; font-weight: 500; border: 1px solid transparent; border-radius: 11px; }
.settings-nav button.active { color: var(--accent-2); background: #0c0e15; box-shadow: var(--recessed); border-color: #d8b66c20; }
.settings-content { padding-left: 26px; }
.settings-content h3 { font-size: 17px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 22px; }
.settings-content .hint { font-size: 12px; color: var(--muted); line-height: 1.65; }
.settings-content .field > .row { flex-wrap: wrap; }
.list-row { padding: 12px 6px; border-color: #ffffff07; }
.profile-card { padding: 12px 0; }
.profile-card h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.profile-card .avatar { margin-bottom: 20px; }
.range, .meter { background: #090b10; box-shadow: var(--recessed); }
.range::-webkit-slider-thumb { background: var(--metal); width: 18px; height: 18px; border-color: #c6a567; box-shadow: 1px 2px 6px #0008; }
.range::-moz-range-thumb { background: var(--metal); border-color: #c6a567; }
.call-panel { margin: 20px 22px 0; padding: 24px; border-radius: 20px; border-color: #d8b66c24; background: var(--raised); box-shadow: var(--lifted); }
.call-person .n { font-size: 12px; font-weight: 500; }
.call-btn { border-radius: 14px; background: var(--raised); box-shadow: var(--lifted); border: 1px solid #ffffff07; }
.call-btn.accept { background: linear-gradient(135deg, #5a7c6a, #3e5a4b); }
.call-btn.decline { background: linear-gradient(135deg, #a9555f, #733942); }
.incoming-call { border-radius: 20px; background: var(--raised); border-color: #d8b66c55; }
.toast { background: #1a1b24; border-color: #d8b66c30; border-radius: 13px; box-shadow: 0 10px 30px #0008; padding: 14px 20px; }
.welcome .ghost { width: 80px; height: 80px; filter: drop-shadow(0 8px 20px #0008); margin-bottom: 28px; }
.welcome h2 { font-size: 28px; font-weight: 500; letter-spacing: -.04em; }

@media (max-width: 1200px) and (min-width: 761px) {
  :root { --rail-w: 68px; --side-w: 220px; }
  #app { gap: 8px; padding: 8px 8px 8px 0; }
  .main-header { padding: 0 18px; }
  .main-header .topic { display: none; }
}
@media (max-width: 1100px) {
  #members { top: 10px; bottom: 10px; right: 10px; width: min(280px, 85vw); box-shadow: -12px 0 32px #0009; }
}
@media (max-width: 760px) {
  :root { --rail-w: 70px; --side-w: min(280px, calc(100vw - 86px)); }
  #app { padding: 0; gap: 0; }
  #rail { background: #090a0f; padding-top: 22px; }
  #sidebar { border-radius: 0 22px 22px 0; background: #14161f; }
  #main { border: 0; border-radius: 0; box-shadow: none; }
  .main-header { min-height: 62px; height: 62px; padding: 0 10px; gap: 6px; }
  .main-header .title { font-size: 15px; }
  .main-header.search-open .search-box { top: 62px; }
  .side-header { height: 62px; }
  .user-panel { height: auto; min-height: 74px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .msg { padding-left: 14px; padding-right: 14px; gap: 10px; margin-top: 17px; }
  .msg.compact { padding-left: 60px; margin-top: 2px; }
  .msg .content { font-size: 14px; }
  .messages { padding-top: 16px; }
  .day-sep { margin: 20px 14px 8px; }
  .chan-intro { padding: 14px 18px 22px; }
  .chan-intro h2 { font-size: 26px; }
  .composer { padding: 0 10px calc(12px + env(safe-area-inset-bottom)); }
  .composer .box { padding: 4px 6px; border-radius: 15px; }
  .composer textarea { font-size: 16px; padding: 12px 7px; min-height: 48px; }
  .composer .icon-btn.send { width: 40px; height: 40px; margin-bottom: 4px; }
  .typing { padding-left: 18px; }
  .friends-page { padding: 18px 12px; }
  .tabs { gap: 2px; }
  .tab { padding: 10px; font-size: 12px; }
  .modal, .modal.wide { border-radius: 0; border: 0; max-height: 100dvh; }
  .modal-head { padding: 20px 18px 16px; }
  .modal-body { padding: 8px 18px 24px; }
  .modal-foot { border-radius: 0; padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); }
  .settings-nav { width: auto; padding: 0 0 12px; gap: 5px; border-right: 0; }
  .settings-content { padding: 22px 0 0; }
  .call-panel { margin: 12px 10px 0; padding: 18px 12px; }
  .incoming-call { left: 10px; right: 10px; top: calc(10px + env(safe-area-inset-top)); min-width: 0; }
  #auth { padding: 64px 0 28px; align-items: safe center; }
  .auth-card { width: 440px; max-width: calc(100vw - 32px); padding: 32px 26px; border-radius: 28px; }
  .auth-logo h1 { font-size: 29px; }
  .auth-card p.tagline { margin-bottom: 28px; }
  .auth-lang { top: 14px; right: 18px; }
  .auth-card .input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
