:root {
  color-scheme: dark;
  --bg: #080b0f;
  --bg-soft: #0c1116;
  --panel: rgba(15, 21, 27, 0.84);
  --panel-solid: #0f151b;
  --panel-raised: #151d25;
  --line: #26313a;
  --line-bright: #3d4e5a;
  --text: #eaf1f4;
  --muted: #81919c;
  --faint: #53616b;
  --blue: #74d6f7;
  --blue-strong: #26b7ef;
  --blue-soft: rgba(116, 214, 247, 0.12);
  --orange: #ff956b;
  --green: #6dd6a7;
  --red: #ff7d78;
  --radius: 18px;
  --radius-small: 11px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Left composer adopted from the quiet edition. */
html body[data-skin="anime"] .control-column {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  background: rgba(250, 249, 246, 0.9);
  box-shadow:
    0 26px 70px rgba(37, 49, 61, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(115%);
}

html body[data-skin="anime"] .preview-column {
  padding: 0;
}

html body[data-skin="anime"] main#top {
  width: 100%;
  height: 100svh;
  min-height: 0;
  padding: 24px clamp(24px, 2.2vw, 38px);
  overflow: visible;
}

html body[data-skin="anime"] .workspace {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}

html body[data-skin="anime"] .feed-window.desktop {
  width: min(100%, 690px);
}

html body[data-skin="anime"] .feed-cluster {
  position: relative;
  width: min(100%, 420px);
  height: 560px;
  transform: translateX(-56px);
}

html body[data-skin="anime"] .feed-cluster:has(.feed-window.desktop) {
  width: min(100%, 690px);
}

html body[data-skin="anime"] .feed-cluster .feed-window,
html body[data-skin="anime"] .feed-cluster .feed-window.desktop {
  width: 100%;
  height: 100%;
  min-height: 0;
  transform: none;
}

html body[data-skin="anime"] .feed-cluster .mascot-shell {
  position: absolute;
  z-index: 12;
  top: -96px;
  right: auto;
  bottom: auto;
  left: -56px;
  width: 150px;
  opacity: 0.98;
  filter: drop-shadow(0 10px 13px rgba(25, 36, 48, 0.2));
}

html body[data-skin="anime"] .feed-cluster .mascot-speech {
  top: 18px;
  right: auto;
  bottom: auto;
  left: 118px;
}

@media (max-width: 920px) {
  html body[data-skin="anime"] .feed-cluster {
    transform: none;
  }
}

@media (max-width: 620px) {
  html body[data-skin="anime"] .feed-cluster {
    width: min(100%, 360px);
    height: 100%;
  }

  html body[data-skin="anime"] .feed-cluster .mascot-shell {
    top: -76px;
    right: auto;
    bottom: auto;
    left: -36px;
    width: 120px;
  }
}

@media (max-width: 620px) {
  html body[data-skin="anime"] main#top {
    height: auto;
    min-height: 100svh;
    padding: 10px;
  }

  html body[data-skin="anime"] .workspace {
    height: auto;
  }
}

html body[data-skin="anime"] .control-column .panel,
html body[data-skin="anime"] .composer-panel,
html body[data-skin="anime"] .controls-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html body[data-skin="anime"] .composer-panel {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.2vw, 34px);
}

html body[data-skin="anime"] .panel-kicker,
html body[data-skin="anime"] .controls-panel .panel-heading,
html body[data-skin="anime"] .draft-state {
  display: none !important;
}

html body[data-skin="anime"] .composer-panel .panel-heading {
  min-height: auto;
  margin: 0 0 18px;
}

html body[data-skin="anime"] .composer-panel .panel-heading h2 {
  margin: 0;
  color: #14273a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(21px, 1.55vw, 27px);
  font-weight: 650;
  letter-spacing: -0.035em;
}

html body[data-skin="anime"] .profile-row {
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(44, 67, 86, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

html body[data-skin="anime"] .profile-fields label > span,
html body[data-skin="anime"] .verified-control span,
html body[data-skin="anime"] .segmented-field > span {
  color: #738294;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

html body[data-skin="anime"] .profile-fields input {
  border-color: rgba(44, 67, 86, 0.13);
  background: rgba(246, 248, 249, 0.76);
  color: #14273a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

html body[data-skin="anime"] #postInput {
  min-height: 0;
  flex: 1 1 auto;
  padding: 18px;
  resize: none;
  border: 1px solid rgba(44, 67, 86, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  color: #14273a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  box-shadow: inset 0 1px 1px rgba(30, 48, 64, 0.025);
}

html body[data-skin="anime"] #postInput:focus {
  border-color: rgba(22, 137, 189, 0.42);
  box-shadow: 0 0 0 4px rgba(22, 137, 189, 0.08);
}

html body[data-skin="anime"] .controls-panel {
  flex: 0 0 auto;
  padding: 18px clamp(22px, 2.2vw, 34px) 22px;
  border-top: 1px solid rgba(44, 67, 86, 0.13);
  background: rgba(235, 240, 242, 0.42);
}

html body[data-skin="anime"] .segmented-field {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}

html body[data-skin="anime"] .segmented {
  min-height: 40px;
  padding: 3px;
  border: 1px solid rgba(44, 67, 86, 0.13);
  border-radius: 12px;
  background: rgba(229, 235, 239, 0.72);
}

html body[data-skin="anime"] .segment {
  min-height: 32px;
  border-radius: 9px;
  color: #687889;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
}

html body[data-skin="anime"] .segment.active {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.94);
  color: #1689bd;
  box-shadow: 0 3px 10px rgba(38, 59, 76, 0.08);
}

html body[data-skin="anime"] .control-note {
  margin: 14px 0 0 86px;
  padding: 0;
  border: 0;
  color: #738294;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 620px) {
  html body[data-skin="anime"] .control-column {
    height: auto;
    min-height: 660px;
    border-radius: 22px;
  }

  html body[data-skin="anime"] .composer-panel {
    padding: 20px 16px;
  }

  html body[data-skin="anime"] .controls-panel {
    padding: 16px;
  }

  html body[data-skin="anime"] .segmented-field {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  html body[data-skin="anime"] .control-note {
    margin-left: 0;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--line-bright) var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button,
label,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

::selection {
  background: var(--blue);
  color: #071016;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  z-index: -3;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.ambient-one {
  top: -280px;
  right: 5vw;
  background: var(--blue-strong);
}

.ambient-two {
  bottom: -340px;
  left: -260px;
  background: #235d76;
}

.grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  pointer-events: none;
}

.site-header {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(20px, 4vw, 68px);
  border-bottom: 1px solid rgba(61, 78, 90, 0.55);
  background: rgba(8, 11, 15, 0.78);
  backdrop-filter: blur(20px) saturate(130%);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(116, 214, 247, 0.22);
}

.brand-mark span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.header-meta,
.system-status {
  display: flex;
  align-items: center;
}

.header-meta {
  gap: 20px;
}

.system-status {
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-status i,
.preview-live i,
.draft-state i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(109, 214, 167, 0.1);
}

.text-button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-bright);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}

.text-button:hover {
  color: var(--text);
  border-color: var(--text);
}

main {
  width: min(1640px, 100%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(50px, 8vw, 140px);
  align-items: end;
  padding: clamp(66px, 9vw, 140px) clamp(20px, 4vw, 68px) clamp(54px, 7vw, 100px);
}

.eyebrow,
.panel-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 6.5vw, 104px);
  font-weight: 650;
  letter-spacing: -0.058em;
  line-height: 0.92;
}

.hero h1 span {
  color: var(--muted);
  font-weight: 480;
}

.hero-side {
  padding-bottom: 6px;
}

.hero-side > p {
  max-width: 520px;
  margin: 0 0 28px;
  color: #bac7ce;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-actions > span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(560px, 1.14fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.control-column {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.4vw, 38px);
  border-right: 1px solid var(--line);
  background: rgba(9, 13, 17, 0.55);
}

.preview-column {
  position: relative;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 38px);
}

.preview-sticky {
  position: sticky;
  top: 94px;
}

.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}

