/* =========================================================================
   The hero product shot: a Talehaven workspace drawn from scratch for this
   page. Nothing here is lifted from the running app - it is a new interface
   in the new colour scheme, built to be animated.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Engravings
   The woodcuts are single colour, so they ride in as masks and take their
   colour from the element. One class per plate, one file each.
   ------------------------------------------------------------------------- */

/* Each woodcut has its own aspect ratio, and `mask-size: contain` fits the
   longer side - so a wide one (mage at 0.98) reads visibly smaller in a
   square box than a tall one (knight at 0.65). The standalone `scale`
   property evens them out WITHOUT touching `transform`, which GSAP drives
   on some of these elements. */
.cut {
  scale: var(--cut-zoom, 1);
}

.cut--mage { --cut-zoom: 1.24; }
.cut--orb { --cut-zoom: 1.12; }
.cut--skeleton { --cut-zoom: 1.1; }
.cut--manual { --cut-zoom: 1.08; }
.cut--board { --cut-zoom: 1.06; }

.cut {
  display: block;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.cut--adventurer { -webkit-mask-image: url('./assets/ryciny/adventurer.svg'); mask-image: url('./assets/ryciny/adventurer.svg'); }
.cut--fighter    { -webkit-mask-image: url('./assets/ryciny/fighter.svg');    mask-image: url('./assets/ryciny/fighter.svg'); }
.cut--knight     { -webkit-mask-image: url('./assets/ryciny/knight.svg');     mask-image: url('./assets/ryciny/knight.svg'); }
.cut--mage       { -webkit-mask-image: url('./assets/ryciny/mage.svg');       mask-image: url('./assets/ryciny/mage.svg'); }
.cut--skeleton   { -webkit-mask-image: url('./assets/ryciny/skeleton.svg');   mask-image: url('./assets/ryciny/skeleton.svg'); }
.cut--map        { -webkit-mask-image: url('./assets/ryciny/game-map.svg');   mask-image: url('./assets/ryciny/game-map.svg'); }
.cut--book       { -webkit-mask-image: url('./assets/ryciny/game-book.svg');  mask-image: url('./assets/ryciny/game-book.svg'); }
.cut--manual     { -webkit-mask-image: url('./assets/ryciny/manual.svg');     mask-image: url('./assets/ryciny/manual.svg'); }
.cut--board      { -webkit-mask-image: url('./assets/ryciny/clue-board.svg'); mask-image: url('./assets/ryciny/clue-board.svg'); }
.cut--potion     { -webkit-mask-image: url('./assets/ryciny/potion.svg');     mask-image: url('./assets/ryciny/potion.svg'); }
.cut--portal     { -webkit-mask-image: url('./assets/ryciny/portal.svg');     mask-image: url('./assets/ryciny/portal.svg'); }
.cut--countdown  { -webkit-mask-image: url('./assets/ryciny/countdown.svg');  mask-image: url('./assets/ryciny/countdown.svg'); }
.cut--circuit    { -webkit-mask-image: url('./assets/ryciny/circuit.svg');    mask-image: url('./assets/ryciny/circuit.svg'); }
.cut--orb        { -webkit-mask-image: url('./assets/ryciny/orb.svg');        mask-image: url('./assets/ryciny/orb.svg'); }
.cut--wheel      { -webkit-mask-image: url('./assets/ryciny/wheel.svg');      mask-image: url('./assets/ryciny/wheel.svg'); }
.cut--swords     { -webkit-mask-image: url('./assets/ryciny/swords.svg');     mask-image: url('./assets/ryciny/swords.svg'); }
.cut--gems       { -webkit-mask-image: url('./assets/ryciny/gems.svg');       mask-image: url('./assets/ryciny/gems.svg'); }
.cut--victory    { -webkit-mask-image: url('./assets/ryciny/victory.svg');    mask-image: url('./assets/ryciny/victory.svg'); }
.cut--king       { -webkit-mask-image: url('./assets/ryciny/chess-king.svg'); mask-image: url('./assets/ryciny/chess-king.svg'); }
.cut--coins      { -webkit-mask-image: url('./assets/ryciny/coins.svg');      mask-image: url('./assets/ryciny/coins.svg'); }

/* -------------------------------------------------------------------------
   2. The stage the workspace floats on
   ------------------------------------------------------------------------- */

.stage {
  position: relative;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  perspective: 2000px;
}

/* A wash of the current hero colour, sitting behind the window. It is what
   keeps the shot from looking pasted onto white. */
.stage__glow {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 92%;
  height: 86%;
  transform: translateX(-50%);
  background:
    radial-gradient(60% 55% at 50% 40%, var(--hero-glow) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.85;
  transition: background var(--t-slow) var(--ease);
  pointer-events: none;
}

.stage__frame {
  position: relative;
  border-radius: var(--radius-block);
  background: var(--bg);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-frame);
  overflow: hidden;
  transform-style: preserve-3d;
  container-type: inline-size;
}

/* -------------------------------------------------------------------------
   3. The workspace itself
   Everything inside is sized in cqw, so the whole interface scales with the
   frame instead of breaking into a different layout at every width.
   ------------------------------------------------------------------------- */

.app {
  display: grid;
  grid-template-columns: 15.5cqw minmax(0, 1fr);
  /* The panels are absolute inside, so this number IS the height. Raised by
     about a hundred pixels at desktop width: the fuller panels (karta
     postaci, skarbiec) were clipping their last line. The rem floor keeps a
     narrow frame from collapsing to a strip. */
  min-height: max(26rem, 47cqw);
  /* One notch bigger than it was. The floor keeps it readable on a narrow
     tablet, the ceiling stops it ballooning on a 2560px monitor, and
     everything inside is in em, so one number moves the whole interface. */
  font-size: clamp(8.5px, 1.13cqw, 15px);
  color: var(--ink);
}

/* A narrow frame - a small window, or a browser zoomed past 125% - wraps the
   fuller panels onto an extra row. Without the extra height the last row and
   the footer were cut off with nothing to show they were there. */
@container (max-width: 1000px) {
  .app {
    min-height: max(34rem, 62cqw);
  }
}

/* ---- sidebar: the real feature tree, because the breadth is the point ---- */

/* Ciemna plyta, jak `SidebarNavigation` w aplikacji. To jedyny element,
   ktory jest ciemny w obu motywach produktu, i to po nim poznaje sie
   Talehaven z daleka. */
.app__side {
  border-right: 1px solid var(--nav-line);
  background: var(--nav-surface);
  color: var(--nav-ink);
  /* Znak marki stal tu wczesniej. Jest juz w naglowku strony, tuz nad ramka,
     wiec w menu byl drugi raz tym samym. */
  padding: 0.9em 0.75em 1.2em;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  min-width: 0;
}



/* Stoi w gornym pasku, jak `TopNavigation` w aplikacji - w menu jej nie ma. */
.app__search {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin: 0;
  padding: 0.45em 0.7em;
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  background: var(--bg-page);
  font-size: 0.85em;
  color: var(--ink-3);
  min-width: 14em;
}

.app__search kbd {
  margin-left: auto;
  padding: 0.1em 0.4em;
  border-radius: 4px;
  background: var(--line);
  font: inherit;
  font-size: 0.78em;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}

.app__search svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.app__group {
  margin: 0.9em 0 0.35em;
  padding-inline: 0.45em;
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--nav-ink-faint);
}

