@charset "utf-8";
/* CSS Document */

/* ==========================================================================
   PATRIOTS PALETTE
   Navy  #0d1f3c   Silver  #b0bec5 / #dde3e9   Red  #c8102e   White  #ffffff
   ========================================================================== */
.pf-otd-shell {
    /* Brand */
    --navy:      #0d1f3c;
    --navy-mid:  #162d52;
    --navy-lit:  #1e3d6e;
    --red:       #c8102e;
    --red-dk:    #a00d24;
    --red-lit:   #e02035;
    --silver:    #b0bec5;
    --silver-lt: #dde3e9;
    --silver-bg: #f0f3f5;
    --white:     #ffffff;

    /* Semantic */
    --bg:        #f0f3f5;
    --surface:   #ffffff;
    --text:      #0d1f3c;
    --muted:     #546e7a;
    --border:    rgba(13,31,60,.10);
    --border-md: rgba(13,31,60,.16);

    /* Shadows */
    --shadow-sm:  0 1px 4px rgba(13,31,60,.08), 0 1px 2px rgba(13,31,60,.06);
    --shadow-md:  0 4px 16px rgba(13,31,60,.10), 0 1px 4px rgba(13,31,60,.07);
    --shadow-lg:  0 12px 40px rgba(13,31,60,.15), 0 2px 8px rgba(13,31,60,.08);
    --shadow-red: 0 6px 20px rgba(200,16,46,.30);
}

.pf-otd-shell,
.pf-otd-shell *,
.pf-otd-shell *::before,
.pf-otd-shell *::after {
    box-sizing: border-box;
}

.pf-otd-shell {
    background: var(--bg);
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden;
}

.pf-otd-shell * {
    margin-top: 0;
}

.pf-otd-shell a { color: inherit; text-decoration: none; }

.pf-otd-shell img { display: block; max-width: 100%; }

/* ==========================================================================
   TOP ACCENT STRIPE
   ========================================================================== */
.pf-otd-stripe {
    height: 4px;
    background: linear-gradient(90deg, var(--red) 0%, var(--navy) 55%, var(--silver) 100%);
}

/* ==========================================================================
   MASTHEAD
   ========================================================================== */
.pf-otd-masthead {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

/* Subtle vertical field lines */
.pf-otd-masthead::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px,
        transparent 1px, transparent 56px
    );
    pointer-events: none;
}

/* Red diagonal accent */
.pf-otd-masthead::after {
    content: '';
    position: absolute;
    right: -80px; top: -30px; bottom: -30px;
    width: 380px;
    background: var(--red);
    transform: skewX(-14deg);
    opacity: .09;
    pointer-events: none;
}

.pf-otd-masthead-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 0;
    display: flex;
    align-items: stretch;
    gap: 0;
}

.pf-otd-masthead-copy { flex: 1; padding-bottom: 32px; }

/* "FORUM HISTORY" live badge */
.pf-otd-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 4px 12px 4px 9px;
    border-radius: 2px;
    margin-bottom: 18px;
    user-select: none;
}

.pf-otd-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .35; }
}

.pf-otd-masthead h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(52px, 8vw, 92px);
    font-weight: 900;
    line-height: .90;
    letter-spacing: -.01em;
    text-transform: uppercase;
    color: var(--white);
}

.pf-otd-masthead h1 .pf-otd-h1-day { color: var(--red); display: block; }

.pf-otd-masthead h1 .pf-otd-h1-sub {
    display: block;
    font-size: .46em;
    font-weight: 700;
    font-style: italic;
    color: var(--silver);
    letter-spacing: .03em;
    margin-top: 6px;
    text-transform: uppercase;
}

.pf-otd-masthead-desc {
    margin-top: 16px;
    font-size: 13px;
    color: var(--silver);
    line-height: 1.55;
    max-width: 480px;
}

.pf-otd-masthead-desc strong { color: var(--silver-lt); font-weight: 600; }

/* Date panel */
.pf-otd-date-panel {
    flex-shrink: 0;
    width: 136px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,.07);
    padding: 20px 16px 32px;
    gap: 2px;
    text-align: center;
}

.pf-otd-date-panel .pf-otd-dp-month {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--silver);
}

.pf-otd-date-panel .pf-otd-dp-day {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 76px;
    font-weight: 900;
    line-height: 1;
    color: var(--white);
    letter-spacing: -.03em;
}