.composer-panel,
.controls-panel,
.diagnosis-panel {
  padding: clamp(18px, 2.2vw, 30px);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.panel-heading.compact {
  margin-bottom: 20px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.panel-kicker {
  margin-bottom: 7px;
  font-size: 9px;
}

.draft-state {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-state.unsaved i {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 149, 107, 0.1);
}

.profile-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}

.avatar-input {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.avatar-input input,
.media-drop > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.avatar-preview,
.post-avatar {
  display: grid;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(116, 214, 247, 0.75), transparent 32%),
    linear-gradient(145deg, #482e61, #101b26 70%);
  color: #fff;
  font-weight: 800;
}

.avatar-preview {
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-bright);
}

.avatar-preview img,
.post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-edit {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid var(--panel-solid);
  border-radius: 50%;
  background: var(--blue);
  color: #061117;
  font-size: 13px;
  font-weight: 700;
}

.profile-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.profile-fields label,
.segmented-field > span {
  display: grid;
  gap: 6px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-fields input {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 13px;
}

.profile-fields input:focus,
#postInput:focus,
.recall-stage textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.verified-control {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 36px;
  color: var(--faint);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.verified-control input {
  width: 14px;
  height: 14px;
  accent-color: var(--blue-strong);
}

#postInput {
  width: 100%;
  min-height: 264px;
  resize: vertical;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  outline: none;
  background: #0b1015;
  color: var(--text);
  caret-color: var(--blue);
  font-size: 16px;
  line-height: 1.58;
}

#postInput::placeholder,
.recall-stage textarea::placeholder {
  color: #47545e;
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 2px;
}

.live-stats {
  display: flex;
  gap: 14px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.live-stats strong {
  color: var(--muted);
  font-weight: 600;
}

.small-action,
.icon-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.small-action {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.small-action:hover {
  color: var(--blue);
}

.media-drop {
  position: relative;
  min-height: 72px;
  border: 1px dashed var(--line-bright);
  border-radius: var(--radius-small);
  outline: none;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.media-drop:hover,
.media-drop:focus-visible,
.media-drop.dragging {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.media-drop.dragging {
  transform: scale(1.008);
}

.media-drop-empty,
.media-drop-filled {
  min-height: 72px;
  align-items: center;
}

.media-drop-empty {
  display: flex;
  gap: 13px;
  justify-content: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.media-drop-empty svg {
  width: 21px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.media-drop-empty span {
  display: grid;
  gap: 3px;
}

.media-drop-empty strong {
  color: var(--muted);
  font-weight: 600;
}

.media-drop-filled {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 8px;
}

.media-thumb {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--panel-raised);
}

.media-thumb img,
.media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-drop-filled > div:nth-child(2) {
  display: grid;
  gap: 4px;
}

.media-drop-filled strong {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-drop-filled span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  font-size: 22px;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.segmented-field {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b1015;
}

.segmented.three {
  grid-template-columns: repeat(3, 1fr);
}

.segment {
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
}

.segment:hover {
  color: var(--text);
}

.segment.active {
  background: var(--panel-raised);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--line-bright);
}

.control-note {
  margin: 18px 0 20px;
  padding: 13px 14px;
  border-left: 2px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.018);
  color: var(--faint);
  font-size: 11px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--blue);
  color: #061117;
}

.button-primary:hover {
  background: #9be5fc;
}

.button-secondary {
  border-color: var(--line-bright);
  background: var(--panel-raised);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--blue);
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.button-ghost:hover {
  color: var(--text);
}

.button-icon {
  font-family: var(--mono);
  font-size: 9px;
}

.action-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8px;
}

.action-grid .button-ghost {
  grid-column: 1 / -1;
  min-height: 34px;
}

.score-orbit {
  position: relative;
  width: 70px;
  height: 70px;
}

.score-orbit svg {
  width: 70px;
  height: 70px;
  transform: rotate(-90deg);
}

.score-orbit circle {
  fill: none;
  stroke-width: 5;
}

.score-track {
  stroke: var(--line);
}

.score-value {
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 213.63;
  stroke-dashoffset: 213.63;
  transition: stroke-dashoffset 450ms cubic-bezier(0.25, 0.8, 0.25, 1), stroke 200ms ease;
}

.score-orbit strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 19px;
}

.verdict {
  max-width: 520px;
  margin: 0 0 18px;
  color: #c9d4da;
  font-size: 17px;
  font-weight: 580;
  line-height: 1.45;
}

.diagnostics {
  display: grid;
  gap: 8px;
}

.diagnostic {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}

.diagnostic-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}

.diagnostic.good .diagnostic-dot {
  background: var(--green);
}

.diagnostic.warn .diagnostic-dot {
  background: var(--orange);
}

.diagnostic.bad .diagnostic-dot {
  background: var(--red);
}

.diagnostic strong,
.diagnostic span {
  display: block;
}

.diagnostic strong {
  margin-bottom: 3px;
  font-size: 12px;
}

.diagnostic span {
  color: var(--faint);
  font-size: 10px;
  line-height: 1.4;
}

.diagnostic > em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  text-transform: uppercase;
}

.roast-button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 14px;
  padding: 13px 0 2px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
}

.roast-button:hover {
  color: var(--blue);
}

.roast-output {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 149, 107, 0.08);
  color: #d8c0b5;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.55;
}

.preview-toolbar {
  display: flex;
  min-height: 48px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-toolbar > div,
.preview-live {
  display: flex;
  align-items: center;
}

.preview-toolbar > div {
  gap: 14px;
}

.preview-live {
  gap: 8px;
  color: var(--muted);
}

.preview-live i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
    box-shadow: 0 0 0 8px rgba(109, 214, 167, 0);
  }
}

.preview-metrics strong {
  color: var(--blue);
  font-weight: 600;
}

.device-stage {
  display: grid;
  min-height: min(760px, calc(100vh - 184px));
  place-items: center;
  overflow: hidden;
  padding: clamp(16px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(rgba(116, 214, 247, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 214, 247, 0.025) 1px, transparent 1px),
    #0b0f13;
  background-size: 32px 32px;
  box-shadow: var(--shadow), inset 0 0 80px rgba(0, 0, 0, 0.25);
}

.feed-window {
  --feed-bg: #000;
  --feed-text: #eff3f4;
  --feed-muted: #71767b;
  --feed-line: #2f3336;
  position: relative;
  width: min(100%, 480px);
  height: min(690px, calc(100vh - 255px));
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #39434b;
  border-radius: 28px;
  background: var(--feed-bg);
  color: var(--feed-text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  transition: width 250ms ease, border-radius 250ms ease, background 180ms ease;
}

.feed-window.desktop {
  width: min(100%, 690px);
  border-radius: 18px;
}

.feed-window.light {
  --feed-bg: #fff;
  --feed-text: #0f1419;
  --feed-muted: #536471;
  --feed-line: #eff3f4;
  border-color: #cfd9de;
}

.feed-topbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 52px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--feed-line);
  font-size: 14px;
}

.feed-topbar strong {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-bottom: 3px solid #1d9bf0;
}

.feed-topbar span {
  width: 18px;
  height: 2px;
  background: var(--feed-text);
  box-shadow: 0 -5px 0 var(--feed-text), 0 5px 0 var(--feed-text);
  opacity: 0.75;
}

.feed-topbar i {
  justify-self: end;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--feed-text);
  border-radius: 50%;
  opacity: 0.7;
}

.post-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  padding: 14px 15px 8px;
  border-bottom: 1px solid var(--feed-line);
  background: var(--feed-bg);
}

.feed-window.desktop .post-card {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 13px;
  padding: 15px 18px 9px;
}

.post-avatar {
  width: 46px;
  height: 46px;
  color: #fff;
  font-size: 17px;
}

.feed-window.desktop .post-avatar {
  width: 52px;
  height: 52px;
}

.post-body {
  min-width: 0;
}

.post-header {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  color: var(--feed-muted);
  font-size: 14px;
  line-height: 19px;
  white-space: nowrap;
}

.post-header strong {
  overflow: hidden;
  color: var(--feed-text);
  font-weight: 700;
  text-overflow: ellipsis;
}

.post-header > span:first-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-header button {
  margin-left: auto;
  padding: 0 2px 4px;
  border: 0;
  background: transparent;
  color: var(--feed-muted);
  cursor: default;
  letter-spacing: 1px;
}

.verified-badge {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: #1d9bf0;
}

.verified-badge .check {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.post-copy-wrap {
  position: relative;
  margin-top: 2px;
}

.post-copy {
  overflow: hidden;
  color: var(--feed-text);
  font-size: 15px;
  line-height: 20px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  transition: max-height 220ms ease;
}

.feed-window.desktop .post-copy {
  font-size: 16px;
  line-height: 21px;
}

.post-copy:empty::before {
  color: var(--feed-muted);
  content: "Your first line has left the building.";
  font-style: italic;
}

.copy-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24px;
  background: linear-gradient(transparent, var(--feed-bg));
  pointer-events: none;
}

.show-more {
  margin: 2px 0 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d9bf0;
  cursor: pointer;
  font-size: 15px;
}

.post-media {
  position: relative;
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--feed-line);
  border-radius: 14px;
  background: #111820;
  aspect-ratio: 16 / 9;
}

.post-media img,
.post-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-media video {
  background: #05080a;
}

.post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--feed-muted);
}

.post-actions span {
  display: inline-flex;
  min-width: 34px;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}

.post-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.fold-ruler {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 62px;
  left: 0;
  display: flex;
  align-items: center;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  pointer-events: none;
  text-transform: uppercase;
}

.fold-ruler::before,
.fold-ruler::after {
  height: 1px;
  background: var(--blue);
  content: "";
  opacity: 0.55;
}

.fold-ruler::before {
  width: 18px;
}

.fold-ruler::after {
  flex: 1;
}

.fold-ruler span {
  padding: 4px 8px;
  background: rgba(8, 11, 15, 0.86);
}

.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 5px 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
}

.preview-caption span:last-child {
  max-width: 320px;
  text-align: right;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 8vw, 130px);
  padding: clamp(80px, 11vw, 170px) clamp(20px, 4vw, 68px);
}

.method-section h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.method-grid {
  display: grid;
  gap: 0;
}

