/* tiny helpers to complement your theme */
        .container {
            max-width: 1100px;
            margin: 2rem auto;
            padding: 0 1rem
        }

        .toolbar {
            display: flex;
            flex-wrap: wrap;
            gap: .6rem;
            align-items: center;
            justify-content: space-between;
            margin: 1rem 0
        }

        .chips {
            display: flex;
            flex-wrap: wrap;
            gap: .4rem
        }

        .chip {
            border: 1px solid rgba(230,201,101,.35);
            padding: .15rem .5rem;
            border-radius: 999px;
            font-size: .85rem
        }

        .story-hero {
            width: 100%;
            max-height: 380px;
            object-fit: cover;
            border-radius: 12px;
            border: 1px solid rgba(230,201,101,.25)
        }

        .entry-card {
            border: 1px solid rgba(230,201,101,.25);
            border-radius: 12px;
            background: rgba(0,0,0,.35);
            padding: 1rem
        }

        .entry-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
            gap: 1rem
        }

        .muted {
            opacity: .85
        }

        .meta {
            font-size: .9rem;
            opacity: .9
        }

        .tag {
            font-size: .8rem;
            opacity: .9;
            margin-left: .25rem
        }

        .badge {
            display: inline-block;
            border: 1px solid rgba(230,201,101,.35);
            padding: .1rem .5rem;
            border-radius: 999px;
            font-size: .8rem;
            margin-right: .35rem
        }

        details summary {
            cursor: pointer;
            list-style: none
        }

            details summary::-webkit-details-marker {
                display: none
            }

        .linklike {
            color: var(--gold);
            text-decoration: underline;
            cursor: pointer
        }
        /* simple overlay for full story */
        .story-modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,.7);
            z-index: 10001
        }

            .story-modal.show {
                display: flex
            }

        .story-panel {
            width: min(900px,95vw);
            max-height: 85vh;
            overflow: auto;
            background: rgba(0,0,0,.85);
            border: 1px solid rgba(230,201,101,.35);
            border-radius: 18px;
            padding: 1rem
        }

        .close-x {
            position: sticky;
            top: 0;
            float: right;
            background: none;
            border: 0;
            font-size: 1.4rem;
            color: #fff;
            cursor: pointer
        }

        .rss-link {
            font-size: .95rem
        }

        .pill {
            display: inline-block;
            border: 1px dashed #6ad1ff;
            color: #6ad1ff;
            padding: .2rem .5rem;
            border-radius: 8px;
            font-size: .8rem
        }

        .changelog h4 {
            margin: .6rem 0 .25rem
        }

        .changelog ul {
            margin: .2rem 0 0 1.1rem
        }

        #storyFull {
            white-space: pre-line;
        }