/*
 * Forum pages (home, category threads, thread, new/edit/delete thread).
 * Scoped under .fov. Some old class names are kept on purpose because existing scripts use them:
 * .category-card (carousel step), .comment-block / .reply-block (highlight on #comment-/#reply- links),
 * .forum-thread-row, .reply-input, data-mentions textareas.
 */
.fov {
  --fov-yellow: #FFDF00;
  --fov-card: #171718;
  --fov-inner: #111112;
  --fov-text: #f4f4f6;
  --fov-muted: #a8a8ad;
  --fov-dim: #6e6e74;
  --fov-line: rgba(255, 255, 255, .08);
  --fov-red: #ff6b75;
  --fov-green: #59f18b;
  --fov-blue: #6cb4ff;
  --fov-orange: #ff8a3d;
  --fov-ease: cubic-bezier(.16, 1, .3, 1);
  max-width: 1180px;
  margin: 1.5rem auto 4rem;
  color: var(--fov-text);
  container-type: inline-size;
  container-name: fov;
}
.fov-narrow { max-width: 640px; }
.fov *, .fov *::before, .fov *::after { box-sizing: border-box; }
.fov a { color: inherit; text-decoration: none; }
.fov [hidden] { display: none !important; }
.fov h1, .fov h2, .fov h3 { color: var(--fov-text); }
.fov form { margin: 0; }
.fov-kicker { color: var(--fov-yellow); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.fov-spacer { flex: 1; }
.fov-placeholder { color: var(--fov-dim); font-style: italic; }
.fov .invalid-feedback { color: #ff8d92; font-size: .82rem; margin-top: 6px; }
.fov .errorlist { margin: 0; padding: 0; color: #ff8d92; list-style: none; }
.fov-errors { margin-bottom: 12px; padding: 12px 16px; border: 1px solid rgba(255, 107, 117, .35); border-radius: 14px; background: rgba(255, 107, 117, .06); }

.fov-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; background: none; color: inherit; font-size: .92rem; font-weight: 800; white-space: nowrap; cursor: pointer; transition: transform .2s var(--fov-ease), background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.fov a.fov-btn--primary, .fov-btn--primary { background: var(--fov-yellow); color: #111; }
.fov-btn--primary:hover { color: #111; box-shadow: 0 10px 30px -8px rgba(255, 223, 0, .6); transform: translateY(-1px); }
.fov a.fov-btn--soft, .fov-btn--soft { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--fov-yellow); }
.fov-btn--soft:hover { background: rgba(255, 223, 0, .18); color: var(--fov-yellow); }
.fov a.fov-btn--ghost, .fov-btn--ghost { border-color: var(--fov-line); color: var(--fov-muted); }
.fov-btn--ghost:hover { border-color: rgba(255, 255, 255, .2); color: var(--fov-text) !important; }
.fov a.fov-btn--danger, .fov-btn--danger { border-color: rgba(255, 107, 117, .45); background: rgba(255, 107, 117, .08); color: var(--fov-red); }
.fov-btn--danger:hover { background: rgba(255, 107, 117, .15); color: var(--fov-red) !important; }
.fov-btn--sm { min-height: 36px; padding: 0 12px; border-radius: 9px; font-size: .84rem; }
.fov-icon-btn, .fov-bell { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--fov-line); border-radius: 10px; background: var(--fov-inner); color: var(--fov-muted); cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease, opacity .2s ease; }
.fov-icon-btn:hover:not(:disabled), .fov-bell:hover { border-color: rgba(255, 223, 0, .5); color: var(--fov-yellow); }
.fov-icon-btn:disabled { opacity: .3; cursor: default; }
.fov-bell.is-on { border-color: rgba(255, 223, 0, .55); background: rgba(255, 223, 0, .1); color: var(--fov-yellow); }
.fov-bell.is-on i { animation: fov-ring .5s var(--fov-ease); }
@keyframes fov-ring { 20%, 60% { transform: rotate(14deg); } 40%, 80% { transform: rotate(-14deg); } }
.fov-follow[disabled] .fov-bell, .fov-follow.htmx-request .fov-bell { opacity: .5; }
.fov-linkbtn { display: inline-flex; align-items: center; gap: 5px; color: var(--fov-muted) !important; font-size: .8rem; font-weight: 700; cursor: pointer; }
.fov-linkbtn:hover { color: var(--fov-yellow) !important; }
.fov-linkbtn--danger:hover { color: var(--fov-red) !important; }
.fov a.fov-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--fov-muted); font-size: .9rem; font-weight: 700; transition: color .2s ease, gap .25s var(--fov-ease); }
.fov a.fov-back:hover { color: var(--fov-yellow); gap: 12px; }

.fov-avatar { display: block; flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .1); background: var(--fov-inner); }
.fov-avatar--sm { width: 32px; height: 32px; border-radius: 9px; }
.fov-avatar--lg { width: 54px; height: 54px; border-radius: 14px; }
.fov a.fov-who, .fov-who { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; color: var(--fov-text); font-weight: 800; }
.fov a.fov-who:hover { color: var(--fov-yellow); }
.fov-time { color: var(--fov-dim); font-size: .8rem; font-weight: 600; }
.fov-time a { color: var(--fov-yellow); }
.fov-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fov-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid var(--fov-line); border-radius: 8px; background: var(--fov-inner); color: #cfcfd4; font-size: .74rem; font-weight: 800; }
.fov-tag::before { content: "#"; color: var(--fov-yellow); }
.fov-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.fov-flag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid; border-radius: 8px; font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.fov-flag--hot { border-color: rgba(255, 138, 61, .5); background: rgba(255, 138, 61, .08); color: var(--fov-orange); }
.fov-flag--unanswered { border-color: rgba(108, 180, 255, .45); background: rgba(108, 180, 255, .07); color: var(--fov-blue); }
.fov-flag--pinned { border-color: rgba(255, 223, 0, .55); background: rgba(255, 223, 0, .1); color: var(--fov-yellow); }
.fov-flag--locked { border-color: rgba(255, 255, 255, .15); color: var(--fov-muted); }
.fov .mention { padding: 0 4px; border-radius: 5px; background: rgba(255, 223, 0, .1); color: var(--fov-yellow); font-weight: 700; }
.fov-hl { display: block; color: var(--fov-text); font-weight: 800; }
.fov-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--fov-dim); font-size: .8rem; font-weight: 600; }
.fov-hint kbd { padding: 1px 6px; border: 1px solid var(--fov-line); border-radius: 5px; background: var(--fov-inner); color: var(--fov-yellow); font-family: inherit; font-weight: 800; }