.method-grid article {
  display: grid;
  grid-template-columns: 44px minmax(150px, 0.65fr) minmax(220px, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.method-grid article:last-child {
  border-bottom: 1px solid var(--line);
}

.method-grid span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
}

.method-grid h3,
.method-grid p {
  margin: 0;
}

.method-grid h3 {
  font-size: 17px;
}

.method-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 28px clamp(20px, 4vw, 68px) 38px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--blue);
  text-decoration: none;
}

.mascot-shell {
  position: fixed;
  z-index: 14;
  right: clamp(-54px, -2vw, -18px);
  bottom: -26px;
  width: 250px;
  pointer-events: none;
  transition: transform 220ms ease;
}

.mascot-button {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  filter: saturate(0.72) contrast(1.03) drop-shadow(0 22px 28px rgba(0, 0, 0, 0.48));
  opacity: 0.78;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
  transform-origin: 65% 82%;
}

.mascot-button:hover,
.mascot-button:focus-visible {
  filter: saturate(0.95) contrast(1.03) drop-shadow(0 22px 28px rgba(0, 0, 0, 0.58));
  opacity: 1;
  outline: none;
  transform: translate(-8px, -5px) rotate(-1deg);
}

.mascot-button img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.mascot-hint {
  position: absolute;
  right: 60px;
  bottom: 33px;
  padding: 5px 8px;
  border: 1px solid rgba(116, 214, 247, 0.35);
  border-radius: 99px;
  background: rgba(8, 11, 15, 0.76);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.mascot-speech {
  position: absolute;
  z-index: 2;
  right: 152px;
  bottom: 188px;
  width: 225px;
  padding: 12px 14px;
  transform: translate(14px, 8px) scale(0.96);
  border: 1px solid var(--line-bright);
  border-radius: 13px 13px 3px 13px;
  background: rgba(12, 17, 22, 0.95);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  color: #cbd7dc;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms ease;
}

.mascot-shell.speaking .mascot-speech {
  transform: translate(0, 0) scale(1);
  opacity: 1;
}

.mascot-shell.wink .mascot-button {
  animation: mascot-wink 540ms ease;
}

.mascot-shell.drink .mascot-button {
  animation: mascot-drink 850ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

@keyframes mascot-wink {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  35% { transform: translate(-7px, -4px) rotate(-2deg) scaleY(0.985); }
  60% { transform: translate(-5px, -2px) rotate(1deg); }
}

@keyframes mascot-drink {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  28% { transform: translate(-12px, -8px) rotate(-5deg); }
  56% { transform: translate(-15px, -10px) rotate(-7deg); }
  76% { transform: translate(-5px, -3px) rotate(2deg); }
}

.cold-dialog {
  width: min(900px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 20px;
  background: #0c1116;
  color: var(--text);
  box-shadow: 0 40px 130px rgba(0, 0, 0, 0.75);
}

.cold-dialog::backdrop {
  background: rgba(2, 4, 7, 0.86);
  backdrop-filter: blur(12px);
}

.cold-dialog-inner {
  min-height: 520px;
}

.cold-test-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cold-stage {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: auto;
  padding: 34px;
  background:
    radial-gradient(circle at center, rgba(116, 214, 247, 0.07), transparent 60%),
    #080b0f;
}

.cold-post {
  width: min(100%, 560px);
  border: 1px solid #2f3336;
  border-radius: 16px;
  background: #000;
  pointer-events: none;
}

.cold-post .post-card {
  border-radius: inherit;
}

.cold-countdown {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 26px;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: rgba(8, 11, 15, 0.86);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 17px;
}

.recall-stage {
  min-height: 520px;
  padding: clamp(35px, 8vw, 86px);
}

.recall-stage h2 {
  max-width: 600px;
  margin: 0 0 30px;
  font-size: clamp(36px, 6vw, 66px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.recall-stage textarea {
  width: 100%;
  resize: vertical;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: #080b0f;
  color: var(--text);
  line-height: 1.5;
}

.recall-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 13px 16px;
  transform: translateY(30px);
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  background: rgba(15, 21, 27, 0.94);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.measure-box {
  position: fixed;
  top: -9999px;
  left: -9999px;
  overflow: visible;
  white-space: pre-wrap;
  visibility: hidden;
  pointer-events: none;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: minmax(350px, 0.94fr) minmax(470px, 1.06fr);
  }

  .device-stage {
    padding: 20px;
  }

  .profile-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .verified-control {
    grid-column: 2;
    height: auto;
  }

  .segmented-field {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (max-width: 920px) {
  .site-header {
    min-height: 60px;
  }

  .system-status {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-side {
    max-width: 620px;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .control-column {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .preview-sticky {
    position: static;
  }

  .device-stage {
    min-height: 720px;
  }

  .feed-window {
    height: 680px;
  }

  .method-section {
    grid-template-columns: 1fr;
  }

  .mascot-shell {
    right: -66px;
    width: 205px;
  }

  .mascot-speech {
    right: 138px;
    bottom: 160px;
    width: 200px;
  }
}

/* Apple-like compact pass: calm surfaces, restrained type, and one clear
   action area instead of oversized editorial cards. */
body[data-skin="anime"] {
  --bg: #f4f6f8;
  --bg-soft: rgba(249, 250, 252, 0.76);
  --panel: rgba(255, 255, 255, 0.66);
  --panel-solid: #ffffff;
  --line: rgba(17, 35, 52, 0.12);
  --line-bright: rgba(17, 35, 52, 0.24);
  --text: #152536;
  --muted: #687887;
  --faint: #8c9aa6;
  --blue: #007aff;
  --blue-strong: #1688ff;
  --blue-soft: rgba(0, 122, 255, 0.12);
  --radius: 16px;
  --radius-small: 11px;
  --shadow: 0 14px 42px rgba(31, 48, 65, 0.1);
  background-color: var(--bg);
  background-image:
    linear-gradient(110deg, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.67)),
    url("./assets/anime-operations-room.png?v=22");
  background-position: center top;
  background-size: cover;
}

body[data-skin="anime"]::before,
body[data-skin="anime"] .grain {
  display: none;
}

body[data-skin="anime"] .site-header {
  min-height: 58px;
  padding: 0 26px;
  border-bottom-color: rgba(17, 35, 52, 0.09);
  background: rgba(250, 251, 253, 0.74);
  box-shadow: 0 1px 14px rgba(31, 48, 65, 0.04);
  backdrop-filter: blur(24px) saturate(135%);
}

body[data-skin="anime"] .brand {
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

body[data-skin="anime"] .brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.08);
  transform: rotate(45deg);
}

body[data-skin="anime"] .brand-mark span {
  width: 4px;
  height: 4px;
}

body[data-skin="anime"] .header-meta {
  gap: 12px;
}

body[data-skin="anime"] .system-status {
  font-size: 9px;
  letter-spacing: 0.07em;
}

body[data-skin="anime"] .workspace {
  gap: 18px;
  border: 0;
  background: transparent;
}

body[data-skin="anime"] .control-column {
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 18px;
}

body[data-skin="anime"] .preview-column {
  padding: 18px;
}

body[data-skin="anime"] .panel {
  border-color: rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.71);
  box-shadow: 0 12px 34px rgba(31, 48, 65, 0.08);
  backdrop-filter: blur(24px) saturate(125%);
}

body[data-skin="anime"] .panel::before {
  display: none;
}

body[data-skin="anime"] .composer-panel {
  padding: 18px;
}

body[data-skin="anime"] .panel-heading {
  gap: 12px;
  margin-bottom: 14px;
}

body[data-skin="anime"] .panel-heading h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

body[data-skin="anime"] .panel-kicker {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 8px;
  letter-spacing: 0.12em;
}

body[data-skin="anime"] .draft-state {
  gap: 6px;
  font-size: 8px;
}

body[data-skin="anime"] .profile-row {
  gap: 10px;
  margin-bottom: 12px;
}

body[data-skin="anime"] .avatar-input,
body[data-skin="anime"] .avatar-preview {
  width: 42px;
  height: 42px;
}

body[data-skin="anime"] .avatar-edit {
  width: 15px;
  height: 15px;
  font-size: 11px;
}

body[data-skin="anime"] .profile-fields {
  gap: 8px;
}

body[data-skin="anime"] .profile-fields label,
body[data-skin="anime"] .segmented-field > span {
  gap: 4px;
  font-size: 8px;
}

body[data-skin="anime"] .profile-fields input {
  padding: 7px 9px;
  border-color: rgba(17, 35, 52, 0.14);
  background: rgba(249, 250, 252, 0.76);
  font-size: 12px;
}

body[data-skin="anime"] .verified-control {
  height: 30px;
  gap: 5px;
  font-size: 8px;
}

body[data-skin="anime"] #postInput {
  min-height: 0;
  padding: 13px;
  border-color: rgba(17, 35, 52, 0.13);
  border-radius: 11px;
  background: rgba(250, 251, 253, 0.88);
  color: var(--text);
  font-size: 14px;
  line-height: 1.48;
}

body[data-skin="anime"] .controls-panel {
  gap: 10px;
  padding: 14px 18px;
}

body[data-skin="anime"] .controls-panel .panel-heading {
  display: none;
}

body[data-skin="anime"] .segmented-field {
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

body[data-skin="anime"] .segmented {
  min-height: 30px;
  padding: 2px;
  border: 1px solid rgba(17, 35, 52, 0.12);
  border-radius: 9px;
  background: rgba(232, 237, 242, 0.72);
}

body[data-skin="anime"] .segment {
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 9px;
}

body[data-skin="anime"] .segment.active {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(31, 48, 65, 0.1);
  color: var(--blue);
}

body[data-skin="anime"] .control-note {
  margin: 2px 0 0 80px;
  color: var(--muted);
  font-size: 9px;
}

body[data-skin="anime"] .preview-toolbar {
  min-height: 30px;
  color: var(--muted);
  font-size: 8px;
}

body[data-skin="anime"] .preview-toolbar > div {
  gap: 10px;
}

body[data-skin="anime"] .device-stage {
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: rgba(235, 244, 249, 0.64);
  box-shadow: 0 16px 42px rgba(31, 48, 65, 0.08);
}

body[data-skin="anime"] .feed-window {
  width: min(100%, 420px);
  height: min(100%, 560px);
  border-color: rgba(17, 35, 52, 0.18);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 25, 35, 0.22);
}

body[data-skin="anime"] .preview-caption {
  color: var(--muted);
  font-size: 8px;
}

body[data-skin="anime"] .mascot-shell {
  width: 148px;
  filter: drop-shadow(0 12px 22px rgba(24, 39, 52, 0.16));
}

body[data-skin="anime"] .mascot-hint {
  display: none;
}

@media (max-width: 920px) {
  body[data-skin="anime"] .site-header {
    min-height: 56px;
    padding: 0 16px;
  }

  body[data-skin="anime"] .control-column,
  body[data-skin="anime"] .preview-column {
    padding: 10px;
  }

  body[data-skin="anime"] .controls-panel {
    padding: 10px 12px;
  }

  body[data-skin="anime"] .control-note {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 16px;
  }

  .header-meta {
    gap: 10px;
  }

  .text-button {
    font-size: 10px;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-side > p {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .control-column,
  .preview-column {
    padding: 12px;
  }

  .composer-panel,
  .controls-panel,
  .diagnosis-panel {
    padding: 18px;
  }

  .profile-fields {
    grid-template-columns: 1fr;
  }

  .profile-row {
    align-items: start;
  }

  #postInput {
    min-height: 230px;
    padding: 14px;
  }

  .live-stats {
    gap: 8px;
    font-size: 8px;
  }

  .media-drop-empty {
    justify-content: flex-start;
    padding: 0 16px;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .action-grid .button-ghost {
    grid-column: auto;
  }

  .preview-toolbar {
    min-height: 64px;
    flex-direction: column;
    justify-content: center;
  }

  .preview-metrics {
    width: 100%;
    justify-content: space-between;
  }

  .device-stage {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .feed-window,
  .feed-window.desktop {
    width: 100%;
    height: 640px;
    min-height: 560px;
    border-radius: 18px;
  }

  .feed-window.desktop .post-card,
  .post-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 11px 8px;
  }

  .feed-window.desktop .post-avatar,
  .post-avatar {
    width: 42px;
    height: 42px;
  }

  .post-header {
    font-size: 12px;
  }

  .feed-window.desktop .post-copy,
  .post-copy {
    font-size: 14px;
    line-height: 19px;
  }

  .post-actions span {
    min-width: 24px;
    font-size: 9px;
  }

  .preview-caption,
  .site-footer {
    flex-direction: column;
  }

  .preview-caption span:last-child {
    text-align: left;
  }

  .method-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .method-grid article {
    grid-template-columns: 34px 1fr;
  }

  .method-grid p {
    grid-column: 2;
  }

  .cold-stage {
    padding: 20px 10px;
  }

  .recall-actions {
    flex-direction: column;
  }

  .mascot-shell {
    right: -62px;
    bottom: -18px;
    width: 154px;
  }

  .mascot-speech {
    right: 112px;
    bottom: 119px;
    width: 184px;
    font-size: 10px;
  }

  .mascot-hint {
    display: none;
  }
}

body[data-skin="paper"] #postInput,
body[data-skin="anime"] #postInput,
body[data-skin="paper"] .recall-stage textarea,
body[data-skin="anime"] .recall-stage textarea {
  background: #fffdf7;
  color: var(--text);
}

body[data-skin="paper"] #postInput::placeholder,
body[data-skin="anime"] #postInput::placeholder,
body[data-skin="paper"] .recall-stage textarea::placeholder,
body[data-skin="anime"] .recall-stage textarea::placeholder {
  color: var(--faint);
}

body[data-skin="paper"] .verdict,
body[data-skin="anime"] .verdict {
  color: var(--text);
}

body[data-skin="paper"] .cold-dialog,
body[data-skin="anime"] .cold-dialog {
  background: var(--panel-solid);
  color: var(--text);
}

.skip-link:not(:focus) {
  top: -120px;
}

.text-style-segment {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-style-segment .segment {
  gap: 7px;
  white-space: nowrap;
}

.style-glyph {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1;
}

.style-glyph strong,
.style-glyph em {
  font-style: normal;
}

#postInput.text-bold,
.post-copy.text-bold {
  font-weight: 700;
}

#postInput.text-italic,
.post-copy.text-italic {
  font-style: italic;
}

@media (max-width: 620px) {
  .text-style-segment .segment {
    gap: 4px;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 9px;
  }

  .style-glyph {
    width: 14px;
    height: 14px;
  }
}

@media (min-width: 921px) {
  .mascot-shell {
    width: 205px;
    opacity: 0.88;
  }

  .mascot-speech {
    right: 130px;
    bottom: 157px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Design selector --------------------------------------------------------- */

.skin-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-solid) 82%, transparent);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.14);
}

.skin-switcher > span {
  padding: 0 8px 0 10px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skin-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  transition: 180ms ease;
}

.skin-option i {
  color: var(--faint);
  font-style: normal;
}

.skin-option b {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skin-option:hover {
  color: var(--text);
}

.skin-option.active {
  border-color: var(--line-bright);
  background: var(--blue-soft);
  color: var(--text);
  box-shadow: inset 0 0 20px rgba(116, 214, 247, 0.05);
}

.skin-option.active i {
  color: var(--blue);
}

/* 02 / Paper: print-editorial, deliberately nothing like the default. ----- */

body[data-skin="paper"] {
  color-scheme: light;
  --bg: #ebe8df;
  --bg-soft: #f6f3eb;
  --panel: rgba(255, 253, 247, 0.92);
  --panel-solid: #fffdf7;
  --panel-raised: #f4f0e7;
  --line: #bcb8ad;
  --line-bright: #181b1d;
  --text: #121517;
  --muted: #555a5c;
  --faint: #7a7d79;
  --blue: #006f94;
  --blue-strong: #006f94;
  --blue-soft: rgba(0, 111, 148, 0.09);
  --orange: #a74425;
  --green: #2c7b58;
  --red: #b13d34;
  --radius: 2px;
  --radius-small: 1px;
  --shadow: 10px 12px 0 rgba(18, 21, 23, 0.08);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(18, 21, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 21, 23, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

body[data-skin="paper"] .ambient {
  display: none;
}

body[data-skin="paper"] .grain {
  opacity: 0.055;
  mix-blend-mode: multiply;
}

body[data-skin="paper"] .site-header {
  border-bottom: 2px solid var(--text);
  background: rgba(246, 243, 235, 0.94);
  backdrop-filter: blur(14px);
}

body[data-skin="paper"] .brand-mark {
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--text);
  transform: rotate(-4deg);
}

body[data-skin="paper"] .skin-switcher {
  border-color: var(--text);
  border-radius: 2px;
  background: var(--panel-solid);
  box-shadow: 3px 3px 0 rgba(18, 21, 23, 0.18);
}

body[data-skin="paper"] .skin-option,
body[data-skin="paper"] .skin-option.active {
  border-radius: 1px;
  box-shadow: none;
}

body[data-skin="paper"] .skin-option.active {
  border-color: var(--text);
  background: var(--text);
  color: #fffdf7;
}

body[data-skin="paper"] .hero {
  position: relative;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

body[data-skin="paper"] .hero::after {
  content: "ISSUE 001  /  FEED STUDIES";
  position: absolute;
  right: clamp(20px, 4vw, 68px);
  bottom: 16px;
  color: var(--faint);
  font: 9px/1 var(--mono);
  letter-spacing: 0.16em;
}

body[data-skin="paper"] .hero h1 {
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

body[data-skin="paper"] .hero h1 span {
  color: var(--blue);
  font-style: italic;
  font-weight: inherit;
}

body[data-skin="paper"] .hero-side {
  padding: 28px;
  border-top: 5px solid var(--text);
  border-bottom: 1px solid var(--text);
  background: rgba(255, 253, 247, 0.5);
}

body[data-skin="paper"] .hero-side > p {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

body[data-skin="paper"] .workspace {
  border-top: 0;
  border-bottom: 2px solid var(--text);
}

body[data-skin="paper"] .control-column {
  background: rgba(246, 243, 235, 0.72);
}

body[data-skin="paper"] .panel {
  border: 1px solid var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

body[data-skin="paper"] .panel-heading {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

body[data-skin="paper"] .button-primary {
  border-color: var(--text);
  background: var(--text);
  color: #fffdf7;
  box-shadow: 4px 4px 0 var(--blue);
}

body[data-skin="paper"] .device-stage {
  border: 1px solid var(--text);
  background-color: #d9d5cc;
  background-image: radial-gradient(#8f918d 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  box-shadow: 10px 10px 0 rgba(18, 21, 23, 0.14);
}

body[data-skin="paper"] .method-grid article {
  border-top: 5px solid var(--text);
}

body[data-skin="paper"] .mascot-speech {
  border: 2px solid var(--text);
  border-radius: 1px;
  background: #fffdf7;
  color: var(--text);
  box-shadow: 5px 5px 0 var(--text);
}

/* 03 / Terminal: a control surface, not a marketing page. ------------------ */

body[data-skin="terminal"] {
  --bg: #020b0d;
  --bg-soft: #041114;
  --panel: rgba(2, 17, 20, 0.9);
  --panel-solid: #031114;
  --panel-raised: #061b20;
  --line: #10404a;
  --line-bright: #22b3c5;
  --text: #bdf8f3;
  --muted: #56aaa9;
  --faint: #326c70;
  --blue: #35f4e5;
  --blue-strong: #35f4e5;
  --blue-soft: rgba(53, 244, 229, 0.09);
  --orange: #ffb454;
  --green: #79ffaf;
  --red: #ff5f78;
  --radius: 0;
  --radius-small: 0;
  --shadow: 0 0 80px rgba(0, 213, 205, 0.07);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(53, 244, 229, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 244, 229, 0.034) 1px, transparent 1px);
  background-size: 42px 42px;
}

body[data-skin="terminal"]::before {
  content: "";
  position: fixed;
  z-index: 19;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.08) 50%);
  background-size: 100% 4px;
  opacity: 0.4;
}

body[data-skin="terminal"] .ambient-one {
  opacity: 0.1;
}

body[data-skin="terminal"] .ambient-two {
  background: #00a89f;
  opacity: 0.08;
}

body[data-skin="terminal"] .grain {
  display: none;
}

body[data-skin="terminal"] .site-header {
  border-bottom: 1px solid var(--blue);
  background: rgba(2, 11, 13, 0.9);
  box-shadow: 0 8px 30px rgba(53, 244, 229, 0.05);
}

body[data-skin="terminal"] .brand-mark {
  border-radius: 0;
  transform: rotate(45deg);
}

body[data-skin="terminal"] .brand-mark span {
  border-radius: 0;
}

body[data-skin="terminal"] .skin-switcher,
body[data-skin="terminal"] .skin-option,
body[data-skin="terminal"] .skin-option.active {
  border-radius: 0;
}

body[data-skin="terminal"] .skin-switcher {
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

body[data-skin="terminal"] .hero {
  position: relative;
  min-height: min(620px, 72vh);
  align-items: center;
}

body[data-skin="terminal"] .hero::before {
  content: "FS-01\A COLD READER PROTOCOL\A STATUS / LISTENING";
  position: absolute;
  top: 52px;
  right: clamp(20px, 4vw, 68px);
  color: var(--faint);
  font: 9px/1.8 var(--mono);
  letter-spacing: 0.14em;
  text-align: right;
  white-space: pre;
}

body[data-skin="terminal"] .hero h1 {
  font-family: var(--mono);
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 0 35px rgba(53, 244, 229, 0.12);
}

body[data-skin="terminal"] .hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--muted);
}

body[data-skin="terminal"] .hero-side {
  padding: 22px;
  border-left: 1px solid var(--blue);
  background: linear-gradient(90deg, var(--blue-soft), transparent);
}

body[data-skin="terminal"] .hero-side > p {
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
}

body[data-skin="terminal"] .panel {
  position: relative;
  border-color: var(--line-bright);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

body[data-skin="terminal"] .panel::after {
  content: "SYS / READY";
  position: absolute;
  top: 7px;
  right: 10px;
  color: var(--faint);
  font: 7px/1 var(--mono);
  letter-spacing: 0.12em;
}

body[data-skin="terminal"] .panel-heading h2,
body[data-skin="terminal"] .method-section h2 {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
}

body[data-skin="terminal"] .button,
body[data-skin="terminal"] .segment,
body[data-skin="terminal"] input,
body[data-skin="terminal"] textarea,
body[data-skin="terminal"] .media-drop {
  border-radius: 0;
}

body[data-skin="terminal"] .button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #001415;
  box-shadow: 0 0 34px rgba(53, 244, 229, 0.14);
}

body[data-skin="terminal"] .device-stage {
  border-color: var(--blue);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(53, 244, 229, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(53, 244, 229, 0.04) 1px, transparent 1px),
    #020a0d;
  background-size: 18px 18px;
}

body[data-skin="terminal"] .mascot-speech {
  border-radius: 0;
  border-color: var(--blue);
  background: rgba(2, 11, 13, 0.96);
  color: var(--text);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* 04 / Anime night shift: key art, episode cards, cel-animation cues. ------- */

body[data-skin="anime"] {
  --bg: #050917;
  --bg-soft: #081127;
  --panel: rgba(7, 16, 35, 0.82);
  --panel-solid: #081126;
  --panel-raised: #101d3a;
  --line: rgba(126, 184, 255, 0.28);
  --line-bright: rgba(127, 214, 255, 0.72);
  --text: #edf7ff;
  --muted: #98acc9;
  --faint: #607391;
  --blue: #77dbff;
  --blue-strong: #4bb9ff;
  --blue-soft: rgba(105, 205, 255, 0.12);
  --orange: #ffb34d;
  --green: #7af6c7;
  --red: #ff8293;
  --radius: 9px;
  --radius-small: 5px;
  --shadow: 0 30px 100px rgba(0, 6, 22, 0.55);
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(3, 8, 20, 0.92) 0%, rgba(3, 8, 20, 0.67) 48%, rgba(3, 8, 20, 0.18) 100%),
   url("./assets/anime-operations-room.png?v=22");
  background-position: center top;
  background-size: auto 100vh, cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-skin="anime"]::before {
  content: "EP. 01  /  THE SENTENCE BELOW THE FOLD";
  position: fixed;
  z-index: 2;
  top: 50%;
  left: 12px;
  color: rgba(145, 210, 255, 0.34);
  font: 8px/1 var(--mono);
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  pointer-events: none;
}

body[data-skin="anime"] .ambient-one {
  background: #237dff;
  opacity: 0.16;
}

body[data-skin="anime"] .ambient-two {
  background: #ff9c35;
  opacity: 0.06;
}

body[data-skin="anime"] .grain {
  opacity: 0.045;
}

body[data-skin="anime"] .site-header {
  border-bottom-color: rgba(119, 219, 255, 0.46);
  background: rgba(4, 9, 23, 0.76);
  box-shadow: 0 12px 50px rgba(0, 8, 28, 0.36);
}

body[data-skin="anime"] .brand-mark {
  border-radius: 5px 0 5px 0;
  transform: rotate(45deg);
}

body[data-skin="anime"] .brand-mark span {
  border-radius: 1px;
}

body[data-skin="anime"] .skin-switcher {
  background: rgba(6, 14, 31, 0.86);
}

body[data-skin="anime"] .anime-option.active {
  border-color: var(--orange);
  background: rgba(255, 179, 77, 0.12);
}

body[data-skin="anime"] .anime-option.active i {
  color: var(--orange);
}

body[data-skin="anime"] .hero {
  position: relative;
  min-height: min(670px, 78vh);
  align-items: center;
}

body[data-skin="anime"] .hero::after {
  content: "NIGHT SHIFT\A 23:47:12\A TOKYO-3";
  position: absolute;
  right: clamp(20px, 4vw, 68px);
  bottom: 44px;
  padding: 12px 16px;
  border-right: 3px solid var(--orange);
  background: rgba(4, 9, 23, 0.68);
  color: #c9dbef;
  font: 9px/1.6 var(--mono);
  letter-spacing: 0.17em;
  text-align: right;
  white-space: pre;
}

body[data-skin="anime"] .hero h1 {
  text-shadow: 0 8px 50px rgba(0, 5, 18, 0.8);
}

body[data-skin="anime"] .hero h1 span {
  display: inline-block;
  color: var(--blue);
  transform: skewX(-7deg);
}

body[data-skin="anime"] .hero-side {
  padding: 24px 26px;
  border: 1px solid rgba(119, 219, 255, 0.5);
  border-left: 4px solid var(--orange);
  background: rgba(5, 12, 29, 0.73);
  box-shadow: 18px 18px 0 rgba(43, 116, 190, 0.1);
  backdrop-filter: blur(12px);
}

body[data-skin="anime"] .hero-side > p {
  color: #d1e1f2;
}

body[data-skin="anime"] .workspace {
  border-top-color: rgba(119, 219, 255, 0.54);
  background: rgba(3, 8, 22, 0.72);
  backdrop-filter: blur(20px);
}

body[data-skin="anime"] .control-column {
  background: linear-gradient(135deg, rgba(7, 17, 39, 0.92), rgba(5, 11, 27, 0.78));
}

body[data-skin="anime"] .panel {
  position: relative;
  border-color: rgba(119, 219, 255, 0.42);
  background: linear-gradient(145deg, rgba(13, 28, 58, 0.88), rgba(5, 13, 32, 0.9));
  box-shadow: inset 0 1px 0 rgba(190, 231, 255, 0.08), var(--shadow);
}

body[data-skin="anime"] .panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 4px;
  background: var(--orange);
  box-shadow: -60px 0 0 var(--blue);
}

body[data-skin="anime"] .panel-heading h2 {
  font-style: italic;
}

body[data-skin="anime"] .button-primary {
  border-color: var(--blue);
  background: linear-gradient(135deg, #9ce8ff, #4ab9ff);
  color: #05111e;
  box-shadow: 0 10px 34px rgba(75, 185, 255, 0.2);
}

body[data-skin="anime"] .device-stage {
  border-color: rgba(119, 219, 255, 0.5);
  background:
    radial-gradient(circle at 50% 44%, rgba(66, 149, 255, 0.2), transparent 38%),
    linear-gradient(rgba(5, 10, 25, 0.85), rgba(3, 8, 19, 0.95));
  box-shadow: inset 0 0 80px rgba(34, 116, 211, 0.08), 0 30px 90px rgba(0, 3, 13, 0.48);
}

body[data-skin="anime"] .feed-window {
  box-shadow: 0 26px 90px rgba(0, 4, 16, 0.76), 0 0 0 1px rgba(122, 207, 255, 0.14);
}

body[data-skin="anime"] .method-section {
  background: linear-gradient(180deg, rgba(4, 10, 25, 0.87), rgba(4, 9, 22, 0.97));
}

body[data-skin="anime"] .method-grid article {
  border-color: rgba(119, 219, 255, 0.45);
  background: rgba(8, 17, 38, 0.45);
}

body[data-skin="anime"] .mascot-shell {
  filter: drop-shadow(0 20px 28px rgba(0, 4, 16, 0.65));
}

body[data-skin="anime"] .mascot-speech {
  border-color: var(--orange);
  background: rgba(5, 11, 27, 0.96);
  box-shadow: 0 12px 40px rgba(0, 4, 16, 0.65), inset 3px 0 0 var(--blue);
}

@media (max-width: 1120px) {
  .skin-switcher > span,
  .skin-option b {
    display: none;
  }

  .skin-option {
    min-width: 29px;
    justify-content: center;
    padding: 0 7px;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 8px;
  }

  .skin-switcher {
    order: 3;
  }

  .skin-switcher > span {
    display: none;
  }

  .skin-option {
    min-width: 25px;
    min-height: 25px;
    padding: 0 5px;
    font-size: 8px;
  }

  .header-meta .text-button {
    display: none;
  }

  body[data-skin="anime"] {
    background-position: 68% top;
  }

  body[data-skin="anime"] .hero::after,
  body[data-skin="terminal"] .hero::before,
  body[data-skin="paper"] .hero::after {
    display: none;
  }
}

/* Anime v2: quieter, cuter, more like a real illustrated editorial site. */

body[data-skin="anime"] {
  color-scheme: light;
  --bg: #eeeae1;
  --bg-soft: #f8f4eb;
  --panel: rgba(255, 253, 247, 0.94);
  --panel-solid: #fffdf7;
  --panel-raised: #edf5fa;
  --line: rgba(26, 50, 74, 0.18);
  --line-bright: rgba(26, 50, 74, 0.48);
  --text: #14283b;
  --muted: #587086;
  --faint: #8494a2;
  --blue: #167ca4;
  --blue-strong: #1a9ed0;
  --blue-soft: rgba(22, 124, 164, 0.09);
  --orange: #c68b35;
  --green: #3b8568;
  --red: #be5b68;
  --radius: 13px;
  --radius-small: 8px;
  --shadow: 0 24px 80px rgba(33, 47, 62, 0.14);
  background-color: #eeeae1;
  background-image: url("./assets/anime-operations-room.png?v=22");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-skin="anime"]::before {
  content: "EP. 01  /  AFTER HOURS";
  color: rgba(20, 40, 59, 0.25);
}

body[data-skin="anime"] .ambient {
  display: none;
}

body[data-skin="anime"] .grain {
  opacity: 0.035;
  mix-blend-mode: multiply;
}

body[data-skin="anime"] .site-header {
  border-bottom-color: rgba(20, 40, 59, 0.17);
  background: rgba(247, 244, 237, 0.82);
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(115%);
}

body[data-skin="anime"] .brand-mark {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 124, 164, 0.08);
}

body[data-skin="anime"] .skin-switcher {
  border-color: rgba(20, 40, 59, 0.18);
  background: rgba(255, 253, 247, 0.8);
  box-shadow: 0 9px 26px rgba(28, 40, 52, 0.08);
}

body[data-skin="anime"] .anime-option.active {
  border-color: rgba(22, 124, 164, 0.45);
  background: rgba(22, 124, 164, 0.11);
}

body[data-skin="anime"] .hero {
  grid-template-columns: minmax(0, 0.98fr);
  gap: 28px;
  min-height: min(700px, 82vh);
  align-content: center;
  align-items: start;
}

body[data-skin="anime"] .hero > div {
  max-width: min(760px, 56vw);
}

body[data-skin="anime"] .hero::after {
  content: "night shift\A one post left\A screens still on";
  right: auto;
  bottom: 38px;
  left: clamp(20px, 4vw, 68px);
  padding: 9px 12px;
  border: 0;
  border-left: 2px solid var(--orange);
  background: rgba(255, 253, 247, 0.55);
  color: rgba(20, 40, 59, 0.58);
  font-size: 8px;
  text-align: left;
  backdrop-filter: blur(8px);
}

body[data-skin="anime"] .hero h1 {
  color: var(--text);
  font-size: clamp(46px, 6vw, 92px);
  font-weight: 620;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.45);
}

body[data-skin="anime"] .hero h1 span {
  color: var(--blue);
  transform: none;
  font-weight: 500;
}

body[data-skin="anime"] .hero-side {
  max-width: 590px !important;
  padding: 18px 20px;
  border: 0;
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 253, 247, 0.67);
  box-shadow: none;
  backdrop-filter: blur(11px);
}

body[data-skin="anime"] .hero-side > p {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 17px;
}

body[data-skin="anime"] .workspace {
  border-color: rgba(20, 40, 59, 0.18);
  background: rgba(239, 237, 232, 0.92);
  backdrop-filter: blur(22px);
}

body[data-skin="anime"] .control-column {
  border-color: rgba(20, 40, 59, 0.18);
  background: rgba(247, 244, 237, 0.68);
}

body[data-skin="anime"] .panel {
  border-color: rgba(20, 40, 59, 0.2);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 18px 52px rgba(31, 45, 57, 0.09);
  backdrop-filter: blur(12px);
}

body[data-skin="anime"] .panel::before {
  width: 30px;
  height: 3px;
  background: var(--orange);
  box-shadow: -36px 0 0 var(--blue);
}

body[data-skin="anime"] .panel-heading h2 {
  font-style: normal;
}

body[data-skin="anime"] .button-primary {
  border-color: #1a5069;
  background: #173b51;
  color: #f8fcff;
  box-shadow: 0 8px 22px rgba(23, 59, 81, 0.17);
}

body[data-skin="anime"] .button-primary:hover {
  background: #1c506c;
}

body[data-skin="anime"] .device-stage {
  border-color: rgba(20, 40, 59, 0.2);
  background: #dbe8ee;
  box-shadow: inset 0 0 80px rgba(40, 113, 149, 0.08), 0 22px 70px rgba(32, 45, 57, 0.13);
}

body[data-skin="anime"] .method-section {
  background: rgba(247, 244, 237, 0.96);
}

body[data-skin="anime"] .method-grid article {
  border-color: rgba(20, 40, 59, 0.28);
  background: transparent;
}

body[data-skin="anime"] .site-footer {
  background: rgba(247, 244, 237, 0.97);
}

body[data-skin="anime"] .mascot-speech {
  border-color: rgba(20, 40, 59, 0.46);
  background: rgba(255, 253, 247, 0.95);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(29, 41, 52, 0.16), inset 3px 0 0 var(--blue);
}

@media (max-width: 920px) {
  body[data-skin="anime"] {
    background-position: 64% top;
    background-size: auto 760px;
  }

  body[data-skin="anime"] .hero {
    min-height: 760px;
    align-content: start;
    padding-top: 76px;
  }

  body[data-skin="anime"] .hero > div {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  body[data-skin="anime"] {
    background-position: 68% 0;
    background-size: auto 610px;
  }

  body[data-skin="anime"] .hero {
    min-height: 650px;
    padding-top: 54px;
    background: linear-gradient(90deg, rgba(247, 244, 237, 0.93), rgba(247, 244, 237, 0.2));
  }

  body[data-skin="anime"] .hero > div {
    max-width: 100%;
  }

  body[data-skin="anime"] .hero h1 {
    max-width: 430px;
    font-size: clamp(40px, 12vw, 59px);
  }

body[data-skin="anime"] .hero-side {
    max-width: 390px !important;
  }
}

/* Final anime-only pass: the interface ends at the fold estimate. */
body[data-skin="anime"] .skin-switcher,
body[data-skin="anime"] .hero-side,
body[data-skin="anime"] .hero::after,
body[data-skin="anime"] .media-drop,
body[data-skin="anime"] .composer-footer {
  display: none !important;
}

body[data-skin="anime"] .hero {
  min-height: clamp(360px, 53vh, 560px);
  padding-top: clamp(62px, 8vw, 108px);
  padding-bottom: clamp(40px, 6vw, 78px);
  align-content: center;
}

body[data-skin="anime"] .hero > div {
  max-width: 980px;
}

body[data-skin="anime"] .workspace {
  margin-top: 0;
}

body[data-skin="anime"] .controls-panel .control-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 920px) {
  body[data-skin="anime"] .hero {
    min-height: 420px;
    padding-top: 68px;
  }
}

@media (max-width: 620px) {
  body[data-skin="anime"] .hero {
    min-height: 400px;
    padding-top: 48px;
  }
}

/* The app is a single working surface, not a scrollable landing page. */
html,
body {
  height: 100%;
  overflow: hidden;
}

body[data-skin="anime"] main#top {
  height: calc(100vh - 68px);
  min-height: 0;
  overflow: hidden;
}

body[data-skin="anime"] .workspace {
  height: 100%;
  min-height: 0;
}

body[data-skin="anime"] .control-column,
body[data-skin="anime"] .preview-column {
  min-height: 0;
}

body[data-skin="anime"] .control-column {
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  padding: clamp(12px, 1.8vw, 24px);
}

body[data-skin="anime"] .composer-panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: clamp(16px, 1.8vw, 24px);
}

body[data-skin="anime"] #postInput {
  min-height: 0;
  flex: 1 1 auto;
  resize: none;
}

body[data-skin="anime"] .controls-panel {
  padding: clamp(14px, 1.8vw, 22px);
}

body[data-skin="anime"] .preview-column {
  overflow: hidden;
  padding: clamp(12px, 1.8vw, 24px);
}

body[data-skin="anime"] .preview-sticky {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  top: 0;
}

body[data-skin="anime"] .preview-toolbar,
body[data-skin="anime"] .preview-caption {
  flex: 0 0 auto;
}

body[data-skin="anime"] .preview-toolbar {
  min-height: 36px;
}

body[data-skin="anime"] .device-stage {
  min-height: 0;
  flex: 1 1 auto;
  padding: clamp(10px, 1.8vw, 24px);
}

body[data-skin="anime"] .feed-window {
  height: 100%;
  min-height: 0;
}

body[data-skin="anime"] .preview-caption {
  padding-top: 8px;
}

@media (max-width: 920px) {
  body[data-skin="anime"] main#top {
    height: calc(100vh - 60px);
    overflow: hidden;
  }

  body[data-skin="anime"] .workspace {
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  body[data-skin="anime"] .control-column {
    height: 100%;
    overflow: hidden;
    padding: 10px;
  }

  body[data-skin="anime"] .composer-panel {
    min-height: 0;
    padding: 12px;
  }

  body[data-skin="anime"] .preview-column {
    height: 100%;
    min-height: 0;
    padding: 10px;
  }

  body[data-skin="anime"] .panel-heading {
    margin-bottom: 10px;
  }

  body[data-skin="anime"] .profile-row {
    gap: 8px;
    margin-bottom: 8px;
  }

  body[data-skin="anime"] .avatar-input,
  body[data-skin="anime"] .avatar-preview {
    width: 38px;
    height: 38px;
  }

  body[data-skin="anime"] .profile-fields {
    gap: 6px;
  }

  body[data-skin="anime"] .profile-fields label {
    gap: 3px;
    font-size: 7px;
  }

  body[data-skin="anime"] .profile-fields input {
    padding: 6px 7px;
    font-size: 11px;
  }

  body[data-skin="anime"] .verified-control {
    height: 28px;
    gap: 4px;
    font-size: 7px;
  }

  body[data-skin="anime"] #postInput {
    padding: 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  body[data-skin="anime"] .controls-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    padding: 10px 12px;
  }

  body[data-skin="anime"] .controls-panel .panel-heading {
    display: none;
  }

  body[data-skin="anime"] .controls-panel .panel-heading h2 {
    font-size: 16px;
  }

  body[data-skin="anime"] .controls-panel .panel-kicker {
    margin-bottom: 3px;
  }

  body[data-skin="anime"] .segmented-field {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body[data-skin="anime"] .segmented-field > span {
    font-size: 7px;
  }

  body[data-skin="anime"] .segmented {
    min-height: 28px;
    padding: 2px;
  }

  body[data-skin="anime"] .segment {
    padding: 5px 4px;
    font-size: 8px;
  }

  body[data-skin="anime"] .control-note,
  body[data-skin="anime"] .preview-caption {
    display: none;
  }

  body[data-skin="anime"] .preview-toolbar {
    min-height: 28px;
    font-size: 7px;
  }

  body[data-skin="anime"] .device-stage {
    padding: 0;
  }

  body[data-skin="anime"] .feed-window {
    min-height: 0;
    border-radius: 16px;
  }

  body[data-skin="anime"] .feed-topbar {
    height: 34px;
    padding: 0 12px;
  }

  body[data-skin="anime"] .post-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 9px 6px;
  }

  body[data-skin="anime"] .post-avatar {
    width: 34px;
    height: 34px;
  }

  body[data-skin="anime"] .post-header {
    font-size: 11px;
    line-height: 15px;
  }

  body[data-skin="anime"] .post-copy {
    font-size: 12px;
    line-height: 16px;
  }
}

/* Final visual layer: compact Apple-like glass, quiet type, blue accents. */
body[data-skin="anime"] {
  --bg: #f4f6f8;
  --bg-soft: rgba(249, 250, 252, 0.76);
  --panel: rgba(255, 255, 255, 0.7);
  --panel-solid: #ffffff;
  --line: rgba(17, 35, 52, 0.12);
  --line-bright: rgba(17, 35, 52, 0.24);
  --text: #152536;
  --muted: #687887;
  --faint: #8c9aa6;
  --blue: #007aff;
  --blue-strong: #1688ff;
  --blue-soft: rgba(0, 122, 255, 0.12);
  --radius: 16px;
  --radius-small: 11px;
  --shadow: 0 14px 42px rgba(31, 48, 65, 0.1);
  background-color: var(--bg);
  background-image:
    linear-gradient(110deg, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.67)),
    url("./assets/anime-operations-room.png?v=22");
  background-position: center top;
  background-size: cover;
}

body[data-skin="anime"]::before,
body[data-skin="anime"] .grain,
body[data-skin="anime"] .hero,
body[data-skin="anime"] .site-footer {
  display: none !important;
}

body[data-skin="anime"] .site-header {
  min-height: 58px;
  padding: 0 26px;
  border-bottom-color: rgba(17, 35, 52, 0.09);
  background: rgba(250, 251, 253, 0.74);
  box-shadow: 0 1px 14px rgba(31, 48, 65, 0.04);
  backdrop-filter: blur(24px) saturate(135%);
}

body[data-skin="anime"] .brand {
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

body[data-skin="anime"] .brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.08);
  transform: rotate(45deg);
}

body[data-skin="anime"] .brand-mark span {
  width: 4px;
  height: 4px;
}

body[data-skin="anime"] .system-status {
  font-size: 9px;
  letter-spacing: 0.07em;
}

body[data-skin="anime"] .workspace {
  gap: 18px;
  border: 0;
  background: transparent;
}

body[data-skin="anime"] .control-column {
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 18px;
}

body[data-skin="anime"] .preview-column {
  padding: 18px;
}

body[data-skin="anime"] .panel {
  border-color: rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.71);
  box-shadow: 0 12px 34px rgba(31, 48, 65, 0.08);
  backdrop-filter: blur(24px) saturate(125%);
}