.pf-otd-date-panel .pf-otd-dp-chip {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(200,16,46,.15);
    border: 1px solid rgba(200,16,46,.32);
    border-radius: 2px;
    padding: 2px 9px;
    margin-top: 4px;
}

/* ==========================================================================
   PAGE BODY — two-column layout
   ========================================================================== */
.pf-otd-page-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 80px;
}

.pf-otd-page-cols {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.pf-otd-page-main  { min-width: 0; }
.pf-otd-page-aside { min-width: 0; }

/* ==========================================================================
   PERSONAL SIDEBAR
   ========================================================================== */
.pf-otd-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 20px;
}

.pf-otd-sidebar-header {
    background: var(--navy);
    padding: 14px 18px;
    position: relative;
    overflow: hidden;
}

.pf-otd-sidebar-header::after {
    content: '';
    position: absolute;
    right: -20px; top: -20px; bottom: -20px;
    width: 80px;
    background: var(--red);
    transform: skewX(-12deg);
    opacity: .15;
    pointer-events: none;
}

.pf-otd-sidebar-header-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .20em;
    text-transform: uppercase;
    color: var(--silver);
    display: block;
    margin-bottom: 4px;
}

.pf-otd-sidebar-header-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.pf-otd-sidebar-header-name span { color: var(--red); }

/* Post count stat */
.pf-otd-sidebar-stat {
    background: var(--silver-bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pf-otd-sidebar-stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -.02em;
    flex-shrink: 0;
}

.pf-otd-sidebar-stat-num.pf-otd-zero { color: var(--silver); }

.pf-otd-sidebar-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.35;
}

.pf-otd-sidebar-stat-label strong {
    display: block;
    color: var(--navy);
    font-size: 13px;
}

/* Posts list */
.pf-otd-sidebar-top-label {
    padding: 10px 18px 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .03em;
    border-top: 1px solid var(--border);
}

.pf-otd-sidebar-posts {
    padding: 0;
}

.pf-otd-sidebar-post {
    padding: 12px 18px;
    border-bottom: 1px solid var(--silver-bg);
    transition: background .13s;
}

.pf-otd-sidebar-post:last-child { border-bottom: none; }
.pf-otd-sidebar-post:hover { background: var(--silver-bg); }

.pf-otd-sidebar-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

.pf-otd-sidebar-post-year {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .02em;
}

.pf-otd-sidebar-post-score {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: var(--white);
    background: var(--navy);
    border-radius: 2px;
    padding: 1px 7px;
    letter-spacing: .04em;
    white-space: nowrap;
}

.pf-otd-sidebar-post-score.pf-otd-unrated {
    background: var(--silver-lt);
    color: var(--muted);
    font-style: italic;
    font-weight: 600;
}

.pf-otd-sidebar-post-excerpt {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pf-otd-sidebar-post-thread {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pf-otd-sidebar-post-thread a { color: var(--muted); transition: color .13s; }
.pf-otd-sidebar-post-thread a:hover { color: var(--red); }

/* Empty sidebar state */
.pf-otd-sidebar-empty {
    padding: 28px 18px;
    text-align: center;
    color: var(--muted);
}

.pf-otd-sidebar-empty-icon { font-size: 32px; margin-bottom: 10px; opacity: .35; }

.pf-otd-sidebar-empty p {
    font-size: 13px;
    line-height: 1.5;
}

.pf-otd-sidebar-empty strong { color: var(--navy); }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.pf-otd-sec-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.pf-otd-sec-head-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .20em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.pf-otd-sec-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.pf-otd-sec-head a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--red);
    white-space: nowrap;
    transition: color .14s;
}

.pf-otd-sec-head a:hover { color: var(--red-dk); }

/* ==========================================================================
   SPOTLIGHT CARD
   ========================================================================== */
.pf-otd-spotlight-wrap {
    margin-bottom: 36px;
    animation: riseUp .5s ease both;
}

.pf-otd-spotlight {
    background: var(--navy);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Diagonal red sheen */
.pf-otd-spotlight-sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(118deg, transparent 55%, rgba(200,16,46,.12) 100%);
    pointer-events: none;
}

/* Top red header bar */
.pf-otd-spotlight-bar {
    background: var(--red);
    padding: 9px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pf-otd-spotlight-bar-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 7px;
}

.pf-otd-spotlight-bar-label::before {
    content: '▶';
    font-size: 8px;
}

.pf-otd-spotlight-bar-score {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: rgba(255,255,255,.80);
    letter-spacing: .06em;
    white-space: nowrap;
}