.fov-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 34px 0 14px; }
.fov-section-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.35rem; font-weight: 900; }
.fov-section-head h2 small { color: var(--fov-dim); font-size: .9rem; font-weight: 700; }
.fov-page-head { margin-bottom: 14px; }
.fov-page-head h1 { margin: 6px 0 0; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }

/* Tag tabs (Picks & Bans style) */
.fov-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; padding: 6px; border: 1px solid var(--fov-line); border-radius: 14px; background: rgba(23, 23, 24, .88); }
.fov-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid transparent; border-radius: 10px; color: var(--fov-muted) !important; font-size: .88rem; font-weight: 800; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.fov-tabs small { color: var(--fov-dim); font-weight: 800; }
.fov-tabs a:hover { background: rgba(255, 255, 255, .04); color: var(--fov-text) !important; }
.fov-tabs a.is-active { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--fov-yellow) !important; }
.fov-tabs a.is-active small { color: rgba(255, 223, 0, .7); }

/* Hero */
.fov-hero { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; padding: 34px; border: 1px solid var(--fov-line); border-radius: 18px; background: var(--fov-inner); }
.fov-hero__wash { position: absolute; inset: 0; z-index: -3; background: radial-gradient(60% 140% at 0% 20%, rgba(255, 223, 0, .16), transparent 60%); }
.fov-hero__spot { position: absolute; inset: 0; z-index: -2; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 223, 0, .08), transparent 60%); pointer-events: none; }
.fov-hero__ghost { position: absolute; left: -10px; bottom: -8px; z-index: -1; color: transparent; font-size: clamp(70px, 12vw, 160px); font-weight: 900; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); pointer-events: none; user-select: none; animation: fov-ghost 34s linear infinite; }
@keyframes fov-ghost { to { transform: translateX(-15%); } }
.fov-hero h1 { margin: 8px 0 10px; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.fov-hero p { margin: 0; max-width: 520px; color: var(--fov-muted); font-size: 1.02rem; font-weight: 500; }

/* Forum home: one tall poster per game */
.fov-gt { margin-top: 34px; }
.fov-gt__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.fov-gt__head h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.35rem; font-weight: 900; text-transform: uppercase; }
.fov-gt__head h2::before { content: ""; width: 4px; height: 22px; border-radius: 4px; background: var(--fov-yellow); box-shadow: 0 0 14px rgba(255, 223, 0, .6); }
.fov-gt__head h2 small { padding: 3px 9px; border-radius: 8px; background: var(--fov-card); color: var(--fov-dim); font-size: .74rem; font-weight: 800; text-transform: none; }
.fov-gt__nav { display: flex; gap: 6px; }
.fov-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 50px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 50px), transparent); }
.fov-rail::-webkit-scrollbar { display: none; }
.fov-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: 176px; gap: 14px; padding: 6px 2px 10px; }
.fov .fov-poster.category-card { display: block; width: auto; padding: 0; border: 0; border-radius: 0; background: none; scroll-snap-align: start; perspective: 800px; }
.fov-poster__card { --rx: 0deg; --ry: 0deg; position: relative; isolation: isolate; aspect-ratio: 3 / 4.2; overflow: hidden; border: 1px solid var(--fov-line); border-radius: 16px; background: var(--fov-inner); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out, border-color .25s ease, box-shadow .35s ease; }
.fov-poster__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--fov-ease), filter .4s ease; }
.fov-poster__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 10, .9) 100%); }
.fov-poster__shine { position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--fov-ease); pointer-events: none; }
.fov-poster:hover .fov-poster__card, .fov-poster:focus-visible .fov-poster__card { border-color: rgba(255, 223, 0, .65); box-shadow: 0 0 0 1px rgba(255, 223, 0, .25), 0 26px 50px -24px rgba(255, 223, 0, .45); }
.fov-poster:hover .fov-poster__img { transform: scale(1.08); filter: saturate(1.15); }
.fov-poster:hover .fov-poster__shine { transform: translateX(120%); }
.fov-poster__count { position: absolute; left: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 9px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); color: #fff; font-size: .74rem; font-weight: 800; }
.fov-poster__count i { color: var(--fov-yellow); }
.fov-poster__count.is-zero { color: var(--fov-muted); }
.fov-poster__count.is-zero i { color: var(--fov-dim); }
.fov-poster__active { position: absolute; right: 10px; top: 10px; z-index: 3; padding: 3px 8px; border-radius: 8px; background: var(--fov-yellow); color: #111; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.fov-poster__name { display: block; margin-top: 10px; overflow: hidden; color: var(--fov-text); font-size: .98rem; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; transition: color .2s ease; }
.fov-poster:hover .fov-poster__name { color: var(--fov-yellow); }
.fov-poster__fallback { --h: 48; position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; background: radial-gradient(120% 80% at 100% 0%, hsla(var(--h), 90%, 60%, .45), transparent 60%), radial-gradient(90% 70% at 0% 100%, hsla(calc(var(--h) + 40), 90%, 50%, .35), transparent 60%), #131316; }
.fov-poster__fallback b { color: rgba(255, 255, 255, .9); font-size: 2.6rem; font-weight: 900; line-height: .9; }
.fov-poster__fallback span { margin-bottom: 30px; color: #fff; font-size: 1.05rem; font-weight: 900; line-height: 1.05; text-transform: uppercase; }
.fov-poster__card:has(.fov-poster__fallback)::after { opacity: .55; }
.fov-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.fov .fov-dots .carousel-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .15); cursor: pointer; transition: width .3s var(--fov-ease), background .2s ease; }
.fov .fov-dots .carousel-dot.is-active { width: 22px; background: var(--fov-yellow); }
.fov .fov-dots:has(.carousel-dot:only-child) { display: none; }

/* Category banner */
.fov-banner { position: relative; isolation: isolate; display: flex; align-items: flex-end; gap: 20px; min-height: 200px; padding: 26px; overflow: hidden; border: 1px solid var(--fov-line); border-radius: 20px; background: radial-gradient(70% 140% at 0% 0%, rgba(255, 223, 0, .12), transparent 60%), var(--fov-inner); }
.fov-banner--sm { min-height: 150px; margin-bottom: 14px; }
.fov-banner__art { position: absolute; inset: -40px; z-index: -2; background: var(--art) center / cover; filter: blur(30px) saturate(1.2); opacity: .45; }
.fov-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 12, 14, .92) 35%, rgba(12, 12, 14, .5)), linear-gradient(0deg, rgba(12, 12, 14, .85), transparent 60%); }
.fov-banner__poster { flex: none; width: 104px; aspect-ratio: 3 / 4.2; object-fit: cover; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); }
.fov-banner--sm .fov-banner__poster { width: 72px; }
.fov-banner__copy { min-width: 0; }
.fov-banner h1 { margin: 4px 0 6px; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.fov-banner p { margin: 0; max-width: 560px; color: #c8c8ce; }
.fov-banner > .fov-btn { margin-left: auto; }

/* Thread rows */
.fov-shell { margin-top: 14px; }
.fov-threads { display: grid; gap: 10px; }
.fov .fov-trow { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; padding: 18px; border: 1px solid var(--fov-line); border-radius: 18px; background: var(--fov-card); transition: border-color .2s ease, transform .3s var(--fov-ease), box-shadow .3s ease; }
.fov .fov-trow:hover { border-color: rgba(255, 223, 0, .35); transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9); }
.fov .fov-trow.is-pinned { border-color: rgba(255, 223, 0, .45); background: linear-gradient(90deg, rgba(255, 223, 0, .06), var(--fov-card) 40%); }
.fov .fov-trow.forum-row-updated { box-shadow: inset 0 0 0 2px rgba(255, 223, 0, .55); }
.fov-trow__main { min-width: 0; }
.fov-trow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fov-trow__preview { display: block; margin: 8px 0 0; color: #b9b9bf; font-size: .96rem; line-height: 1.55; overflow-wrap: anywhere; }
.fov-trow__preview .fov-headline { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fov-trow__preview .fov-hl { margin-bottom: 2px; font-size: 1.08rem; line-height: 1.35; transition: color .2s ease; }
.fov-trow__preview:hover .fov-hl { color: var(--fov-yellow); }
.fov-trow__main .fov-tags { margin-top: 12px; }
.fov-trow__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; }
.fov .forum-thread-actions:empty { display: none; }
.fov-stats { display: flex; gap: 6px; }
.fov-stat { display: grid; justify-items: center; min-width: 60px; padding: 8px 10px; border-radius: 12px; background: var(--fov-inner); }
.fov-stat b { font-size: 1.15rem; font-weight: 900; line-height: 1; }
.fov-stat small { margin-top: 4px; color: var(--fov-dim); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.fov-stat.is-zero b { color: var(--fov-dim); }

.fov-empty { display: grid; justify-items: center; gap: 10px; padding: 56px 20px; border: 1px dashed rgba(255, 255, 255, .12); border-radius: 18px; background: var(--fov-card); text-align: center; }
.fov-empty > i { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 18px; background: rgba(255, 223, 0, .06); color: var(--fov-yellow); font-size: 1.8rem; }
.fov-empty h2 { margin: 6px 0 0; font-size: 1.3rem; font-weight: 900; }
.fov-empty p { margin: 0; color: var(--fov-muted); }
.fov-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; }
.fov-pager a, .fov-pager .is-disabled { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border: 1px solid var(--fov-line); border-radius: 10px; background: var(--fov-card); color: var(--fov-muted); font-weight: 800; cursor: pointer; }
.fov-pager a:hover { border-color: rgba(255, 223, 0, .4); color: var(--fov-text); }
.fov-pager .is-disabled { opacity: .4; cursor: default; }
.fov-pager__info { padding: 0 8px; color: var(--fov-muted); font-weight: 700; }

/* Thread page */
.fov-post { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--fov-line); border-radius: 22px; background: var(--fov-card); }
.fov-post__glow { position: absolute; inset: -60px -60px auto; height: 260px; z-index: -1; background: var(--art) center / cover; filter: blur(50px); opacity: .22; }
.fov-post__glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--fov-card)); }
.fov-post__head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 24px 26px 0; }
.fov-post__head .fov-who { font-size: 1.05rem; }
.fov-post__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.fov-post__body { padding: 20px 26px 6px; color: #dcdce0; font-size: 1.08rem; line-height: 1.75; overflow-wrap: anywhere; }
.fov-post__body .fov-hl { margin-bottom: 10px; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2; letter-spacing: -.01em; }
.fov-post__tags { padding: 10px 26px 0; }
.fov-post__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; padding: 14px 26px; border-top: 1px solid var(--fov-line); background: rgba(0, 0, 0, .2); color: var(--fov-muted); font-size: .86rem; font-weight: 700; }
.fov-post__foot i { color: var(--fov-yellow); }