body[data-skin="anime"] .panel::before,
body[data-skin="anime"] .controls-panel .panel-heading {
  display: none;
}

body[data-skin="anime"] .composer-panel {
  padding: 18px;
}

body[data-skin="anime"] .panel-heading {
  gap: 12px;
  margin-bottom: 14px;
}

body[data-skin="anime"] .panel-heading h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

body[data-skin="anime"] .panel-kicker {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 8px;
  letter-spacing: 0.12em;
}

body[data-skin="anime"] .draft-state {
  gap: 6px;
  font-size: 8px;
}

body[data-skin="anime"] .profile-row {
  gap: 10px;
  margin-bottom: 12px;
}

body[data-skin="anime"] .avatar-input,
body[data-skin="anime"] .avatar-preview {
  width: 42px;
  height: 42px;
}

body[data-skin="anime"] .avatar-edit {
  width: 15px;
  height: 15px;
  font-size: 11px;
}

body[data-skin="anime"] .profile-fields {
  gap: 8px;
}

body[data-skin="anime"] .profile-fields label,
body[data-skin="anime"] .segmented-field > span {
  gap: 4px;
  font-size: 8px;
}

body[data-skin="anime"] .profile-fields input {
  padding: 7px 9px;
  border-color: rgba(17, 35, 52, 0.14);
  background: rgba(249, 250, 252, 0.76);
  font-size: 12px;
}