/* Body */
.pf-otd-spotlight-body {
    padding: 26px 26px 20px;
    position: relative;
    z-index: 1;
}

.pf-otd-s-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--silver);
}

.pf-otd-s-year-chip {
    background: rgba(200,16,46,.22);
    border: 1px solid rgba(200,16,46,.42);
    border-radius: 2px;
    color: #ff8fa3;
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 700;
}

.pf-otd-s-dot { color: rgba(255,255,255,.18); }

.pf-otd-s-quote {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(21px, 3.2vw, 32px);
    font-weight: 700;
    font-style: italic;
    line-height: 1.22;
    color: var(--white);
    border-left: 4px solid var(--red);
    padding-left: 18px;
    margin-bottom: 12px;
}

.pf-otd-s-author {
    font-size: 12px;
    font-weight: 600;
    color: var(--silver);
    padding-left: 22px;
    margin-bottom: 6px;
}

.pf-otd-s-author a { color: var(--silver-lt); transition: color .14s; }
.pf-otd-s-author a:hover { color: #fff; }

.pf-otd-s-thread {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--silver);
    padding-left: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pf-otd-s-thread a { color: var(--silver); transition: color .14s; }
.pf-otd-s-thread a:hover { color: var(--silver-lt); }

/* Footer */
.pf-otd-spotlight-foot {
    padding: 0 26px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.pf-otd-s-stats { display: flex; gap: 18px; flex-wrap: wrap; }

.pf-otd-s-stat {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 12px;
    color: var(--silver);
    font-weight: 500;
}

.pf-otd-s-stat-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: .02em;
}

.pf-otd-s-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.pf-otd-shell a.pf-otd-btn,
.pf-otd-shell a.pf-otd-btn:link,
.pf-otd-shell a.pf-otd-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 3px;
    padding: 9px 16px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .10em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .14s;
    border: none;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.pf-otd-shell a.pf-otd-btn-red,
.pf-otd-shell a.pf-otd-btn-red:link,
.pf-otd-shell a.pf-otd-btn-red:visited {
    background: var(--red);
    color: #fff !important;
}
.pf-otd-shell a.pf-otd-btn-red:hover,
.pf-otd-shell a.pf-otd-btn-red:focus {
    background: var(--red-lit);
    box-shadow: var(--shadow-red);
    color: #fff !important;
}

.pf-otd-shell a.pf-otd-btn-ghost,
.pf-otd-shell a.pf-otd-btn-ghost:link,
.pf-otd-shell a.pf-otd-btn-ghost:visited {
    background: transparent;
    border: 1px solid rgba(255,255,255,.20);
    color: rgba(255,255,255,.70) !important;
}
.pf-otd-shell a.pf-otd-btn-ghost:hover,
.pf-otd-shell a.pf-otd-btn-ghost:focus {
    border-color: rgba(255,255,255,.50);
    color: #fff !important;
}

.pf-otd-shell a.pf-otd-btn-outline,
.pf-otd-shell a.pf-otd-btn-outline:link,
.pf-otd-shell a.pf-otd-btn-outline:visited {
    background: transparent;
    border: 1px solid var(--border-md);
    color: var(--muted) !important;
}
.pf-otd-shell a.pf-otd-btn-outline:hover,
.pf-otd-shell a.pf-otd-btn-outline:focus {
    border-color: var(--red);
    color: var(--red) !important;
}

.pf-otd-shell a.pf-otd-btn-navy,
.pf-otd-shell a.pf-otd-btn-navy:link,
.pf-otd-shell a.pf-otd-btn-navy:visited {
    background: var(--navy);
    color: #fff !important;
}
.pf-otd-shell a.pf-otd-btn-navy:hover,
.pf-otd-shell a.pf-otd-btn-navy:focus {
    background: var(--navy-lit);
    box-shadow: var(--shadow-md);
    color: #fff !important;
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.pf-otd-timeline { display: flex; flex-direction: column; }

.pf-otd-year-group {
    display: grid;
    grid-template-columns: 84px 1fr;
    position: relative;
    animation: riseUp .42s ease both;
}

/* Staggered entrance */
.pf-otd-year-group:nth-child(1)  { animation-delay: .08s; }
.pf-otd-year-group:nth-child(2)  { animation-delay: .14s; }
.pf-otd-year-group:nth-child(3)  { animation-delay: .20s; }
.pf-otd-year-group:nth-child(4)  { animation-delay: .26s; }
.pf-otd-year-group:nth-child(5)  { animation-delay: .32s; }
.pf-otd-year-group:nth-child(6)  { animation-delay: .38s; }
.pf-otd-year-group:nth-child(7)  { animation-delay: .44s; }
.pf-otd-year-group:nth-child(8)  { animation-delay: .50s; }
.pf-otd-year-group:nth-child(9)  { animation-delay: .56s; }
.pf-otd-year-group:nth-child(10) { animation-delay: .62s; }

/* Spine */
.pf-otd-year-group::before {
    content: '';
    position: absolute;
    left: 74px;
    top: 0; bottom: -20px;
    width: 2px;
    background: var(--silver-lt);
}

.pf-otd-year-group:last-child::before {
    background: linear-gradient(180deg, var(--silver-lt), transparent);
    bottom: 0;
}

/* Year rail */
.pf-otd-year-rail {
    padding-top: 2px;
    padding-right: 18px;
    text-align: right;
    padding-bottom: 20px;
    position: relative;
}

/* Spine dot */
.pf-otd-year-rail::after {
    content: '';
    position: absolute;
    right: -8px; top: 7px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--red);
    box-shadow: 0 0 0 2px var(--bg);
    z-index: 1;
}

.pf-otd-yr-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    display: block;
    letter-spacing: -.01em;
}