.fov-comments { display: grid; gap: 14px; }
.fov .fov-comment > .comment-block, .fov .fov-reply > .reply-block { border: 1px solid var(--fov-line); background: var(--fov-card); }
.fov .fov-comment > .comment-block { padding: 18px; border-radius: 18px; }
.fov .fov-comment { padding: 0; margin: 0; }
.fov .fov-comment.is-editing > .comment-block, .fov .fov-reply.is-editing > .reply-block { border-color: rgba(255, 223, 0, .45); }
.fov-c-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fov-edited { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--fov-dim); font-size: .7rem; font-weight: 800; }
.fov-op { padding: 2px 7px; border-radius: 6px; background: rgba(255, 223, 0, .12); color: var(--fov-yellow); font-size: .66rem; font-weight: 900; letter-spacing: .08em; }
.fov-editing { display: inline-flex; align-items: center; gap: 7px; color: var(--fov-yellow); font-size: .84rem; font-weight: 800; }
.fov-c-tools { display: flex; gap: 12px; margin-left: auto; }
.fov-c-body { margin: 10px 0 0 54px; color: #dcdce0; line-height: 1.6; overflow-wrap: anywhere; }
.fov-c-body.is-deleted { color: var(--fov-dim); font-style: italic; }
.fov .fov-replies { position: relative; display: grid; gap: 8px; margin: 12px 0 0 54px; padding-left: 22px; }
.fov .fov-replies::before { content: ""; position: absolute; left: 0; top: 0; bottom: 18px; width: 2px; border-radius: 2px; background: linear-gradient(var(--fov-line), rgba(255, 255, 255, .02)); }
.fov .fov-reply { position: relative; margin: 0; }
.fov .fov-reply::before { content: ""; position: absolute; left: -22px; top: 22px; width: 16px; height: 2px; background: var(--fov-line); }
.fov .fov-reply > .reply-block { padding: 12px 14px; border-radius: 14px; background: var(--fov-inner); }
.fov .fov-reply .fov-c-body { margin: 6px 0 0 42px; font-size: .95rem; }
.fov .reply-input, .fov-editor { width: 100%; min-height: 44px; padding: 11px 14px; border: 1px solid var(--fov-line); border-radius: 12px; background: var(--fov-inner); color: var(--fov-text); font-size: .94rem; line-height: 1.5; resize: vertical; outline: 0; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease, min-height .3s var(--fov-ease); }
.fov .reply-input:focus, .fov-editor:focus { border-color: rgba(255, 223, 0, .5); box-shadow: 0 0 0 3px rgba(255, 223, 0, .08); }
.fov .reply-input.is-invalid, .fov-editor.is-invalid { border-color: rgba(255, 107, 117, .6); }
.fov .fov-reply-form { display: flex; align-items: flex-end; gap: 8px; margin: 10px 0 0 72px; }
.fov .fov-replies { margin-left: 72px !important; }
.fov-reply-form .reply-input:focus { min-height: 80px; }
.fov-edit-form { margin-top: 10px; }
.fov-edit-form__foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.fov .fov-composer { margin-top: 28px !important; }
.fov-composer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-top: 18px; padding: 18px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 223, 0, .04), var(--fov-card)); }
.fov-composer .reply-input { margin-top: 8px; min-height: 110px; }
.fov-composer__foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.fov-login-note, .fov-locked-note { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 16px 18px; border: 1px dashed rgba(255, 255, 255, .14); border-radius: 18px; color: var(--fov-muted); font-weight: 600; }
.fov-login-note i, .fov-locked-note i { color: var(--fov-yellow); font-size: 1.2rem; }