body[data-skin="anime"] .verified-control {
  height: 30px;
  gap: 5px;
  font-size: 8px;
}

body[data-skin="anime"] #postInput {
  min-height: 0;
  padding: 13px;
  border-color: rgba(17, 35, 52, 0.13);
  border-radius: 11px;
  background: rgba(250, 251, 253, 0.88);
  color: var(--text);
  font-size: 14px;
  line-height: 1.48;
}

body[data-skin="anime"] .controls-panel {
  gap: 10px;
  padding: 14px 18px;
}

body[data-skin="anime"] .segmented-field {
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

body[data-skin="anime"] .segmented {
  min-height: 30px;
  padding: 2px;
  border: 1px solid rgba(17, 35, 52, 0.12);
  border-radius: 9px;
  background: rgba(232, 237, 242, 0.72);
}

body[data-skin="anime"] .segment {
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 9px;
}

body[data-skin="anime"] .segment.active {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(31, 48, 65, 0.1);
  color: var(--blue);
}

body[data-skin="anime"] .control-note {
  margin: 2px 0 0 80px;
  color: var(--muted);
  font-size: 9px;
}

body[data-skin="anime"] .preview-toolbar {
  min-height: 30px;
  color: var(--muted);
  font-size: 8px;
}

body[data-skin="anime"] .device-stage {
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: rgba(235, 244, 249, 0.64);
  box-shadow: 0 16px 42px rgba(31, 48, 65, 0.08);
}

body[data-skin="anime"] .feed-window {
  width: min(100%, 420px);
  height: min(100%, 560px);
  border-color: rgba(17, 35, 52, 0.18);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 25, 35, 0.22);
}

