/* Наш круг — graphite / ice. Layout, states and responsive variants. */
:root {
  --bg: #0b1014;
  --card: #11191f;
  --card2: #19232b;
  --blue: #a5dbe5;
  --violet: #b9b4dc;
  --text: #f0f4f5;
  --muted: #a3b1bb;
  --ok: #a6daba;
  --err: #f48d8d;
  --line: #29353e;
  --grad: linear-gradient(115deg, #a5dbe5, #b4d1eb);
  --r-card: 12px;
  --r-btn: 7px;
  --sans: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(145, 205, 222, .08), transparent 55%),
    linear-gradient(rgba(145, 205, 222, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 205, 222, .025) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  mask-image: linear-gradient(#000, transparent 1000px);
}

h1, h2, h3, h4 { letter-spacing: -.035em; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(22px, 2.2vw, 30px); }
h3 { font-size: 17px; }
p { margin: 0 0 .8em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #d2f3f8; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.mono { font-variant-numeric: tabular-nums; }

/* линейные иконки с неоновым свечением */
.ico {
  width: 24px;
  height: 24px;
  display: block;
  flex: none;
  color: var(--blue);
  stroke-width: 1.5;
}

/* ═══════════ Кнопки ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  background: var(--blue);
  color: #102027;
  box-shadow: none;
}
.btn:hover { transform: translateY(-1px); background: #c9edf3; color: #102027; box-shadow: none; }
.btn:active { transform: none; }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }

.btn-ghost {
  background: rgba(145, 205, 222, .08);
  color: var(--text);
  border: 1px solid rgba(145, 205, 222, .45);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--blue); background: rgba(145, 205, 222, .16); color: #fff; box-shadow: none; }

.btn-soft {
  background: rgba(128, 87, 255, .12);
  color: #cfc0ff;
  border: 1px solid rgba(128, 87, 255, .35);
  box-shadow: none;
}
.btn-soft:hover { background: rgba(128, 87, 255, .2); border-color: var(--violet); color: #fff; box-shadow: none; }

.btn-danger {
  background: rgba(255, 107, 107, .1);
  color: #ff9c9c;
  border: 1px solid rgba(255, 107, 107, .35);
  box-shadow: none;
}
.btn-danger:hover { background: rgba(255, 107, 107, .18); border-color: var(--err); color: #fff; box-shadow: none; }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 13px; border-radius: 6px; }
.btn-block { width: 100%; }

/* ═══════════ Формы ═══════════ */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.cover-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
}

.input, textarea.input, select.input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line);
  background: #0d151a;
  color: var(--text);
  font-size: 15px;
  transition: .2s;
}
.input::placeholder { color: rgba(154, 168, 188, .55); }
.input:focus, textarea.input:focus, select.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(145, 205, 222, .18);
}
textarea.input { min-height: 104px; resize: vertical; }
select.input option { background: #11191f; }
input[type="datetime-local"], input[type="date"] { color-scheme: dark; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.avatar > img { width:100%; height:100%; display:block; object-fit:cover; border-radius:inherit; }
.profile-card { max-width:650px; padding:24px; }
.profile-identity { display:flex; align-items:center; flex-wrap:wrap; gap:24px; margin-bottom:26px; }
.avatar.profile-avatar { width:140px; height:140px; font-size:48px; flex-shrink:0; }
.profile-photo-preview { display:block; width:112px; height:112px; object-fit:cover; border-radius:14px; margin:12px 0; }
.profile-photo-preview[hidden] { display:none; }
.identity-warning { padding:16px; margin:14px 0; border:1px solid #b9a06e; border-radius:12px; background:#29261e; font-size:14px; line-height:1.6; }
.identity-warning[hidden],.identity-warning label[hidden] { display:none; }
.person-card .name,.profile-identity h2,.modal-head h2 { overflow-wrap:anywhere; min-width:0; }
.person-card .top > div,.profile-identity > div { min-width:0; max-width:100%; }
.selfie-choice { display:inline-flex; position:relative; overflow:hidden; margin-top:12px; cursor:pointer; }
.selfie-choice input { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }
.selfie-choice:focus-within { outline:2px solid var(--blue); outline-offset:3px; }
.person-wishes { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.wishlist-card { text-align:left; color:inherit; font:inherit; cursor:pointer; width:100%; }
.wishlist-card:hover,.wishlist-card:focus-visible { border-color:var(--blue); }
.gift-example { display:inline-block; font-size:13px; color:var(--blue); margin-top:6px; overflow-wrap:anywhere; }
.notif-panel a.notif-item { display:block; color:inherit; cursor:pointer; }
.notif-panel a.notif-item:hover,.notif-panel a.notif-item:focus-visible { background:rgba(145,205,222,.1); outline:2px solid var(--blue); outline-offset:-2px; }
.trash-list { display:grid; gap:12px; margin-top:20px; }
.trash-item { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; padding:20px; }
.trash-item h3 { margin-top:6px; overflow-wrap:anywhere; }
.trash-actions { display:flex; flex-wrap:wrap; gap:8px; }
.form-error { color: #ff9c9c; font-size: 13.5px; margin: 0 0 12px; min-height: 1.1em; }

.check-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; }
.check-line input { width: 17px; height: 17px; accent-color: var(--blue); }

/* ═══════════ Шапка ═══════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(11, 16, 20, .94);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 80px;
  max-width: 1504px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 72px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.5px;
  flex: none;
}
.brand svg { width: 36px; height: 36px; flex: none; color: var(--blue); }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 11px;
  border-radius: 8px;
  white-space: nowrap;
  transition: .2s;
}
.nav a:hover { color: var(--text); background: rgba(154, 168, 188, .1); }
.nav a.active {
  color: var(--blue);
  background: rgba(145, 205, 222, .06);
  box-shadow: inset 0 -1px var(--blue);
  border-radius: 0;
}

.topbar-right { display: flex; align-items: center; gap: 8px; flex: none; }

.icon-btn {
  position: relative;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
  transition: .2s;
}
.icon-btn:hover { border-color: var(--blue); background: rgba(145, 205, 222, .12); }

.badge-dot {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #102027;
  font-size: 10px;
  font-weight: 800;
  display: grid; place-items: center;
  padding: 0 5px;
  border: 1px solid #0a1526;
}

.avatar {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: #041020;
  font-weight: 800;
  font-size: 14px;
  flex: none;
}
.avatar.lg { width: 52px; height: 52px; font-size: 17px; border-radius: 14px; }
.avatar.sm { width: 26px; height: 26px; font-size: 11px; border-radius: 7px; }

.avatar-menu, .notif-panel {
  position: absolute;
  top: 58px;
  right: clamp(14px, 4vw, 60px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  padding: 8px;
  z-index: 60;
}
.avatar-menu { min-width: 220px; }
.avatar-menu .name { padding: 8px 12px 11px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.avatar-menu .name b { display: block; }
.avatar-menu button {
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
}
.avatar-menu button:hover { background: rgba(145, 205, 222, .14); }

.notif-panel { width: min(350px, calc(100vw - 28px)); max-height: 62vh; overflow: auto; }
.notif-panel .title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px 10px;
}
.notif-item { padding: 9px 10px; border-radius: 8px; font-size: 13.5px; border-left: 2px solid transparent; }
.notif-item.unread { background: rgba(145, 205, 222, .1); border-left-color: var(--blue); }
.notif-item .when { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ═══════════ Лендинг ═══════════ */
.landing { min-height: 100dvh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1504px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 80px); }


.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: clamp(52px, 7vw, 100px) 0 68px;
}
.overline, .section-index, .hero-art-head, .art-coordinates {
  font: 11px/1.6 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero .overline { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); }
.hero .overline::before, .signal-label::before {
  content: "";
  width: 5px; height: 5px;
  display: inline-block;
  border-radius: 50%;
  background: var(--blue);
}
.hero h1 {
  font-size: clamp(44px, 5.3vw, 80px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.06em;
  margin: 27px 0 25px;
}
.hero h1 .grad { color: var(--blue); }
.hero-sub { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 510px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; margin: 23px 0 0; }
.hero-note .ico { width: 15px; height: 15px; }
.hero-art {
  position: relative;
  min-width: 0;
  border: 1px solid #35434d;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 46%, rgba(145, 205, 222, .075), transparent 55%), #0e151a;
  overflow: hidden;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(145, 205, 222, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(145, 205, 222, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle, #000, transparent 80%);
}
.hero-art-head { display: flex; align-items: center; justify-content: space-between; padding: 24px; color: var(--muted); }
.hero-art-head .ico { width: 17px; height: 17px; color: var(--muted); }
.signal-label { display: inline-flex; align-items: center; gap: 9px; }
.orbit-system { position: relative; height: clamp(300px, 29vw, 400px); }
.orbit { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); border-radius: 50%; }
.orbit-outer { width: 75%; aspect-ratio: 1; max-width: 350px; border: 1px solid rgba(145, 205, 222, .18); }
.orbit-inner { width: 54%; aspect-ratio: 1; max-width: 252px; border: 1px dashed rgba(145, 205, 222, .22); }
.orbit-axis { position: absolute; left: 50%; top: 48%; background: rgba(145, 205, 222, .08); transform: translate(-50%, -50%); }
.orbit-axis-x { width: 90%; height: 1px; }
.orbit-axis-y { height: 90%; width: 1px; }
.orbit-core {
  position: absolute;
  top: 48%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  width: 128px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid #6e9ba4; background: #142128;
  box-shadow: 0 0 0 8px rgba(145, 205, 222, .025), 0 16px 60px #050a0f;
}
.orbit-core svg { width: 50px; height: 50px; color: var(--blue); }
.orbit-core span { font: 9px var(--mono); letter-spacing: .17em; color: var(--blue); }
.orbit-node {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 15px; border: 1px solid #3b4a55; border-radius: 8px;
  background: #172229; box-shadow: 0 8px 24px #0b1014;
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.orbit-node .ico { width: 18px; height: 18px; }
.orbit-node i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); margin-left: 8px; }
.node-family { top: 12%; left: 9%; }
.node-events { top: 27%; right: 5%; }
.node-gifts { bottom: 8%; left: 20%; }
.orbit-point { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(145, 205, 222, .08); }
.point-one { top: 12%; left: 61%; }.point-two { top: 75%; right: 17%; }
.hero-art-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.hero-art-foot > span:first-child { color: var(--muted); font-size: 15px; line-height: 1.5; }
.hero-art-foot b { color: var(--text); font-weight: 500; }
.art-coordinates { font-size: 8px; color: #93a9b4; text-align: right; line-height: 2; }
.hero-art-foot .art-coordinates { color: #93a9b4; }
.section-index { display: block; color: var(--blue); margin-bottom: 16px; }
.footer-privacy { display: flex; align-items: center; gap: 8px; }
.footer-privacy .ico { width: 14px; height: 14px; }

/* полоса кратких преимуществ */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 25px 0; border-block: 1px solid var(--line); }
.qitem {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border-right: 1px solid var(--line);
  padding: 8px 24px;
}
.qitem:first-child { padding-left: 0; }
.qitem:last-child { border-right: 0; }
.qitem .qi { display: grid; place-items: center; flex: none; }
.qitem .qi .ico { width: 26px; height: 26px; }
.qitem b { display: block; font-size: 14px; font-weight: 800; }
.qitem span { font-size: 12px; color: var(--muted); }

/* секции */
section { padding: 88px 0 0; scroll-margin-top: 100px; }
.sec-head { text-align: left; max-width: 760px; margin: 0 0 34px; }
.sec-head h2 { font-size: clamp(27px, 3vw, 42px); font-weight: 500; }
.sec-head p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin-top: 12px; }

/* карточки преимуществ */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  transition: border-color .2s, background .2s;
}
.fcard:hover { border-color: #5d818a; background: #172229; }
.fcard .ic {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(145, 205, 222, .12);
  border: 1px solid rgba(145, 205, 222, .25);
  margin-bottom: 18px;
  box-shadow: none;
}
.fcard .ic .ico { width: 26px; height: 26px; }
.fcard b { display: block; font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.fcard p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 26px 20px 0 0;
}
.step .num {
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #172229;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: none;
}
.step b { display: block; font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* FAQ */
.faq2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; }
.faq2 details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq2 details[open] { border-color: rgba(145, 205, 222, .35); }
.faq2 summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
}
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: "+"; color: var(--blue); font-size: 21px; font-weight: 400; flex: none; transition: .2s; }
.faq2 details[open] summary::after { transform: rotate(45deg); }
.faq2 p { color: var(--muted); font-size: 13.5px; line-height: 1.65; padding: 10px 0 4px; margin: 0; }

/* подвал */
.landing footer, footer.site-foot { margin-top: 78px; border-top: 1px solid var(--line); background: #0d1419; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding: 44px 0 34px; }
.foot .fbrand p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 12px; max-width: 240px; }
.foot h4 { font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot a { color: var(--text); font-size: 14px; opacity: .85; }
.foot a:hover { color: var(--blue); opacity: 1; }
.copyline {
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12.5px;
}

/* ═══════════ Вход / регистрация ═══════════ */
.auth-page { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 30px 18px 50px; }
.auth-card {
  width: min(460px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-top: 2px solid var(--blue);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .2);
}
.auth-card h1 { font-size: 30px; font-weight: 500; margin-bottom: 8px; }
.auth-sub { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 24px; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 20px; }
.auth-brand svg { width: 48px; height: 48px; color: var(--blue); }
.auth-switch { margin-top: 18px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ═══════════ Ожидание ═══════════ */
.wait-page { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 30px 18px; }
.wait-card {
  max-width: 520px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px);
}
.wait-icon {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 30px;
  background: rgba(145, 205, 222, .12);
  border: 1px solid rgba(145, 205, 222, .3);
  box-shadow: inset 0 0 0 8px var(--bg);
}
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(145, 205, 222, .35); } 50% { box-shadow: 0 0 0 14px rgba(145, 205, 222, 0); } }
.wait-card p { color: var(--muted); }

