/* ============================================
   GLOBAL RETRO 8-BIT THEME
============================================ */

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    background: #e7e7e7;
    color: #222;
    height: 100%;
}

/* Main wrapper should flex + grow */
.site-wrap {
    min-height: calc(100vh - 80px); /* 80px ≈ footer height */
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Static footer stays at bottom when page is short */
.site-footer {
    margin-top: auto; /* This forces footer to bottom */
}

/* ============================================
   FADE + SLIDE ANIMATION FOR ALL RANT CARDS
============================================ */

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TYPOGRAPHY — HEADINGS (Press Start 2P)
============================================ */

h1, h2, h3, h4, h5 {
    font-family: "Press Start 2P", monospace;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

h1 { font-size: 20px; margin-bottom: 20px; }
h2 { font-size: 16px; margin-bottom: 16px; }
h3 { font-size: 14px; margin-bottom: 14px; }
h4 { font-size: 12px; margin-bottom: 12px; }
h5 { font-size: 12px; margin-bottom: 12px; }

/* ============================================
   BODY TEXT
============================================ */

p {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 15px;
}

.label, label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.caption, small {
    font-size: 12px;
    opacity: 0.7;
}

.time-ago { font-size: 13px; opacity: 0.7; }
.byline, .report-link    { font-size: 13px; opacity: 0.7; }

/* ============================================
   LINKS
============================================ */

a {
    color: #222;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================================
   RANT CARD — WITH ANIMATION
============================================ */

.rant-card {
    border: 3px solid #222;
    background: #fff;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 4px 4px 0 #222;

    /* Animation */
    opacity: 0;
    animation: fadeSlideIn 0.45s ease forwards;
}

.inline-hot {
    height: 14px;
    width: 14px;
    vertical-align: middle;
    margin: 0 2px -1px 2px;
    image-rendering: pixelated;
}

/* ============================================
   RANT ROW LAYOUT — FIXED
============================================ */
.rant-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 12px;
}

.rant-row .left-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rant-row .vote-container {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ============================================
   BADGES
============================================ */

.hot-badge {
    height: 24px;
    width: auto;
    vertical-align: middle;
}

/* ============================================
   VOTING
============================================ */

.vote-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vote-label {
    font-size: 12px;
    opacity: .7;
    font-family: "Press Start 2P";
}

.vote-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s, opacity .15s;
}

.vote-btn:hover {
    transform: scale(1.2);
}

.score {
    font-family: "Press Start 2P";
    font-size: 12px;
    min-width: 24px;
    text-align: center;
}

.vote-summary, .score-display {
    font-size: 12px;
    opacity: 0.7;
}


.vote-up,
.vote-down,
.vote-up img,
.vote-down img {
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
}

.vote-btn img {
    opacity: 0.4;
    transition: opacity 0.15s ease;
}

.vote-btn:hover img { opacity: 0.65; }

.vote-btn.active-up img {
    opacity: 1;
    filter: drop-shadow(0 0 1px #8CF8A6);
}

.vote-btn.active-down img {
    opacity: 1;
    filter: drop-shadow(0 0 1px #D5D5D5);
}

/* ============================================
   VIEW LINK
============================================ */

.view-link {
    font-size: 10px;
    font-family: "Press Start 2P";
}

/* ============================================
   BUTTONS
============================================ */

button {
    font-family: "Press Start 2P";
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #222;
    background: white;
    box-shadow: 3px 3px 0 #222;
}

button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #222;
}

/* ============================================
   HEADER & NAV
============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #e7e7e7;
    border-bottom: 3px solid #222;
    padding: 12px 20px;
    box-shadow: 0 4px 0 #222;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

.logo-title {
    font-family: "Press Start 2P";
    font-size: 24px;
    letter-spacing: 1.55px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-family: "Press Start 2P";
    font-size: 12px;
}

/* MOBILE */

.hamburger {
    display: none;
    font-size: 24px;
    background: #fff;
    border: #222 1px solid;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 3px solid #222;
    background: #e7e7e7;
}

.mobile-menu.open {
    display: flex;
}

@media (max-width: 700px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
}

/* ============================================
   SUCCESS BANNER
============================================ */

.success-banner {
    background: #c0ffb3;
    border: 3px solid #222;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 4px 4px 0 #222;
    font-family: "Press Start 2P";
    font-size: 12px;
}

/* ============================================
   LIMIT PAGE
============================================ */

.page-limit-reached {
    max-width: 650px;
    margin: 40px auto;
}

.limit-message {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.limit-back-btn {
    display: inline-block;
    font-family: "Press Start 2P";
    padding: 10px 20px;
    border: 2px solid #222;
    background: white;
    box-shadow: 3px 3px 0 #222;
}

/* WARNING ICONS */

.pixel-warning,
.warning-icon {
    width: 20px;
    height: 20px;
    image-rendering: pixelated;
    vertical-align: middle;
    margin-right: 6px;
}

/* ============================================
   DAILY STATUS CARD (Submit Page)
============================================ */

.daily-status-card {
    border: 3px solid #222;
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 4px 4px 0 #222;
}

.daily-status-card h4 {
    margin: 0 0 12px 0;
    font-family: "Press Start 2P";
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pixel-divider {
    width: 100%;
    height: 3px;
    background: #222;
    margin: 10px 0 18px 0;
}

/* Meter */
.limit-meter {
    width: 100%;
    height: 20px;
    border: 3px solid #222;
    background: #fff;
    margin-bottom: 15px;
}

.limit-meter-fill {
    height: 100%;
    background: #ffdc2e;
}

.status-text { font-size: 14px; margin-bottom: 12px; }

.status-warning {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

/* ============================================
   TONE SLIDER
============================================ */

.tone-slider-wrap {
    margin-top: 10px;
    margin-bottom: 22px;
    padding: 20px;
    border: 3px solid #222;
    background: #fff;
    box-shadow: 4px 4px 0 #222;
    position: relative;
}

.tone-slider {
    width: 100%;
    appearance: none;
    background: transparent;
    margin-top: 10px;
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
}

/* Track (Chrome/Safari) */
.tone-slider::-webkit-slider-runnable-track {
    height: 6px;
    background: #ddd;
    border: 2px solid #222;
    box-shadow: 2px 2px 0 #222;
}

/* Track (Firefox) */
.tone-slider::-moz-range-track {
    height: 6px;
    background: #ddd;
    border: 2px solid #222;
    box-shadow: 2px 2px 0 #222;
}

/* Thumb */
.tone-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #2979ff;
    border: 2px solid #222;
    cursor: pointer;
    box-shadow: 3px 3px 0 #222;
    margin-top: -9px;
}

.tone-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #2979ff;
    border: 2px solid #222;
    box-shadow: 3px 3px 0 #222;
    cursor: pointer;
}

/* Label alignment */
.tone-labels {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    height: 20px;
    pointer-events: none;
}

.tone-labels span {
    font-family: "Press Start 2P";
    font-size: 11px;
    opacity: 0.35;
    position: absolute;
    transform: translateX(-50%);
    pointer-events: auto;
    cursor: pointer;
}

.tone-labels span[data-val="0"] { left: 6.5%; }
.tone-labels span[data-val="1"] { left: 35%; }
.tone-labels span[data-val="2"] { left: 65%; }
.tone-labels span[data-val="3"] { left: 90%; }

.tone-labels span.active {
    opacity: 1;
    text-decoration: underline;
}

/* ============================================
   FEATURED PANELS
============================================ */

.featured-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.featured-panel {
    background: #E6FFF6;
    border: 3px solid #222;
    padding: 20px;
    box-shadow: 4px 4px 0 #222;
}

.featured-panel h3 {
    font-family: "Press Start 2P";
    font-size: 12px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-divider {
    width: 100%;
    height: 2px;
    background: #222;
    margin-bottom: 12px;
}

.featured-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.featured-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-rank {
    font-family: "Press Start 2P";
    font-size: 10px;
    min-width: 18px;
    opacity: 0.8;
    text-align: right;
}

.featured-list a {
    font-family: "Roboto Mono";
    font-size: 14px;
    color: #222;
}

.featured-list a:hover { text-decoration: underline; }

.featured-empty {
    font-family: "Roboto Mono";
    font-size: 14px;
    opacity: 0.6;
}

.featured-footer { margin-top: 20px; text-align: left; }

.featured-viewall-link {
    font-size: 12px;
    font-family: "Press Start 2P";
    color: #222;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.featured-viewall-link:hover {
    border-color: #222;
    opacity: 0.8;
}

/* ============================================
   DAILY PROMPT
============================================ */

.freestyle-card {
    background: #FFE6F2 !important;
}

.daily-prompt-card {
    border: 3px solid #222;
    background: #fff9d6;
    padding: 20px;
    box-shadow: 4px 4px 0 #222;
}

.daily-prompt-card h3 {
    font-family: "Press Start 2P";
    font-size: 14px;
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
    gap: 8px;
}

.daily-prompt-divider {
    height: 3px;
    background: #222;
    margin-bottom: 15px;
}

.daily-prompt-text {
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.daily-prompt-cta {
    font-family: "Press Start 2P";
    font-size: 12px;
    padding: 8px 12px;
    border: 2px solid #222;
    background: #fff;
    box-shadow: 3px 3px 0 #222;
}

.daily-prompt-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #222;
    text-decoration: none !important;
}

.prompt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 20px 0 40px 0;
}

/* ============================================
   SUBMIT PAGE
============================================ */

.submit-wrap {
    max-width: 650px;
    margin: 40px auto;
}

.submit-title { margin-bottom: 25px; }

.prompt-banner {
    margin-bottom: 40px;
    padding: 14px;
    border: 3px solid #222;
    background: #fff9d6;
    box-shadow: 4px 4px 0 #222;
    font-family: "Press Start 2P";
    font-size: 11px;
}

.prompt-banner-label {
    font-family: "Press Start 2P";
}

.prompt-banner-text {
    margin-top: 8px;
    font-size: 13px;
    font-family: "Roboto Mono";
    line-height: 1.5;
}

.btn-clear-prompt {
    margin-top: 10px;
    font-size: 10px;
    padding: 4px 10px;
    border: 2px solid #222;
    background: white;
    box-shadow: 3px 3px 0 #222;
    cursor: pointer;
}

/* Input label row */
.rant-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rant-label {
    font-family: 'Press Start 2P';
    font-size: 12px;
}

.btn-clear-rant {
    font-size: 10px;
    padding: 4px 10px;
}

.rant-textarea {
    width: 96%;
    height: 120px;
    margin-top: 10px;
    margin-right: 20px;
    padding: 12px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
    font-family: 'Roboto Mono';
    font-size: 14px;
}

.char-count {
    text-align: right;
    font-size: 12px;
    margin-top: 4px;
}

.tone-label {
    display: block;
    margin-top: 25px;
    font-family: "Press Start 2P";
    font-size: 12px;
}

.btn-generate { margin-top: 30px; }

.results-wrap { margin-top: 35px; }

/* ============================================
   SHARE BAR
============================================ */

.share-bar {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 3px solid #222;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.share-label {
    font-family: "Press Start 2P";
    font-size: 11px;
    letter-spacing: 1px;
    color: #222;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 2px solid #222;
    background: #fff;
    box-shadow: 3px 3px 0 #222;
    cursor: pointer;
    font-family: "Press Start 2P";
    font-size: 10px;
    text-decoration: none;
    color: #222;
}

.share-btn img {
    width: 14px;
    height: 14px;
    image-rendering: pixelated;
}

.share-btn:hover {
    background: #f3f3f3;
    text-decoration: none;
}

.copy-btn.copied {
    background: #c8ffbe !important;
    border-color: #1f7f1f !important;
    box-shadow: 3px 3px 0 #1f7f1f !important;
}

/* ============================================
   AD CARD
============================================ */

.ad-card {
    border: 3px solid #222;
    background: #fff;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 4px 4px 0 #222;
}

.ad-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ad-label {
    font-family: "Press Start 2P";
    font-size: 10px;
    margin-bottom: 10px;
    color: #555;
}

.ad-slot {
    width: 100%;
    min-height: 120px;
    background: #f9f9f9;
    border: 2px dashed #aaa;
    padding: 15px;
    font-size: 12px;
    color: #666;
}

/* ============================================
   TAG INDEX PAGE
============================================ */

.tag-intro {
    margin-bottom: 25px;
    font-size: 14px;
}

.tag-index-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.tag-item {
    display: block;
    padding: 14px;
    background: #fff;
    border: 3px solid #222;
    color: #222;
    text-decoration: none;
    font-family: "Press Start 2P";
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    transition: background .18s ease, transform .18s ease;
}

.tag-item:hover {
    background: #f7f7f7;
    transform: translateY(-3px);
}

.tag-item strong { font-size: 13px; }

.tag-item span {
    font-size: 11px;
    opacity: 0.7;
}

.tag-ad {
    margin: 25px 0;
    text-align: center;
}

.tag-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 25px;
}

.tag-viewall-btn {
    font-family: "Press Start 2P";
    font-size: 12px;
    padding: 8px 12px;
    border: 2px solid #222;
    background: #fff;
    box-shadow: 3px 3px 0 #222;
}

.tag-viewall-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #222;
}

.tag-viewall-inline { margin: 0; padding: 8px 12px; }

/* ============================================
   WELCOME CARD
============================================ */

.welcome-card {
    border: 3px solid #222;
    background: #fff;
    padding: 20px;
    box-shadow: 4px 4px 0 #222;
    margin-bottom: 30px;
    cursor: pointer;
}

.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-card h3 {
    font-family: "Press Start 2P";
    font-size: 14px;
    margin: 0;
}

.toggle-icon {
    font-family: "Press Start 2P";
    font-size: 16px;
}

.welcome-body { margin-top: 16px; }

.welcome-card.collapsed .welcome-body { display: none; }

/* ============================================
   SUBMIT SUPPORTING ELEMENTS
============================================ */

.submit-step-label {
    font-family: "Press Start 2P";
    font-size: 12px;
    margin: 20px 0 8px 0;
}

.submit-helper {
    font-size: 13px;
    opacity: 0.75;
    margin: 0 40px 14px 0;
    line-height: 1.45;
}

.rant-level-card {
    border: 3px solid #222;
    background: #FFE6F2;
    padding: 20px;
    box-shadow: 4px 4px 0 #222;
    margin: 30px 0;
}

.submit-card {
    border: 3px solid #222;
    background: #fff;
    padding: 22px;
    box-shadow: 4px 4px 0 #222;
    margin: 30px 0;
}

.submit-card .rant-error {color: red; font-size: 14px;}

.submit-card h3 {
    font-family: "Press Start 2P";
    font-size: 14px;
    margin: 0 0 12px;
}

/* ============================================
   FLOATING FOOTER — COLLAPSED PILL
============================================ */

.floating-footer-pill {
    position: fixed;
    bottom: 12px;
    left: 12px;
    z-index: 9999;

    background: #fff;
    color: #222;
    font-family: "Press Start 2P";
    font-size: 10px;

    padding: 10px 14px;
    border: 3px solid #222;
    box-shadow: 4px 4px 0 #222;

    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.floating-footer-pill:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #222;
}

/* ============================================
   FLOATING FOOTER PANEL (EXPANDED)
============================================ */

.floating-footer-panel {
    position: fixed;
    bottom: 12px;
    left: 12px;
    width: 220px;

    background: #fff;
    border: 3px solid #222;
    box-shadow: 6px 6px 0 #222;
    padding: 20px;
    z-index: 10000;

    /* animation state */
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s cubic-bezier(.25,.8,.25,1),
                opacity .25s ease;
}

.floating-footer-panel.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.floating-footer-panel h4 {
    font-family: "Press Start 2P";
    font-size: 11px;
    margin-top: 0;
}

.floating-footer-panel a {
    font-family: "Roboto Mono";
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    color: #222;
}

.floating-footer-panel a:hover {
    text-decoration: underline;
}

.footer-close-btn {
    font-family: "Press Start 2P";
    font-size: 10px;
    padding: 6px 10px;
    background: #fff;

    border: 2px solid #222;
    box-shadow: 3px 3px 0 #222;

    cursor: pointer;
    margin-top: 12px;
    display: inline-block;

    transition: transform .15s ease, box-shadow .15s ease;
}

.footer-close-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #222;
}

.floating-footer-panel .copyright {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.7;
    font-family: "Roboto Mono";
}

/* ============================================
   STATIC FOOTER
============================================ */

.site-footer {
    margin-top: 60px;
    background: #f4f4f4;
    padding: 35px 0;
    border-top: 3px solid #222;
}

.site-footer .footer-inner { text-align: center; }

.site-footer a {
    margin: 0 12px;
    font-family: "Press Start 2P";
    color: #222;
    font-size: 12px;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .copyright {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.7;
    font-family: "Roboto Mono";
}

/* ============================================
   SKELETON LOADERS (Infinite Scroll)
============================================ */

@keyframes skeletonPulse {
    0% { background-color: #d6d6d6; }
    50% { background-color: #e5e5e5; }
    100% { background-color: #d6d6d6; }
}

.skeleton {
    height: 140px;
    border: 3px solid #222;
    background: #d6d6d6;
    animation: skeletonPulse 1.2s infinite ease-in-out;
    box-shadow: 4px 4px 0 #222;
    margin-bottom: 24px;
}

/* ============================================
   SCROLL FADE-IN ANIMATION (Cards)
============================================ */

.rant-card, .ad-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .35s ease, transform .35s ease;
}

.rant-card.loaded, .ad-card.loaded {
    opacity: 1;
    transform: translateY(0);
}



/* ============================================
   RESPONSIVE RULES
============================================ */

@media (min-width: 800px) {
    .featured-panels {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .nav-links { display:none; }
    .hamburger { display:block; }
}

@media (max-width: 640px) {
    .prompt-grid {
        grid-template-columns: 1fr;
    }

    .tag-title-row {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   INLINE HOT BADGE
============================================ */
.inline-hot {
    height: 14px;
    width: 14px;
    image-rendering: pixelated;
    vertical-align: middle;
    margin: 0 2px -1px 2px;
}

/* ============================================
   HOT BADGE (large)
============================================ */
.hot-badge {
    height: 24px;
    width: auto;
    image-rendering: pixelated;
    vertical-align: middle;
}

/* ============================================
   INFINITE SCROLL ACCESSORY
============================================ */

#feed .rant-card {
    opacity: 0;
    transform: translateY(20px);
}

#feed .rant-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FIX: BUTTON POP FEEL (global)
============================================ */

button:hover,
.daily-prompt-cta:hover,
.tag-viewall-btn:hover,
.share-btn:hover {
    transform: translate(-2px,-2px);
    box-shadow: 5px 5px 0 #222;
}

/* ============================================
   COMMENTS — UNIVERSAL
============================================ */

/* Comment bubble metadata (icon + count) */
.comment-meta {
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.comment-icon {
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
    vertical-align: middle;
}

/* Block wrapper (index + full) */
.comment-block {
    margin-top: 12px;
    padding: 12px 16px;
    border-left: 3px solid #222;
    background: #fff;
}

/* Modifier: full page block */
.comment-block-full {
    margin: 20px 0;
}

/* Title for full-page comments */
.comment-title {
    font-family: "Press Start 2P", monospace;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Single comment */
.comment-item {
    margin-bottom: 14px;
}

.comment-text {
    font-size: 14px;
    margin: 0 0 4px 0;
}

.comment-time {
    font-size: 12px;
    color: #666;
    margin-right: 8px;
}

/* Reply link */
.reply-link {
    font-size: 12px;
    color: #222;
    text-decoration: none;
}

.reply-link:hover {
    text-decoration: underline;
}

/* Replies (thread indentation) */
.comment-replies {
    margin-left: 16px;
    border-left: 2px dashed #ccc;
    padding-left: 8px;
    margin-top: 6px;
}

.comment-reply {
    margin-bottom: 6px;
}

/* Form (index + full) */
.comment-form {
    margin-top: 16px;
    display: flex;
    gap: 8px;
}

.comment-input {
    flex: 1;
    padding: 6px 8px;
    font-size: 14px;
    border: 2px solid #222;
    background: #fff;
}

.comment-btn {
    padding: 6px 10px;
    font-size: 12px;
    background: #fff;
    border: 2px solid #222;
    color: #222;
    cursor: pointer;
}

/* Empty state */
.no-comments {
    color: #555;
    font-size: 13px;
}

/* Reply indicator bar */
.reply-indicator {
    background: #fff3cd;
    border-left: 3px solid #222;
    padding: 6px 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

/* Cancel reply link */
.cancel-reply {
    color: #c00;
    text-decoration: none;
    margin-left: 6px;
    font-size: 12px;
}

.cancel-reply:hover {
    text-decoration: underline;
}

.comment-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #222;
    text-decoration: none;
}

.comment-link:hover {
    text-decoration: underline;
}

/* ============================================
   BREADCRUMBS
============================================ */

.breadcrumbs {
    font-size: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs a {
    color: #222;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.bc-sep {
    color: #666;
}

.bc-current {
    color: #666;
}

.success-banner {
    background: #d0ffd0;
    border: 2px solid #0a0;
    padding: 10px 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #050;
}