/* Inline delete confirmation (inside the same card) */
.fov .fov-confirm-host { position: relative; overflow: hidden; }
.fov-confirm-blur { filter: blur(2px); opacity: .45; pointer-events: none; }
.fov-confirm { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 14px; background: rgba(17, 17, 18, .55); text-align: center; }
.fov-confirm > i { color: var(--fov-red); font-size: 1.3rem; }
.fov-confirm__title { font-weight: 900; }
.fov-confirm__sub { max-width: 420px; color: var(--fov-muted); font-size: .86rem; }
.fov-confirm__actions { display: flex; gap: 8px; margin-top: 6px; }

/* New / edit thread */
.fov-wr { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.fov-block { margin-bottom: 12px; padding: 22px; border: 1px solid var(--fov-line); border-radius: 18px; background: var(--fov-card); }
.fov-block__title { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; font-size: 1.1rem; font-weight: 900; }
.fov-block__title > span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 223, 0, .1); color: var(--fov-yellow); font-size: .85rem; font-weight: 900; }
.fov-block__sub { margin: 0 0 16px 40px; color: var(--fov-muted); font-size: .9rem; }
.fov-editor { min-height: 260px; padding: 16px; font-size: 1rem; line-height: 1.65; }
.fov-editor-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.fov-tagcount { margin-left: auto; color: var(--fov-dim); font-size: .8rem; font-style: normal; font-weight: 800; }
.fov-tagcount.is-full { color: var(--fov-yellow); }
.fov-tagpick { display: flex; flex-wrap: wrap; gap: 6px; }
.fov-tagpick label { position: relative; margin: 0; cursor: pointer; }
.fov-tagpick input { position: absolute; opacity: 0; pointer-events: none; }
.fov-tagpick span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--fov-line); border-radius: 11px; background: var(--fov-inner); color: var(--fov-muted); font-size: .88rem; font-weight: 700; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.fov-tagpick span::before { content: "#"; color: var(--fov-dim); }
.fov-tagpick label:hover span { border-color: rgba(255, 255, 255, .2); color: var(--fov-text); }
.fov-tagpick input:focus-visible + span { border-color: rgba(255, 223, 0, .6); }
.fov-tagpick input:checked + span { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--fov-yellow); }
.fov-tagpick input:checked + span::before { color: var(--fov-yellow); }
.fov-tagpick input:disabled + span { opacity: .4; cursor: not-allowed; }
.fov-savebar { position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border: 1px solid var(--fov-line); border-radius: 16px; background: rgba(23, 23, 24, .92); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .9); }
.fov-savebar__note { display: inline-flex; align-items: center; gap: 8px; color: var(--fov-muted); font-size: .86rem; font-weight: 700; }
.fov-savebar__note > i { color: var(--fov-yellow); }
.fov-aside { position: sticky; top: 96px; display: grid; gap: 12px; }
.fov-aside__title { margin: 0; color: var(--fov-dim); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.fov-aside .fov-trow { grid-template-columns: auto minmax(0, 1fr); }
.fov-aside .fov-trow:hover { transform: none; }
.fov-tips { padding: 16px 18px; border: 1px solid var(--fov-line); border-radius: 18px; background: var(--fov-card); }
.fov-tips ul { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--fov-muted); font-size: .88rem; }
.fov-tips li { display: flex; gap: 9px; }
.fov-tips li i { color: var(--fov-yellow); }
.fov-danger-card { display: grid; justify-items: center; gap: 10px; padding: 32px 24px; border: 1px solid rgba(255, 107, 117, .3); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 107, 117, .06), var(--fov-card)); text-align: center; }
.fov-danger-card > i { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 107, 117, .1); color: var(--fov-red); font-size: 1.6rem; }
.fov-danger-card h1 { margin: 4px 0 0; font-size: 1.6rem; font-weight: 900; }
.fov-danger-card p { margin: 0; color: var(--fov-muted); }
.fov-quote { width: 100%; margin: 6px 0; padding: 12px 16px; border-left: 3px solid rgba(255, 107, 117, .5); border-radius: 10px; background: var(--fov-inner); color: #cfcfd4; text-align: left; }
.fov-danger-card__actions { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }

/* Entrance */
.fov.is-animated .fov-hero h1, .fov.is-animated .fov-hero p, .fov.is-animated .fov-banner h1 { animation: fov-in-left .8s var(--fov-ease) both; }
.fov.is-animated .fov-poster, .fov.is-animated .fov-trow:not(.is-preview), .fov.is-animated .fov-block { animation: fov-rise .6s var(--fov-ease) both; animation-delay: calc(.08s + var(--i, 0) * 45ms); }
@keyframes fov-in-left { from { opacity: 0; transform: translateX(-40px); } }
@keyframes fov-rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .fov *, .fov *::before, .fov *::after { animation: none !important; transition: none !important; } }