/* ═══════════ Приложение ═══════════ */
.shell { min-height: 100dvh; display: flex; flex-direction: column; }
.main {
  flex: 1;
  width: 100%;
  max-width: 1504px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 40px) clamp(18px, 4vw, 80px) 90px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; }
.page-head .sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* фильтры */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.chip {
  padding: 8px 15px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.chip:hover { color: var(--text); border-color: rgba(145, 205, 222, .45); }
.chip.active {
  color: var(--blue);
  background: #203139;
  border-color: #6b929c;
  box-shadow: none;
}

/* события */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.event-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.event-card:hover {
  transform: translateY(-3px);
  border-color: #62848c;
  box-shadow: none;
}
.event-cover {
  position: relative;
  aspect-ratio: 16 / 7.8;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: radial-gradient(ellipse at 50% 80%, #20363d, transparent 65%), #111d24;
  overflow: hidden;
}
.event-cover > .ico { width: 54px; height: 54px; opacity: .7; stroke-width: 1.2; }
.event-meta .ico { width: 15px; height: 15px; }
.pill .ico { width: 12px; height: 12px; color: inherit; }
.icon-btn .ico { width: 19px; height: 19px; color: inherit; }
.event-cover img { width: 100%; height: 100%; object-fit: cover; }
.event-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(17, 25, 31, .9));
}
.event-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 4px;
  font-family: var(--mono);
  background: rgba(11, 16, 20, .85);
  border: 1px solid rgba(60, 119, 186, .4);
  color: #cfe3ff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.event-tag.wish { left: auto; right: 12px; color: #dcc9ff; border-color: rgba(128, 87, 255, .45); }

