/* HornySexting. One hand-written stylesheet, no framework.
   Layout language follows theporndude.com (grey canvas, white rounded boxes with thick tinted
   borders, dense lists, pill buttons). Colours are sampled from the HornySexting logo. */

@font-face {
  font-family: "Roboto";
  src: url(/fonts/roboto-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #767676;
  --paper: #fdfdfd;
  --ink: #17171a;
  --text: #4e4e4e;
  --soft: #4b4c4f;
  --muted: #8d8d8d;
  --line: #c5c5c5;
  --ring: #bababa;
  --hair: #e6e6e6;
  /* from the logo */
  --gold: #fcc234;
  --amber: #fab331;
  --orange: #f19017;
  --deep: #f07800;
  --burnt: #c0600c;
  --rust: #a84818;
  --brown: #6c3000;
  --r: 10px;
  --wrap: 1150px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--canvas) url(/img/pattern.svg) 0 0 / 200px auto;
  color: var(--text);
  font: 400 16px/1.35 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 8px; }

/* ---------- top bar ---------- */
.topbar { background: var(--paper); border-bottom: 3px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 10px; min-height: 34px; padding-block: 5px; }
.topbar__text { flex: 1; font-size: 13px; line-height: 1.25; font-weight: 400; color: var(--text); }
.topbar__age {
  flex: none; font-size: 10.5px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .03em;
  color: #fff; background: var(--deep); border: 1px solid var(--rust); border-radius: 20px; padding: 4px 8px;
}

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--canvas) url(/img/pattern.svg) 0 0 / 200px auto; box-shadow: 0 2px 0 rgba(0, 0, 0, .14); }
.hdr__in { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 6px; height: 64px; }
.logo { justify-self: center; }
.logo img { width: 232px; }
.iconbtn { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; cursor: pointer; border-radius: var(--r); }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary::before { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 45; cursor: default; }
.menu__panel {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 46; width: min(86vw, 330px); overflow: auto;
  background: var(--paper); padding: 10px 8px 30px; box-shadow: 4px 0 24px rgba(0, 0, 0, .3);
}
.menu__title, .side__title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 6px 6px 8px; }
.promo, .mascot { display: none; }

