/* Highlights – community clips (classy: dark glass, red accent, brass for the weekly top) */
.hl-inner { max-width: 1180px; }
.hl-lead { margin: 0 0 26px; color: #cfd8e6; font-size: 17px; line-height: 1.55; max-width: 640px; }
.hl-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: Oswald, Inter, sans-serif; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 24px; }
.hl-crown { width: 22px; height: 22px; flex: none; background: linear-gradient(145deg, #f5d58c, #b8873a); filter: drop-shadow(0 0 6px rgba(255, 196, 90, .45));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 12H5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 12H5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hl-top { margin: 0 0 36px; }
.hl-feat, .hl-grid { list-style: none; margin: 0; padding: 0; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.hl-grid-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }

/* card */
.hl-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(14, 18, 30, .92), rgba(8, 10, 16, .94)); box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.hl-card:hover { transform: translateY(-2px); border-color: rgba(255, 200, 130, .35); box-shadow: 0 0 24px rgba(227, 38, 47, .22), 0 14px 32px rgba(0, 0, 0, .5); }
.hl-media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.hl-media iframe, .hl-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hl-media video { background: #000; object-fit: contain; }
.hl-play { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #05060a; }
.hl-play img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s, filter .35s; filter: saturate(.95) brightness(.88); }
.hl-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.hl-play:hover img, .hl-play:focus-visible img { transform: scale(1.03); filter: saturate(1.05) brightness(1); }
.hl-pbtn { position: absolute; left: 50%; top: 50%; z-index: 1; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(227, 38, 47, .92); box-shadow: 0 0 0 6px rgba(227, 38, 47, .25), 0 10px 30px rgba(0, 0, 0, .55); transition: transform .2s, box-shadow .2s; }
.hl-pbtn svg { width: 28px; height: 28px; margin-left: 3px; fill: #fff; }
.hl-play:hover .hl-pbtn, .hl-play:focus-visible .hl-pbtn { transform: scale(1.08); box-shadow: 0 0 0 9px rgba(227, 38, 47, .3), 0 0 40px rgba(227, 38, 47, .6); }
.hl-src { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px;
  color: #fff; background: rgba(5, 8, 16, .72); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); }
.hl-src-allstar { color: #7ff0c9; border-color: rgba(70, 220, 170, .45); }
.hl-src-youtube { color: #ff8b8b; border-color: rgba(255, 80, 80, .45); }
.hl-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.hl-info { min-width: 0; }
.hl-card h3 { margin: 0; font-size: 17px; line-height: 1.3; color: #fff; }
.hl-meta { display: flex; gap: 6px; margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.hl-nick { color: #f3dca8; font-weight: 600; }
.hl-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.hl-tags li { font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #dfe6f0; }
.hl-act { display: flex; align-items: center; gap: 8px; flex: none; }
.hl-vote { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 13px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px;
  color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: background .15s, border-color .15s, box-shadow .15s; }
.hl-vote:hover { border-color: rgba(255, 150, 60, .7); background: rgba(255, 120, 40, .12); }
.hl-vote .hl-fire { font-size: 17px; line-height: 1; filter: grayscale(.85) brightness(1.1); transition: filter .2s; }
.hl-vote.is-on { border-color: rgba(255, 140, 50, .9); background: linear-gradient(135deg, rgba(227, 38, 47, .35), rgba(255, 150, 40, .25)); box-shadow: 0 0 18px rgba(255, 110, 40, .35); }
.hl-vote.is-on .hl-fire { filter: none; }
.hl-vote.pop .hl-fire { animation: hlPop .45s ease-out; }
@keyframes hlPop { 0% { transform: scale(1); } 40% { transform: scale(1.5) rotate(-8deg); } 100% { transform: scale(1); } }
.hl-open { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 7px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; color: #cfd8e6;
  border: 1px solid transparent; }
.hl-open:hover { color: #fff; border-color: var(--line); }
.hl-vote:focus-visible, .hl-open:focus-visible, .hl-play:focus-visible, .hl-send:focus-visible, .hl-again:focus-visible { outline: 2px solid #f3dca8; outline-offset: 2px; }

/* weekly top: big, brass frame */
.hl-big { flex-direction: row; border-color: rgba(214, 170, 96, .55);
  background: radial-gradient(120% 120% at 0% 0%, rgba(120, 18, 26, .45), rgba(14, 8, 12, .94) 55%), #0a0709;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6) inset, 0 24px 60px rgba(0, 0, 0, .55), 0 0 50px rgba(227, 38, 47, .12); }
.hl-big .hl-media { flex: 0 0 66%; }
.hl-big .hl-body { flex: 1; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 24px 24px 22px; }
.hl-big h3 { font-family: Oswald, Inter, sans-serif; font-weight: 600; letter-spacing: .03em; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.hl-big .hl-meta { font-size: 15px; margin-top: 8px; }
.hl-big .hl-act { margin-top: 20px; }
.hl-big .hl-pbtn { width: 78px; height: 78px; margin: -39px 0 0 -39px; }
.hl-big .hl-pbtn svg { width: 34px; height: 34px; }

.hl-rank { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; font-family: Oswald, Inter, sans-serif; font-weight: 600; letter-spacing: .1em; font-size: 13px;
  color: #1a1206; background: linear-gradient(135deg, #f5d58c, #c9974a); box-shadow: 0 0 16px rgba(255, 196, 90, .35); }
.hl-vl { font-size: 13px; font-weight: 600; color: #f3dca8; margin-left: 2px; }
.hl-big .hl-vote { padding: 8px 16px; }

/* submit */
.hl-submit { position: sticky; top: 90px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 10, 16, .82); backdrop-filter: blur(6px); }
.hl-submit .hl-h { font-size: 20px; margin-bottom: 6px; }
.hl-sub-p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #cfd8e6; }
.hl-submit label { display: block; margin: 10px 0 6px; font-size: 13px; font-weight: 600; color: #dfe6f0; }
.hl-submit input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: 16px; color: #fff;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.hl-submit input::placeholder { color: rgba(200, 210, 225, .45); }
.hl-submit input:focus { outline: none; border-color: #f3dca8; box-shadow: 0 0 0 3px rgba(243, 220, 168, .18); }
.hl-err { margin: 10px 0 0; font-size: 13px; color: #ff8b90; }
.hl-send { width: 100%; min-height: 46px; margin-top: 16px; border: 0; border-radius: 11px; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px; color: #fff;
  background: var(--accent); box-shadow: 0 8px 22px rgba(227, 38, 47, .3); transition: filter .15s, transform .15s; }
.hl-send:hover { filter: brightness(1.1); transform: translateY(-1px); }
.hl-fine { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: rgba(200, 210, 225, .65); }
.hl-ok[hidden], .hl-archive[hidden] { display: none; }
.hl-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 0 2px; }
.hl-ok p { margin: 0; font-size: 15px; line-height: 1.5; color: #dfe6f0; }
.hl-ok-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; color: #7ef0ad; border: 1px solid rgba(80, 220, 140, .5); background: rgba(80, 220, 140, .1); }
.hl-again { min-height: 40px; padding: 8px 14px; border-radius: 10px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }

/* archive */
.hl-archive { margin: 34px 0 0; border-top: 1px solid var(--line); padding-top: 14px; }
.hl-archive summary { cursor: pointer; font-family: Oswald, Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; font-size: 18px; color: #cfd8e6; padding: 6px 0; }
.hl-archive[open] summary { margin-bottom: 12px; }
.hl-count { color: var(--muted); font-size: 14px; }
.hl-grid-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.hl-empty { color: var(--muted); font-size: 14px; padding: 10px 2px; list-style: none; }
.hl-legal { text-align: left; margin: 26px 0 0; max-width: none; }

@media (max-width: 1000px) {
  .hl-grid-wrap { grid-template-columns: 1fr; }
  .hl-submit { position: static; }
  .hl-big { flex-direction: column; }
  .hl-big .hl-media { flex: none; }
  .hl-big .hl-body { flex-direction: row; align-items: flex-end; padding: 16px 16px 18px; }
  .hl-big .hl-act { margin-top: 0; }
}
@media (max-width: 768px) {
  .hl-lead { font-size: 16px; margin-bottom: 20px; }
  .hl-h { font-size: 21px; }
  .hl-grid { grid-template-columns: 1fr; gap: 14px; }
  .hl-big h3 { font-size: 22px; }
  .hl-body, .hl-big .hl-body { flex-direction: column; align-items: stretch; gap: 12px; }
  .hl-act { justify-content: space-between; }
  .hl-big .hl-pbtn { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
}
@media (prefers-reduced-motion: reduce) { .hl-card, .hl-play img, .hl-pbtn, .hl-send { transition: none; } .hl-vote.pop .hl-fire { animation: none; } }

/* live backend states */
.hl-ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 45%, rgba(60, 20, 28, .8), #05060a); }
.hl-ph img { width: 42%; height: auto; opacity: .55; object-fit: contain; }
.hl-vote:disabled { cursor: default; opacity: .6; }
#hl-form.is-busy .hl-send { opacity: .65; cursor: progress; }
.hl-toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; margin: 0; padding: 10px 16px; border-radius: 10px; font-size: 14px; color: #fff;
  background: rgba(10, 12, 20, .95); border: 1px solid rgba(255, 140, 50, .6); box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.hl-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.hl-extl { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: rgba(5, 6, 10, .78); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
a.hl-play { color: inherit; text-decoration: none; }