.app__group:first-of-type {
  margin-top: 0;
}

.app__nav {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}

.app__item {
  display: grid;
  grid-template-columns: 1.15em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55em;
  padding: 0.42em 0.5em;
  border-radius: var(--radius-chip);
  font-size: 0.92em;
  font-weight: 600;
  color: var(--nav-ink-soft);
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.app__item .ico {
  width: 1.15em;
  height: 1.15em;
  opacity: 0.8;
}

.app__item i {
  font-style: normal;
  font-size: 0.78em;
  font-weight: 700;
  color: var(--nav-ink-faint);
}

.app__item:hover {
  background: var(--nav-hover);
  color: var(--nav-ink);
}

/* Zaznaczenie w aplikacji to przygaszone karmazynowe tlo i rozowy atrament,
   nie pelne wypelnienie. */
.app__item[data-on='true'] {
  background: var(--nav-active-bg);
  color: var(--nav-active);
  font-weight: 800;
}

.app__item[data-on='true'] .ico,
.app__item[data-on='true'] i {
  opacity: 1;
  color: var(--nav-active);
}

.app__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app__top {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.75em 1.1em;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.app__crumbs {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.95em;
  color: var(--ink-3);
  min-width: 0;
}

.app__crumbs b {
  color: var(--ink);
  font-weight: 800;
}

.app__crumbs span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app__top-right {
  display: flex;
  align-items: center;
  gap: 0.7em;
  flex: none;
}

.app__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.4em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--olive-tint);
  font-size: 0.85em;
  font-weight: 700;
  white-space: nowrap;
}