.event-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-body h3 { font-size: 18px; font-weight: 600; color: var(--text); }
.event-meta { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.event-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(145, 205, 222, .12);
  border: 1px solid rgba(145, 205, 222, .25);
  font-size: 11.5px;
  font-weight: 700;
  color: #a9c9ee;
}
.pill.yes { color: #9df3cb; background: rgba(37, 214, 149, .1); border-color: rgba(37, 214, 149, .3); }
.pill.no { color: #ffb3b3; background: rgba(255, 107, 107, .1); border-color: rgba(255, 107, 107, .3); }
.pill.pending { color: #ffd08a; background: rgba(255, 179, 71, .1); border-color: rgba(255, 179, 71, .3); }

/* пустое состояние */
.empty {
  text-align: center;
  padding: 58px 22px;
  border-radius: 12px;
  border: 1px dashed rgba(145, 175, 190, .35);
  background: #10191f;
}
.empty .emoji { display: grid; place-items: center; font-size: 32px; margin-bottom: 18px; }
.empty .emoji .ico { width: 38px; height: 38px; stroke-width: 1.2; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 42ch; margin: 0 auto 18px; font-size: 14px; }

/* календарь */
.calendar {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--card);
  padding: clamp(14px, 3vw, 24px);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal-head .cal-title { font-size: 17px; font-weight: 800; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow {
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #93a4af;
  padding-bottom: 8px;
}
.cal-cell {
  min-width: 0;
  min-height: 78px;
  border-radius: 10px;
  border: 1px solid rgba(145, 175, 190, .12);
  padding: 6px;
  background: #0d151a;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cal-cell.out { background: transparent; border-color: transparent; opacity: .35; }
.cal-cell.today { border-color: rgba(145, 205, 222, .7); box-shadow: inset 0 0 22px rgba(145, 205, 222, .14); }
.cal-cell .num { font-size: 12px; font-weight: 700; color: #a3b1bb; }
.cal-cell.today .num { color: var(--blue); }
.cal-event {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-left: 2px solid var(--blue);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 11px;
  background: rgba(145, 205, 222, .14);
  color: #c8e4ff;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-event.olive { border-left-color: var(--ok); background: rgba(37, 214, 149, .12); color: #c6ffe8; }
.cal-event.plum { border-left-color: var(--violet); background: rgba(128, 87, 255, .14); color: #ded0ff; }

/* карточка события */
.detail-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 250px;
  display: grid;
  place-items: center;
  font-size: 40px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 80% 0, #243d44, transparent 70%), #121d24;
}
.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.detail-hero .overlay {
  position: relative;
  z-index: 2;
  align-self: end;
  width: 100%;
  padding: 24px clamp(16px, 3vw, 30px);
  background: linear-gradient(transparent, rgba(5, 12, 26, .94));
}
.detail-hero .overlay h1 { font-size: clamp(24px, 3.4vw, 38px); }
.detail-hero .overlay .when { margin-top: 6px; font-size: 14px; color: #b6cdea; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }

.card {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--card);
  padding: clamp(16px, 3vw, 24px);
}
.card + .card { margin-top: 18px; }
.card h3 { margin-bottom: 12px; }
.card h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 8px;
}

.info-row { display: flex; gap: 12px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid rgba(145, 175, 190, .1); }
.info-row:last-child { border-bottom: 0; }
.info-row .k { color: var(--muted); min-width: 120px; flex: none; font-size: 13px; }

.desc { white-space: pre-wrap; color: #c2cdd3; font-size: 14.5px; }

.rsvp-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.rsvp-row .btn { flex: 1; min-width: 128px; }
.btn.active-yes { background: linear-gradient(115deg, #14a97a, #25d695); box-shadow: 0 8px 26px -10px rgba(37, 214, 149, .7); }
.btn.active-no { background: linear-gradient(115deg, #a144fa, #ff6b6b); box-shadow: 0 8px 26px -10px rgba(255, 107, 107, .6); }

.people { display: flex; flex-wrap: wrap; gap: 8px; }
.person-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 4px;
  border-radius: 999px;
  background: rgba(145, 205, 222, .1);
  border: 1px solid rgba(145, 205, 222, .22);
  font-size: 13px;
}

/* подарки */
.gift {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d151a;
  align-items: flex-start;
}
.gift + .gift { margin-top: 10px; }
.gift .gift-main { flex: 1; min-width: 0; }
.gift .gift-title { font-weight: 700; font-size: 14.5px; }
.gift .gift-comment { font-size: 13px; color: var(--muted); margin-top: 3px; white-space: pre-wrap; }
.gift .gift-price { font-size: 12.5px; color: var(--ok); font-weight: 700; margin-top: 5px; }
.gift .gift-actions { display: flex; flex-direction: column; gap: 6px; flex: none; }
.gift.booked {
  border-color: rgba(37, 214, 149, .35);
  background: linear-gradient(120deg, rgba(37, 214, 149, .08), rgba(145, 205, 222, .06));
}
.gift-emoji {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 17px;
  flex: none;
  background: rgba(145, 205, 222, .12);
  border: 1px solid rgba(145, 205, 222, .22);
}

/* люди */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.person-card {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px;
  transition: .22s;
}
.person-card:hover { border-color: rgba(145, 205, 222, .4); transform: translateY(-2px); }
.person-card .top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.person-card .top .name { font-weight: 700; }
.person-card .role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.person-card .about { font-size: 13.5px; color: #c2cdd3; margin-top: 8px; }
.person-card .admin-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* админ-кабинет */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat {
  position: relative;
  padding: 18px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute;
  right: 18px; top: 20px;
  width: 3px; height: 16px;
  background: #52717a;
}
.stat .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat .value { font: 400 38px/1.1 var(--mono); letter-spacing: -.05em; }
.stat .value.cyan { color: #a5dbe5; }
.stat .value.violet { color: #b9b4dc; }
.stat .value.lime { color: #a6daba; }
.stat .value.amber { color: #ffc46b; }

.admin-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.panel { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 18px; border-bottom: 1px solid var(--line);
  background: rgba(145, 205, 222, .05);
}
.panel-head h3 { font-size: 15px; }
.panel-head .mono { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.panel-body { padding: 12px 16px 16px; }
.panel-body.tight { padding: 4px 10px 10px; overflow-x: auto; }

.req-row {
  display: flex; gap: 12px; align-items: center;
  padding: 13px 10px;
  border-bottom: 1px solid rgba(145, 175, 190, .12);
  flex-wrap: wrap;
}
.req-row:last-child { border-bottom: 0; }
.req-row .info { flex: 1; min-width: 140px; }
.req-row .n { font-weight: 700; font-size: 14.5px; }
.req-row .meta { font-size: 12px; color: var(--muted); }
.req-row .quote { font-size: 13px; color: #b3c2d8; margin-top: 3px; }
.req-row .acts { display: flex; gap: 6px; }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #a3b1bb;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 11px 10px; border-bottom: 1px solid rgba(145, 175, 190, .1); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(145, 205, 222, .05); }
.table .num { white-space: nowrap; color: #c2cdd3; }
.table .tbl-link { color: #a5dbe5; cursor: pointer; font-weight: 600; }

.feed-item { display: flex; gap: 10px; padding: 10px 8px; border-bottom: 1px solid rgba(145, 175, 190, .1); font-size: 13.5px; }
.feed-item:last-child { border-bottom: 0; }
.feed-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue); margin-top: 6px; flex: none; }
.feed-item .t { font-size: 11px; color: #7d90ab; margin-top: 2px; }

/* модалка */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, .82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  animation: fadeIn .16s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal {
  width: min(640px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  animation: slideUp .2s ease;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.modal-close {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
}
.modal-close:hover { color: #fff; border-color: var(--blue); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.modal h4 { font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); margin: 20px 0 10px; }

/* тост и спиннер */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  padding: 13px 22px;
  border-radius: var(--r-btn);
  background: var(--card2);
  border: 1px solid rgba(145, 205, 222, .45);
  color: #eaf4ff;
  font-size: 14px;
  box-shadow: 0 18px 44px -18px rgba(0, 60, 200, .8);
  opacity: 0;
  pointer-events: none;
  transition: all .24s ease;
  z-index: 200;
  max-width: min(90vw, 520px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.skeleton-wrap { display: grid; place-items: center; padding: 90px 0; }
.spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(154, 168, 188, .2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* появление при скролле */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════ Адаптив ═══════════ */
body.modal-open { overflow: hidden; }
:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.modal-actions { align-items: center; }
.modal-actions .btn { white-space: normal; }

@media (max-width: 1100px) {
  .feat { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .hero { gap: 36px; }
  .hero h1 { font-size: clamp(42px, 6.2vw, 66px); }
  .hero-art-head { font-size: 9px; padding: 18px; }
  .orbit-node { padding: 10px; gap: 7px; font-size: 11px; }
  .orbit-node i { margin-left: 0; }
  .orbit-core { width: 108px; }
  .hero-art-foot { padding: 18px; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .admin-cols { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #10181e;
    border-bottom: 1px solid var(--line);
    padding: 10px 18px 16px;
    gap: 2px;
    z-index: 50;
  }
  .nav.open a { padding: 12px; font-size: 15px; box-shadow: none; border-radius: 8px; }
  .nav.open a.active { background: rgba(145, 205, 222, .14); }
  .burger { display: grid !important; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 42px 0 40px; }
  .hero h1 { font-size: clamp(42px, 9vw, 64px); margin-top: 23px; }
  .hero-sub { font-size: 15px; }
  .hero-art { max-width: 560px; width: 100%; justify-self: center; }
  .hero-art-head { padding: 20px; }
  .orbit-system { height: 300px; }
  .orbit-node { font-size: 12px; padding: 11px 13px; }
  .hero-art-foot { padding: 20px; }
  .hero-note { align-items: flex-start; font-size: 11px; }
  .hero-note .ico { margin-top: 2px; flex: none; }
  .quick { grid-template-columns: 1fr 1fr; gap: 22px 0; padding: 24px 0; }
  .qitem, .qitem:first-child { padding: 0 16px; }
  .qitem:nth-child(odd) { padding-left: 0; }
  .qitem:nth-child(even) { border-right: 0; }
  .qitem b { font-size: 12px; font-weight: 600; }
  .qitem span { font-size: 10px; }
  .qitem .qi .ico { width: 22px; height: 22px; }
  section { padding-top: 62px; }
  .sec-head { margin-bottom: 26px; }
  .feat, .steps { grid-template-columns: 1fr; }
  .faq2 { grid-template-columns: 1fr; gap: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
  .cal-cell { min-height: 56px; padding: 4px; }
  .cal-event { font-size: 9.5px; padding: 1px 4px; }
  .cal-dow { font-size: 9px; }
  .event-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat .value { font-size: 26px; }
  .table th:nth-child(4), .table td:nth-child(4) { display: none; }
  .avatar-menu, .notif-panel { right: 12px; }
  .topbar-inner { height: 64px; gap: 10px; }
  .nav.open { top: 64px; }
  .landing .topbar-inner > .btn { margin-left: auto; }
  .main { padding: 26px 18px 64px; }
  .page-head h1 { font-size: 31px; }
  .auth-page { padding-top: 24px; }
  .brand { font-size: 16px; }
}

@media (max-width: 440px) {
  .hero-cta .btn { width: 100%; }
  .hero .overline { font-size: 9px; letter-spacing: .07em; }
  .hero-art-head { font-size: 9px; }
  .hero-cta { gap: 10px; }
  .orbit-core { width: 108px; }
  .node-family { left: 5%; }
  .node-events { right: 4%; }
  .node-gifts { left: 18%; }
  .hero-art-foot > span:first-child { font-size: 14px; }
  .art-coordinates { font-size: 7px; }
  .qitem { gap: 9px; }
  .gift { flex-wrap: wrap; }
  .gift .gift-actions { flex-direction: row; flex-wrap: wrap; margin-left: 50px; }
  .cal-cell { min-height: 46px; }
  .foot { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Compact chrome, consistent data typography and resilient small layouts. */
.landing .topbar-inner > .btn { margin-left: 12px; }
.topbar-right { margin-left: auto; }
.shell .topbar-right { margin-left: 4px; }
.landing .brand { margin-right: auto; }
.filters .chip { font-size: 12px; }
.cal-title, .cal-cell .num, .panel-head .mono { font-family: var(--mono); font-weight: 400; }
.cal-cell.today { border-color: #81aeb8; box-shadow: inset 0 0 0 1px rgba(145,205,222,.08); }
.cal-event { background: #1f343c; color: #c7e3e9; }
.stat .label { font: 10px/1.6 var(--mono); min-height: 32px; letter-spacing: .05em; max-width: calc(100% - 12px); }
.field label { font-size: 10px; font-weight: 500; letter-spacing: .07em; }
.field .input { font-size: 16px; }
.modal { border-top: 2px solid #7299a3; }
.fcard b, .step b { font-weight: 600; }
.btn.active-yes { color: #10241c; background: #a6daba; box-shadow: none; }
.btn.active-no { color: #301c1c; background: #e5aaaa; box-shadow: none; }
.table .tbl-link { font-weight: 500; }
.admin-cols > *, .detail-grid > * { min-width: 0; }
.info-row { flex-wrap: wrap; }
.info-row .k { min-width: 110px; }
.desc, .gift-title, .gift-comment, .person-card .about { overflow-wrap: anywhere; }
@media (min-width: 761px) and (max-width: 960px) {
  .topbar-inner { height: 72px; }
  .hero-cta .btn { width: 100%; }
  .hero-note { align-items: flex-start; }
  .qitem { padding-inline: 16px; }
  .qitem:nth-child(2) { border-right: 0; }
}
@media (max-width: 760px) {
  .landing .topbar-inner > .btn { margin-left: auto; }
  .landing .brand { margin-right: 0; }
  .shell .topbar-right { margin-left: auto; }
  .hero-art .orbit-outer { width: 80%; }
  .node-events { top: 16%; }
  .stat { padding: 18px; }
  .auth-card { padding: 28px 24px; }
  .auth-card h1 { font-size: 27px; }
  .modal { max-height: calc(100dvh - 32px); }
  .hero-cta .btn { min-width: 0; }
}
@media (prefers-contrast: more) {
  :root { --line: #6c7f8a; --muted: #c1cbd1; }
  .orbit-node, .hero-art { border-color: #8197a2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.topbar-logout { flex-shrink:0; white-space:nowrap; }
@media(max-width:1100px) { .shell .topbar-right { margin-left:auto; } }
@media(min-width:961px) and (max-width:1100px) {
  .shell .nav { display:none; }
  .shell .nav.open { display:flex; flex-direction:column; position:absolute; top:80px; left:0; right:0; background:#10181e; border-bottom:1px solid var(--line); padding:10px 18px 16px; z-index:50; }
  .shell .burger { display:grid !important; }
}
@media(max-width:440px) {
  .shell .topbar-right { gap:4px; }
  .shell .topbar-right .icon-btn { width:28px; min-width:28px; height:32px; }
  .shell .topbar-right .avatar { width:28px; height:28px; }
  .topbar-logout { padding:8px 6px; font-size:12px; }
}
@media(max-width:600px) {
  .gift { flex-wrap:wrap; }
  .gift .gift-main { flex:1; min-width:0; }
  .gift .gift-actions { flex:0 0 100%; flex-direction:row; justify-content:flex-end; }
}
