/* PIPSNetwork: a live earnings monitor.
   Built for visitors who stay 5-8 seconds: reward first, perks second, one big button.
   Each category has its own colour (--c), so the page reads at a glance. */

@font-face { font-family: "Chakra Petch"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  --desk: #0b0719;
  --glass: #0f0a24;
  --panel: #191038;
  --panel-hi: #24174f;
  --line: #2f2262;
  --line-hi: #4a3a94;
  --text: #f6f2ff;
  --mute: #b0a8d8;

  --pink: #ff3d8b;
  --yellow: #ffd23f;
  --cyan: #3de0ff;
  --green: #36e58b;
  --orange: #ff8a3d;
  --violet: #a885ff;

  --cyan-dim: rgba(61, 224, 255, .14);
  --amber: #ffd23f;
  --live: #36e58b;

  --btn: linear-gradient(135deg, #ff4d94 0%, #ff8a5c 55%, #ffc83f 100%);
  --ff-display: "Chakra Petch", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --ff-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  padding: 28px 18px 40px;
  background:
    radial-gradient(800px 420px at 12% -8%, rgba(255, 61, 139, .20), transparent 70%),
    radial-gradient(800px 420px at 92% -6%, rgba(61, 224, 255, .14), transparent 70%),
    var(--desk);
  color: var(--text);
  font: 400 15px/1.5 var(--ff-body);
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ---------- monitor frame ---------- */
.monitor {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 0;
  background: linear-gradient(180deg, #43358a, #2a1f5c 14%, #1f1647);
  border-radius: 22px 22px 18px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 90px -30px rgba(255, 61, 139, .35), 0 0 0 1px #000;
}
.screen {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(255, 61, 139, .16), transparent 70%),
    radial-gradient(600px 300px at 0% 20%, rgba(61, 224, 255, .08), transparent 70%),
    var(--glass);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #000;
}
.chin { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 8px; color: #8a7fc4; }
.chin small { font: 500 12px var(--ff-display); letter-spacing: .04em; }
.power { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }

/* one orchestrated moment: the screen switches on, once per session */
@keyframes power-on {
  0%   { clip-path: inset(49.5% 0 49.5% 0); filter: brightness(3); }
  40%  { clip-path: inset(49.5% 0 49.5% 0); filter: brightness(3); }
  100% { clip-path: inset(0 0 0 0); filter: brightness(1); }
}
.boot .screen { animation: power-on .55s cubic-bezier(.2, .8, .2, 1) both; }

/* ---------- top bar ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  min-height: 54px;
  background: rgba(15, 10, 36, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--pink); text-decoration: none; font: 700 18px var(--ff-display); letter-spacing: .01em; flex: none; }
.brand b { color: var(--text); font-weight: 600; }

/* menu: tabs on desktop, tiles on phones (see the phone rules) */
.menu { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.m-item { --c: var(--violet); flex: none; display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px; color: var(--mute); text-decoration: none; font: 500 14px var(--ff-display); white-space: nowrap; }
.m-item:hover { color: var(--text); background: var(--panel-hi); }
.m-item[aria-current="page"] { color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.m-item.c-new { color: var(--yellow); }
.m-ico, .m-txt small, .menu-legal { display: none; }
.m-txt b { font-weight: 500; }
.m-count { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--pink); color: #fff; text-align: center; font: 700 12px/20px var(--ff-display); }
.burger, .bar-new { display: none; }

.readout { display: flex; align-items: center; gap: 14px; flex: none; color: var(--mute); font: 500 13px var(--ff-display); font-variant-numeric: tabular-nums; }

/* ---------- live ticker ---------- */
.ticker { display: flex; align-items: stretch; height: 34px; background: #0a0620; border-bottom: 1px solid var(--line); overflow: hidden; }
.tk-live { flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--pink); color: #1c0712; font: 700 13px var(--ff-display); position: relative; z-index: 1; }
.tk-live i { width: 8px; height: 8px; border-radius: 50%; background: #1c0712; }
.tk-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.tk-track { display: flex; width: max-content; height: 100%; animation: tick 60s linear infinite; }
.tk-set { display: flex; flex: none; }
.tk { --c: var(--violet); display: inline-flex; align-items: center; gap: 7px; padding: 0 22px 0 0; color: var(--text); text-decoration: none; white-space: nowrap; font-size: 13px; }
.tk i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.tk b { font: 600 13px var(--ff-display); }
.tk span { color: var(--yellow); font: 600 13px var(--ff-display); }
.tk em { padding: 0 6px; border-radius: 4px; background: var(--pink); color: #fff; font: 700 11px/17px var(--ff-display); font-style: normal; }
.tk:hover b { text-decoration: underline; }
.ticker:hover .tk-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: no-preference) {
  .tk-live i, .power, .pulse { animation: pulse 1.8s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-track { animation: none; }
  .tk-view { overflow-x: auto; scrollbar-width: none; }
  .tk-set[aria-hidden] { display: none; }
}

/* ---------- content ---------- */
.content { padding: 6px 18px 8px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 30px; align-items: center; padding: 26px 0 12px; }
.hero h1, .page-title { margin: 0; font: 700 clamp(28px, 4vw, 46px)/1.06 var(--ff-display); letter-spacing: -.015em; text-wrap: balance; }
.page-title { font-size: clamp(25px, 3.4vw, 36px); }
.hero p { margin: 12px 0 0; max-width: 50ch; color: var(--mute); font-size: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { --c: var(--violet); display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--text); text-decoration: none; font: 500 13.5px var(--ff-display); }
.chip b { padding: 0 6px; border-radius: 999px; background: var(--pink); color: #fff; font: 700 12px/18px var(--ff-display); }
.chip:hover { background: color-mix(in srgb, var(--c) 24%, transparent); }

.block { padding: 16px 0 10px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.block-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 20px/1.2 var(--ff-display); }
.block-head p, .cat-head p { margin: 3px 0 0; color: var(--mute); font-size: 14px; max-width: 62ch; }
.h-new { color: var(--yellow); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.more { flex: none; color: var(--c, var(--cyan)); text-decoration: none; font: 600 13.5px var(--ff-display); }
.more:hover { text-decoration: underline; }
.empty { color: var(--mute); }
.empty a { color: var(--yellow); }

/* ---------- boxes ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 9px; }
.box {
  --c: var(--violet);
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 12px;
  padding: 13px 13px 13px 16px;
  background: var(--panel);
  background: linear-gradient(100deg, color-mix(in srgb, var(--c) 11%, var(--panel)), var(--panel) 62%);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: inset 3px 0 0 var(--c);
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.box:hover { border-color: var(--c); }
.ico {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--c, var(--violet)) 22%, var(--glass));
  border: 1px solid color-mix(in srgb, var(--c, var(--violet)) 50%, transparent);
  font-size: 21px; line-height: 1;
}
.main { display: flex; flex-direction: column; align-items: stretch; gap: 3px; min-width: 0; }
.head { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; min-width: 0; }
.head strong { font: 700 16.5px/1.25 var(--ff-display); white-space: nowrap; }
.head small { color: var(--mute); font-size: 12px; white-space: nowrap; }
.new-flag { flex: none; margin-right: 100%; white-space: nowrap; padding: 0 7px; border-radius: 5px; background: #e8286f; color: #fff; font: 700 11.5px/18px var(--ff-display); }
.reward { padding: 1px 9px; border-radius: 6px; background: var(--yellow); color: #2b1d00; font: 700 13.5px/1.5 var(--ff-display); white-space: nowrap; }
.perks { min-width: 0; color: #c9c2ea; font-size: 12.5px; line-height: 1.5; }
.perks span { display: inline-block; margin-right: 10px; }
.perks span::before { content: "\2713"; margin-right: 4px; color: var(--c, var(--cyan)); font-weight: 700; }
.desc { display: none; color: #d5cff0; font-size: 13.5px; line-height: 1.45; }
.go {
  min-width: 90px;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--btn);
  color: #26081a;
  text-align: center;
  font: 700 14px/1 var(--ff-display);
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(255, 77, 148, .8);
  transition: filter .15s, transform .15s;
}
.box:hover .go, .btn-primary:hover { filter: brightness(1.1); }

/* the #1 pick: bigger, gradient frame, one full-width button */
.spot {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  padding: 16px;
  border: 2px solid transparent;
  background:
    linear-gradient(160deg, #2a1666, #191038 60%) padding-box,
    linear-gradient(135deg, var(--pink), var(--yellow) 55%, var(--cyan)) border-box;
  box-shadow: 0 18px 50px -18px rgba(255, 61, 139, .65);
}
.spot:hover { border-color: transparent; }
.spot .ico { width: 50px; height: 50px; font-size: 25px; align-self: start; }
.spot-flag { grid-column: 1 / -1; justify-self: start; margin: -2px 0 2px; padding: 2px 10px; border-radius: 6px; background: var(--yellow); color: #2b1d00; font: 700 12.5px/1.5 var(--ff-display); }
.spot .head { flex-direction: column; align-items: flex-start; gap: 2px; }
.spot .head strong { font-size: 22px; }
.spot .head .new-flag { margin-right: 0; }
.spot .nf-d { display: inline; }
.spot .reward { font-size: clamp(20px, 5.5vw, 26px); padding: 2px 12px; }
.spot .desc { display: block; margin-top: 2px; }
.spot .perks { font-size: 13px; margin-top: 4px; }
.spot .go { grid-column: 1 / -1; padding: 15px; font-size: 17px; box-shadow: 0 10px 28px -8px rgba(255, 77, 148, .85); }

/* ---------- category + text pages ---------- */
.cat-head { padding-top: 22px; }
.cat-head .page-title { color: var(--c, var(--text)); }
.cat-head.c-faucets .page-title, .cat-head.c-passive .page-title, .cat-head.c-apps .page-title, .cat-head.c-play .page-title, .cat-head.c-more .page-title, .cat-head.c-new .page-title { color: var(--text); }
.search { display: block; margin-top: 12px; max-width: 320px; }
.search input { width: 100%; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line-hi); border-radius: 9px; color: var(--text); font: 400 14px var(--ff-body); }
.search input::placeholder { color: #8379b8; }
.prose { max-width: 70ch; padding-top: 26px; }
.prose h2 { font: 700 19px var(--ff-display); margin: 26px 0 6px; }
.prose p, .prose li { color: #d5cff0; }
.prose a { color: var(--yellow); }

.btn { display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--line-hi); border-radius: 9px; color: var(--text); text-decoration: none; font: 600 14px var(--ff-display); }
.btn:hover { border-color: var(--pink); }
.btn-primary { background: var(--btn); border-color: transparent; color: #26081a; }

/* ---------- footer ---------- */
.foot { margin-top: 14px; padding: 18px 18px 20px; border-top: 1px solid var(--line); }
.legal { margin: 0 0 12px; max-width: 78ch; color: #9a91cb; font-size: 12.5px; line-height: 1.55; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-links a { color: var(--mute); text-decoration: none; font: 500 13px var(--ff-display); }
.foot-links a:hover { color: var(--yellow); }

/* category colours (after the components, so they win over their default --c) */
.c-top { --c: var(--pink); }
.c-new { --c: var(--yellow); }
.c-faucets { --c: var(--cyan); }
.c-passive { --c: var(--green); }
.c-apps { --c: var(--orange); }
.c-play { --c: var(--pink); }
.c-more { --c: var(--violet); }

/* ---------- wide screens: show the description too ---------- */
@media (min-width: 720px) {
  .desc { display: block; }
  .box { padding: 14px 14px 14px 17px; }
  .box:not(.spot) .ico { align-self: start; }
}

/* ---------- tablets and phones: tiles menu ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 16px; }
  .readout { display: none; }
  .bar { gap: 10px; padding: 0 14px; min-height: 52px; }
  .brand { margin-right: auto; }

  .bar-new { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--pink) 18%, transparent); border: 1px solid var(--pink); color: var(--text); text-decoration: none; font: 700 13.5px var(--ff-display); }
  .bar-new i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
  .bar-new b { padding: 0 6px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12px; line-height: 18px; }

  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 40px; padding: 0 11px; background: var(--panel-hi); border: 1px solid var(--line-hi); border-radius: 10px; cursor: pointer; }
  .burger i { display: block; height: 2.5px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] { border-color: var(--pink); }
  .burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .no-js .burger { display: none; }

  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none;
    flex: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    padding: 12px 12px 14px;
    background: #130c32;
    border-bottom: 1px solid var(--line-hi);
    box-shadow: 0 30px 50px rgba(0, 0, 0, .55);
  }
  .menu.open, .no-js .menu { display: grid; }
  .no-js .menu { position: static; }
  .m-item {
    position: relative;
    gap: 10px;
    padding: 11px 12px;
    min-height: 58px;
    border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--c) 11%, var(--panel));
    color: var(--text);
    white-space: normal;
  }
  .m-item.c-new { color: var(--text); border-color: var(--yellow); }
  .m-item:last-of-type { grid-column: 1 / -1; }
  .m-item[aria-current="page"] { background: color-mix(in srgb, var(--c) 26%, var(--panel)); color: var(--text); border-color: var(--c); }
  .m-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: color-mix(in srgb, var(--c) 24%, var(--glass)); font-size: 18px; }
  .m-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .m-txt b { font: 700 14.5px var(--ff-display); }
  .m-txt small { display: block; margin-top: 2px; color: var(--mute); font: 400 12px var(--ff-body); }
  .m-count { position: absolute; top: 8px; right: 8px; }
  .menu-legal { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 2px 14px; padding: 6px 2px 0; }
  .menu-legal a { color: var(--mute); text-decoration: none; font: 500 12.5px var(--ff-display); }
}

/* ---------- phones: as many offers as possible on the first screen ---------- */
@media (max-width: 560px) {
  body { padding: 0 0 20px; background: #1f1647; }
  .monitor { padding: 5px 5px 0; border-radius: 0; box-shadow: none; background: #1f1647; }
  .screen { border-radius: 10px; }
  .chin { height: 24px; }
  .chin small { font-size: 11px; }

  .bar { min-height: 48px; padding: 0 10px 0 12px; }
  .brand { font-size: 17px; }
  .burger { height: 38px; }
  .ticker { height: 30px; }
  .tk-live { padding: 0 10px; font-size: 12px; }

  .content { padding: 4px 10px 6px; }
  .hero { padding: 8px 0 4px; gap: 8px; }
  .hero-copy { padding: 0 2px; }
  .hero h1 { font-size: 19px; line-height: 1.2; }
  .hero p, .hero-cta { display: none; }

  .block { padding: 12px 0 4px; }
  .block-head { margin-bottom: 8px; }
  .block-head h2 { font-size: 17px; }
  .block-head p { display: none; }
  .grid { grid-template-columns: 1fr; gap: 7px; }

  .box:not(.spot) { grid-template-columns: 38px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 5px 10px; padding: 9px 10px 9px 13px; }
  .box:not(.spot) .main { display: contents; }
  .box:not(.spot) .ico { grid-row: 1 / 3; align-self: center; }
  .box:not(.spot) .head { grid-column: 2; grid-row: 1; }
  .box:not(.spot) .go { grid-column: 3; grid-row: 1; }
  .box:not(.spot) .perks { grid-column: 2 / 4; grid-row: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
  .box:not(.spot) .perks span { margin-right: 8px; }
  .box:not(.spot) .perks span:nth-child(n+3) { display: none; }
  .ico { width: 38px; height: 38px; font-size: 19px; }
  .head strong { font-size: 15.5px; }
  .head small { display: none; }
  .new-flag { margin-right: 0; }
  .nf-d { display: none; }
  .go { min-width: 80px; padding: 10px; font-size: 13.5px; }

  .spot { padding: 13px; gap: 6px 12px; }
  .spot .head small { display: inline; }
  .spot .head strong { font-size: 20px; }
  .spot .desc { display: none; }
  .spot .perks { white-space: normal; }
  .spot .go { padding: 14px; }

  .foot { padding: 14px 12px 16px; }
}

/* ---------- language switch ---------- */
.lang-sw { order: 9; flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 30px; padding: 0 9px; border-radius: 8px; border: 1px solid var(--line-hi); background: var(--panel-hi); color: var(--text); text-decoration: none; font: 700 12.5px var(--ff-display); letter-spacing: .04em; }
.lang-sw:hover, .lang-sw:focus-visible { border-color: var(--yellow); color: var(--yellow); }
@media (max-width: 900px) { .lang-sw { order: 0; height: 40px; } }

/* ---------- long (Russian) text must never break a box ---------- */
.box .head strong, .box .head small { min-width: 0; overflow-wrap: anywhere; }
.reward { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.perks span, .go { overflow-wrap: anywhere; }
.suggest { margin-top: 18px; color: var(--mute); }
.suggest a { color: var(--yellow); }

/* ---------- push prompt: one slim line at the bottom ---------- */
.push { position: fixed; z-index: 60; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(520px, calc(100% - 20px)); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: rgba(28, 19, 64, .97); border: 1px solid color-mix(in srgb, var(--pink) 70%, transparent); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); color: var(--text); }
.push[hidden] { display: none; }
.push-ico { font-size: 18px; line-height: 1; flex: none; }
.push-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.push-txt strong { font: 600 13.5px/1.3 var(--ff-display); }
.push-txt span { font-size: 12px; line-height: 1.3; color: #bdb5e3; }
.push-txt span:empty { display: none; }
.push-yes { flex: none; font: 700 13.5px var(--ff-display); padding: 8px 16px; border-radius: 9px; border: 0; cursor: pointer; background: var(--btn); color: #26081a; }
.push-no { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--mute); font-size: 20px; line-height: 1; cursor: pointer; }
.push-no:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.push.done { border-color: var(--green); }
.push.done .push-yes, .push.done .push-no { display: none; }
@media (max-width: 560px) { .push-txt span { display: none; } .push-txt strong { font-size: 13px; } }
@media (prefers-reduced-motion: no-preference) { .push:not([hidden]) { animation: push-in .3s ease-out; } }
@keyframes push-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- contact form ---------- */
.cform { display: grid; gap: 12px; max-width: 520px; margin-top: 14px; }
.cform label { display: grid; gap: 5px; font: 500 13px var(--ff-display); color: var(--mute); }
.cform input, .cform select, .cform textarea { width: 100%; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line-hi); border-radius: 9px; color: var(--text); font: 400 15px var(--ff-body); }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.cform button { justify-self: start; padding: 11px 22px; border: 0; border-radius: 10px; background: var(--btn, linear-gradient(135deg, #ff3d8b, #ff8a3d)); color: #fff; font: 700 15px var(--ff-display); cursor: pointer; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 10px 14px; border-radius: 9px; border: 1px solid; font-weight: 500; }
.notice.ok { border-color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }
.notice.bad { border-color: var(--pink); background: color-mix(in srgb, var(--pink) 14%, transparent); }
.c-russian { --c: #6ea8ff; }


/* ---------- desktop: 4 boxes per row (card layout) ---------- */
@media (min-width: 1000px) {
  .monitor { max-width: 1320px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .box:not(.spot) { grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: start; gap: 10px 10px; padding: 13px 13px 13px 16px; }
  .box:not(.spot) .ico { width: 38px; height: 38px; font-size: 19px; }
  .box:not(.spot) .head strong { font-size: 16px; }
  .box:not(.spot) .go { grid-column: 1 / -1; min-width: 0; padding: 10px 12px; }
  .box:not(.spot) .desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- phones: smaller #1 pick so more boxes fit under it ---------- */
@media (max-width: 560px) {
  .hero { padding: 4px 0 0; gap: 6px; }
  .hero h1 { font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .spot { position: relative; grid-template-columns: 40px minmax(0, 1fr); gap: 7px 10px; padding: 9px 10px 10px; border-width: 1.5px; box-shadow: 0 8px 24px -14px rgba(255, 61, 139, .7); }
  .spot-flag { position: absolute; top: -1px; right: 10px; margin: 0; padding: 0 8px; border-radius: 0 0 6px 6px; font-size: 11px; line-height: 17px; }
  .spot .ico { width: 40px; height: 40px; font-size: 20px; align-self: center; }
  .spot .head { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
  .spot .head strong { font-size: 17px; }
  .spot .head small { display: none; }
  .spot .reward { font-size: 16px; padding: 1px 9px; }
  .spot .perks { font-size: 12px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .spot .perks span:nth-child(n+3) { display: none; }
  .spot .go { padding: 10px; font-size: 15px; box-shadow: 0 6px 16px -8px rgba(255, 77, 148, .85); }
}
.push.wait .push-yes { display: none; }
