/* Team Hub: тёмная тема, малиновый акцент, заголовки Unbounded, текст Manrope. */
:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #0f0f0f;
  --raised: #131313;
  --line: rgba(255, 255, 255, .1);
  --line-soft: rgba(255, 255, 255, .08);
  --field-line: #5c5c5c;
  --text: #fff;
  --text-2: #d7d7d7;
  --text-3: #c4c4c4;
  --muted: #a8a8a8;
  --accent: #de1a56;
  --accent-hover: #f02a68;
  --accent-text: #ff6d98;
  --accent-soft: rgba(232, 28, 90, .55);
  --danger-text: #ff9dba;
  --ok: #62d6b8;
  --closed: #b4b4b4;
  --vote-accept: #15803d;
  --vote-reject: #c62828;
  --display: Unbounded, "Arial Black", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; }
body {
  margin: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 Manrope, system-ui, -apple-system, sans-serif;
}

h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; }
h1 { font-size: clamp(22px, 3vw, 32px); line-height: 1.2; }
h2 { font-size: 16px; }
h3 { font-size: 16px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
a { color: var(--accent-text); }
code, pre { font-family: ui-monospace, Menlo, monospace; }
code { font-size: 13px; font-weight: 600; color: var(--danger-text); }
pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #e6e6e6;
  font-size: 13px;
  line-height: 1.6;
}