.pf-otd-yr-ago {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--red);
    display: block;
    margin-top: 2px;
}

.pf-otd-yr-count {
    font-size: 10px;
    color: var(--silver);
    font-weight: 500;
    display: block;
    margin-top: 4px;
}

/* Posts column */
.pf-otd-year-posts {
    padding-left: 22px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Thread context label */
.pf-otd-thread-label {
    margin-bottom: 4px;
}

.pf-otd-thread-title-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    display: block;
    margin-bottom: 4px;
    transition: color .14s;
}

.pf-otd-thread-title-link:hover { color: var(--red); }

.pf-otd-thread-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pf-otd-thread-stat {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ==========================================================================
   POST CARD
   ========================================================================== */
.pf-otd-pcard {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .16s, transform .16s, border-color .16s;
}

.pf-otd-pcard:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    border-color: rgba(200,16,46,.22);
}

/* Colored top bar */
.pf-otd-pcard-bar { height: 3px; }
.pf-otd-pcard-bar.pf-otd-high    { background: var(--red); }
.pf-otd-pcard-bar.pf-otd-mid     { background: linear-gradient(90deg, var(--red) 0%, var(--silver) 100%); }
.pf-otd-pcard-bar.pf-otd-low     { background: var(--silver-lt); }
.pf-otd-pcard-bar.pf-otd-archive { background: repeating-linear-gradient(90deg, var(--silver-lt) 0px, var(--silver-lt) 6px, transparent 6px, transparent 10px); }

.pf-otd-pcard-body { padding: 13px 15px 12px; }
.pf-otd-pcard.pf-otd-compact .pf-otd-pcard-body { padding: 10px 14px 10px; }

.pf-otd-pcard-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

.pf-otd-pcard-chips {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

/* Score chip */
.pf-otd-score-chip {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    background: var(--navy);
    border-radius: 2px;
    padding: 2px 9px;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    letter-spacing: .03em;
    white-space: nowrap;
}

.pf-otd-score-chip .pf-otd-sc-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--silver);
    text-transform: uppercase;
}

/* Meta text */
.pf-otd-pcard-meta {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.pf-otd-pcard-meta .pf-otd-dot { color: var(--silver-lt); }

/* Badge */
.pf-otd-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 2px 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

.pf-otd-badge.pf-otd-gold   { color: var(--red);      background: rgba(200,16,46,.08);  border: 1px solid rgba(200,16,46,.22); }
.pf-otd-badge.pf-otd-silver { color: var(--navy-mid); background: rgba(13,31,60,.06);   border: 1px solid rgba(13,31,60,.16); }
.pf-otd-badge.pf-otd-archive { color: var(--muted);  background: rgba(84,110,122,.08);  border: 1px solid rgba(84,110,122,.22); font-style: italic; }

/* ==========================================================================
   ANNIVERSARY
   ========================================================================== */

/* Year group gets a modifier class that lights up the spine dot + rail */
.pf-otd-year-group.pf-otd-is-anniversary .pf-otd-year-rail::after {
    background: var(--white);
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201,168,76,.25), 0 0 10px rgba(201,168,76,.30);
    width: 16px; height: 16px;
    right: -9px; top: 5px;
}