/* ---------- search + round shortcuts ---------- */
.tools { display: flex; flex-direction: column; gap: 9px; padding-block: 10px; scroll-margin-top: 70px; }
.search { position: relative; display: none; }
#find:target .search { display: block; }
.search input {
  width: 100%; height: 44px; border: 3px solid var(--ring); border-radius: var(--r); background: var(--paper);
  padding: 0 48px 0 14px; font-size: 16px; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: #96979f; }
.search input:focus { border-color: var(--orange); }
.search button { position: absolute; right: 3px; top: 3px; bottom: 3px; width: 44px; border: 0; background: none; color: var(--deep); display: grid; place-items: center; cursor: pointer; }
.rounds { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -8px; padding-inline: 8px; }
.rounds::-webkit-scrollbar { display: none; }
.round {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--ring); color: var(--deep);
}
.round img { width: 28px; height: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 20px;
  border-radius: var(--r); border: 1px solid var(--burnt); background: linear-gradient(#fbab28, #ef7f0a); color: #fff;
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 1px 0 rgba(108, 48, 0, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 0 var(--rust); cursor: pointer;
}
.btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--block { display: flex; width: 100%; min-height: 28px; font-size: 12px; }
.btn--ghost { background: #f0f0f3; border-color: #dcdce1; color: #8a8a93; text-shadow: none; box-shadow: none; font-weight: 500; }

/* ---------- homepage: category boxes ---------- */
.cats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 8px; align-items: start; }
.cat {
  --c: var(--canvas);
  position: relative; background: var(--paper); background-clip: padding-box;
  border: 3px solid color-mix(in srgb, var(--c) 55%, transparent); border-radius: var(--r); padding-bottom: 48px;
}
.cat__head a { display: flex; align-items: center; justify-content: center; gap: 9px; height: 54px; padding: 0 10px; color: var(--text); }
.cat__head img { width: 38px; height: 38px; flex: none; }
.cat__head span { font-size: 16px; font-weight: 500; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat__rule { height: 3px; margin: 0 10px; border-radius: 3px; background: var(--hair); position: relative; }
.cat__rule::after { content: ""; position: absolute; top: 0; bottom: 0; left: 38%; right: 38%; border-radius: 3px; background: var(--c); }
.cat__blurb { font-size: 13px; line-height: 1.3; color: var(--soft); text-align: center; padding: 7px 14px 3px; min-height: 44px; }
.cat__list { counter-reset: n; padding-top: 2px; }
.cat__list li { counter-increment: n; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 8px; font-size: 15.5px; color: #000; }
.cat__list li::before { content: counter(n) "."; flex: none; width: 22px; text-align: right; font-size: 11.5px; color: var(--soft); }
.cat__list a { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; height: 100%; }
.cat__list .av { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.cat__list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat__list .ag { color: var(--muted); font-size: 13px; }
.cat__list .ap { width: 17px; height: 17px; flex: none; }
.cat__list li:nth-child(n+6) { display: none; }
.cat__list li:nth-child(4):nth-last-child(n+3) { opacity: .6; }
.cat__list li:nth-child(5):nth-last-child(n+2) { opacity: .3; }
.tag-new { font-size: 11px; font-weight: 700; font-style: italic; color: var(--deep); transform: rotate(-9deg) translateY(-3px); letter-spacing: -.01em; }
.cat__more {
  position: absolute; left: 8px; right: 8px; bottom: 8px; height: 34px; display: flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: var(--r); background: var(--c); color: #fff; font-size: 14.5px; text-transform: uppercase;
}

.cat__more--inline { position: static; max-width: 380px; margin: 16px auto 6px; }

/* the "post yours" box that closes the grid */
.cat--post { padding: 0; container-type: inline-size; align-self: stretch; display: grid; background-image: linear-gradient(#fff6e4, var(--paper) 70%); }
.postbox { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 16px 20px; text-align: center; }
.postbox__mascot { width: 92px; }
.postbox h2 { font-size: 21px; line-height: 1.15; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.postbox h2 b { color: var(--deep); }
.postbox p { font-size: 14.5px; line-height: 1.4; color: var(--soft); margin-top: 6px; }
.postbox__steps { counter-reset: s; display: grid; gap: 7px; margin: 12px 0 14px; text-align: left; justify-content: center; }
.postbox__steps li { counter-increment: s; display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.postbox__steps li::before {
  content: counter(s); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--deep); color: #fff; font-size: 13px; font-weight: 700;
}
@container (min-width: 560px) {
  .postbox { flex-direction: row; gap: 34px; text-align: left; padding: 24px 36px; }
  .postbox__mascot { width: 176px; }
  .postbox h2 { font-size: 28px; }
  .postbox p { font-size: 15.5px; max-width: 520px; }
  .postbox__steps { grid-auto-flow: column; justify-content: start; gap: 20px; margin-block: 16px 18px; }
}

/* ---------- white content panel ---------- */
.panel { background: var(--paper); background-clip: padding-box; border: 3px solid rgba(197, 197, 197, .85); border-radius: var(--r); padding: 8px 10px 16px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 30px; font-size: 14.5px; color: var(--muted); }
.crumbs a, .crumbs__here { display: inline-flex; align-items: center; gap: 5px; }
.crumbs a { color: var(--deep); }
.crumbs img { width: 20px; height: auto; }
.crumbs .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.chev { color: #b5b5b5; flex: none; }
.lead { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.lead__icon { width: 42px; height: 42px; flex: none; }
.lead h1 { flex: 1; font-size: 20px; line-height: 1.15; font-weight: 500; text-transform: uppercase; color: var(--text); }
.lead__post { width: 42px; height: 42px; }
.lead__sub { font-size: 14px; line-height: 1.4; color: var(--soft); margin: 7px 0 12px; }
.lead__sub b { color: var(--ink); }
.lead__sub a { color: var(--deep); margin-left: 6px; white-space: nowrap; }

.split { display: flex; flex-direction: column; gap: 18px; }
.side { order: 2; }
.srow { --c: var(--ring); display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 7px 6px; border-top: 1px solid var(--hair); }
.srow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex: none; }
.srow img { width: 34px; height: 34px; flex: none; }
.srow .txt { flex: 1; min-width: 0; }
.srow b { display: block; font-size: 15.5px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow small { display: block; font-size: 12.5px; color: var(--muted); }
.srow[aria-current] { background: #fff3df; border-radius: 8px; border-top-color: transparent; }
.srow[aria-current] + .srow { border-top-color: transparent; }

.intro { margin-bottom: 12px; }
.intro h2 { font-size: 17px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.intro p { font-size: 15px; line-height: 1.45; color: var(--soft); margin-top: 4px; }

.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: -10px; padding: 2px 10px 12px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  --c: var(--ring);
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px 0 6px; border-radius: 20px;
  border: 3px solid color-mix(in srgb, var(--c) 50%, transparent); background: var(--paper); background-clip: padding-box;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.chip img { width: 22px; height: 22px; }

/* ---------- profile cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
.pcard { display: block; min-width: 0; }
.pcard__img { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #d9d9d9; }
.pcard__img > img { width: 100%; height: 100%; object-fit: cover; }
.pcard__cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 30px 8px 8px;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .74)); color: #fff; font-size: 17px; font-weight: 500; line-height: 1.1;
}
.pcard__cap img { width: 21px; height: 21px; flex: none; }
.pcard__cap span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__cap i { font-style: normal; font-weight: 400; }
.pcard__meta { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.pcard__bio { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.3; color: #6f6f6f; margin-top: 1px; }
.pcard--feat .pcard__img { box-shadow: 0 0 0 3px var(--orange); }
.badge {
  position: absolute; top: 7px; left: 7px; display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px;
  border-radius: 6px; border: 1px solid var(--burnt); background: linear-gradient(#fbab28, #ef7f0a); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(108, 48, 0, .5);
}
.badge--new { left: auto; right: 7px; background: #3f9a57; border-color: #2c7440; text-shadow: none; }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.pager a, .pager span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px;
  border-radius: var(--r); border: 3px solid var(--ring); background: var(--paper); font-weight: 500; color: var(--text);
}
.pager [aria-current] { background: var(--orange); border-color: var(--burnt); color: #fff; }
.pager__next { text-transform: uppercase; font-size: 14px; }

/* ---------- channel rows ---------- */
.chlist { counter-reset: ch; border-top: 1px solid var(--hair); }
.chrow { counter-increment: ch; display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 8px 4px; border-bottom: 1px solid var(--hair); }
.chrow::before { content: counter(ch) "."; flex: none; width: 20px; text-align: right; font-size: 12px; color: var(--muted); }
.chrow > img { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.chrow .txt { flex: 1; min-width: 0; }
.chrow b { display: block; font-size: 16px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrow small { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrow__go {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: var(--r);
  background: var(--c); color: #fff; font-size: 13px; text-transform: uppercase;
}

/* ---------- one profile ---------- */
.prof { display: grid; gap: 14px; margin-top: 8px; }
.prof__pic { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #d9d9d9; }
.prof__pic > img { width: 100%; height: 100%; object-fit: cover; }
.prof h1 { font-size: 28px; line-height: 1.1; font-weight: 700; color: var(--ink); }
.prof h1 i { font-style: normal; font-weight: 400; color: var(--text); }
.prof__meta { display: flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--muted); margin-top: 7px; }
.prof__meta img { width: 22px; height: 22px; flex: none; }
.prof__bio { font-size: 17px; line-height: 1.45; color: var(--soft); margin: 12px 0 16px; }
.btn--big { width: 100%; min-height: 54px; font-size: 17px; gap: 10px; }
.btn--big img { width: 26px; height: 26px; flex: none; }
.handle { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 5px 5px 5px 12px; border: 3px solid var(--hair); border-radius: var(--r); }
.handle span { flex: none; font-size: 12.5px; color: var(--muted); }
.handle b { flex: 1; min-width: 0; font-size: 16px; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.handle button {
  flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: #ececef; color: var(--ink);
  font-size: 13px; font-weight: 700; text-transform: uppercase; cursor: pointer;
}
.prof__fine { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 12px; }
.prof__fine a { color: var(--deep); white-space: nowrap; }
.grid--more { margin-top: 12px; }

/* ---------- post form ---------- */
.notice { background: #fff3df; border: 3px solid rgba(240, 120, 0, .45); border-radius: var(--r); padding: 10px 12px; font-size: 14.5px; color: var(--ink); margin-bottom: 12px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 640px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .form .lbl { display: block; padding: 0; margin-bottom: 7px; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.form legend small { font-weight: 400; text-transform: none; color: var(--muted); }
.form input[type="text"], .form input[type="number"], .form textarea {
  width: 100%; height: 48px; border: 3px solid var(--ring); border-radius: var(--r); background: #fff; padding: 0 12px;
  font-size: 16px; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none;
}
.form textarea { height: 88px; padding: 10px 12px; resize: vertical; line-height: 1.4; }
.form input:focus, .form textarea:focus { border-color: var(--orange); }
.form__two { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 10px; }
.picks { display: flex; flex-wrap: wrap; gap: 7px; }
.pick { position: relative; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick span {
  display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 15px 0 8px; border-radius: 23px;
  border: 3px solid var(--ring); background: var(--paper); font-size: 15.5px; font-weight: 500; color: var(--ink);
}
.pick--txt span { padding-left: 15px; }
.pick span img { width: 26px; height: 26px; }
.pick input:checked + span { border-color: var(--deep); background: #fff0d6; }
.pick input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.upload { display: flex; align-items: center; gap: 12px; border: 3px dashed var(--ring); border-radius: var(--r); padding: 12px; cursor: pointer; }
.upload > img { width: 64px; height: 64px; border-radius: 8px; flex: none; }
.upload span { min-width: 0; }
.upload input { max-width: 100%; font-size: 14px; }
.form__hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; color: var(--soft); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--deep); }
.posttips { display: none; }

/* ---------- copy ---------- */
.prose { margin-top: 10px; padding: 14px 14px 8px; }
.prose h2 { font-size: 18px; line-height: 1.2; font-weight: 500; text-transform: uppercase; color: var(--text); }
.prose > p { font-size: 15px; line-height: 1.5; color: var(--soft); margin-top: 8px; }
.faq { margin-top: 14px; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--deep); font-weight: 700; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { font-size: 15px; line-height: 1.5; color: var(--soft); margin: 0 2px 13px; }

.nf { text-align: center; padding: 34px 16px 30px; }
.nf img { width: 110px; margin: 0 auto 12px; }
.nf h1 { font-size: 22px; font-weight: 700; color: var(--ink); text-transform: uppercase; }
.nf p { margin: 6px 0 16px; color: var(--soft); }

/* ---------- footer, floating button, age check ---------- */
.foot { margin-top: 16px; padding-block: 18px 96px; text-align: center; font-size: 13.5px; line-height: 1.5; color: #ececec; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 10px; }
.foot a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }

.fab {
  position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 9px;
  height: 56px; padding: 0 22px 0 9px; border-radius: 30px; background: var(--paper); border: 3px solid var(--ring);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3); white-space: nowrap;
}
.fab img { width: 38px; height: auto; flex: none; }
.fab b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.fab small { display: block; font-size: 12px; font-weight: 700; color: var(--deep); line-height: 1.2; }

.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 14px; background: rgba(34, 24, 14, .82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
html.age-ok .gate { display: none; }
.gate__card { width: min(100%, 560px); background: #fff; border-radius: 14px; padding: 26px 18px 20px; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.gate__card h2 { font-size: 25px; font-weight: 700; color: #000; }
.gate__card > img { width: 124px; margin: 14px auto 18px; }
.gate__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gate__btns .btn { min-height: 46px; text-transform: none; font-size: 15.5px; flex: 1 1 220px; }
.gate__fine { font-size: 12.5px; color: #555; margin-top: 16px; line-height: 1.5; }

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat--post { grid-column: var(--s2) / -1; }
  .cat__list li:nth-child(n+6) { display: flex; }
  .cat__list li:nth-child(4):nth-last-child(n+3), .cat__list li:nth-child(5):nth-last-child(n+2) { opacity: 1; }
  .cat__list li:nth-child(9):nth-last-child(2) { opacity: .6; }
  .cat__list li:nth-child(10):last-child { opacity: .3; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .grid, .grid--more { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .prof { grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
  .prof__body { max-width: 520px; padding-top: 4px; }
}
@media (min-width: 840px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat--post { grid-column: var(--s3) / -1; }
}
@media (min-width: 900px) {
  html { scroll-padding-top: 12px; }
  .topbar__text { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hdr { position: static; background: none; box-shadow: none; }
  .hdr__in { grid-template-columns: auto 1fr 150px; height: auto; gap: 20px; padding-block: 18px 0; align-items: center; }
  .menu, .hdr__find { display: none; }
  .logo { justify-self: start; }
  .logo img { width: 400px; }
  .promo {
    display: block; position: relative; justify-self: center; width: 292px; background: var(--paper); background-clip: padding-box;
    border: 3px solid rgba(240, 120, 0, .55); border-radius: var(--r); padding: 12px 10px 9px;
  }
  .promo__pills { position: absolute; top: -10px; right: 8px; display: flex; gap: 4px; }
  .pill { font-size: 9.5px; font-weight: 700; line-height: 1; text-transform: uppercase; color: #fff; padding: 4px 7px; border-radius: 5px; }
  .pill--or { background: var(--deep); }
  .pill--pu { background: #7b4fd6; }
  .pill--gr { background: #3f9a57; }
  .promo__title { font-size: 14.5px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
  .promo__title b { color: var(--deep); }
  .promo__sub { font-size: 12px; color: var(--soft); margin: 1px 0 8px; }
  .mascot { display: block; width: 128px; justify-self: end; margin-bottom: -64px; position: relative; z-index: 2; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .12)); }
  .tools { flex-direction: row; align-items: center; gap: 20px; padding-block: 8px 12px; padding-right: 170px; }
  .search { display: block; width: 300px; flex: none; }
  .search input { height: 42px; font-size: 14.5px; }
  .rounds { overflow: visible; margin: 0; padding: 0; }
  .round { width: 42px; height: 42px; }
  .round img { width: 26px; height: 26px; }
  .round:hover { border-color: var(--orange); }
  .cat__list li { height: 27px; font-size: 14.5px; }
  .cat__list li:hover { background: #f1f1f1; }
  .cat__head span { font-size: 15px; }
  .panel { padding: 10px 14px 18px; }
  .lead h1 { font-size: 24px; }
  .split { flex-direction: row; align-items: flex-start; gap: 16px; }
  .side { order: 0; flex: none; width: 232px; }
  .main { flex: 1; min-width: 0; }
  .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 12px; }
  .chip:hover, .srow:hover { background-color: #f4f4f4; }
  .pcard:hover .pcard__img > img { filter: brightness(1.06); }
  .foot { padding-bottom: 30px; }
  .split .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chrow:hover { background: #f4f4f4; }
  .postwrap { display: grid; grid-template-columns: minmax(0, 640px) 240px; gap: 60px; align-items: start; }
  .posttips { display: block; position: sticky; top: 16px; border: 3px solid var(--hair); border-radius: var(--r); padding: 6px 12px 14px; }
  .posttips .side__title { padding-inline: 0; }
  .posttips__list { display: grid; gap: 7px; margin-top: 14px; font-size: 14px; line-height: 1.35; color: var(--soft); }
  .posttips__list li { display: flex; gap: 8px; }
  .posttips__list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--deep); }
  .fab { display: none; }
}
@media (min-width: 1080px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat--post { grid-column: var(--s4) / -1; }
  .split .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* Room beside the page: the floating button comes back in the corner. */
@media (min-width: 1500px) {
  .fab { display: flex; left: auto; right: 18px; bottom: 16px; transform: none; }
}

/* ================= added for launch ================= */

/* ---------- homepage: picture tiles inside a box ---------- */
.cats { align-items: stretch; }
.cat__pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px 8px 4px; }
.tile { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #d9d9d9; }
.tile > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.tile__ap { position: absolute; top: 5px; right: 5px; width: 18px; height: 18px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 7px 6px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .74));
  color: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tile i { font-style: normal; font-weight: 400; }
.cat__list--short { counter-reset: n 3; }
@media (max-width: 559.98px) {
  .cat__list--short li:nth-child(n+3) { display: none; }
  .cat__list--short li:nth-child(2) { opacity: .45; }
  .cat__list--short li:nth-child(4), .cat__list--short li:nth-child(5) { opacity: 1; }
}
@media (min-width: 560px) {
  .cat__list--short li:nth-child(4) { opacity: .6; }
  .cat__list--short li:nth-child(5) { opacity: .3; }
}
@media (min-width: 900px) {
  .tile:hover > img:first-child { filter: brightness(1.07); }
  .tile span { font-size: 12.5px; }
}

/* ---------- notices ---------- */
.notice a { color: var(--deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.notice--bar { margin: 0 0 10px; text-align: center; line-height: 1.4; }
.notice--bad { background: #fdeceb; border-color: rgba(196, 48, 43, .5); color: #7c1d18; font-weight: 500; }
.badge--sample { left: auto; right: 7px; background: #5c6066; border-color: #3f4347; text-shadow: none; }
.owner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 10px; padding: 12px 14px; border-color: rgba(240, 120, 0, .55); background-color: #fff8ec; }
.owner p { flex: 1 1 320px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.owner .btn { min-height: 38px; text-transform: none; }
.empty { text-align: center; padding: 26px 10px 18px; }
.empty img { width: 90px; margin: 0 auto 10px; }
.empty p { margin-bottom: 14px; color: var(--soft); }
.chrow__feat {
  display: inline-block; margin-left: 7px; padding: 2px 6px; border-radius: 5px; background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 700; font-style: normal; text-transform: uppercase; vertical-align: 2px;
}
.chips--wrap { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 6px; }

/* ---------- forms: extras ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.picks--stack { flex-direction: column; align-items: stretch; }
.picks--stack .pick span { display: flex; height: auto; min-height: 46px; padding-block: 9px; border-radius: 12px; line-height: 1.3; }
.upload > img { object-fit: cover; }

/* ---------- written pages (about, safety, rules...) ---------- */
.doc__lead { max-width: 760px; margin: 8px 0 14px; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.doc section { max-width: 760px; margin-top: 20px; }
.doc h2 { font-size: 18px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.doc section p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--soft); }
.doc section ul { list-style: disc; display: grid; gap: 6px; margin-top: 8px; padding-left: 22px; font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.doc .form { margin: 16px 0 8px; }

/* ---------- admin ---------- */
.adm-body { background: #f3f3f4; }
.adm { max-width: 1040px; margin: 0 auto; padding: 16px 12px 60px; color: var(--ink); font-size: 14.5px; }
.adm h1 { font-size: 22px; font-weight: 700; }
.adm h2 { margin: 26px 0 8px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--text); }
.adm a { color: var(--burnt); text-decoration: underline; }
.adm__totals { margin-top: 6px; color: var(--soft); }
.adm__note { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #fff3df; border: 2px solid rgba(240, 120, 0, .45); overflow-wrap: anywhere; }
.adm table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #dcdce0; border-radius: 8px; }
.adm td { padding: 8px 10px; border-top: 1px solid #ececef; vertical-align: top; overflow-wrap: anywhere; }
.adm tr:first-child td { border-top: 0; }
.adm td img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.adm td span { color: var(--soft); }
.adm small { color: var(--muted); }
.adm code { background: #f1f1f3; padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.adm .feat { color: var(--deep); font-style: normal; font-weight: 700; }
.adm .none { color: var(--muted); }
.acts { width: 1%; white-space: nowrap; }
.acts form { display: inline-block; margin: 0 0 4px 4px; }
.abtn { height: 32px; padding: 0 12px; border-radius: 7px; border: 1px solid #c9c9cf; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.abtn.ok { background: #3f9a57; border-color: #2c7440; color: #fff; }
.abtn.bad { background: #c4302b; border-color: #96231f; color: #fff; }
.adm__add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.adm__add input:not([type="checkbox"]):not([type="file"]) { height: 34px; padding: 0 10px; border: 1px solid #c9c9cf; border-radius: 7px; background: #fff; min-width: 180px; }
.adm .log td { padding: 5px 10px; font-size: 13px; }
.check a, .form__hint a { color: var(--deep); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 559.98px) { .cat__blurb { min-height: 0; padding-bottom: 8px; } }