@container fov (max-width: 1000px) {
  .fov-wr { grid-template-columns: 1fr; }
  .fov-aside { display: none; }
}
@container fov (max-width: 700px) {
  .fov-hero, .fov-banner { padding: 22px 16px; }
  .fov-rail__track { grid-auto-columns: 140px; gap: 10px; }
  .fov-poster__fallback { padding: 12px; }
  .fov-poster__fallback b { font-size: 2.1rem; }
  .fov-poster__fallback span { font-size: .78rem; }
  .fov-banner { flex-wrap: wrap; }
  .fov-banner > .fov-btn { width: 100%; margin-left: 0; }
  .fov-banner__poster { width: 72px; }
  .fov-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .fov-tabs a { flex: 0 0 auto; }
  .fov .fov-trow { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
  .fov-trow__side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .fov-post__head, .fov-post__body, .fov-post__tags { padding-left: 18px; padding-right: 18px; }
  .fov-post__actions { width: 100%; margin-left: 0; }
  .fov-c-body, .fov .fov-replies, .fov .fov-reply-form, .fov .fov-reply .fov-c-body { margin-left: 0 !important; }
  .fov-composer { grid-template-columns: 1fr; }
  .fov-composer > img { display: none; }
  .fov-block { padding: 18px 16px; }
  .fov-block__sub { margin-left: 0; }
  .fov-savebar__note span { display: none; }
}
@media (max-width: 760px) { .fov { margin-top: .75rem; } }