body[data-skin="anime"] .preview-caption {
  color: var(--muted);
  font-size: 8px;
}

body[data-skin="anime"] .mascot-shell {
  width: 148px;
  filter: drop-shadow(0 12px 22px rgba(24, 39, 52, 0.16));
}

body[data-skin="anime"] .mascot-hint {
  display: none;
}

@media (max-width: 920px) {
  body[data-skin="anime"] .site-header {
    min-height: 56px;
    padding: 0 16px;
  }

  body[data-skin="anime"] .control-column,
  body[data-skin="anime"] .preview-column {
    padding: 10px;
  }

  body[data-skin="anime"] .controls-panel {
    padding: 10px 12px;
  }

  body[data-skin="anime"] .control-note,
  body[data-skin="anime"] .preview-caption {
    display: none;
  }
}

/* Final composition adjustments. */
body[data-skin="anime"] {
  background-image:
    linear-gradient(110deg, rgba(248, 250, 252, 0.34), rgba(248, 250, 252, 0.08)),
    url("./assets/anime-operations-room.png?v=37");
  background-position: 70% center;
  background-size: cover;
}

body[data-skin="anime"] .site-header {
  display: none !important;
}

body[data-skin="anime"] .fold-ruler,
body[data-skin="anime"] .preview-caption {
  display: none !important;
}

