/* Arc network site — forums, staff, profiles.
 *
 * Shares storeweb's and statsweb's design system rather than restating it: same
 * tokens, same component names (.panel/.panel-head/.btn), same 1160px measure and
 * 52px bar. Somebody moving between the store, the stats and here should not be able
 * to tell they changed page, let alone site.
 *
 * The --maroon/--red variable names are inherited and name roles, not hues — the theme is
 * light blue. They are kept spelled exactly as the other two sites spell them so the three
 * files stay diffable against each other. */

:root {
  --bg: #f0f0f1;
  --card: #fbfbfc;
  --line: #e2e2e4;
  --ink: #3c3f44;
  --ink-strong: #26282c;
  --muted: #9a9da3;
  --maroon: #2ba0d2;      /* panel-header, the mark's deep blue */
  --maroon-deep: #1a7fa9;
  --red: #3fb2e6;         /* primary accent, the mark's light blue */
  --red-dark: #1b83b2;
  --link: #1b83b2;
  --win: #3f9e6b;
  --loss: #d9503c;
  --gold: #efb45a;
  --banner: linear-gradient(135deg, #8ecdf0 0%, #3fb2e6 55%, #1f88b8 100%);
  --shadow: 0 1px 3px rgba(0, 0, 0, .10);
  --mono: "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg); color: var(--ink); min-height: 100vh;
  font-family: "Montserrat", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 14px; display: flex; flex-direction: column;
}
a { color: inherit; text-decoration: none; }

/* ---- top bar ---- */
.topbar { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); position: sticky; top: 0; z-index: 5; }
.topbar-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 52px;
  /* The wordmark is a domain now rather than a three-letter name, so the row is tighter than
     it was: the gaps give back what the extra characters took, and the nav stays on one line
     down to a narrow laptop instead of wrapping the sign-in button. */
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 7px; color: var(--red); }
/* The mark alone, no tile. Its lower half is white and the bar is nearly white, so that half
 * goes quiet here — the blue half carries the silhouette, which is the trade every
 * transparent version of this logo makes (see the launcher's icon.svg for the same note). */
/* Two stacked drop-shadows, not one: the first is a tight halo that traces the whole
 * silhouette (a zero-offset blur of 1px reads as an outline), the second is an ordinary soft
 * shadow under it for depth. The second is applied to the result of the first, which is what
 * makes the pair darken the edge enough for the white half to separate from the bar. */
.brand-mark {
  width: 26px; height: 26px; object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(40, 44, 50, .5)) drop-shadow(0 1px 2px rgba(20, 24, 30, .32));
}
.brand-name {
  font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--red); text-shadow: 1px 1px 0 rgba(0, 0, 0, .15); font-style: italic;
}
/* The wordmark is the address, so the dot is the part that makes it one: the same blue the
 * mark carries, against a name that is otherwise the site's own colour. */
.brand-dot { color: #2d9fd0; }

.topnav { display: flex; gap: 17px; }
.topnav a {
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-strong); padding: 6px 0;
}
.topnav a:hover, .topnav a.on { color: var(--red); }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.viewer { display: flex; align-items: center; gap: 9px; }
.viewer-label { text-align: right; line-height: 1.2; }
.viewer-label small {
  display: block; font-size: .56rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.viewer-name {
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-strong);
}
.viewer-face { width: 26px; height: 26px; image-rendering: pixelated; background: var(--line); }


