:root {
  --red: #ff184f;
  --pink: #ffe7ef;
  --yellow: #ffd76b;
  --mint: #b8f3df;
  --aqua: #79d8ff;
  --lavender: #cdbdff;
  --coral: #ff8b7b;
  --ink: #171717;
  --muted: #68636a;
  --line: #eadde2;
  --panel: #fffafd;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff7fb 0, #ffffff 42%),
    repeating-linear-gradient(90deg, rgba(255, 215, 107, .12) 0 20px, rgba(121, 216, 255, .08) 20px 40px);
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand img { width: 215px; max-width: 58vw; display: block; }
.site-search {
  flex: 1 1 320px;
  max-width: 560px;
  min-width: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
}
.site-search input {
  min-width: 0;
  border-radius: 8px 0 0 8px;
  border-right: 0;
}
.site-search button {
  min-width: 78px;
  border-radius: 0 8px 8px 0;
}
.top-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.top-nav a {
  text-decoration: none;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 999px;
}
.top-nav a:hover { background: var(--pink); }
.page { width: min(1180px, calc(100% - 32px)); margin: 28px auto 80px; }
.hero {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 36px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hero h1, .section-title { margin: 0; line-height: 1.05; }
.hero h1 { font-size: clamp(34px, 6vw, 68px); }
.login-shell {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: stretch;
}
.login-card {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 8px solid var(--red);
  border-radius: 8px;
}
.login-card h1 {
  margin: 0;
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.04;
}
.compact-form {
  max-width: 360px;
}
.forgot-link {
  width: fit-content;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}
.forgot-link:hover { text-decoration: underline; }
.request-access-callout {
  display: grid;
  gap: 9px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.request-access-callout strong { font-size: 18px; }
.request-access-callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}
.request-access-callout .button { width: fit-content; }
.request-access-card { align-content: start; }
.request-access-card h1 { font-size: clamp(30px, 3vw, 42px); }
.request-access-form { max-width: none; }
.request-access-form textarea { min-height: 112px; }
.telephone-fields {
  display: grid;
  grid-template-columns: minmax(155px, .8fr) minmax(150px, 1fr);
  gap: 10px;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.login-art {
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #d9f5ff, #ecfff4);
  display: grid;
  place-items: center;
}
.login-art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.reset-shell .login-art {
  min-height: 420px;
}
.landing-hero {
  min-height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 520px);
  align-items: center;
  gap: clamp(22px, 5vw, 58px);
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 231, 239, .96), rgba(255, 255, 255, .93) 42%, rgba(184, 243, 223, .9)),
    linear-gradient(90deg, rgba(255, 24, 79, .1), rgba(255, 215, 107, .16));
  overflow: hidden;
  position: relative;
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, #ff1493, #ff8b3d, #ffd76b, #5fe08f, #64c7ff, #9b7bff);
  pointer-events: none;
}
.landing-copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
  min-width: 0;
}
.eyebrow {
  width: fit-content;
  margin: 0;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-weight: 900;
  border: 1px solid rgba(255, 24, 79, .22);
}
.landing-copy h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .9;
  overflow-wrap: anywhere;
}
.lede {
  max-width: 520px;
  margin: 0;
  color: #433f45;
  font-size: clamp(19px, 2.5vw, 27px);
  line-height: 1.25;
  font-weight: 700;
}
.big-button {
  width: fit-content;
  min-height: 54px;
  padding: 14px 22px;
  font-size: 18px;
}
.landing-stage {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.dino-scene {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(121, 216, 255, .72), rgba(255, 255, 255, .92) 56%, rgba(184, 243, 223, .9)),
    linear-gradient(135deg, #fff3c2, #c9f5ff);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, .08);
  box-shadow: 0 24px 65px rgba(121, 216, 255, .22);
}
.scene-rainbow {
  position: absolute;
  left: 50%;
  bottom: 15%;
  width: 78%;
  max-width: 470px;
  transform: translateX(-50%);
  opacity: .86;
  z-index: 1;
  animation: rainbow-float 5.5s ease-in-out infinite;
}
.scene-rainbow path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 22;
}
.rainbow-red { stroke: #ff1493; }
.rainbow-orange { stroke: #ff8b3d; }
.rainbow-yellow { stroke: #ffd76b; }
.rainbow-green { stroke: #5fe08f; }
.rainbow-blue { stroke: #64c7ff; }
.scene-sun {
  position: absolute;
  width: 84px;
  aspect-ratio: 1;
  right: 34px;
  top: 26px;
  border-radius: 999px;
  background: #ffd76b;
  box-shadow: 0 0 0 18px rgba(255, 215, 107, .22);
  animation: sun-glow 4s ease-in-out infinite;
}
.scene-cloud {
  position: absolute;
  width: 92px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  animation: cloud-drift 12s ease-in-out infinite;
}
.scene-cloud::before,
.scene-cloud::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
}
.scene-cloud::before {
  width: 42px;
  height: 42px;
  left: 14px;
  top: -18px;
}
.scene-cloud::after {
  width: 34px;
  height: 34px;
  right: 16px;
  top: -12px;
}
.scene-cloud.one { left: 36px; top: 42px; }
.scene-cloud.two { left: 34%; top: 82px; transform: scale(.78); animation-delay: -5s; }
.scene-ground {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -20px;
  height: 34%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #b8f3df, #7edfbf);
}
.dino-svg {
  position: absolute;
  width: min(35%, 220px);
  height: auto;
  bottom: 13%;
  animation: dino-bob 1.9s ease-in-out infinite;
  z-index: 2;
  overflow: visible;
}
.dino-longneck {
  left: 5%;
  --dino: #ff1493;
  --dino-light: #ff85c7;
  --dino-accent: #d90680;
}
.dino-trike {
  left: 35%;
  bottom: 10%;
  width: min(32%, 205px);
  --dino: #7b61ff;
  --dino-light: #b8a9ff;
  --dino-accent: #5a3fff;
  animation-delay: -.5s;
}
.dino-stego {
  right: 4%;
  bottom: 12%;
  width: min(34%, 215px);
  --dino: #00a8a8;
  --dino-light: #7ee7de;
  --dino-accent: #007f84;
  animation-delay: -1s;
}
.dino-shadow { fill: rgba(23, 23, 23, .13); }
.dino-body-main,
.dino-neck-main,
.dino-head-main,
.dino-tail,
.dino-leg-a,
.dino-leg-b,
.dino-foot,
.dino-frill {
  fill: var(--dino);
}
.dino-belly { fill: var(--dino-light); opacity: .82; }
.dino-plate,
.dino-horn {
  fill: var(--dino-accent);
}
.dino-horn.small { opacity: .92; }
.dino-tail {
  transform-box: fill-box;
  transform-origin: right center;
  animation: tail-wiggle 1.5s ease-in-out infinite;
}
.dino-leg-a,
.dino-leg-b {
  transform-box: fill-box;
  transform-origin: top center;
}
.dino-leg-a { animation: leg-step 1.2s ease-in-out infinite; }
.dino-leg-b { animation: leg-step 1.2s ease-in-out infinite reverse; }
.dino-eye-fill { fill: #171717; }
.dino-smile {
  fill: none;
  stroke: #171717;
  stroke-width: 3;
  stroke-linecap: round;
}
.stage-video {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 24, 79, .92), rgba(255, 139, 123, .86)),
    linear-gradient(45deg, var(--red), var(--yellow));
  color: #fff;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 24px 65px rgba(255, 24, 79, .25);
}
.stage-video span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 24px);
}
.stage-play {
  width: clamp(74px, 11vw, 106px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  position: relative;
}
.stage-play::after {
  content: "";
  position: absolute;
  left: 39%;
  top: 29%;
  border-left: 25px solid var(--red);
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
}
.stage-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mini-video {
  min-height: 94px;
  border-radius: 8px;
  display: grid;
  place-items: end start;
  padding: 12px;
  font-weight: 900;
  color: #171717;
  border: 1px solid rgba(23, 23, 23, .08);
  font-size: 24px;
}
.mini-video.coral { background: linear-gradient(135deg, #ffe2dd, var(--coral)); }
.mini-video.sunny { background: linear-gradient(135deg, #fff5c7, var(--yellow)); }
.mini-video.aqua { background: linear-gradient(135deg, #dff7ff, var(--aqua)); }
.landing-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.landing-ribbon div {
  min-height: 104px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 6px;
}
.landing-ribbon strong {
  color: var(--red);
  font-size: 22px;
}
.landing-ribbon span {
  color: var(--muted);
  font-weight: 700;
}
.muted { color: var(--muted); }
.timezone-notice {
  width: fit-content;
  margin: 0 0 14px auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 22px; }
.video-card, .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.video-card a { text-decoration: none; display: block; }
.thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink), var(--mint));
  position: relative;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-play {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  position: relative;
  box-shadow: 0 8px 24px rgba(23, 23, 23, .12);
}
.thumb-play::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 18px;
  border-left: 23px solid var(--red);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.video-card .body, .panel { padding: 16px; }
.search-summary { margin: 8px 0 0; }
.search-results-section { margin-top: 28px; }
.search-results-section h2 { margin: 0; }
.search-comment-groups {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.search-comment-group {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.search-video-preview {
  display: block;
  text-decoration: none;
}
.search-video-preview .thumb { border-radius: 6px; }
.search-video-preview strong {
  display: block;
  margin-top: 9px;
  line-height: 1.25;
}
.search-comment-list { display: grid; gap: 12px; }
.search-comment-result {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.search-comment-result:first-child { padding-top: 0; }
.search-comment-result:last-child { padding-bottom: 0; border-bottom: 0; }
.search-comment-result p { margin: 7px 0; line-height: 1.45; }
.search-comment-result a { color: var(--red); font-weight: 800; }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.button.ghost, button.ghost {
  color: var(--ink);
  background: var(--pink);
}
form { display: grid; gap: 12px; }
label { font-weight: 700; display: grid; gap: 6px; }
input, select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 100px; resize: vertical; }
meter { width: 100%; height: 14px; }
.toggle-list { gap: 14px; }
.toggle-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.toggle-row input {
  appearance: none;
  width: 52px;
  min-height: 30px;
  border-radius: 999px;
  border: 2px solid #f3c4d5;
  background: #f6edf1;
  padding: 0;
  position: relative;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.toggle-row input::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(23, 23, 23, .22);
  transition: transform .18s ease;
}
.toggle-row input:checked {
  background: var(--red);
  border-color: var(--red);
}
.toggle-row input:checked::after {
  transform: translateX(22px);
}
.flash {
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #edf9f1;
  border: 1px solid #b9e8c7;
  font-weight: 700;
}
.flash.error { background: #fff0f3; border-color: #ffc2d0; }
.upload-progress {
  width: 100%;
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffe7ef;
  border: 1px solid #ffc2d0;
}
.upload-progress-bar {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--mint), var(--aqua));
  transition: width .18s ease;
}
.thumbnail-picker {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7fb;
}
.thumbnail-picker[hidden] {
  display: none;
}
.thumbnail-preview-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.thumbnail-video,
.thumbnail-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #171717;
}
.thumbnail-canvas.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 20, 124, .12);
}
.thumbnail-slider {
  padding: 0;
  accent-color: var(--red);
}
.thumbnail-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.thumbnail-picker p {
  margin: 0;
}
.storage-meter {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #b9e8c7;
  border-radius: 8px;
  background: #f2fff7;
}
.storage-meter.warning {
  border-color: #ffb1c3;
  background: #fff0f4;
}
.storage-meter-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.storage-meter-track {
  width: 100%;
  height: 18px;
  overflow: hidden;
  border: 1px solid #a8d9b7;
  border-radius: 999px;
  background: #fff;
}
.storage-meter-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #28b463, var(--yellow), var(--red));
}
.storage-meter.warning .storage-meter-track {
  border-color: #ff8eaa;
}
.storage-meter p {
  margin: 9px 0 0;
}
.admin-video-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 14px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--line);
}
.admin-video-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}
.admin-video-item p {
  min-width: 0;
  margin: 0;
}
.admin-video-item .button { flex: 0 0 auto; }
.invite-status-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.invite-status-item {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
}
.invite-status-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow-wrap: anywhere;
}
.invite-status-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.invite-status-badge.accepted { color: #126b35; background: #dff8e8; }
.invite-status-badge.waiting { color: #765700; background: #fff2b8; }
.invite-status-badge.expired { color: #8c231c; background: #ffe0df; }
.invite-status-details {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
}
.invite-status-details div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
}
.invite-status-details dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.invite-status-details dd {
  min-width: 0;
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 20px; align-items: start; }
.stack { display: grid; gap: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.login-history-list {
  margin: 12px 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff7fb;
  border: 1px solid var(--line);
}
.login-history-list ol {
  margin: 8px 0 0 20px;
  padding: 0;
}
.login-history-list li {
  margin: 4px 0;
}
.dashboard-comment-list {
  display: grid;
  gap: 12px;
}
.dashboard-comment-item {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
}
.dashboard-comment-video {
  color: var(--red);
  font-weight: 900;
}
.dashboard-comment-item p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.dashboard-comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.reaction-panel { overflow: visible; }
.reaction-help { margin: 0 0 12px; font-size: 14px; }
.reaction-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.reaction-row button {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 66px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  overflow: visible;
}
.reaction-row button:hover { border-color: var(--red); background: #fff7fb; }
.reaction-row button.selected {
  border: 2px solid var(--red);
  background: #fff0f6;
  box-shadow: 0 0 0 3px rgba(255, 20, 124, .1);
}
.reaction-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 34px;
  line-height: 1;
}
.reaction-label {
  font-size: 14px;
  text-align: left;
}
.reaction-count {
  min-width: 18px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.reaction-tooltip {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 50%;
  display: none;
  width: max-content;
  max-width: min(280px, 80vw);
  padding: 10px 12px;
  translate: -50% 0;
  color: #fff;
  background: #272027;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 23, 23, .22);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  pointer-events: none;
}
.reaction-tooltip strong,
.reaction-tooltip span {
  display: block;
}
.reaction-tooltip strong {
  margin-bottom: 3px;
  color: #ffb5d9;
}
.reaction-button:hover .reaction-tooltip,
.reaction-button:focus-visible .reaction-tooltip {
  display: block;
}
.reaction-button:disabled {
  cursor: wait;
  opacity: .78;
}
.reaction-save-status {
  min-height: 20px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.video-details-panel {
  overflow: visible;
}
.video-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
.video-title-row h1 {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
.video-admin-actions {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.video-edit-details summary {
  list-style: none;
  white-space: nowrap;
}
.video-edit-details summary::-webkit-details-marker {
  display: none;
}
.video-edit-details[open] {
  width: min(100%, 430px);
}
.video-edit-form {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7fb;
}
.video-edit-form textarea {
  min-height: 110px;
}
.video-delete-form {
  display: block;
}
.video-thumbnail-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
}
.danger-button {
  background: #b42318;
}
.danger-button:hover {
  background: #8f1c13;
}
.comments-panel {
  margin-top: 20px;
}
.comment-tree {
  display: grid;
  gap: 18px;
}
.comment-item {
  min-width: 0;
}
.comment-item.root-comment {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.comment-content {
  display: grid;
  gap: 7px;
}
.comment-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}
.comment-heading strong {
  color: var(--ink);
}
.replying-to {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}
.comment-body {
  overflow-wrap: anywhere;
  line-height: 1.55;
}
.comment-time {
  color: var(--muted);
  font-size: 13px;
}
.comment-children {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  margin-left: 24px;
  padding-left: 18px;
  border-left: 3px solid #ffc2d8;
}
.comment-children .comment-children {
  border-left-color: #ffd86f;
}
.comment-children .comment-children .comment-children {
  border-left-color: #9de4d2;
}
.comment-item.reply {
  position: relative;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff9fc;
}
.comment-item.reply::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -21px;
  width: 18px;
  border-top: 3px solid #ffc2d8;
}
.reply-box {
  margin-top: 9px;
}
.comment-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 9px;
}
.comment-actions details {
  min-width: 0;
}
.comment-actions details[open] {
  flex: 1 0 100%;
}
.reply-box,
.comment-edit-box {
  margin-top: 0;
}
.reply-box summary,
.comment-edit-box summary {
  width: fit-content;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.reply-box[open] summary,
.comment-edit-box[open] summary {
  margin-bottom: 9px;
}
.reply-form,
.comment-edit-form {
  gap: 8px;
}
.reply-form textarea,
.comment-edit-form textarea {
  min-height: 68px;
}
.reply-form button,
.comment-edit-form button {
  width: fit-content;
}
.comment-delete-form {
  display: block;
}
.comment-delete-form button {
  min-height: auto;
  padding: 0;
  color: #9c1c13;
  background: transparent;
  font-size: 14px;
}
.comment-delete-form button:hover {
  text-decoration: underline;
}
.video-player { width: 100%; border-radius: 8px; background: #000; }
.cookie-panel {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(20, 12, 24, .18);
}
.cookie-panel[hidden] {
  display: none;
}
.cookie-panel h2 { margin: 0 0 6px; }
.cookie-panel p { margin: 0; color: var(--muted); }
.cookie-options label { display: flex; grid-template-columns: none; align-items: center; gap: 8px; }
.cookie-options input { width: auto; min-height: auto; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 780px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-search { order: 3; flex: none; width: 100%; max-width: none; min-width: 0; }
  .top-nav { width: 100%; justify-content: flex-start; }
  .two-col, .cookie-panel, .login-shell { grid-template-columns: 1fr; }
  .login-art {
    min-height: 280px;
  }
  .telephone-fields { grid-template-columns: 1fr; }
  .search-comment-group { grid-template-columns: 1fr; }
  .search-video-preview { max-width: 280px; }
  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .landing-ribbon {
    grid-template-columns: 1fr;
  }
  .stage-row {
    grid-template-columns: 1fr;
  }
  .dino-svg {
    width: 38%;
  }
  .video-title-row {
    grid-template-columns: 1fr;
  }
  .video-admin-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .admin-video-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .thumbnail-preview-wrap {
    grid-template-columns: 1fr;
  }
  .comment-children {
    margin-left: 8px;
    padding-left: 12px;
  }
  .comment-item.reply::before {
    left: -15px;
    width: 12px;
  }
}

@keyframes dino-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes tail-wiggle {
  0%, 100% { rotate: -4deg; }
  50% { rotate: 8deg; }
}

@keyframes leg-step {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(4px) rotate(5deg); }
}

@keyframes sun-glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes cloud-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 18px 0; }
}

@keyframes rainbow-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}
