:root{--bg:#171125;--panel:#251b35;--line:#523963;--text:#fff0dc;--muted:#c9b7d5;--orange:#ffa251;--purple:#b58cde;color-scheme:dark}body.kids{background:radial-gradient(ellipse at 100% 45%,#44265566,transparent 38%),radial-gradient(ellipse at 0% 72%,#193c3d55,transparent 35%),#171125;color:#fff0dc}.kids .header{background:#181024f5;border-color:#4f335b55}.kids .brand{color:#ffe8c7}.kids .brand-sub{color:#cab0dc}.kids .brand-icon{background:#7845ad;color:#ffc876;box-shadow:0 4px 0 #46265f,0 0 25px #b273ef22}.kids .header nav a{color:#cdb6d8}.kids .header nav a[aria-current],.kids .header nav a:hover{color:#ffe6bd}.kids .header nav a[aria-current]:after{background:#ffb264}.kids .button{background:linear-gradient(180deg,#ffbb65,#f19143);color:#321c3c;box-shadow:0 5px 0 #ae552f,0 10px 25px #ff9b3522}.kids .button:hover{background:#ffc77d;box-shadow:0 8px 0 #ae552f,0 12px 35px #ffa93f33}.kids .button.outline{background:#332242;color:#f4dfef;border-color:#976daf;box-shadow:0 4px 0 #4a2c60}.kids .text-link{color:#e9bfed;border-color:#92689d}.kids .eyebrow{color:#ffb867}.kids-hero{background:#20152f}.candy-world{background-image:url('kids-world-night.png')}.kids-hero:before{background:linear-gradient(90deg,#1b112bf2 0%,#211331be 27%,#24132e20 60%,transparent 80%)}.kids-pill{background:#33203fe0;border-color:#724870;box-shadow:0 3px 0 #130d20;color:#ffd29a!important}.hero-copy h1{color:#fff0dc;text-shadow:0 4px 0 #462852}.hero-copy h1 em{color:#ffb05c;text-shadow:0 4px 0 #6b3c42}.hero-copy p{color:#e0c8e4}.parent-note{color:#c9accf}.speech{background:#392244;border-color:#a770b7;color:#ffe7b8;box-shadow:0 5px 0 #20132f}.ghost-buddy img{filter:drop-shadow(0 0 25px #b38cfb25)}.ghost-buddy:hover img{filter:drop-shadow(0 0 32px #ffd58255)}.sticker{background:#374b45;outline-color:#374b45;border-color:#98b886;color:#e0f3b8}.hero-spark{color:#cba0ef}.spark-two{color:#ffb75e}.wave{background:#171125}.kids-pumpkins{filter:drop-shadow(0 0 23px #ff9d342a)}.fun-ribbon{background:#63368d;color:#ffe7ba;box-shadow:0 5px 0 #2c193d}.kids .map-app{background:#22192e;border-color:#755280;box-shadow:0 8px 0 #110b1b,0 20px 50px #0003}.kids .map-sidebar{background:#271c35}.kids .map-sidebar h3{color:#f8deec}.kids .map-sidebar .eyebrow{color:#c8abcf}.kids .search{background:#1b1327;border-color:#624673}.kids .search input{color:#fff0df}.kids .search input::placeholder{color:#b49cbe}.kids .filters button{border-color:#78518b;color:#dcbce9}.kids .filters button.active{background:#a076d1;border-color:#c39de9;color:#fff}.kids .place-card{border-color:#483052}.kids .place-card.selected,.kids .place-card:hover{background:#44294f}.kids .place-card.selected{box-shadow:inset 3px 0 #ffb15b}.kids .place-card .place-icon{background:#5b3547;color:#ffba6b}.kids .place-card strong{color:#ffe4cf}.kids .place-card small{color:#c7afcf}.kids .map-canvas{background:#292338}.kids .map-title{color:#eed2ed;text-shadow:0 1px 4px #171020}.kids .map-title span{color:#c3a8ca}.kids .map-detail{background:#24172fef;color:#ffe1bc;border-color:#a67686;box-shadow:0 7px 0 #100a1b44}.kids .map-detail span{color:#d9bddc}.kids .map-detail .detail-time{color:#ffbe73}.kids .map-key{background:#24182eea}.kids .map-key span:first-child{color:#ffbf7c}.kids .map-key span:last-child{color:#d7aff5}.kids .marker{background:#ffa650;border-color:#ffe2a4;color:#753c22;box-shadow:0 5px 0 #9b4d33,0 0 22px #ffb35d35}.kids .marker.event{background:#c49af0;border-color:#e7cff9;color:#603784;box-shadow:0 5px 0 #67438c,0 0 20px #c084eb35}.kids .map-zoom{border-color:#7b558b;box-shadow:0 3px 0 #21112d}.kids .map-zoom button{background:#34223f;color:#efd3f4;border-color:#674373}.kids .map-zoom button:hover{background:#613c77}.play-card{border-color:#755176;box-shadow:0 7px 0 #100b1a}.peach{background:linear-gradient(140deg,#533144,#302035)}.mint{background:linear-gradient(140deg,#294641,#1e2b32)}.lilac{background:linear-gradient(140deg,#4b3064,#2c1d40)}.play-card span{background:#1a102844;color:#ffbc79}.mint span{color:#aed6bb}.lilac span{color:#d4a4f0}.kids .play-card h3{color:#ffe9d3}.play-card p{color:#d7bedb}.play-card b{color:#e7c8ef;border-color:#9466a5}.play-card img{filter:drop-shadow(0 10px 13px #07041044)}.kids .steps article{background:#2b1d38;border-color:#755179}.kids .steps article:nth-child(2){background:#3b283a;border-color:#aa7058}.kids .steps h3{color:#ffe5ca}.kids .step-no{color:#ffb569}.kids .steps p{color:#cfb5d9}.kids .invite-art{background:radial-gradient(ellipse,#8055a044 0%,#54357322 55%,transparent 72%)}.kids .invite-art img{filter:drop-shadow(0 15px 24px #0b041c55)}.kids details{border-color:#55355f}.kids summary{color:#edd5ed}.kids summary:after{color:#ffb967}.kids details p{color:#cfb5d7}.kids footer{border-color:#5d3d68}.kids .footer-bottom{border-color:#452e51;color:#bda0c7}.kids .footer-bottom a{color:#e4bcef}.kids .footer-links{color:#d9b7e5}.kids .subhero h1,.kids .faq-page h1{color:#ffe8d4}.kids .subhero img{background:radial-gradient(ellipse,#71439a44,transparent 70%);filter:drop-shadow(0 15px 30px #c186df22)}.kids .principles h2{color:#f3d9f0}.kids .rules article{border-color:#583961}.kids .rules article>span{color:#ffc582}.kids .bottom-cta{background:radial-gradient(ellipse at bottom,#663a7866,transparent 72%)}.kids .faq-end{background:#3d284f;border-color:#7d5694}.motion-toggle{background:#32203ff2;border-color:#90679f;color:#f4ddf2;box-shadow:0 3px 0 #120b1d}.greeting{background:#714097;color:#fff0d7;box-shadow:0 6px 0 #34203f}@media(max-width:760px){.kids .menu{background:#392449;color:#f4d8fb;border-color:#7c558e}.kids .header nav{background:#2c1b3bf5;border-color:#7b518b;box-shadow:0 8px 0 #130a2155}.kids-hero:before{background:linear-gradient(180deg,#20152f 0%,#20152f 34%,#20152f88 55%,transparent 74%)}}
.header-cta-group{display:flex;align-items:center;gap:12px}
.header-cta-group .header-cta{font-size:15px!important;font-weight:800!important;line-height:1.2!important;padding:11px 20px!important;border-radius:25px!important;letter-spacing:-0.2px;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;text-decoration:none!important;cursor:pointer;border:none!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important}
.header-cta-group .header-cta:not(.header-cta-event){background:linear-gradient(180deg,#ffbb65,#f19143)!important;color:#321c3c!important;box-shadow:0 5px 0 #ae552f,0 8px 20px rgba(255,155,53,.25)!important}
.header-cta-group .header-cta:not(.header-cta-event):hover{background:#ffc77d!important;transform:translateY(-2px)!important;box-shadow:0 7px 0 #ae552f,0 12px 28px rgba(255,169,63,.35)!important}
.header-cta-group .header-cta:not(.header-cta-event):active{transform:translateY(3px)!important;box-shadow:0 2px 0 #ae552f,0 4px 10px rgba(255,155,53,.2)!important}
.header-cta-group .header-cta.header-cta-event{background:linear-gradient(180deg,#7c42b2,#602996)!important;color:#fff!important;box-shadow:0 5px 0 #3e1864,0 8px 20px rgba(96,41,150,.35)!important}
.header-cta-group .header-cta.header-cta-event:hover{background:linear-gradient(180deg,#8f4ecd,#6e32aa)!important;transform:translateY(-2px)!important;box-shadow:0 7px 0 #3e1864,0 12px 28px rgba(110,50,170,.45)!important}
.header-cta-group .header-cta.header-cta-event:active{transform:translateY(3px)!important;box-shadow:0 2px 0 #3e1864,0 4px 10px rgba(96,41,150,.25)!important}
@media(max-width:1100px){.header-cta-group{display:none!important}}

/* Nowy układ stopki: Logo | Menu w 2 kolumnach | Social media po prawej */
footer,
.kids footer,
.site-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 60px 0 0 !important;
    background: linear-gradient(180deg, #1b112c 0%, #10081d 100%) !important;
    border-top: 1px solid #4a2f5a !important;
    box-shadow: inset 0 1px 0 rgba(255, 187, 101, 0.12), 0 -12px 35px rgba(0, 0, 0, 0.3) !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 45px 24px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.footer-main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 35px !important;
    width: 100% !important;
}

/* Kolumna 1: Brand */
.footer-brand-wrap {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    display: flex;
    flex-direction: column;
}
.footer-brand {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    align-self: flex-start;
}
.footer-brand:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}
.footer-logo-img {
    height: 52px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}
.footer-slogan {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: var(--muted, #c9b7d5) !important;
    margin: 12px 0 0 !important;
}

/* Kolumna 2: Menu w 2 kolumnach */
.footer-nav-wrap {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
}
.footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(130px, 1fr)) !important;
    column-gap: 32px !important;
    row-gap: 10px !important;
    width: auto !important;
}
.footer-links-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.footer-links-col a,
.footer-links a {
    color: var(--muted, #c9b7d5) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}
.footer-links-col a:hover,
.footer-links a:hover {
    color: var(--orange, #ffa251) !important;
    transform: translateX(3px) !important;
}

/* Kolumna 3: Social media po prawej stronie */
.footer-social-wrap {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    text-align: right !important;
    gap: 12px !important;
    min-width: 160px !important;
}
.footer-social-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--text, #fff0dc) !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
}
.footer-social-icons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}

/* Dolny pasek */
.footer-bottom {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: var(--muted, #c9b7d5) !important;
    font-size: 11.5px !important;
    border-top: 1px solid rgba(82, 57, 99, 0.4) !important;
    padding-top: 20px !important;
    margin-top: 5px !important;
}

/* Responsywność */
@media (max-width: 960px) {
    .footer-main {
        flex-wrap: wrap !important;
        gap: 30px !important;
    }
    .footer-brand-wrap {
        flex: 1 1 280px !important;
        max-width: 100% !important;
    }
    .footer-nav-wrap {
        flex: 1 1 auto !important;
        justify-content: flex-start !important;
    }
    .footer-social-wrap {
        flex: 1 1 100% !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding-top: 15px !important;
        border-top: 1px solid rgba(82, 57, 99, 0.25) !important;
        width: 100% !important;
    }
    .footer-social-icons {
        justify-content: flex-start !important;
    }
}

@media (max-width: 640px) {
    .footer-container {
        padding: 32px 18px 20px !important;
        gap: 24px !important;
    }
    .footer-main {
        flex-direction: column !important;
        gap: 24px !important;
    }
    .footer-brand-wrap {
        flex: 0 0 auto !important;
        max-width: 100% !important;
    }
    .footer-logo-img {
        height: 46px !important;
        max-width: 180px !important;
    }
    .footer-nav-wrap {
        justify-content: flex-start !important;
        width: 100% !important;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 18px !important;
        row-gap: 10px !important;
        width: 100% !important;
    }
    .footer-links-col a,
    .footer-links a {
        white-space: normal !important;
    }
    .footer-social-wrap {
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: flex-start !important;
    }
}

/* ==============================================================
   PRZYCISK SPRZECIWU I KÓŁECZKO INFORMACYJNE NA MAPIE
   ============================================================== */
.btn-report-action {
    transition: color 0.2s ease;
}
.btn-report-action:hover {
    color: #ff8595 !important;
}
.btn-report-info-toggle {
    transition: all 0.2s ease;
}
.btn-report-info-toggle:hover {
    background: rgba(255, 121, 63, 0.3) !important;
    border-color: #ff793f !important;
    color: #fff !important;
    transform: scale(1.12);
}
#report-info-card {
    animation: fadeInReport 0.22s ease-out;
}
@keyframes fadeInReport {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================================================
   BADGE BETA DLA MENU GRY I ZABAWY
   ============================================================== */
.kids .header nav a[href*="/gry"],
.header nav a[href*="/gry"] {
    position: relative;
    display: inline-block;
    text-align: center;
}
.header nav a[href*="/gry"][aria-current]:after {
    margin: 4px auto 0 auto;
}
.badge-menu-beta {
    display: inline-block;
    position: absolute;
    top: -8px;
    right: -13px;
    background: linear-gradient(135deg, #ff7518 0%, #e74c3c 100%);
    color: #ffffff !important;
    font-size: 8.5px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    padding: 2px 5px !important;
    border-radius: 5px;
    transform: rotate(12deg);
    letter-spacing: 0.6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 0 8px rgba(255, 117, 24, 0.7);
    border: 1px solid #ffd074;
    pointer-events: none;
    text-transform: uppercase;
    z-index: 10;
    white-space: nowrap;
}
@media (max-width: 768px) {
    /* Przycisk Burger Menu - wyraźny i świecący w motywie Halloween Night */
    .kids .menu,
    .menu {
        background: rgba(45, 24, 70, 0.95) !important;
        border: 1.5px solid rgba(255, 117, 24, 0.7) !important;
        color: #ff9d5c !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 117, 24, 0.3) !important;
        cursor: pointer !important;
    }
    .kids .menu:active,
    .menu:active {
        transform: scale(0.94) !important;
        background: rgba(65, 34, 98, 0.98) !important;
    }

    /* Rozwijane menu w motywie nocnym */
    .kids .header nav,
    .header nav {
        background: rgba(28, 18, 42, 0.98) !important;
        border: 2px solid rgba(142, 68, 173, 0.6) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 117, 24, 0.2) !important;
    }
    .kids .header nav a,
    .header nav a {
        color: #fff1e0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        padding: 8px 12px !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        transition: background 0.18s ease, color 0.18s ease !important;
    }
    .kids .header nav a:hover,
    .header nav a:hover,
    .kids .header nav a[aria-current],
    .header nav a[aria-current] {
        color: #ffd074 !important;
        background: rgba(255, 117, 24, 0.15) !important;
    }

    .kids .header nav a[href*="/gry"],
    .header nav a[href*="/gry"] {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
    }
    .header nav a[href*="/gry"][aria-current]:after {
        width: 18px !important;
        margin: 4px 0 0 0 !important;
        flex-basis: 100% !important;
    }
    .badge-menu-beta {
        position: static !important;
        transform: rotate(0deg) !important;
        margin-left: 8px !important;
        align-self: center !important;
    }
}

/* ==============================================================
   KOLOROWE DYPLOMY I CERTYFIKATY HALLOWEEN (SPÓJNE ZE STRONĄ)
   ============================================================== */
.diploma-certificate-sheet {
    background: radial-gradient(ellipse at 50% 20%, #301a47 0%, #1c102c 50%, #12091e 100%) !important;
    color: #fff0dc !important;
    font-family: 'Trebuchet MS', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    border: 8px solid #ff7518 !important;
    outline: 3px solid #ffd074 !important;
    outline-offset: -14px !important;
    border-radius: 22px !important;
    padding: 36px 32px 30px !important;
    text-align: center !important;
    position: relative !important;
    max-width: 820px !important;
    margin: 25px auto !important;
    box-shadow: 0 0 35px rgba(255, 117, 24, 0.35), 0 20px 50px rgba(0, 0, 0, 0.7) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
    overflow: hidden;
}

/* Narożne ozdobniki */
.diploma-corner {
    position: absolute;
    font-size: 26px;
    color: #ffa251;
    text-shadow: 0 0 10px rgba(255, 162, 81, 0.6);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.diploma-corner.tl { top: 20px; left: 22px; }
.diploma-corner.tr { top: 20px; right: 22px; }
.diploma-corner.bl { bottom: 20px; left: 22px; }
.diploma-corner.br { bottom: 20px; right: 22px; }

/* Subtelny znak wodny w tle */
.diploma-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 260px;
    opacity: 0.07;
    color: #b58cde;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.diploma-inner {
    position: relative;
    z-index: 1;
}

.diploma-main-logo {
    max-width: 210px;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 0 18px rgba(255, 162, 81, 0.45));
    margin-bottom: 6px;
}

.diploma-star-crest {
    color: #ffd074;
    text-shadow: 0 0 8px rgba(255, 208, 116, 0.6);
    font-size: 18px;
    letter-spacing: 5px;
    margin-bottom: 6px;
}

.diploma-super-header {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #ffa251;
    margin-bottom: 6px;
}

.diploma-grand-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff0dc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
    text-shadow: 0 4px 0 #462852, 0 0 25px rgba(255, 117, 24, 0.45);
}

.diploma-subtitle-bar {
    font-size: 14.5px;
    font-weight: 700;
    color: #cfb5d9;
    margin: 0 0 16px;
}

.diploma-recipient-label {
    font-size: 13px;
    font-weight: 800;
    color: #ffd29a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.diploma-recipient-ribbon {
    background: linear-gradient(135deg, #361c47 0%, #251233 100%);
    border: 2px solid #ff7518;
    box-shadow: 0 5px 0 #13091c, 0 0 20px rgba(255, 117, 24, 0.3);
    border-radius: 18px;
    padding: 8px 30px;
    display: inline-block;
    margin: 4px auto 16px;
}

.diploma-recipient-name {
    font-size: 28px;
    font-weight: 900;
    color: #ffe6bd;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 0 #20132f, 0 0 15px rgba(255, 187, 101, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.diploma-description-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #e0c8e4;
    max-width: 600px;
    margin: 0 auto 18px;
    font-weight: 500;
}

/* 3 Kolorowe Medale w stylu kart ze strony */
.diploma-medals-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 16px auto 22px;
    flex-wrap: wrap;
}

.diploma-medal-card {
    border-radius: 16px;
    padding: 10px 16px;
    min-width: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition: transform 0.2s;
}

.diploma-medal-card.card-peach {
    background: linear-gradient(140deg, #4b263e 0%, #291629 100%);
    border: 2px solid #ff9b35;
    box-shadow: 0 4px 0 #12091c;
}
.diploma-medal-card.card-peach .medal-label { color: #ffe6bd; }
.diploma-medal-card.card-peach .medal-sub { color: #d7bedb; }

.diploma-medal-card.card-lilac {
    background: linear-gradient(140deg, #442459 0%, #251433 100%);
    border: 2px solid #b58cde;
    box-shadow: 0 4px 0 #12091c;
}
.diploma-medal-card.card-lilac .medal-label { color: #ffd29a; }
.diploma-medal-card.card-lilac .medal-sub { color: #d7bedb; }

.diploma-medal-card.card-mint {
    background: linear-gradient(140deg, #23403a 0%, #162624 100%);
    border: 2px solid #5ab39c;
    box-shadow: 0 4px 0 #12091c;
}
.diploma-medal-card.card-mint .medal-label { color: #aed6bb; }
.diploma-medal-card.card-mint .medal-sub { color: #cfe3d7; }

.diploma-medal-card .medal-icon {
    font-size: 28px;
}

.diploma-medal-card .medal-label {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.diploma-medal-card .medal-sub {
    font-size: 10px;
    font-weight: 600;
}

/* Stopka Dyplomu: Pieczęć i Podpisy */
.diploma-official-footer {
    border-top: 1px dashed #5d3d68;
    padding-top: 16px;
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.diploma-footer-col {
    font-size: 12.5px;
    color: #cfb5d9;
    line-height: 1.45;
}

.diploma-gold-seal {
    width: 78px;
    height: 78px;
    background: radial-gradient(circle, #ffb15b 0%, #d35400 100%);
    border: 3px solid #ffe2a4;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #321c3c;
    box-shadow: 0 0 20px rgba(255, 162, 81, 0.55), 0 4px 0 #5c2600;
    margin: 0 auto;
    position: relative;
    user-select: none;
}

.diploma-gold-seal .seal-pumpkin {
    font-size: 24px;
    line-height: 1;
}

.diploma-gold-seal .seal-text {
    font-size: 8.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #321c3c;
    margin-top: 2px;
}

.diploma-signature-script {
    font-family: "Brush Script MT", "Caveat", "Segoe Script", cursive;
    font-size: 22px;
    color: #ffb75e;
    margin-top: 3px;
    text-shadow: 0 0 8px rgba(255, 183, 94, 0.4);
}

.diploma-actions-bar {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-print-diploma-gold {
    background: linear-gradient(180deg, #ffbb65 0%, #f19143 100%);
    color: #321c3c;
    border: none;
    font-weight: 800;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 5px 0 #ae552f, 0 10px 25px rgba(255, 155, 53, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-print-diploma-gold:hover {
    background: #ffc77d;
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #ae552f, 0 14px 30px rgba(255, 169, 63, 0.45);
}

/* REGUŁY DRUKU DLA DOKŁADNEGO A4 W PEŁNYM HALLOWEENOWYM KOLORZE */
@page {
    size: A4 portrait;
    margin: 8mm;
}

@media print {
    html, body {
        background: #171125 !important;
        color: #fff0dc !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    body * {
        visibility: hidden !important;
    }
    .diploma-certificate-sheet,
    .diploma-certificate-sheet * {
        visibility: visible !important;
    }
    .diploma-certificate-sheet {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 26px 24px !important;
        box-shadow: none !important;
        border: 8px solid #ff7518 !important;
        outline: 3px solid #ffd074 !important;
        outline-offset: -12px !important;
        background: radial-gradient(ellipse at 50% 20%, #301a47 0%, #1c102c 50%, #12091e 100%) !important;
        color: #fff0dc !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    .diploma-actions-bar,
    .sm-post-export-card,
    .btn-print-diploma-gold,
    .site-header,
    .site-footer,
    .preview-controls-bar {
        display: none !important;
    }
}