body[data-skin="anime"] .mascot-shell {
  width: 220px;
}

body[data-skin="anime"] .device-stage {
  background-image:
    linear-gradient(120deg, rgba(224, 238, 246, 0.62), rgba(232, 238, 242, 0.42)),
    url("./assets/anime-operations-room.png?v=37");
  background-position: 68% center;
  background-size: cover;
}

body[data-skin="anime"] .feed-window {
  transform: translateX(-56px);
  box-shadow: 0 20px 50px rgba(15, 25, 35, 0.22);
}

@media (min-width: 921px) {
  body[data-skin="anime"] .preview-sticky {
    position: relative;
    top: 0;
  }

  body[data-skin="anime"] .preview-toolbar {
    position: absolute;
    z-index: 5;
    top: 5px;
    right: 0;
    left: 0;
    min-height: 0;
    height: 20px;
    line-height: 1.2;
    pointer-events: none;
  }
}

@media (max-width: 920px) {
  body[data-skin="anime"] .feed-window {
    transform: none;
  }
}

@media (max-width: 620px) {
  body[data-skin="anime"] {
    background-position: 68% center;
    background-size: cover;
  }

  body[data-skin="anime"] .mascot-shell {
    width: 184px;
  }

}

/* Final polish: intentional toolbar, calmer surfaces, and a real mobile layout. */
body[data-skin="anime"] .draft-state,
body[data-skin="anime"] .preview-toolbar > div:first-child {
  display: none !important;
}

