
    .sy-box{
        position:relative;
        background:#ffffff;
        border-radius:20px;
        overflow:hidden;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
        font-family:"Segoe UI",Arial,sans-serif;
        margin:0;
        padding:2px;
        box-shadow:0 10px 30px rgba(15,23,42,.10), 0 2px 8px rgba(15,23,42,.05);
    }

    .sy-glow-border{
        position:absolute; inset:0;
        border-radius:20px;
        padding:1.5px;
        background:conic-gradient(from 0deg, var(--sy-c1,#0f766e), var(--sy-c2,#14b8a6), transparent 55%, var(--sy-c1,#0f766e));
        animation:sy-spin 16s linear infinite;
        z-index:0;
        opacity:.35;
    }
    @keyframes sy-spin{ to{ transform:rotate(360deg); } }

    .sy-header, .sy-list, .sy-footer{ position:relative; z-index:1; }

    .sy-category-divider{
        position:relative;
        z-index:2;
        height:5px;
        background:linear-gradient(90deg, var(--sy-c1,#0f766e), var(--sy-c2,#14b8a6));
        border-radius:20px 20px 0 0;
    }

    .sy-header{
        background:#fafcfc;
        color:#0f172a !important;
        padding:18px 20px;
        display:flex;
        align-items:center;
        gap:12px;
        border-radius:0;
        border-bottom:1px solid #eef1f4;
    }
    .sy-header-orb{
        flex-shrink:0;
        width:38px; height:38px;
        border-radius:50%;
        display:flex; align-items:center; justify-content:center;
        font-size:18px;
        background:radial-gradient(circle at 30% 30%, var(--sy-c2,#14b8a6), var(--sy-c1,#0f766e));
        box-shadow:0 0 0 4px rgba(20,184,166,.12), 0 0 16px rgba(20,184,166,.4);
        animation:sy-orb-pulse 2.4s ease-in-out infinite;
    }
    .sy-header-orb img{ width:60%; height:60%; object-fit:contain; display:block; }
    @keyframes sy-orb-pulse{
        0%,100%{ box-shadow:0 0 0 4px rgba(20,184,166,.12), 0 0 10px rgba(20,184,166,.3); }
        50%{ box-shadow:0 0 0 6px rgba(20,184,166,.18), 0 0 20px rgba(20,184,166,.55); }
    }
    .sy-header-text{
        font-size:17px;
        font-weight:800;
        letter-spacing:.2px;
        flex:1;
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        color:var(--sy-c1,#0f172a) !important;
        transition:opacity .2s ease, max-width .3s ease;
    }
    .sy-header.sy-search-open .sy-header-text{
        opacity:0;
        max-width:0;
        flex:0;
    }
    .sy-header-count{
        flex-shrink:0;
        background:#f1f5f9;
        background:color-mix(in srgb, var(--sy-c2,#14b8a6) 14%, #ffffff);
        border:1px solid #e2e8f0;
        border:1px solid color-mix(in srgb, var(--sy-c2,#14b8a6) 35%, #ffffff);
        color:var(--sy-c1,#334155) !important;
        font-size:11px;
        font-weight:700;
        padding:4px 10px;
        border-radius:20px;
    }
    .sy-search-toggle{
        flex-shrink:0;
        width:30px; height:30px;
        border-radius:50%;
        border:1px solid color-mix(in srgb, var(--sy-c2,#14b8a6) 35%, #ffffff);
        background:color-mix(in srgb, var(--sy-c2,#14b8a6) 10%, #ffffff);
        color:var(--sy-c1,#334155);
        display:flex; align-items:center; justify-content:center;
        cursor:pointer;
        transition:.2s;
        padding:0;
    }
    .sy-search-toggle:hover{
        background:color-mix(in srgb, var(--sy-c2,#14b8a6) 20%, #ffffff);
    }
    /* Lives right in the header row, next to the 🔍 icon — expands inline into
       that same row when opened (the title fades out above to make room),
       instead of dropping a separate row underneath. */
    .sy-search-inline{
        display:flex;
        align-items:center;
        gap:6px;
        flex:0;
        min-width:0;
        max-width:0;
        opacity:0;
        overflow:hidden;
        border-bottom:1.5px solid transparent;
        transition:max-width .3s ease, opacity .2s ease, flex .3s ease;
    }
    .sy-header.sy-search-open .sy-search-inline{
        flex:1;
        max-width:100%;
        opacity:1;
        border-bottom-color:color-mix(in srgb, var(--sy-c2,#14b8a6) 45%, #ffffff);
        padding-bottom:2px;
    }
    .sy-search-icon{ flex-shrink:0; color:#94a3b8; }
    .sy-search-input{
        flex:1;
        min-width:0;
        border:none;
        outline:none;
        background:transparent;
        font-size:13px;
        color:#0f172a;
    }
    .sy-search-input::placeholder{ color:#94a3b8; }

    .sy-search-empty{
        padding:20px 6px;
        color:#64748b;
        font-size:13px;
        text-align:center;
    }

    .sy-list{
        position:relative;
        overflow-y:visible; /* no internal scroll — full list shows, box grows with it */
        background:#fbfcfd;
        padding:14px 16px 6px 30px;
    }

    .sy-timeline-line{
        position:absolute;
        left:20px; top:14px; bottom:14px;
        width:2px;
        background:linear-gradient(180deg, var(--sy-c2,#14b8a6), rgba(15,23,42,.06));
        opacity:.5;
    }

    .sy-post{
        position:relative;
        margin-bottom:12px;
        opacity:0;
        transform:translateX(-8px);
        animation:sy-slide-in .5s ease forwards;
        animation-delay:calc(var(--i, 1) * 0.07s);
    }
    @keyframes sy-slide-in{ to{ opacity:1; transform:translateX(0); } }
    .sy-post:last-child{ margin-bottom:0; }

    .sy-dot{
        position:absolute;
        left:-19px; top:18px;
        width:9px; height:9px;
        border-radius:50%;
        background:var(--sy-c2,#14b8a6);
        box-shadow:0 0 0 3px rgba(20,184,166,.18);
    }
    .sy-dot.sy-dot-new{ animation:sy-dot-pulse 1.6s ease-in-out infinite; }
    @keyframes sy-dot-pulse{
        0%,100%{ box-shadow:0 0 0 3px rgba(20,184,166,.18); }
        50%{ box-shadow:0 0 0 7px rgba(20,184,166,0); }
    }

    .sy-card{
        display:flex !important;
        align-items:flex-start;
        gap:12px;
        text-decoration:none !important;
        background:#ffffff;
        border:1px solid #eef1f4;
        border:1px solid color-mix(in srgb, var(--sy-c2,#14b8a6) 12%, #eef1f4);
        border-radius:12px;
        padding:13px 14px;
        box-shadow:0 1px 3px rgba(15,23,42,.04);
        transition:transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
    }
    .sy-card:hover{
        transform:translateX(4px) translateY(-2px);
        background:#f8fdfc;
        border-color:rgba(20,184,166,.45);
        box-shadow:0 10px 22px rgba(15,23,42,.10);
    }

    .sy-card-body{
        display:flex;
        flex-direction:column;
        gap:6px;
        flex:1;
        min-width:0;
    }

    .sy-post-title{
        display:block;
        color:#0f172a !important;
        font-size:14px;
        font-weight:700 !important;
        line-height:1.45;
        min-width:0;
    }
    .sy-title-text{ display:block; overflow-wrap:break-word; word-break:normal; }
    .sy-card:visited .sy-post-title{ color:#7c3aed !important; }

    .sy-badge-new{
        display:inline-block;
        background:#d55e00; /* Okabe-Ito vermillion — solid fill + white text keeps it
                               distinct from the light amber "Closing Soon" pill for
                               colour-blind readers */
        color:#fff !important;
        font-size:9px;
        font-weight:800;
        padding:2px 6px;
        border-radius:20px;
        letter-spacing:.4px;
        margin-left:6px;
        vertical-align:middle;
        line-height:1.5;
        animation:sy-badge-pulse 1.6s ease-in-out infinite;
    }
    .sy-badge-new.sy-new-pill{ display:none; margin-left:0; }
    /* NEW tag: always the same place - top-right corner of the card. The title keeps clear of it. */
    .sy-card{ position:relative; }
    .sy-badge-new.sy-new-corner{ position:absolute; top:8px; right:9px; margin:0; z-index:2; }
    .sy-has-new .sy-post-title{ padding-right:38px; }
    .sy-has-new .sy-card-arrow{ margin-top:22px; }   /* hover arrow sits below the NEW tag, not on it */
    @keyframes sy-badge-pulse{
        0%,100%{ box-shadow:0 0 0 0 rgba(213,94,0,.45); }
        50%{ box-shadow:0 0 0 5px rgba(213,94,0,0); }
    }

    .sy-meta{
        display:flex;
        align-items:center;
        flex-wrap:wrap;
        gap:6px 8px;
        min-width:0;
    }
    .sy-date{
        display:inline-flex;
        align-items:center;
        gap:5px;
        white-space:nowrap;
        color:#64748b !important;
        font-size:11.5px;
        font-weight:600;
    }
    .sy-date-val, .sy-date-label{ white-space:nowrap; }
    .sy-d-full{ display:none; }
    .sy-d-short{ display:inline; }
    .sy-tags{
        display:inline-flex;
        align-items:center;
        flex-wrap:wrap;
        gap:5px;
        min-width:0;
    }
    .sy-date-icon{ flex-shrink:0; opacity:.75; }

    /* ---- STATUS TAGS ----------------------------------------------------
       Colour-blind-safe palette (Okabe-Ito). Every pill also carries its own
       glyph and its own border weight, so the tags never rely on colour
       alone: ✓ Active Now, ⏱ Active Soon, 📅 Upcoming, ⌛ Closing Soon,
       ✕ Closed, ↻ Extended, ⏸ Postponed. The old red-vs-green pair (Closed
       vs Active) has been retired — Closed is now neutral slate, which stays
       clearly different from every other pill under deuteranopia,
       protanopia and tritanopia.
       -------------------------------------------------------------------- */
    .sy-tag{
        display:inline-flex;
        align-items:center;
        gap:4px;
        padding:2.5px 9px;
        border-radius:20px;
        font-size:9.5px;
        font-weight:800;
        letter-spacing:.3px;
        border:1px solid transparent;
        line-height:1.5;
        white-space:nowrap;
    }
    .sy-tag .epw-tag-ic{ font-size:9.5px; line-height:1; font-weight:700; }

    /* Closed — neutral slate, hard outline, ✕ */
    .sy-tag.sy-expired{ background:#eef1f5; color:#334155 !important; border-color:#c3ccd8; }
    /* Upcoming — indigo, 📅 */
    .sy-tag.sy-upcoming{
        background:#eef0ff; color:#4338ca !important; border-color:#a5b0f5;
    }
    /* Extended — teal, ↻ */
    .sy-tag.sy-extended{
        background:#e3f5f8; color:#0e6e7c !important; border-color:#7ccbd8;
    }
    /* Closing Soon — amber, ⌛, gentle pulse (urgency) */
    .sy-tag.sy-closing{
        background:#fff3e0; color:#a45b00 !important; border-color:#f3b95f;
        animation:sy-tag-pulse-amber 1.6s ease-in-out infinite;
    }
    /* Active Now — bluish green, ✓, gentle pulse (live) */
    .sy-tag.sy-active-now{
        background:#e6f6f1; color:#007a5e !important; border-color:#6fd3b8;
        animation:sy-tag-pulse-green 2s ease-in-out infinite;
    }
    /* Active Soon — sky blue, ⏱ (waiting for admin approval) */
    .sy-tag.sy-active-soon{
        background:#e3f1fb; color:#005f9e !important; border-color:#7fc0ea;
    }
    /* Postponed — purple, ⏸ */
    .sy-tag.sy-postponed{
        background:#f3edff; color:#6d28d9 !important; border-color:#c4a9f5;
    }
    @keyframes sy-tag-pulse-amber{
        0%,100%{ box-shadow:0 0 0 0 rgba(164,91,0,.28); }
        50%{ box-shadow:0 0 0 4px rgba(164,91,0,0); }
    }
    @keyframes sy-tag-pulse-green{
        0%,100%{ box-shadow:0 0 0 0 rgba(0,122,94,.28); }
        50%{ box-shadow:0 0 0 4px rgba(0,122,94,0); }
    }
    @media (prefers-reduced-motion:reduce){
        .sy-tag{ animation:none !important; }
        .sy-badge-new{ animation:none !important; }
    }

    .sy-post-expired .sy-post-title{ opacity:1; } /* only the "Closed" tag shows the state — title text stays full-strength, not dimmed */
    /* Closed cards keep the SAME background as every other card (#fff) —
       only the "Closed" tag itself should indicate the state. */

    .sy-dot.sy-dot-pinned{ background:#f59e0b; box-shadow:0 0 0 3px rgba(245,158,11,.22); }
    .sy-post-pinned .sy-card{ background:#fffbeb; border-color:#fbbf24; }

    .sy-card-arrow{
        flex-shrink:0;
        color:var(--sy-c2,#14b8a6);
        font-size:16px;
        margin-top:2px;
        opacity:0;
        transform:translateX(-6px);
        transition:opacity .3s ease, transform .3s ease;
    }
    .sy-card:hover .sy-card-arrow{ opacity:1; transform:translateX(0); }

    .sy-footer{
        padding:16px;
        text-align:center;
        background:#ffffff;
        border-top:1px solid #eef1f4;
        border-radius:0 0 18px 18px;
    }
    .sy-btn{
        position:relative;
        display:inline-flex;
        align-items:center;
        gap:8px;
        padding:11px 28px;
        overflow:hidden;
        color:var(--sy-c1,#0f766e) !important;
        text-decoration:none !important;
        border-radius:30px;
        font-size:13px;
        font-weight:700 !important;
        letter-spacing:.3px;
        border:1px solid #e2e8f0;
        border:1px solid color-mix(in srgb, var(--sy-c2,#14b8a6) 40%, #e2e8f0);
        background:#fff;
        transition:color .35s ease, border-color .35s ease;
        z-index:0;
    }
    .sy-btn::before{
        content:"";
        position:absolute;
        inset:0;
        background:linear-gradient(120deg, var(--sy-c1,#0f766e), var(--sy-c2,#14b8a6));
        transform:translateX(-101%);
        transition:transform .4s ease;
        z-index:-1;
    }
    .sy-btn:hover{ color:#fff !important; border-color:transparent; }
    .sy-btn:hover::before{ transform:translateX(0); }
    .sy-btn-arrow{ transition:transform .3s ease; }
    .sy-btn:hover .sy-btn-arrow{ transform:translateX(4px); }

    @media (max-width:768px){
        .sy-header-text{ font-size:17px; }
        .sy-header-count{ font-size:12px; }
        .sy-post-title{ font-size:15px; }
        .sy-date{ font-size:12.5px; }
        .sy-tag{ font-size:10.5px; }
        .sy-badge-new{ font-size:10px; }
        .sy-search-input{ font-size:15px; }
        .sy-btn{ font-size:14px; }
    }
    @media (max-width:480px){
        .sy-header-text{ font-size:16px; }
        .sy-post-title{ font-size:14.5px; }
        .sy-list{ padding-left:26px; }
        .sy-timeline-line{ left:17px; }
        .sy-dot{ left:-16px; }
    }
    