.pf-otd-year-group.pf-otd-is-historic .pf-otd-year-rail::after {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200,16,46,.20), 0 0 12px rgba(200,16,46,.35);
    width: 18px; height: 18px;
    right: -10px; top: 4px;
}

/* Anniversary banner sits above the thread label */
.pf-otd-anniv-banner {
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 3px;
    padding: 7px 12px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.pf-otd-anniv-banner.pf-otd-anniv-gold {
    background: linear-gradient(90deg, rgba(201,168,76,.12), rgba(201,168,76,.04));
    border: 1px solid rgba(201,168,76,.35);
    color: #8a6d1a;
}

.pf-otd-anniv-banner.pf-otd-anniv-historic {
    background: linear-gradient(90deg, rgba(200,16,46,.08), rgba(200,16,46,.02));
    border: 1px solid rgba(200,16,46,.28);
    color: var(--red-dk);
}

.pf-otd-anniv-banner.pf-otd-anniv-silver {
    background: linear-gradient(90deg, rgba(13,31,60,.06), rgba(13,31,60,.02));
    border: 1px solid rgba(13,31,60,.18);
    color: var(--navy-mid);
}

.pf-otd-anniv-icon { font-size: 14px; flex-shrink: 0; }

/* Year number gets a tinted color on anniversary years */
.pf-otd-year-group.pf-otd-is-anniversary .pf-otd-yr-num { color: #8a6d1a; }
.pf-otd-year-group.pf-otd-is-historic    .pf-otd-yr-num { color: var(--red); }

/* Quote */
.pf-otd-pcard-quote {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.28;
    color: var(--navy);
    margin-bottom: 5px;
}

.pf-otd-pcard.pf-otd-compact .pf-otd-pcard-quote { font-size: 15px; }

/* Author */
.pf-otd-pcard-author {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 9px;
}

.pf-otd-pcard-author a {
    color: var(--navy-mid);
    font-weight: 700;
    transition: color .14s;
}

.pf-otd-pcard-author a:hover { color: var(--red); }

/* Footer */
.pf-otd-pcard-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 9px;
    border-top: 1px solid var(--silver-bg);
    flex-wrap: wrap;
}

.pf-otd-pcard-reactions {
    display: flex;
    gap: 12px;
}

.pf-otd-pcard-reaction {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
}

.pf-otd-pcard-reaction strong {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
}

.pf-otd-pcard-actions { display: flex; gap: 6px; }

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */
.pf-otd-empty-state {
    padding: 64px 24px;
    text-align: center;
    color: var(--muted);
}

.pf-otd-empty-icon { font-size: 52px; margin-bottom: 18px; opacity: .35; }

.pf-otd-empty-state h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--navy);
    margin-bottom: 10px;
}

.pf-otd-empty-state p { font-size: 14px; max-width: 360px; margin: 0 auto; }

/* No-results (filtered) */
.pf-otd-no-results { display: none; }

/* ==========================================================================
   FOOTER NOTE
   ========================================================================== */
.pf-otd-footer-note {
    text-align: center;
    font-size: 11px;
    color: var(--silver);
    font-weight: 500;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes riseUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .pf-otd-page-cols { grid-template-columns: 1fr; }
    .pf-otd-page-aside { order: -1; }   /* sidebar above timeline on mobile */
    .pf-otd-sidebar-card { position: static; }
}

@media (max-width: 640px) {
    .pf-otd-masthead-inner    { flex-direction: column; }
    .pf-otd-date-panel        { flex-direction: row; border-left: none; border-top: 1px solid rgba(255,255,255,.07); padding: 14px 24px 20px; justify-content: flex-start; gap: 16px; align-items: center; }
    .pf-otd-date-panel .pf-otd-dp-day { font-size: 52px; }
    .pf-otd-year-group        { grid-template-columns: 62px 1fr; }
    .pf-otd-year-group::before{ left: 52px; }
    .pf-otd-year-rail::after  { right: -9px; }
    .pf-otd-year-posts        { padding-left: 14px; }
    .pf-otd-page-body         { padding: 20px 14px 60px; }
    .pf-otd-spotlight-body,
    .pf-otd-spotlight-foot    { padding-left: 18px; padding-right: 18px; }
    .pf-otd-s-actions         { width: 100%; justify-content: flex-end; }
}