body[data-skin="anime"] .preview-toolbar > div:last-child {
  margin-left: auto;
}

body[data-skin="anime"] .device-stage {
  position: relative;
  overflow: visible;
}

body[data-skin="anime"] main#top,
body[data-skin="anime"] .workspace,
body[data-skin="anime"] .preview-column,
body[data-skin="anime"] .preview-sticky {
  overflow: visible;
}

body[data-skin="anime"] .device-stage .mascot-shell {
  position: absolute;
  z-index: 7;
  right: -8px;
  bottom: -88px;
  width: 178px;
  opacity: 0.96;
  filter: drop-shadow(0 10px 13px rgba(25, 36, 48, 0.2));
}

body[data-skin="anime"] .device-stage .mascot-button:hover,
body[data-skin="anime"] .device-stage .mascot-button:focus-visible {
  transform: translate(-3px, -3px) rotate(-1deg);
}

@media (min-width: 921px) {
  body[data-skin="anime"] .preview-toolbar {
    top: 10px;
    right: 12px;
    left: 12px;
    height: auto;
    align-items: center;
  }

  body[data-skin="anime"] .preview-toolbar > div {
    gap: 8px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.68);
    box-shadow: 0 4px 14px rgba(23, 40, 55, 0.06);
    backdrop-filter: blur(12px) saturate(125%);
  }

  body[data-skin="anime"] .device-stage {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
      0 18px 44px rgba(31, 48, 65, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.42);
  }
}

@media (max-width: 620px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body[data-skin="anime"] main#top {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  body[data-skin="anime"] .workspace {
    display: block;
    height: auto;
    min-height: 0;
  }

  body[data-skin="anime"] .control-column,
  body[data-skin="anime"] .preview-column {
    width: 100%;
    height: auto;
    min-width: 0;
    overflow: visible;
    padding: 10px;
  }

  body[data-skin="anime"] .panel,
  body[data-skin="anime"] .composer-panel,
  body[data-skin="anime"] .controls-panel {
    width: 100%;
    min-width: 0;
  }

  body[data-skin="anime"] .composer-panel {
    min-height: 410px;
    padding: 14px;
  }

  body[data-skin="anime"] .profile-row {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
  }

  body[data-skin="anime"] .profile-fields {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  body[data-skin="anime"] .verified-control {
    grid-column: 2;
    height: auto;
    align-self: start;
  }

  body[data-skin="anime"] #postInput {
    min-height: 190px;
    max-height: 220px;
    flex: 0 0 auto;
    overflow-wrap: anywhere;
  }

  body[data-skin="anime"] .controls-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 14px;
  }

  body[data-skin="anime"] .segmented-field {
    grid-template-columns: 1fr;
    gap: 5px;
    min-width: 0;
  }

  body[data-skin="anime"] .segmented {
    width: 100%;
    min-width: 0;
  }

  body[data-skin="anime"] .preview-sticky {
    height: auto;
  }

  body[data-skin="anime"] .preview-toolbar {
    position: static;
    min-height: 0;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 4px 10px;
    font-size: 7px;
  }

  body[data-skin="anime"] .preview-toolbar > div {
    gap: 8px;
  }

  body[data-skin="anime"] .device-stage {
    width: 100%;
    height: 560px;
    min-height: 560px;
    padding: 12px;
  }

  body[data-skin="anime"] .feed-window,
  body[data-skin="anime"] .feed-window.desktop {
    width: 100%;
    max-width: 360px;
    height: 100%;
    min-height: 0;
    transform: none;
  }

  body[data-skin="anime"] .post-copy {
    overflow-wrap: anywhere;
  }

  body[data-skin="anime"] .device-stage .mascot-shell {
    right: -8px;
    bottom: -76px;
    width: 132px;
  }
}

/* Desktop is X's normal centre timeline, not a phone mockup. */
@media (min-width: 921px) {
  html body[data-skin="anime"] .feed-cluster:has(.feed-window.desktop) {
    width: min(100%, 600px);
  }

  html body[data-skin="anime"] .feed-cluster .feed-window.desktop {
    width: min(100%, 600px);
    max-width: 600px;
    border-radius: 16px;
  }

  html body[data-skin="anime"] .feed-window.desktop .feed-topbar {
    display: none;
  }

  html body[data-skin="anime"] .feed-window.desktop .post-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 14px 9px;
  }

  html body[data-skin="anime"] .feed-window.desktop .post-avatar {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  html body[data-skin="anime"] .feed-window.desktop .post-header {
    font-size: 13px;
    line-height: 18px;
  }

  html body[data-skin="anime"] .feed-window.desktop .post-copy {
    font-size: 15px;
    line-height: 20px;
  }
}