/* Поля и кнопки */
input, textarea, select, button { font: inherit; }
input:not([type="checkbox"]), textarea, select {
  width: 100%;
  padding: 0 14px;
  min-height: 48px;
  background: var(--bg);
  border: 1px solid var(--field-line);
  border-radius: 6px;
  color: var(--text);
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { padding: 12px 14px; resize: vertical; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #8c8c8c; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px rgba(222, 26, 86, .28); }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
label.checkbox { flex-direction: row; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; }
button { cursor: pointer; }

.btn-primary {
  min-height: 48px;
  padding: 0 20px;
  background-color: var(--accent);
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  transition: background-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.btn-primary:hover { background-color: var(--accent-hover); box-shadow: 0 0 28px rgba(232, 28, 90, .6); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary.display { min-height: 52px; padding: 0 24px; font-family: var(--display); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.btn-outline {
  min-height: 44px;
  padding: 0 12px;
  background-color: #0e0e0e;
  border: 1px solid var(--field-line);
  border-radius: 6px;
  color: #e6e6e6;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-outline:hover { border-color: var(--accent-text); background-color: rgba(113, 1, 35, .35); color: #fff; }
.btn-outline.danger { color: var(--danger-text); }
.btn-outline.ok { color: var(--ok); }
.btn-text {
  min-height: 44px;
  padding: 0 4px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}
.btn-text:hover { color: #fff; }
.btn-text.accent { color: var(--accent-text); }
.btn-text.danger { color: var(--danger-text); }

.form-error { color: var(--danger-text); font-weight: 700; animation: fade .2s ease both; }
.success { color: var(--ok); font-weight: 700; animation: fade .2s ease both; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* Вход */
.login-page { position: relative; height: auto; min-height: 100dvh; overflow-x: hidden; overflow-y: auto; }
.login-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 72% 52%, transparent 0 54px, rgba(255, 255, 255, .05) 54px 55px);
  animation: breathe 9s ease-in-out infinite alternate;
}
.login-glow {
  position: absolute;
  top: 4%;
  right: 2%;
  width: 760px;
  height: 760px;
  max-width: 100%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232, 28, 90, .38), rgba(232, 28, 90, 0) 66%);
  animation: drift 14s ease-in-out infinite alternate;
}
.login-logo { position: relative; padding: 24px clamp(16px, 4vw, 56px); animation: drop .45s var(--ease) both; }
.logo { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.logo span { color: var(--accent-text); }
.login-logo .logo { font-size: 20px; }
.login-main {
  position: relative;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px clamp(32px, 6vw, 96px);
  padding: 16px clamp(16px, 4vw, 56px) 48px;
}
.login-hero { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.login-hero h1 { font-weight: 700; font-size: clamp(38px, 6vw, 88px); line-height: 1.05; letter-spacing: -.02em; animation: rise .55s var(--ease) 80ms both; }
.login-hero h1 span { color: var(--accent-text); }
.login-hero p { max-width: 500px; font-size: 18px; color: var(--text-2); animation: rise .55s var(--ease) 180ms both; }
.login-card {
  flex: 1 1 380px;
  max-width: 460px;
  min-width: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(19, 19, 19, .88);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  box-shadow: 0 0 48px rgba(232, 28, 90, .2);
  animation: rise .55s var(--ease) 260ms both;
}
.login-card h2 { font-size: 22px; }
.login-card .lead { margin-top: 4px; color: var(--muted); }
.login-card input:not([type="checkbox"]) { min-height: 52px; font-size: 16px; }
.login-card .btn-primary { min-height: 56px; font-family: var(--display); font-size: 16px; font-weight: 600; text-transform: uppercase; }
.login-card .btn-text { align-self: flex-start; margin-top: -10px; padding: 0; color: var(--text-3); }
.login-note { font-size: 14px; color: var(--muted); }
.error {
  padding: 12px 14px;
  background: rgba(113, 1, 35, .45);
  border: 1px solid var(--accent-text);
  border-radius: 6px;
  color: #ffd3e0;
  font-weight: 700;
  animation: shake .4s ease;
}

/* Шапка */
.topbar {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 32px;
  padding: 8px clamp(16px, 2.5vw, 32px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  animation: drop .45s var(--ease) both;
}
.topbar nav { position: relative; max-width: 100%; display: flex; overflow-x: auto; scrollbar-width: none; }
.topbar nav button {
  flex: none;
  min-width: 96px;
  height: 48px;
  padding: 0 14px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .25s ease;
}
.topbar nav button:hover, .topbar nav button[aria-selected="true"] { color: #fff; }
.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  border-radius: 3px;
  background: #e81c5a;
  box-shadow: 0 0 12px rgba(232, 28, 90, .9);
  transition: transform .4s var(--ease), width .4s var(--ease);
}
.user { margin-left: auto; display: flex; align-items: center; gap: 16px; font-weight: 700; }

/* Экраны и переходы */
main { flex: 1; min-height: 0; display: flex; }
.tab {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 24px clamp(16px, 2.5vw, 32px) 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity .18s ease, transform .18s ease;
}
.tab > * { flex: none; }
.tab.screen-out { opacity: 0; transform: translateY(-10px); }
.tab.entering > * { animation: rise .55s var(--ease) both; }
.tab.entering > :nth-child(2) { animation-delay: 60ms; }
.tab.entering > :nth-child(3) { animation-delay: 120ms; }
.tab.entering > :nth-child(n+4) { animation-delay: 180ms; }
.tab-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tab-intro { display: flex; flex-direction: column; gap: 4px; }
.lead { color: var(--text-3); }

.panel { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; }
.panel-head { display: flex; flex-direction: column; gap: 4px; }
.panel-head p { color: var(--muted); }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.two-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; align-items: start; }
.stacked { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.form-row > label:not(.checkbox) { flex: 1 1 220px; min-width: 0; }
.form-row > button { flex: none; }
.form-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.panel > .btn-primary { align-self: flex-start; }

.collapse { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .4s var(--ease), opacity .25s ease, visibility .4s; }
/* Видимость включается сразу, иначе при открытии нельзя поставить курсор в поле формы. */
.collapse.open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .4s var(--ease), opacity .25s ease, visibility 0s; }
.collapse > * { min-height: 0; overflow: hidden; }
.tab.entering > .collapse { animation: none; }
.reveal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 20px 24px;
  background: rgba(113, 1, 35, .3);
  border: 1px solid var(--accent-text);
  border-radius: 12px;
}
.reveal > p { flex: 1 1 100%; font-weight: 700; }
.reveal code { color: #fff; font-size: 15px; overflow-wrap: anywhere; }
.reveal small { display: block; font-size: 13px; color: var(--text-2); }
.reveal .push { margin-left: auto; }
.reveal .grow { flex: 1 1 240px; min-width: 0; }

/* Чат */
#tab-chat { flex-direction: row; gap: 0; padding: 0; overflow: hidden; }
.chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-main h1 { flex: none; padding: 24px clamp(16px, 2.5vw, 32px) 12px; }
.messages { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; padding: 0 clamp(4px, 1.5vw, 20px) 12px; }
.msg { display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; transition: background-color .2s ease; }
.msg:hover { background-color: #161616; }
.msg.fresh { animation: rise .45s var(--ease) both; }
.avatar {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
}
.msg-body { flex: 1; min-width: 0; }
.msg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.msg-head strong { font-weight: 800; }
.msg.mine .msg-head strong { color: var(--accent-text); }
.msg-head span { font-size: 13px; color: var(--muted); }
.msg-text { margin-top: 2px; max-width: 720px; white-space: pre-wrap; overflow-wrap: anywhere; color: #e6e6e6; }
.msg .btn-text { flex: none; align-self: flex-start; padding: 0 8px; font-size: 13px; }
.msg-pinned { flex: none; align-self: flex-start; display: flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--accent-text); font-size: 13px; font-weight: 700; }
.composer { flex: none; display: flex; align-items: flex-end; gap: 12px; padding: 12px clamp(16px, 2.5vw, 32px) 20px; border-top: 1px solid var(--line); }
.composer label { flex: 1; min-width: 0; display: flex; }
.composer textarea { min-height: 56px; background: var(--raised); }
.composer .btn-primary { flex: none; min-height: 56px; font-family: var(--display); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.side {
  flex: none;
  width: 340px;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border-left: 1px solid var(--line);
}
.side h2 { font-size: 15px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.tile { padding: 10px 8px; background: var(--raised); border: 1px solid var(--line-soft); border-top: 3px solid var(--tile, #fff); border-radius: 6px; }
.tile strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.tile span { font-size: 12px; color: var(--text-3); }
.side-list { display: flex; flex-direction: column; gap: 8px; }
.side-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  background: var(--raised);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
  transition: border-color .2s ease, transform .2s ease;
}
.side-card:hover { border-color: var(--accent-text); transform: translateX(3px); }
.side-card span { font-size: 12px; font-weight: 800; color: var(--status); }

/* Идеи */
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.column { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line-soft); border-top: 3px solid var(--status); border-radius: 12px; }
.column-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.column h2 { font-size: 15px; }
.column-count { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--status); }
.cards { display: flex; flex-direction: column; gap: 12px; }
.status-proposed { --status: var(--accent-text); }
.status-accepted { --status: var(--ok); }
.status-rejected { --status: var(--closed); }
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: opacity .18s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(255, 109, 152, .55); box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }
.card.card-out { opacity: 0; transform: scale(.96); }
.card.card-flash { animation: flash .6s var(--ease) both; }
.text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-3); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.meta a { display: inline-flex; align-items: center; min-height: 28px; font-weight: 700; }
.badge { padding: 0 6px; border: 1px solid var(--field-line); border-radius: 4px; color: var(--text-3); font-weight: 700; }
.votes { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.votes-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 14px; font-weight: 800; }
.votes-head span { color: var(--text-3); font-weight: 700; }
.vote-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.vote-bar { height: 6px; overflow: hidden; background: #2a2a2a; border-radius: 3px; }
.vote-bar i { display: block; height: 100%; border-radius: 3px; transition: width .45s var(--ease); }
.vote-bar.accept i { background: #4ade80; }
.vote-bar.reject i { background: #f87171; }
.voters { font-size: 13px; color: var(--text-3); overflow-wrap: anywhere; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card-actions .btn-text { margin-left: auto; }
.vote { min-width: 76px; padding: 0 14px; font-weight: 800; }
.vote-accept:hover { border-color: var(--vote-accept); background-color: var(--vote-accept); color: #fff; box-shadow: 0 0 18px rgba(34, 197, 94, .45); }
.vote-reject:hover { border-color: var(--vote-reject); background-color: var(--vote-reject); color: #fff; box-shadow: 0 0 18px rgba(239, 68, 68, .45); }
.vote-accept[aria-pressed="true"] { border-color: var(--vote-accept); background-color: var(--vote-accept); color: #fff; }
.vote-reject[aria-pressed="true"] { border-color: var(--vote-reject); background-color: var(--vote-reject); color: #fff; }
.my-vote { font-size: 13px; color: var(--text-3); }
.empty { padding: 24px 12px; border: 1px dashed var(--field-line); border-radius: 8px; color: var(--muted); text-align: center; }

/* Доска */
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; align-items: start; }
.board-grid > .empty { grid-column: 1 / -1; padding: 56px 16px; border-radius: 12px; }
.board-card { gap: 12px; padding: 20px; border-top: 3px solid var(--ok); border-radius: 12px; }
.board-card h3 { font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.35; }
.board-card .text { color: var(--text-2); }
.board-votes { font-size: 14px; font-weight: 800; color: var(--ok); }
.board-card .btn-text { align-self: flex-end; }

/* Запросы к Claude */
.btn-primary:disabled { opacity: .6; cursor: progress; box-shadow: none; transform: none; }
.claude-answer { padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent-text); border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); }

.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--text-3); }

/* Профиль */
.identity { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; border-color: var(--accent-soft); box-shadow: 0 0 40px rgba(232, 28, 90, .14); }
.identity .avatar { width: 72px; height: 72px; border-radius: 12px; background: var(--accent); font-size: 28px; font-weight: 700; }
.identity-text { flex: 1 1 240px; min-width: 0; }
.identity-name { font-family: var(--display); font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.identity-meta { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--text-3); }
.identity-meta strong { color: #fff; }
.chip { padding: 0 8px; border: 1px solid currentColor; border-radius: 4px; font-size: 13px; font-weight: 700; color: var(--text-3); }
.chip.admin { color: var(--accent-text); }

/* Таблицы */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
th { border-bottom-color: rgba(255, 255, 255, .14); color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
tbody tr { transition: background-color .2s ease; }
tbody tr:hover { background-color: #181818; }
td { font-size: 14px; }
td.login { font: 600 14px ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
td.name { font-weight: 700; overflow-wrap: anywhere; }
td.role-admin { color: var(--accent-text); font-weight: 700; white-space: nowrap; }
td.role-member { color: var(--text-3); font-weight: 700; white-space: nowrap; }
td.state-on { color: var(--ok); font-weight: 700; }
td.state-off { color: var(--closed); font-weight: 700; }
td.quiet { color: var(--text-3); white-space: nowrap; }
.row-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.its-you { color: var(--muted); font-weight: 700; }
.admin-tiles { width: min(100%, 600px); grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.admin-tiles .tile { padding: 8px 12px; }
.admin-tiles .tile strong { font-size: 20px; }
.channel { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 12px; background: var(--raised); border-radius: 8px; font-weight: 700; }
.channel span { font-size: 14px; color: var(--text-3); }
.channel span.works { color: var(--ok); }

/* Окно подтверждения и уведомления */
dialog {
  width: min(calc(100% - 32px), 480px);
  padding: 28px;
  background: var(--raised);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  box-shadow: 0 0 56px rgba(232, 28, 90, .25);
  color: var(--text);
}
dialog[open] { animation: pop .3s var(--ease) both; }
dialog::backdrop { background: rgba(0, 0, 0, .72); animation: fade .2s ease both; }
dialog h2 { font-size: 18px; line-height: 1.3; text-transform: none; }
dialog p { margin-top: 16px; color: var(--text-2); }
.dialog-actions { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.dialog-actions .btn-outline { min-height: 48px; padding: 0 18px; font-size: 15px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  background: #2b0d18;
  border: 1px solid var(--accent-text);
  border-radius: 8px;
  color: #ffd3e0;
  font-weight: 700;
  transform: translateX(-50%);
  animation: fade .2s ease both;
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(-6%, -4%) scale(.94); } to { transform: translate(6%, 5%) scale(1.08); } }
@keyframes breathe { from { opacity: .55; transform: scale(1); } to { opacity: 1; transform: scale(1.05); } }
@keyframes shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes flash {
  0% { opacity: 0; transform: scale(.96); box-shadow: 0 0 0 rgba(222, 26, 86, 0); }
  45% { opacity: 1; transform: scale(1.01); box-shadow: 0 0 28px rgba(222, 26, 86, .5); }
  100% { opacity: 1; transform: none; box-shadow: 0 0 0 rgba(222, 26, 86, 0); }
}

@media (max-width: 960px) {
  .side { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