/* ---- buttons ---- */
.btn {
  font-family: inherit; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  padding: 9px 16px; border-radius: 2px; border: 0; cursor: pointer;
  background: var(--red); color: #fff; transition: background .12s; display: inline-block;
}
.btn:hover:not(:disabled) { background: var(--red-dark); }
.btn:disabled { background: #cfd2da; color: #fff; cursor: not-allowed; }
.btn.ghost { background: #f1f1f1; color: var(--ink); }
.btn.ghost:hover:not(:disabled) { background: #e7e7e7; color: var(--red); }
.btn.wide { width: 100%; padding: 12px; letter-spacing: .18em; text-align: center; }

/* ---- shell ---- */
main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 26px 20px 10px; }

.footer { background: #232529; margin-top: 44px; }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 26px 20px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.footer-brand { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.footer-sub { color: #6e737d; font-size: .76rem; font-family: var(--mono); }
.footer-note { color: #565b64; font-size: .68rem; margin-left: auto; }
.footer a:hover { color: #fff; }
.footer-legal {
  max-width: 1160px; margin: 0 auto; padding: 0 20px 24px;
  color: #4b5058; font-size: .64rem; line-height: 1.7; letter-spacing: .04em;
}

/* ---- panels ---- */
.panel { background: var(--card); border-radius: 3px; box-shadow: var(--shadow); overflow: hidden; }
.panel + .panel { margin-top: 22px; }
.panel-head {
  background: var(--maroon); color: #fff; text-align: center;
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; padding: 11px 16px;
}
.panel-head.left { text-align: left; letter-spacing: .18em; display: flex; justify-content: space-between; gap: 12px; }
.panel-head .count { color: rgba(255, 255, 255, .45); }
.panel-body { padding: 16px; }

/* ---- hero ----
   Byte-for-byte the statsweb title card, mark included: it is the same network
   introducing itself, and two versions of that would be one too many. */
.hero {
  border-radius: 3px; overflow: hidden; box-shadow: var(--shadow);
  /* The mark's own ramp, blown up: pale sky at the top left where its light falls, deep blue
     under it. The two radials are what stop a three-stop fade reading as a flat swatch. */
  background:
    radial-gradient(700px 320px at 62% 30%, rgba(178, 224, 255, .45), transparent 70%),
    radial-gradient(520px 300px at 30% 75%, rgba(24, 118, 166, .34), transparent 70%),
    linear-gradient(150deg, #8fd4fe 0%, #46b4e8 52%, #1f88b8 100%);
  text-align: center; padding: 62px 20px 66px; color: #fff;
}
.hero-mark { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
.hero h1 {
  margin-top: 18px; font-size: 1.6rem; font-weight: 600; letter-spacing: .3em;
  text-transform: uppercase; text-indent: .3em;
}
.hero p {
  margin-top: 10px; color: rgba(255, 255, 255, .42); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .42em; text-indent: .42em;
}

/* ---- quick links ---- */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.quick a {
  background: var(--card); border-radius: 3px; box-shadow: var(--shadow); padding: 15px;
  text-align: center; font-size: .7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .16em; color: var(--ink-strong);
}
.quick a:hover { color: var(--red); }
.quick a.primary { background: var(--red); color: #fff; }
.quick a.primary:hover { background: var(--red-dark); color: #fff; }

/* The connect button and the player count sit in the quick row and share its shape,
   so the three slots read as one strip rather than a button between two cards. */
.connect, .count {
  background: var(--card); border: 0; border-radius: 3px; box-shadow: var(--shadow);
  padding: 15px; text-align: center; font-family: inherit;
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
  color: var(--ink-strong);
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.connect { cursor: pointer; }
.connect:disabled { cursor: default; color: var(--muted); }
.connect:hover:not(:disabled) { color: var(--red); }
.connect.copied { color: var(--win); }
.connect .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--win); flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, .18);
}
.connect.copied .dot { background: var(--win); }
.count { cursor: default; }
.count b { color: var(--red); font-weight: 800; }

/* ---- featured ---- */
.featured + .featured { margin-top: 22px; }
.featured-body { padding: 22px 24px 20px; }
.featured-title {
  font-size: 1.5rem; font-weight: 800; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .02em; color: var(--ink-strong);
}
.featured-by {
  margin-top: 7px; font-size: .74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-strong);
}
.featured-by span { color: var(--muted); font-weight: 600; margin-left: 6px; }
.featured-text {
  margin-top: 14px; padding-top: 15px; border-top: 1px solid var(--line);
  font-size: .88rem; line-height: 1.7; color: var(--ink);
}
/* The full-width bar the example uses, in the panel-header blue so it reads as the
   card's own footer rather than a button dropped inside it. */
.featured-more {
  display: block; background: var(--maroon); color: #fff; text-align: center;
  padding: 13px 16px; font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .2em;
}
.featured-more:hover { background: var(--maroon-deep); color: #fff; text-decoration: none; }

.mention {
  font-weight: 800; color: var(--red);
  background: #e7f4fb; border-radius: 2px; padding: 0 4px;
}
.mention:hover { background: var(--red); color: #fff; text-decoration: none; }

.columns { display: grid; grid-template-columns: 1fr 330px; gap: 22px; align-items: start; margin-top: 22px; }

/* ---- states ---- */
.empty { color: var(--muted); text-align: center; padding: 34px 0; font-size: .85rem; }
.loading { display: flex; justify-content: center; padding: 70px 0; }
.spin {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error-box { text-align: center; padding: 60px 0; }
.error-box h2 {
  color: var(--ink-strong); margin-bottom: 8px; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .14em; font-weight: 800;
}
.error-box p { color: var(--muted); font-size: .85rem; }
.notice {
  margin-bottom: 22px; background: var(--gold); color: #3a2c07; border-radius: 3px; box-shadow: var(--shadow);
  padding: 12px 16px; text-align: center; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em;
}
.hint { color: var(--muted); font-size: .8rem; line-height: 1.7; }
.hint + .hint { margin-top: 10px; }
code.cmd {
  background: #f1f1f1; border-radius: 2px; padding: 2px 7px;
  font-family: var(--mono); font-size: .78rem; font-weight: 600; color: var(--ink-strong);
}
ol.steps { margin: 12px 0 12px 18px; color: var(--ink); font-size: .84rem; line-height: 2; }

/* ---- forum rows ---- */
.frow {
  display: flex; align-items: center; gap: 13px; padding: 13px 16px;
  border-top: 1px solid var(--line);
}
.panel-head + .frow { border-top: 0; }
.frow:hover { background: #fafafa; }
.frow.gone { opacity: .55; }
.frow-face { width: 30px; height: 30px; image-rendering: pixelated; background: var(--line); flex: 0 0 auto; }
.frow-main { flex: 1; min-width: 0; }
.frow-title {
  font-size: .86rem; font-weight: 800; color: var(--ink-strong);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frow:hover .frow-title { color: var(--red); }
.frow-sub {
  font-size: .72rem; color: var(--muted); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frow-count {
  text-align: center; font-size: .9rem; font-weight: 800; color: var(--ink-strong);
  min-width: 62px; flex: 0 0 auto;
}
.frow-count small {
  display: block; font-size: .56rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.frow-meta {
  text-align: right; font-size: .72rem; color: var(--muted);
  min-width: 96px; flex: 0 0 auto; white-space: nowrap;
}
.flag, .lock {
  display: inline-block; vertical-align: middle; margin-right: 6px; padding: 2px 7px; border-radius: 2px;
  font-size: .54rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: #ddeffa; color: var(--maroon);
}
.flag.warn { background: #fbe3e1; color: #a8352b; }

.crumbs { font-size: .72rem; color: var(--muted); margin-bottom: 14px; letter-spacing: .04em; }
.crumbs a { font-weight: 700; color: var(--ink-strong); }
.crumbs a:hover { color: var(--red); }

/* ---- posts ---- */
.post { display: flex; gap: 16px; padding: 18px 16px; border-top: 1px solid var(--line); }
.panel-head + .post { border-top: 0; }
.post.gone { background: #fcfafa; opacity: .72; }
.post-side { width: 92px; flex: 0 0 auto; text-align: center; }
.post-face { width: 62px; height: 62px; image-rendering: pixelated; background: var(--line); }
.post-author {
  display: block; margin-top: 7px; font-size: .74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink-strong);
  overflow: hidden; text-overflow: ellipsis;
}
.post-author:hover { color: var(--red); }
.post-rank {
  margin-top: 3px; font-size: .56rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--maroon);
}
.post-main { flex: 1; min-width: 0; }
.post-meta { font-size: .68rem; color: var(--muted); margin-bottom: 8px; }
.post-body { font-size: .88rem; line-height: 1.65; color: var(--ink); word-wrap: break-word; }
.post-tools { margin-top: 10px; display: flex; gap: 14px; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.link-btn:hover { color: var(--red); }

/* ---- forms ---- */
.field {
  width: 100%; font-family: inherit; font-size: .86rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px; padding: 10px 12px; background: #fcfcfd;
  margin-bottom: 10px; resize: vertical;
}
.field:focus { outline: 0; border-color: var(--red); background: #fff; }
.form-error { color: var(--loss); font-size: .74rem; font-weight: 700; min-height: 18px; margin-bottom: 6px; }
.btn.small { font-size: .62rem; padding: 7px 12px; }
.tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---- staff ---- */
.staff-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 20px; padding: 22px 16px;
}
.staff-member { text-align: center; }
.staff-face {
  width: 72px; height: 72px; border-radius: 50%; image-rendering: pixelated;
  background: var(--line); object-fit: cover; margin: 0 auto 9px; display: block;
}
.staff-name {
  font-size: .8rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-strong);
}
.staff-status { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.staff-status.online { color: var(--win); }

/* ---- profile ---- */
.profile-head { display: flex; gap: 20px; align-items: center; padding: 22px 16px; }
.profile-face { width: 84px; height: 84px; image-rendering: pixelated; background: var(--line); border-radius: 3px; }
.profile-name {
  font-size: 1.4rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-strong); line-height: 1.2;
}
/* ---- rank rings ----
   A head that has earned a rank wears its colour. An outline rather than a border or
   a box-shadow ring: it sits outside the image without changing its size, follows
   whatever corner radius the head already has, and leaves the gap transparent, so the
   same rule works on a white panel and on the dark top bar. The glow is the same
   colour, kept faint — it should read as the head being lit, not as a sticker.

   --rank is set inline per head; the fallback here covers a rank whose colour Breeze
   stores as a legacy code, which has no hex to hand over. */
.ranked {
  --rank: var(--maroon);
  outline: 2px solid var(--rank);
  outline-offset: 2px;
  box-shadow: 0 0 10px -2px var(--rank);
}
.staff-face.ranked, .profile-face.ranked { outline-width: 3px; outline-offset: 3px; }

.rank-tag {
  display: inline-block; margin-top: 8px; padding: 4px 11px; border-radius: 2px;
  font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: var(--maroon); color: #fff;
}
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 14px 16px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact dt {
  font-size: .58rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.fact dd { font-size: .86rem; font-weight: 700; color: var(--ink-strong); }

/* ---- narrow ---- */
@media (max-width: 900px) { .columns { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .topbar-inner { gap: 14px; }
  /* Matches storeweb and statsweb exactly — the nav stays visible and scrolls. */
  .topnav { gap: 14px; overflow-x: auto; scrollbar-width: none; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a { font-size: .66rem; letter-spacing: .06em; white-space: nowrap; }
  .quick { grid-template-columns: 1fr; }
  .featured-body { padding: 18px 16px 16px; }
  .featured-title { font-size: 1.2rem; }
  /* Same narrow-screen hero as statsweb: it keeps its padding and its mark, and
     only the lettering tightens. */
  .hero h1 { font-size: 1.15rem; }
  .hero p { letter-spacing: .24em; }
  .viewer-label { display: none; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- social links ---- */
.socials {
  display: flex; gap: 10px; justify-content: center;
  padding: 14px 16px; border-top: 1px solid var(--line);
}
.social {
  width: 34px; height: 34px; border-radius: 3px; background: #f1f1f1;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.social:hover { background: var(--red); color: #fff; }
.social svg { width: 17px; height: 17px; display: block; }
.socials-edit { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.socials-edit label {
  display: block; font-size: .58rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}

/* ---- the editor tab ----
   The two editors bring their own stylesheets, fenced under .engtab / .kittab, and this
   is only what holds them: the sub-tab strip, the sign-in gate, and the two measures the
   editors were drawn to.

   Their stylesheets are scoped and this file is not, so a class name both use — .panel,
   .btn, .field — leaks whatever the editor does not itself set. Nearly all of that is
   harmless, because both came from the same design system; .count is the exception, being
   a padded white pill on the front page and a number in a panel header in the editors. */
.editor-host { width: 100%; }
.editor-host .count {
  background: none; box-shadow: none; border: 0; padding: 0;
  display: inline; letter-spacing: inherit; font-size: inherit;
}
.engtab { max-width: 1160px; margin: 0 auto; }
.kittab { max-width: 1240px; margin: 0 auto; }

/* The sub-tabs. A second strip rather than more links in the top bar: they are views of
   one tool, they only exist while you are signed in, and which of them you get depends on
   your rank — none of which is true of the site's own nav. */
.editor-bar { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.editor-bar:empty { display: none; }
.editor-tab {
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent;
}
.editor-tab:hover { color: var(--ink-strong); }
.editor-tab.on { color: var(--red); border-bottom-color: var(--red); }
.editor-badge {
  margin-left: auto; font-size: .58rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #fff; background: var(--maroon);
  padding: 4px 8px; border-radius: 2px;
}
.editor-gate { max-width: 620px; margin: 0 auto; }

/* The inventory canvas draws a real Minecraft inventory rather than a site card, so it
   keeps Minecraft's greys. Read by kits.css and by the item sprites' JS. */
:root { --slot: #8b8b8b; --slot-dark: #373737; --slot-face: #c6c6c6; }

/* ---- toast ----
   The editors report a save this way. Nothing else on the site does yet; when something
   does, it gets this one rather than a second of its own. */
.toast {
  position: fixed; bottom: 74px; left: 50%; transform: translateX(-50%); z-index: 20;
  background: #33363a; color: #fff; padding: 11px 18px; border-radius: 3px;
  font-size: .82rem; font-weight: 600; box-shadow: 0 3px 14px rgba(0, 0, 0, .2); max-width: 90vw;
}
.toast.good { background: #2f7d4f; }
.toast.warn { background: #8a6d2f; }
.toast.bad { background: #8f3a37; }

/* ---- image attachments ----
   The picker sits under the box it belongs to, and what has been attached is shown as thumbnails
   rather than filenames: the point of attaching a picture is that somebody looks at it. */
.attach { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.attach-add {
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  padding: 9px 16px; border-radius: 2px; background: #f1f1f1; color: var(--ink); cursor: pointer;
}
.attach-add:hover { background: #e7e7e7; color: var(--red); }
.attach-list { display: flex; gap: 8px; flex-wrap: wrap; }
.attach-thumb { position: relative; display: inline-block; }
.attach-thumb img {
  width: 54px; height: 54px; object-fit: cover; border-radius: 3px;
  border: 1px solid var(--line); display: block;
}
.attach-drop {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border: 0; padding: 0;
  border-radius: 50%; background: var(--loss); color: #fff; cursor: pointer;
  font-family: inherit; font-size: .7rem; line-height: 18px;
}

/* Attachments on a post. Capped in height rather than width so a screenshot and a phone photo sit
   in a row together without one of them running the length of the thread. */
.post-images { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.post-image img {
  max-height: 220px; max-width: 100%; border-radius: 3px; border: 1px solid var(--line); display: block;
}
.post-image:hover img { border-color: var(--red); }
.attach-locked {
  font-size: .72rem; color: var(--muted); margin-bottom: 10px;
}

/* ---- reactions ----
 *
 * A row of small pills under a post: what has been picked, then a + that opens the
 * catalogue. Yours is outlined, so "have I reacted" is answerable without counting. */
.reactions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.reaction {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  background: #f1f1f1; border: 1px solid transparent; border-radius: 999px;
  padding: 3px 9px; font-size: .8rem; line-height: 1.4; color: var(--ink);
}
.reaction:hover { background: #e7e7e7; }
.reaction[disabled] { cursor: default; opacity: .75; }
.reaction.mine { background: #fdeceb; border-color: var(--red); color: #a8352b; font-weight: 700; }
.reaction-count { font-size: .72rem; font-weight: 700; }
.reaction.add { font-weight: 800; color: var(--muted); padding: 3px 11px; }
.reaction-picker { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.reaction.pick { padding: 3px 7px; font-size: .95rem; }
/* A notice that is a refusal rather than an announcement — a posting ban, a failed action. */
.notice.warn { background: #fbe3e1; color: #a8352b; }
.field.short { max-width: 160px; }

/* The pill you just pressed, and only that one: a short pop on adding, a fade-and-shrink
 * on taking one back off. Everything else in the row changes without announcing itself,
 * so somebody else's reaction landing never looks like your own click. */
@keyframes reaction-pop {
  0%   { transform: scale(.6); opacity: .2; }
  55%  { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes reaction-drop {
  0%   { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.reaction.just-added { animation: reaction-pop .26s cubic-bezier(.2, 1.4, .5, 1); }
.reaction.just-removed { animation: reaction-drop .18s ease-out; }
/* Counts settle rather than jumping, so a number changing under your cursor reads as the
 * same pill rather than as a new one. */
.reaction { transition: background .16s ease, border-color .16s ease, color .16s ease; }
@media (prefers-reduced-motion: reduce) {
  .reaction.just-added, .reaction.just-removed { animation: none; }
  .reaction { transition: none; }
}

/* ---------------------------------------------------------------- launcher tab
 *
 * The Launcher tab is the one page on wove.host that is about a different product, so it
 * is the one page that does not look like the rest of the site: it wears SurfClient's own
 * dark palette, the same ramp as `launcher-electron/src/renderer/launcher.css` and
 * dev.orb.arcclient.gui.ui.Theme. Somebody who has seen the launcher should recognise this
 * page as the same thing, and somebody who has not should recognise the launcher when it
 * opens. The tokens are scoped to `.lnch` rather than :root so nothing here leaks into the
 * forums, which are still the light site.
 *
 * client.wove.host's landing page is the same design, written out again there because that
 * page is one standalone file with no build step and cannot import this one. */
.lnch {
  --l-bg: #121214;
  --l-chrome: #1b1b1f;
  --l-line: rgba(255, 255, 255, .10);
  --l-line-strong: rgba(255, 255, 255, .22);
  --l-surface: rgba(255, 255, 255, .06);
  --l-hover: rgba(255, 255, 255, .14);
  --l-text: #f6f6f9;
  --l-text-2: rgba(236, 236, 242, .78);
  --l-text-3: rgba(230, 230, 238, .52);
  --l-on-accent: #0d0d0f;
  max-width: 1160px;
  margin: 0 auto;
  color: var(--l-text);
  border: 1px solid var(--l-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--l-bg);
}
.lnch a { color: var(--l-text); }

/* The stage: art, wordmark, one unmissable button. Same composition as the launcher's own
 * front page, which is what makes the download button land where the Play button will. */
.lnch-stage {
  padding: 46px 24px 40px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, .07), transparent 62%),
    linear-gradient(180deg, #17171b 0%, #101012 100%);
  border-bottom: 1px solid #2a2a30;
}
.lnch-mark { width: 76px; height: 76px; display: block; object-fit: contain; }
.lnch-stage h1 { margin: 14px 0 0; font-size: 32px; font-weight: 600; letter-spacing: .3px; color: var(--l-text); }
.lnch-stage h1 span { color: var(--l-text-3); font-weight: 400; }
/* Beta, said in the wordmark rather than only in prose: it rides the title at every size, so
 * nobody downloads the thing without having read it. Outlined, not filled — a warning, not a
 * second button competing with Download. */
.lnch-stage h1 .lnch-beta {
  display: inline-block; vertical-align: 5px;
  margin-left: 6px; padding: 2px 8px;
  border: 1px solid var(--l-line-strong, rgba(255, 255, 255, .22));
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--l-text-2);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.lnch-stage .lnch-sub { margin: 8px 0 0; max-width: 52ch; color: var(--l-text-3); font-size: 13px; }

.lnch-connect {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--l-line);
  border-radius: 999px;
  background: var(--l-surface);
  color: var(--l-text-2);
  font: inherit; font-size: 12.5px; cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.lnch-connect:hover { background: var(--l-hover); color: var(--l-text); border-color: var(--l-line-strong); }
.lnch-connect.copied { background: #fff; color: var(--l-on-accent); border-color: #fff; }
.lnch-dot { width: 7px; height: 7px; border-radius: 50%; background: #f0f0f4; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }

/* The download button is the Play button's twin: the only white fill on the screen. */
.lnch-primary {
  display: inline-block;
  margin-top: 22px;
  min-width: 250px;
  padding: 15px 32px;
  border: 1px solid var(--l-line-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  color: var(--l-text);
  font: inherit; font-size: 22px; font-weight: 600; letter-spacing: .5px;
  text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
  transition: transform 140ms cubic-bezier(.03,.98,.52,.99), background 160ms ease, color 160ms ease;
}
.lnch-primary:hover { background: #fff; color: var(--l-on-accent); transform: translateY(-2px) scale(1.02); }
.lnch-primary:active { transform: translateY(0) scale(.99); }
.lnch-primary .lnch-meta { display: block; font-size: 11px; font-weight: 400; letter-spacing: .04em; opacity: .6; margin-top: 3px; }

/* Locked: the same button, drained. It keeps its shape rather than disappearing, because the
 * point is to show what is being offered and that it is not yours yet — a missing button says
 * neither. It is still a link (to the store, or to sign-in) so the way out is one click. */
.lnch-primary.locked {
  background: rgba(255, 255, 255, .04);
  border-color: var(--l-line);
  color: var(--l-text-3);
  box-shadow: none;
  cursor: not-allowed;
}
.lnch-primary.locked:hover {
  background: rgba(255, 255, 255, .07);
  color: var(--l-text-2);
  transform: none;
}
.lnch-primary.locked .lnch-meta { opacity: .85; }

/* The other platforms, kept quiet: one download is right for the person reading and the
 * rest are there so nobody is stuck when the guess is wrong. */
.lnch-others { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lnch-alt {
  padding: 7px 13px; border: 1px solid var(--l-line); border-radius: 8px;
  background: var(--l-surface); color: var(--l-text-2);
  font-size: 12.5px; text-decoration: none;
}
.lnch-alt:hover { background: var(--l-hover); color: var(--l-text); border-color: var(--l-line-strong); }

/* Where you stand: signed out, entitled, or short a rank. */
.lnch-access {
  margin-top: 20px; display: inline-flex; gap: 10px; align-items: flex-start; text-align: left;
  max-width: 60ch; padding: 11px 15px;
  border: 1px solid var(--l-line); border-radius: 10px; background: var(--l-surface);
  color: var(--l-text-2); font-size: 13px;
}
.lnch-access.ok { border-color: rgba(255,255,255,.34); }
.lnch-access.warn { border-color: rgba(255, 196, 120, .45); }
.lnch-access b { color: var(--l-text); }
.lnch-access .lnch-dot { margin-top: 6px; flex: none; }
.lnch-access.warn .lnch-dot { background: #ffc478; }

.lnch-panels {
  display: grid; gap: 16px; padding: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--l-chrome);
}
.lnch-panel { border: 1px solid var(--l-line); border-radius: 10px; background: var(--l-bg); }
.lnch-panel > h3 {
  margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--l-line);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--l-text-3);
}
.lnch-panel-body { padding: 15px 16px; color: var(--l-text-2); font-size: 13.5px; line-height: 1.6; }
.lnch-panel-body p { margin: 0 0 10px; }
.lnch-panel-body p:last-child { margin-bottom: 0; }
.lnch-panel-body b { color: var(--l-text); }
.lnch-panel-body ol { margin: 0; padding-left: 18px; }
.lnch-panel-body ol li { margin-bottom: 6px; }
.lnch-panel-body ol li:last-child { margin-bottom: 0; }
.lnch-panel-body code {
  background: var(--l-surface); border: 1px solid var(--l-line); border-radius: 4px;
  padding: 1px 6px; font-size: .9em; color: var(--l-text);
}