.app__chip i {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--olive);
}

.app__avatars {
  transform-origin: center;
  display: flex;
}

.app__avatars span {
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  border: 1.5px solid var(--bg);
  margin-left: -0.5em;
  display: grid;
  place-items: center;
  font-size: 0.75em;
  font-weight: 800;
  color: #fff;
  background: var(--ink);
}

.app__avatars span:nth-child(2) { background: var(--crimson); }
.app__avatars span:nth-child(3) { background: #6b7046; }

/* `<main>` w aplikacji ma `--th-bg-warm`, a karty na nim sa kremowe. */
.app__main {
  background: var(--bg-page);
  position: relative;
  flex: 1;
  min-height: 0;
  container-type: inline-size;
}

/* The cloned panels sit inside the workspace exactly as they do downstairs. */
.app__main .pane {
  position: absolute;
  inset: 0;
  padding: 1.1em 1.2em;
  display: grid;
  gap: 1em;
  font-size: 1em;
}

.app__main .pane[hidden] {
  display: none;
}

.app__label {
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.9em;
}

/* ---- scene list ---- */

.app__scenes {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.app__scene {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.6em;
  padding: 0.55em 0.65em;
  border-radius: 0.6em;
  font-size: 0.95em;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.app__scene i {
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78em;
  font-weight: 800;
  font-style: normal;
  border: 1.5px solid var(--line-2);
  color: var(--ink-3);
}

.app__scene[data-on='true'] {
  background: var(--crimson-tint);
  border-color: rgba(185, 76, 76, 0.28);
  color: var(--ink);
  font-weight: 800;
}

.app__scene[data-on='true'] i {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}

/* ---- main column ---- */

.app__title {
  font-size: 1.55em;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

.app__prose {
  font-size: 0.98em;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 1em;
  max-width: 46ch;
}

.app__prose mark {
  background: var(--olive-tint);
  color: inherit;
  padding: 0.05em 0.25em;
  border-radius: 0.3em;
}

.app__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-bottom: 1.1em;
}

.app__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0.75em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  font-size: 0.85em;
  font-weight: 700;
  background: var(--bg);
}

.app__pill .ico {
  width: 1.15em;
  height: 1.15em;
  color: var(--crimson);
}

/* ---- material tiles with the engravings ---- */

.app__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7em;
}

.tile {
  margin: 0;
  border-radius: 0.8em;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.tile__art {
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  background: var(--bg-tint);
}

.tile__art .cut {
  width: 58%;
  height: 58%;
  color: var(--ink);
  opacity: 0.88;
}

.tile:nth-child(2) .tile__art { background: var(--sage-tint); }
.tile:nth-child(3) .tile__art { background: var(--crimson-tint); }

.tile figcaption {
  padding: 0.55em 0.7em;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.25;
}

.tile figcaption small {
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 0.15em;
}

/* ---- side widgets ---- */

.widget {
  border: 1px solid var(--line);
  border-radius: 0.9em;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.widget__art {
  aspect-ratio: 16 / 9;
  background: var(--bg-tint);
  display: grid;
  place-items: center;
  position: relative;
}

.widget__art .cut {
  width: 54%;
  height: 76%;
  color: var(--ink);
  opacity: 0.9;
}

.widget__body {
  padding: 0.8em 0.9em 0.95em;
}

.widget__name {
  display: block;
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.widget__meta {
  display: block;
  font-size: 0.85em;
  color: var(--ink-3);
  margin-top: 0.2em;
  line-height: 1.4;
}

.widget__rows {
  margin: 0.7em 0 0;
  display: grid;
  gap: 0.4em;
  font-size: 0.85em;
}

.widget__rows div {
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
}

.widget__rows dt {
  color: var(--ink-3);
  font-weight: 600;
}

.widget__rows dd {
  margin: 0;
  font-weight: 700;
}

/* ---- poll widget ---- */

.widget--poll .widget__body {
  padding-top: 0.9em;
}

.app__poll {
  display: grid;
  gap: 0.5em;
  margin-top: 0.7em;
  font-size: 0.85em;
}

.app__poll-row {
  display: grid;
  grid-template-columns: 4.4em minmax(0, 1fr) 1.9em;
  align-items: center;
  gap: 0.5em;
}

.app__poll-row b {
  font-weight: 700;
}

.app__poll-bar {
  height: 0.55em;
  border-radius: var(--radius-pill);
  background: var(--bg-sunken);
  overflow: hidden;
}

.app__poll-bar i {
  display: block;
  height: 100%;
  width: var(--fill, 0%);
  border-radius: inherit;
  background: var(--crimson);
}

.app__poll-row.is-best .app__poll-bar i {
  background: var(--olive);
}

.app__poll-row span:last-child {
  text-align: right;
  color: var(--ink-3);
  font-weight: 700;
}

/* -------------------------------------------------------------------------
   4. Cards that break out of the frame
   The overlap is what stops the shot reading as a flat rectangle.
   ------------------------------------------------------------------------- */

.stage__float {
  position: absolute;
  z-index: 3;
  /* Decoration. They cross the frame's edge, so without this they swallow
     clicks on whatever sits under them - the wall tabs, for one. */
  pointer-events: none;
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  box-shadow: var(--shadow-lift);
  padding: 0.8rem 0.95rem;
  width: 15.5rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.stage__float .cut {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  color: var(--crimson);
}

.stage__float-name {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.stage__float-meta {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-3);
  margin-top: 0.15rem;
  line-height: 1.3;
}

/* The floats cross the frame's top and bottom edges rather than its sides.
   Hanging off the left they covered the sidebar, which is the part that shows
   how much the product actually holds, and on a 1500px screen the wider frame
   pushed them past the viewport entirely. */
.stage__float--a {
  /* Sits over the gap in the top bar. At 27% it covered the breadcrumb,
     which is the line naming the scene the shot is about. */
  left: 46%;
  top: -2.9rem;
}

.stage__float--b {
  /* Clear of the scale bar in the map's bottom right corner. */
  right: 1.5%;
  bottom: -2.9rem;
}

/* A cursor that moves while the shot plays itself. */
.stage__cursor {
  position: absolute;
  z-index: 5;
  width: 1.4rem;
  height: 1.4rem;
  margin: -0.2rem 0 0 -0.2rem;
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* -------------------------------------------------------------------------
   5. Narrow screens
   Below the breakpoint the workspace stops pretending to be a desktop app:
   the rail and the side column drop out and the shot keeps only what can be
   read at that size.
   ------------------------------------------------------------------------- */

/* On a narrow frame the workspace stops pretending to be a desktop app: the
   tree moves into a row of chips above the panel, because a 15cqw sidebar on a
   phone is a column of clipped words. */
@container (max-width: 760px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
    font-size: 11.5px;
  }

  .app__side {
    display: none;
  }

  .app__body .app__tabs {
    display: flex;
  }

  .app__top {
    padding: 0.7em 0.9em;
  }

  .app__crumbs {
    font-size: 0.9em;
  }

  .app__avatars {
  transform-origin: center;
    display: none;
  }

  .app__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The phone switcher. Hidden until the container query above turns it on. */
.app__tabs {
  display: none;
  gap: 0.35em;
  padding: 0.6em 0.9em;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.app__tabs::-webkit-scrollbar {
  display: none;
}

.app__tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.45em 0.8em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-size: 0.92em;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.app__tab .ico {
  width: 1.1em;
  height: 1.1em;
}

.app__tab[data-on='true'] {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}

/* Below this there is no room beside the frame, so they would land on the
   interface instead of beside it. */
@media (max-width: 900px) {
  .stage__float {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   6. Live presence and the hand-over hint
   ------------------------------------------------------------------------- */

.stage__peer {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  pointer-events: none;
  will-change: transform;
}

.stage__peer svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.stage__peer b {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  padding: 0.12rem 0.45rem 0.12rem 0.3rem;
  border-radius: 0.4rem;
  font-size: 0.66rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

/* The role, so it reads as a table at a glance: one GM, three players. */
.stage__peer b i {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.05rem 0.28rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.28);
}

.stage__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.6rem auto 0;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-card);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-2);
  position: relative;
  z-index: 4;
  width: fit-content;
}

.stage__hint-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 0 rgba(180, 185, 76, 0.7);
  animation: hint-pulse 2.4s ease-out infinite;
}

.stage__hint[data-live='true'] .stage__hint-dot {
  background: var(--crimson);
  animation: none;
}

@keyframes hint-pulse {
  0% { box-shadow: 0 0 0 0 rgba(180, 185, 76, 0.65); }
  70% { box-shadow: 0 0 0 0.6rem rgba(180, 185, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(180, 185, 76, 0); }
}

/* The sidebar is clickable, so it has to look it. */
.app__item {
  cursor: pointer;
}

.app__item:hover:not([data-on='true']) {
  background: rgba(25, 23, 20, 0.05);
  color: var(--ink);
}

/* The "soon" tag on a sidebar entry and on a walkthrough caption. */
.app__soon,
.showcase__soon {
  font-style: normal;
  font-size: 0.62em;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 0.45em;
  padding: 0.1em 0.4em;
  border-radius: var(--radius-pill);
  background: var(--tint-crimson);
  color: var(--crimson-deep);
  vertical-align: middle;
}

/* Prawa strona gornego paska, jak w `TopNavigation`: dzwonek, wiadomosci,
   guzik „Utworz" i awatary. Wczesniej byla tu sama pastylka sesji. */
.app__crumbs {
  flex: none;
}

.app__top-right {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-left: auto;
}

.app__icon {
  width: 2em;
  height: 2em;
  display: grid;
  place-items: center;
  position: relative;
  border: 0;
  border-radius: var(--radius-chip);
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.app__icon svg {
  width: 1.15em;
  height: 1.15em;
}

.app__icon:hover {
  background: var(--bg-page);
  color: var(--ink);
}

.app__dot {
  position: absolute;
  top: 0.32em;
  right: 0.36em;
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: var(--crimson);
  border: 1.5px solid var(--bg);
}

.app__create {
  min-height: 2em;
  padding: 0 0.7em;
  font-size: 0.78em;
  gap: 0.3em;
}

.app__create .ico {
  width: 0.95em;
  height: 0.95em;
}

@container (max-width: 1000px) {
  .app__search,
  .app__icon,
  .app__create {
    display: none;
  }
}
