﻿:root{--bg:#1d1208;--panel:#f3dfb5;--paper:#fff4d6;--ink:#2b180a;--muted:#765531;--beer:#d88b1a;--beer2:#f0bd43;--dark:#2b1708;--red:#8d2d18;--ok:#326c2e;--line:rgba(43,24,10,.18);--shadow:0 16px 45px rgba(0,0,0,.28)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at top,#6f3d12 0,#2c1809 45%,#120b05 100%);color:var(--ink)}button,input,textarea{font:inherit}.app-shell{min-height:100dvh;display:flex;align-items:stretch;justify-content:center;padding:16px}.phone{width:min(100%,560px);background:linear-gradient(180deg,#fff7df,#e8c891);border:1px solid rgba(255,255,255,.25);border-radius:28px;box-shadow:var(--shadow);overflow:hidden;position:relative}.topbar{position:sticky;top:0;z-index:10;background:rgba(51,29,10,.92);color:#fff3ce;backdrop-filter:blur(12px);padding:12px 16px;display:flex;gap:10px;align-items:center;justify-content:space-between}.brand{display:flex;flex-direction:column;line-height:1.15}.brand b{font-size:18px}.brand span{font-size:12px;color:#e5c389}.icon-btn{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff3ce;border-radius:14px;padding:9px 11px;cursor:pointer}.content{padding:18px 16px 28px}.hero{padding:26px 18px 20px;background:linear-gradient(145deg,rgba(255,247,218,.92),rgba(225,178,93,.85)),repeating-linear-gradient(45deg,rgba(111,61,18,.06),rgba(111,61,18,.06) 4px,transparent 4px,transparent 9px);border-radius:24px;border:1px solid var(--line);box-shadow:0 10px 20px rgba(80,45,13,.12)}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;margin:0 0 10px;color:#3b210c}h1{font-size:34px;line-height:1.05}h2{font-size:26px}h3{font-size:20px}.lead{font-size:17px;line-height:1.55}.muted{color:var(--muted)}.small{font-size:13px}.card{background:rgba(255,248,224,.82);border:1px solid var(--line);border-radius:20px;padding:15px;margin:13px 0;box-shadow:0 8px 20px rgba(72,40,13,.08)}.grid{display:grid;gap:10px}.two{grid-template-columns:1fr 1fr}@media(max-width:420px){.two{grid-template-columns:1fr}}.btn{width:100%;border:0;border-radius:16px;padding:14px 16px;cursor:pointer;background:#6f3d12;color:#fff5d6;font-weight:800;box-shadow:0 8px 16px rgba(45,24,8,.22);transition:.15s transform,.15s filter}.btn:active{transform:translateY(1px)}.btn.secondary{background:#ead19a;color:#3d230d;border:1px solid var(--line);box-shadow:none}.btn.ghost{background:transparent;color:#4a2a0e;border:1px solid rgba(74,42,14,.25);box-shadow:none}.btn.danger{background:#862d18}.btn.ok{background:#34722e}.btn[disabled]{opacity:.55;cursor:not-allowed}input[type=text],input[type=password]{width:100%;border:1px solid rgba(64,35,10,.25);border-radius:15px;padding:14px 14px;background:#fffaf0;color:var(--ink);outline:none}label.check{display:flex;gap:10px;align-items:flex-start;line-height:1.35}.progress-wrap{padding:12px 14px;background:rgba(255,255,255,.35);border-radius:18px;border:1px solid var(--line);margin:14px 0}.beer-glass{height:42px;border:3px solid rgba(83,48,15,.55);border-top-width:6px;border-radius:7px 7px 14px 14px;position:relative;overflow:hidden;background:rgba(255,255,255,.45)}.beer-fill{position:absolute;left:0;bottom:0;height:0;width:100%;background:linear-gradient(180deg,var(--beer2),var(--beer));transition:height .7s ease}.beer-foam{position:absolute;left:0;right:0;top:0;height:10px;background:rgba(255,255,255,.75)}.station-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:rgba(111,61,18,.12);padding:7px 10px;font-weight:700;color:#4d2b0f}.video-box{background:#160d06;border-radius:18px;overflow:hidden;margin:12px 0;border:1px solid rgba(255,255,255,.25)}video{display:block;width:100%;max-height:55dvh;background:#000}.media-note{color:#f6d39a;background:rgba(0,0,0,.34);padding:8px 10px;font-size:13px}.accordion{border:1px solid var(--line);border-radius:17px;overflow:hidden;margin:10px 0;background:rgba(255,250,238,.72)}.acc-head{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;background:rgba(111,61,18,.1);border:0;padding:13px 14px;font-weight:850;color:#3d230d;cursor:pointer}.acc-body{display:none;padding:14px;line-height:1.55;white-space:pre-wrap}.accordion.open .acc-body{display:block}.code-row{display:flex;gap:8px}.code-row input{text-transform:uppercase;letter-spacing:.08em}.success{border-color:rgba(50,108,46,.3);background:rgba(220,245,210,.75)}.error{border-color:rgba(141,45,24,.32);background:rgba(255,230,220,.75)}.modal-back{position:fixed;inset:0;z-index:99;background:rgba(0,0,0,.55);display:flex;align-items:flex-end;justify-content:center;padding:12px}.modal{width:min(100%,560px);max-height:85dvh;overflow:auto;background:#fff3cf;border-radius:24px;padding:18px;box-shadow:var(--shadow)}.toast{position:fixed;z-index:120;left:50%;bottom:18px;transform:translateX(-50%) translateY(120px);background:#2a1708;color:#fff4d2;border-radius:16px;padding:12px 14px;width:min(calc(100% - 32px),520px);box-shadow:var(--shadow);transition:.25s}.toast.show{transform:translateX(-50%) translateY(0)}.menu-list{display:grid;gap:8px}.map-list{display:grid;gap:8px}.map-item{display:flex;gap:10px;align-items:center;background:rgba(255,255,255,.42);border:1px solid var(--line);border-radius:15px;padding:10px}.num{width:32px;height:32px;border-radius:50%;background:#6f3d12;color:#fff4d2;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.num.done{background:var(--ok)}.footer-actions{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(232,200,145,0),rgba(232,200,145,.95) 30%);padding-top:22px}.timer{font-variant-numeric:tabular-nums}.cert{background:#fff8dc;border:8px double #6f3d12;border-radius:22px;padding:24px;text-align:center}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{border-bottom:1px solid var(--line);padding:8px;text-align:left}.shake{animation:shake .35s}@keyframes shake{20%{transform:translateX(-5px)}40%{transform:translateX(5px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}.wow{animation:wow .7s ease}@keyframes wow{0%{transform:scale(.98);filter:saturate(1)}45%{transform:scale(1.025);filter:saturate(1.6)}100%{transform:scale(1);filter:saturate(1)}}@media print{body{background:#fff}.app-shell{padding:0}.phone{box-shadow:none;border:0}.topbar,.footer-actions,.no-print{display:none!important}}
.success-card{text-align:center}.success-card h2{font-size:28px}.success-progress{margin:14px 0 18px}.success-fill{animation:beerRise .9s ease both}@keyframes beerRise{from{height:var(--from)}to{height:var(--to)}}

/* BeerProgress – dynamický pivní progress bez textu "Dokončeno" */
.station-head.compact{align-items:center;background:rgba(255,248,224,.72);border:1px solid var(--line);border-radius:18px;padding:9px 10px 9px 12px;box-shadow:0 5px 14px rgba(74,42,14,.08)}
.station-title-line{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.station-title-text{font-family:Georgia,'Times New Roman',serif;font-size:18px;font-weight:900;line-height:1.15;color:#3b210c}.station-head.compact .danger{flex:0 0 auto}
.beer-progress{--beer-scale:0;--beer-from-scale:0;--beer-foam-opacity:0;display:inline-grid;place-items:center;flex:0 0 auto;filter:drop-shadow(0 3px 4px rgba(63,35,10,.2))}
.beer-small{width:38px;height:48px}.beer-large{width:min(44vw,168px);height:auto;margin:4px auto 2px;filter:drop-shadow(0 10px 18px rgba(63,35,10,.28))}.beer-svg{width:100%;height:100%;display:block;overflow:visible}
.beer-handle-fill{fill:rgba(255,255,255,.28);stroke:rgba(255,255,255,.7);stroke-width:1.1}.beer-handle-line{fill:none;stroke:rgba(50,32,18,.62);stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round}
.beer-glass-bg{fill:rgba(255,255,255,.26);stroke:rgba(255,255,255,.48);stroke-width:1}.beer-glass-overlay{fill:rgba(255,255,255,.16)}
.beer-outline{fill:none;stroke:rgba(38,23,11,.76);stroke-width:3.5;stroke-linejoin:round}.beer-glass-shine{fill:none;stroke:rgba(255,255,255,.86);stroke-width:3.4;stroke-linecap:round;opacity:.9}.beer-glass-shine.right{opacity:.42;stroke-width:2.1}
.beer-base{fill:rgba(255,255,255,.28);stroke:rgba(38,23,11,.4);stroke-width:1.6}.beer-liquid,.beer-liquid-shine,.beer-bubbles{transform-box:fill-box;transform-origin:center bottom;transform:scaleY(var(--beer-scale))}.beer-liquid{opacity:.97}.beer-liquid-shine{fill:rgba(255,255,255,.22);mix-blend-mode:screen}.beer-head,.beer-surface{transform-box:fill-box;transform-origin:center center;transform:translateY(var(--beer-foam-y));opacity:var(--beer-foam-opacity)}.beer-head{fill:rgba(255,255,255,.78)}.beer-surface{fill:rgba(255,255,255,.55)}.beer-bubbles{fill:rgba(255,255,255,.67);opacity:.52}
.beer-small .beer-bubbles{display:none}.beer-small .beer-head{height:11px}.beer-small .beer-outline{stroke-width:4.2}.beer-small .beer-handle-line{stroke-width:4.8}.beer-small .beer-glass-shine{stroke-width:4}.beer-full .beer-head{fill:rgba(255,255,255,.88);opacity:.95}.beer-full .beer-surface{opacity:.8}
.beer-animated .beer-liquid,.beer-animated .beer-liquid-shine{animation:beerLiquidRise 2.65s cubic-bezier(.22,.9,.22,1) both}.beer-animated .beer-head,.beer-animated .beer-surface{animation:beerFoamRise 2.65s cubic-bezier(.22,.9,.22,1) both}.beer-animated .beer-bubbles{animation:beerBubblesRise 2.65s cubic-bezier(.22,.9,.22,1) both, beerBubbleFloat 1.1s ease-in-out 2.2}.success-progress{margin:15px auto 18px;display:flex;justify-content:center;align-items:center;min-height:178px}.success-card{text-align:center}.success-card h2{font-size:28px}.success-card h3{margin-top:4px}
@keyframes beerLiquidRise{from{transform:scaleY(var(--beer-from-scale))}to{transform:scaleY(var(--beer-scale))}}@keyframes beerFoamRise{from{transform:translateY(var(--beer-foam-from-y))}to{transform:translateY(var(--beer-foam-y))}}@keyframes beerBubblesRise{from{transform:scaleY(var(--beer-from-scale))}to{transform:scaleY(var(--beer-scale))}}@keyframes beerBubbleFloat{0%,100%{opacity:.5;transform:scaleY(var(--beer-scale)) translateY(0)}50%{opacity:.85;transform:scaleY(var(--beer-scale)) translateY(-6px)}}
@media(max-width:420px){.station-title-text{font-size:17px}.beer-small{width:34px;height:43px}.station-head.compact{padding:9px 9px 9px 11px}.icon-btn.danger{padding:8px 9px}.beer-large{width:min(46vw,150px)}}

/* Úvodní obrazovka – finální název hry */
.start-visual{width:min(100%, 500px);margin:0 auto 12px;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.32);background:#2b1708;box-shadow:0 10px 20px rgba(72,40,13,.14)}
.start-visual img{display:block;width:100%;height:auto;object-fit:contain;object-position:center center}
.hero-intro{text-align:left;padding:28px 19px 22px}
.hero-intro h1{font-size:38px;letter-spacing:.01em;margin-bottom:8px}
.hero-subtitle{font-family:Georgia,'Times New Roman',serif;font-size:18px;font-weight:700;color:#5b3512;margin:0 0 16px;line-height:1.35}
.hero-intro .lead{margin:0;max-width:34em}
@media(max-width:420px){.hero-intro h1{font-size:32px}.hero-subtitle{font-size:16px}.hero-intro{padding:24px 16px 20px}.start-visual{margin-bottom:10px;border-radius:16px}}

/* Úvodní obrazovka – Použití polohy */
.location-accordion{background:rgba(255,250,238,.72)}
.location-body{white-space:normal;background:rgba(255,248,224,.82)}
.location-body p{font-size:15px;line-height:1.35;margin:0;color:#2b180a}
.location-actions{padding:14px;background:rgba(255,250,238,.72);border-top:1px solid var(--line)}
.location-actions .btn{margin-top:0}
.text-link{appearance:none;border:0;background:transparent;color:#6f3d12;text-decoration:underline;text-underline-offset:3px;box-shadow:none;width:auto;display:block;margin:12px auto 0;padding:4px 8px;font-weight:700;font-size:13px;cursor:pointer}
.text-link:active{transform:translateY(1px)}
.location-skip{opacity:.78}
.location-skip:hover{opacity:1}


/* Zastávky – statický obrázek místo videa */
.station-image-wrap{margin:12px 0 10px;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.38);background:#2b1708;box-shadow:0 10px 20px rgba(72,40,13,.13)}
.station-image{display:block;width:100%;height:auto;max-height:52dvh;object-fit:cover;background:#2b1708}
.intro-audio-btn{margin:10px 0 10px}
@media(max-width:420px){.station-image{max-height:48dvh}.intro-audio-btn{margin-top:9px}}

.intro-accordion{margin-top:10px}
.intro-player{display:block;width:100%;margin:0 0 12px}
.intro-transcript{margin-top:10px;padding-top:10px;border-top:1px solid var(--line);line-height:1.55}

/* Obrázky v nápovědách */
.hint-image-wrap{margin:12px 0;border-radius:14px;overflow:hidden;background:var(--paper);border:1px solid var(--line);box-shadow:0 6px 14px rgba(72,40,13,.08)}
.hint-image{display:block;width:100%;height:auto;background:var(--paper)}

/* Zastávka 8 – vyplnit rámeček bez černých okrajů, ale držet postavu dole */
.station-08-wrap{background:var(--paper)}
.station-08-image{display:block;width:100%;height:auto;max-height:none;object-fit:cover;object-position:center bottom;background:var(--paper)}
.hint-image-75{width:25%;max-width:25%;margin:0 auto}
.hint-image-wrap-small-symbol{display:flex;justify-content:center;align-items:center;background:transparent;border:none;box-shadow:none}
.hint-image-small-symbol{width:36px;max-width:12%;margin:0 auto;background:transparent}
@media(max-width:420px){.station-08-image{max-height:66dvh}}

.hint-image-wrap-transparent{background:transparent;border:none;box-shadow:none}
.hint-image-transparent-bg{background:transparent}
.hint-icon-list{display:grid;gap:8px;margin:8px 0}
.hint-icon-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid rgba(43,24,10,.08)}
.hint-icon-item:last-child{border-bottom:0}
.hint-inline-icon{width:34px;height:34px;object-fit:contain;flex:0 0 auto}
.solution-image-wrap{background:var(--paper);padding:8px}
.solution-image{max-width:760px;margin:0 auto}

.text-para{margin:0 0 0.85em 0;line-height:1.58}
.text-para:last-child{margin-bottom:0}

.intro-image-title{margin-top:14px;font-weight:700;text-align:left}
.intro-image-wrap{margin:10px auto 0;display:flex;justify-content:center;background:transparent;border:none;box-shadow:none}
.intro-inline-image{display:block;width:min(100%,320px);max-width:78%;height:auto;border-radius:12px}


.admin-card{background:rgba(255,248,224,.65);border:1px solid var(--line);border-radius:18px;padding:12px;margin:12px 0}
.admin-card h3{margin-top:0}
.admin-subcard{background:rgba(255,255,255,.36);border:1px solid var(--line);border-radius:14px;padding:10px;margin:8px 0}
.admin-subcard ul{margin:8px 0 0 20px;padding:0}
.admin-actions{margin-bottom:10px}
.admin-export{margin-top:10px;opacity:.82}
.admin-table{width:100%;border-collapse:collapse;font-size:13px}
.admin-table th,.admin-table td{border-bottom:1px solid var(--line);padding:8px;text-align:left;vertical-align:top}
.admin-table th{font-weight:850;background:rgba(111,61,18,.08)}
.rules-modal{max-height:58vh;overflow:auto;line-height:1.55}
.rules-modal .text-para{font-size:14px}


.admin-card{background:rgba(255,248,224,.65);border:1px solid var(--line);border-radius:18px;padding:12px;margin:12px 0;overflow-x:auto}
.admin-card h3{margin-top:0}
.admin-subcard{background:rgba(255,255,255,.36);border:1px solid var(--line);border-radius:14px;padding:10px;margin:8px 0}
.admin-subcard ul{margin:8px 0 0 20px;padding:0}
.admin-actions{margin-bottom:10px}
.admin-export{margin-top:10px;opacity:.82}
.admin-table{width:100%;border-collapse:collapse;font-size:13px}
.admin-table th,.admin-table td{border-bottom:1px solid var(--line);padding:8px;text-align:left;vertical-align:top}
.admin-table th{font-weight:850;background:rgba(111,61,18,.08)}


/* Prezentační web Hravá Plzeň / Grollova zlatá stopa */
.web-page{min-height:100vh;background:#100906;color:#f8ead0;font-family:Georgia, 'Times New Roman', serif}.web-page a{color:inherit}.web-nav{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px clamp(16px,4vw,54px);background:rgba(11,6,3,.88);backdrop-filter:blur(12px);border-bottom:1px solid rgba(212,166,78,.28)}.web-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:900}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#d8a54a,#6f3d12);color:#130905}.web-menu{display:flex;align-items:center;gap:14px;font-size:14px}.web-menu a{text-decoration:none;opacity:.92}.web-menu a:hover{color:#f6c66d}.web-menu-toggle{display:none;background:none;border:1px solid rgba(212,166,78,.35);color:#f8ead0;border-radius:10px;padding:8px 10px}.web-cta{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;background:linear-gradient(135deg,#f3c86a,#9c651d);color:#140904!important;text-decoration:none;font-weight:900;border:0;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.35)}.web-cta.alt{background:transparent;color:#f4d391!important;border:1px solid rgba(244,211,145,.55)}.web-cta.small{padding:9px 13px}.web-link{color:#f4d391;text-decoration:underline;text-underline-offset:4px}.web-hero{position:relative;min-height:760px;display:grid;align-items:end;overflow:hidden}.web-hero picture,.web-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,4,2,.92) 0%,rgba(8,4,2,.58) 42%,rgba(8,4,2,.18) 100%),linear-gradient(0deg,#100906 0%,rgba(16,9,6,0) 32%)}.hero-content{position:relative;max-width:760px;padding:130px clamp(18px,5vw,76px) 90px}.eyebrow{color:#f2c36b;text-transform:uppercase;letter-spacing:.16em;font-size:13px;font-weight:900}.hero-content h1{font-size:clamp(42px,7vw,92px);line-height:.95;margin:.15em 0;color:#ffd984;text-shadow:0 4px 20px rgba(0,0,0,.8)}.hero-content h2{font-size:clamp(24px,3vw,42px);line-height:1.1;margin:.2em 0 .6em}.hero-content p{font-size:18px;line-height:1.65;color:#fff3d8}.hero-facts{font-weight:900;color:#ffd984!important}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.web-section{max-width:1180px;margin:0 auto;padding:74px clamp(16px,4vw,38px)}.web-section h2{font-size:clamp(30px,4vw,54px);line-height:1.05;margin:0 0 20px;color:#ffe1a0}.section-lead{font-size:20px;line-height:1.65;max-width:920px}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:-56px;position:relative;z-index:3}.feature-card,.reason-card,.audience,.info-card,.web-form,.price-grid>div,.faq-grid details{background:linear-gradient(180deg,rgba(255,243,207,.96),rgba(225,190,128,.92));color:#241205;border:1px solid rgba(139,93,36,.45);border-radius:24px;padding:22px;box-shadow:0 20px 60px rgba(0,0,0,.26)}.feature-card h3,.reason-card h3,.audience h3,.info-card h3,.web-form h3{color:#4c2608;margin-top:0}.web-grid{display:grid;gap:18px}.web-grid.three{grid-template-columns:repeat(3,1fr)}.web-grid.five{grid-template-columns:repeat(5,1fr)}.split{display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:start}.dark-band{max-width:none;background:radial-gradient(circle at 20% 10%,rgba(155,101,29,.4),transparent 32%),linear-gradient(135deg,#1a0d06,#090403);border-top:1px solid rgba(212,166,78,.25);border-bottom:1px solid rgba(212,166,78,.25)}.dark-band>*{max-width:980px;margin-left:auto;margin-right:auto}.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.step{display:flex;gap:16px;background:rgba(255,243,207,.08);border:1px solid rgba(212,166,78,.25);border-radius:22px;padding:18px}.step span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#d8a54a;color:#160a04;font-weight:900;flex:0 0 auto}.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.price-grid strong{display:block;font-size:34px;color:#4c2608}.note{background:rgba(255,243,207,.1);border-left:4px solid #d8a54a;padding:14px;border-radius:12px}.alt-bg{background:rgba(255,243,207,.04);border-radius:30px}.web-form{display:grid;gap:10px}.web-form label{display:grid;gap:5px;color:#3d230d;font-weight:700}.web-form input,.web-form textarea{border:1px solid rgba(96,52,17,.3);border-radius:12px;padding:11px;background:#fff8e7;color:#2b1507;font:inherit}.web-form input[data-long="1"]{min-height:78px}.web-form .check{display:flex;grid-template-columns:none;align-items:flex-start;gap:8px;font-size:13px}.web-form .check input{margin-top:3px}.hp-field{position:absolute!important;left:-9999px!important}.form-confirm{color:#246b21;font-weight:900}.check-list{columns:2;line-height:1.9}.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.faq-grid summary{font-weight:900;cursor:pointer;color:#4c2608}.contact-section a{color:#ffd984}.web-footer{padding:28px clamp(16px,4vw,54px);display:flex;justify-content:space-between;gap:16px;background:#080302;border-top:1px solid rgba(212,166,78,.28)}.access-gate .hero-intro{margin-top:40px}@media(max-width:900px){.web-menu-toggle{display:block}.web-menu{display:none;position:absolute;left:12px;right:12px;top:64px;background:#110805;border:1px solid rgba(212,166,78,.3);border-radius:18px;padding:14px;grid-template-columns:1fr;gap:10px}.web-menu-open .web-menu{display:grid}.web-hero{min-height:860px}.feature-row,.web-grid.three,.web-grid.five,.steps,.price-grid,.faq-grid,.split{grid-template-columns:1fr}.hero-content{padding-top:220px}.check-list{columns:1}.web-footer{display:block}.web-footer a{display:block;margin-top:10px}}@media(max-width:480px){.web-hero{min-height:780px}.hero-content p{font-size:16px}.hero-actions .web-cta,.hero-actions .web-link{width:100%;text-align:center}.web-section{padding-top:54px;padding-bottom:54px}}


/* v39 – opravy úvodního webu: čistší hero, čitelný slogan, čitelné kroky */
.web-hero picture,
.web-hero img{
  object-position:center top;
}
.web-hero img{
  transform:scale(1.24);
  transform-origin:center top;
}
.hero-overlay{
  background:
    linear-gradient(90deg,rgba(8,4,2,.94) 0%,rgba(8,4,2,.62) 45%,rgba(8,4,2,.2) 100%),
    linear-gradient(0deg,#100906 0%,rgba(16,9,6,.92) 8%,rgba(16,9,6,0) 42%);
}
.hero-content{
  text-shadow:0 2px 9px rgba(0,0,0,.78);
}
.hero-content h2{
  color:#F2C76E;
  text-shadow:0 2px 6px rgba(0,0,0,.75);
  font-weight:900;
}
.step h3{
  color:#F2C76E;
  text-shadow:0 1px 4px rgba(0,0,0,.6);
  margin:0 0 8px;
}
.step p{
  color:#F8E8C8;
  margin:0;
}
@media(max-width:900px){
  .web-hero img{
    transform:scale(1.34);
    object-position:center top;
  }
}
@media(max-width:480px){
  .web-hero img{
    transform:scale(1.42);
    object-position:center top;
  }
  .hero-content{
    padding-top:170px;
  }
}


/* v40 – oprava návratu z /hra a zmenšení hlavních sekčních nadpisů mimo hero */
.web-section h2{
  font-size:clamp(23px,3vw,40px);
  line-height:1.12;
}
.dark-band h2{
  font-size:clamp(24px,3.1vw,41px);
  line-height:1.14;
}
@media(max-width:480px){
  .web-section h2{
    font-size:clamp(22px,7vw,31px);
    line-height:1.14;
  }
  .dark-band h2{
    font-size:clamp(22px,7vw,31px);
  }
}


/* v41 – jednotný styl pro všechna tlačítka Spustit hru */
.play-game-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.7rem 1.2rem;
  border-radius:999px;
  background:linear-gradient(135deg,#f2c76e,#c8902f);
  color:#1b0f05!important;
  font-weight:900;
  text-decoration:none!important;
  border:1px solid rgba(255,220,140,.6);
  box-shadow:0 4px 14px rgba(0,0,0,.35);
  cursor:pointer;
  transition:transform .15s ease,filter .15s ease,box-shadow .15s ease;
}
.play-game-button:hover{
  text-decoration:none!important;
  transform:translateY(-1px);
  filter:brightness(1.05);
  box-shadow:0 6px 18px rgba(0,0,0,.45);
}
.web-footer .play-game-button{
  padding:0.55rem 1rem;
  font-size:14px;
}
.hero-actions .play-game-button{
  text-decoration:none!important;
}


/* v42 – nový hero obrázek a doprovodné ilustrace */
.web-hero picture,.web-hero img{object-position:center center!important;}
.web-hero img{transform:none!important;}
.section-head.with-art{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;margin-bottom:22px;}
.section-stack{display:grid;gap:22px;}
.band-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);gap:32px;align-items:center;}
.band-text{max-width:640px;}
.section-visual{margin:0;}
.section-visual img{display:block;}
.web-illustration{width:100%;max-width:520px;border-radius:22px;border:1px solid rgba(242,199,110,.35);box-shadow:0 18px 45px rgba(0,0,0,.45);object-fit:cover;background:#120904;}
.web-illustration-small{width:100%;max-width:360px;border-radius:18px;border:1px solid rgba(242,199,110,.3);box-shadow:0 16px 40px rgba(0,0,0,.38);object-fit:cover;background:#120904;}
.pricing-with-art{align-items:center;}
.pricing-with-art .section-visual,.section-head .section-visual{justify-self:end;}
@media(max-width:900px){.section-head.with-art,.band-split{grid-template-columns:1fr;}.section-head .section-visual,.pricing-with-art .section-visual{justify-self:start;}.web-illustration,.web-illustration-small{max-width:100%;}.web-hero img{object-position:58% center!important;}.band-text{max-width:none;}}
@media(max-width:480px){.web-hero img{object-position:62% center!important;}.hero-content{padding-top:185px;}.section-head.with-art{gap:18px;}}


/* v43 – oddálený hero obrázek, sekční obrázky pod textem a ztracené okraje */
.web-hero{background:#0d0704;}
.web-hero picture{display:flex;align-items:center;justify-content:center;background:#0d0704;}
.web-hero img{object-position:center center!important;transform:scale(.84)!important;transform-origin:center center;background:#0d0704;}
.section-divider-art{display:flex;justify-content:center;align-items:center;margin:34px auto 0;padding-top:6px;}
.section-divider-art img{display:block;margin:0 auto;}
.web-illustration,.web-illustration-small{width:100%;max-width:min(100%,620px);border:none!important;background:transparent!important;border-radius:30px;box-shadow:0 22px 52px rgba(0,0,0,.42);-webkit-mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 58%, rgba(0,0,0,.96) 68%, rgba(0,0,0,.76) 80%, rgba(0,0,0,.28) 92%, rgba(0,0,0,0) 100%);mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 58%, rgba(0,0,0,.96) 68%, rgba(0,0,0,.76) 80%, rgba(0,0,0,.28) 92%, rgba(0,0,0,0) 100%);}
.web-illustration-small{max-width:min(100%,500px);}
.section-head.with-art,.section-stack,.band-split,.pricing-with-art{display:block;}
.band-text{max-width:unset;}
@media(max-width:1100px){.web-hero img{transform:scale(.9)!important;}}
@media(max-width:900px){.web-hero img{transform:scale(.94)!important;}.section-divider-art{margin-top:28px;}}
@media(max-width:600px){.web-hero img{transform:scale(.98)!important;object-position:60% center!important;}.web-illustration,.web-illustration-small{max-width:100%;border-radius:24px;}}
@media(max-width:420px){.web-hero img{transform:scale(1.02)!important;object-position:62% center!important;}.section-divider-art{margin-top:22px;}}


/* v45 – menší obrázky mezi sekcemi, výraznější ztracené okraje a pivovarský obrázek pod rezervací */
.section-divider-art{margin:28px auto 0; padding-top:0;}
.section-divider-art.reservation-art{justify-content:flex-start; margin-top:26px;}
.section-divider-art.reservation-art img{margin-left:0;}
.web-illustration,.web-illustration-small{width:100%;border:none!important;background:transparent!important;box-shadow:none!important;filter:drop-shadow(0 16px 36px rgba(0,0,0,.42));}
.web-illustration{max-width:min(100%,400px)!important;border-radius:34px;-webkit-mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 42%, rgba(0,0,0,.96) 56%, rgba(0,0,0,.76) 70%, rgba(0,0,0,.34) 84%, rgba(0,0,0,.08) 94%, rgba(0,0,0,0) 100%);mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 42%, rgba(0,0,0,.96) 56%, rgba(0,0,0,.76) 70%, rgba(0,0,0,.34) 84%, rgba(0,0,0,.08) 94%, rgba(0,0,0,0) 100%);}
.web-illustration-small{max-width:min(100%,325px)!important;border-radius:28px;-webkit-mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 42%, rgba(0,0,0,.96) 56%, rgba(0,0,0,.76) 70%, rgba(0,0,0,.34) 84%, rgba(0,0,0,.08) 94%, rgba(0,0,0,0) 100%);mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 42%, rgba(0,0,0,.96) 56%, rgba(0,0,0,.76) 70%, rgba(0,0,0,.34) 84%, rgba(0,0,0,.08) 94%, rgba(0,0,0,0) 100%);}
@media(max-width:900px){.section-divider-art{margin-top:24px;}.section-divider-art.reservation-art{justify-content:center;}.section-divider-art.reservation-art img{margin-left:auto;}.web-illustration{max-width:min(100%,340px)!important;}.web-illustration-small{max-width:min(100%,290px)!important;}}
@media(max-width:600px){.web-illustration{max-width:min(100%,300px)!important;}.web-illustration-small{max-width:min(100%,255px)!important;}}


/* v46 – hero bez černých okrajů, méně agresivní ořez, více okolí */
.web-hero{background:#0d0704; min-height:720px;}
.web-hero picture{display:block; background:transparent!important;}
.web-hero img{width:100%; height:100%; object-fit:cover!important; object-position:center center!important; transform:none!important; transform-origin:center center; background:transparent!important;}
.hero-overlay{background:linear-gradient(90deg,rgba(8,4,2,.9) 0%,rgba(8,4,2,.56) 40%,rgba(8,4,2,.2) 100%),linear-gradient(0deg,#100906 0%,rgba(16,9,6,0) 28%);}
@media(max-width:1100px){.web-hero{min-height:700px;}.web-hero img{object-position:54% center!important;}}
@media(max-width:900px){.web-hero{min-height:760px;}.web-hero img{object-position:58% center!important;}}
@media(max-width:600px){.web-hero{min-height:720px;}.web-hero img{object-position:60% center!important;}}
@media(max-width:420px){.web-hero{min-height:700px;}.web-hero img{object-position:62% center!important;}}


/* v47 – hero přes celou šířku bez ořezu levého a pravého okraje */
.web-hero{background:#0d0704; min-height:760px; overflow:hidden;}
.web-hero picture{position:absolute; inset:0; display:block; overflow:visible; background:transparent!important;}
.web-hero img{position:absolute; top:0; left:0; width:100%!important; height:auto!important; max-width:none!important; object-fit:contain!important; object-position:center top!important; transform:none!important; background:transparent!important;}
.hero-overlay{background:linear-gradient(90deg,rgba(8,4,2,.92) 0%,rgba(8,4,2,.58) 42%,rgba(8,4,2,.18) 100%),linear-gradient(0deg,#100906 0%,rgba(16,9,6,0) 22%);}
@media(max-width:900px){.web-hero{min-height:860px;}.web-hero img{width:100%!important; left:0; object-position:center top!important;}.hero-content{padding-top:220px;}}
@media(max-width:480px){.web-hero{min-height:800px;}.web-hero img{width:100%!important; object-position:center top!important;}.hero-content{padding-top:190px;}}


/* v48 – nový hero obrázek a jemné rozplynutí spodního okraje */
.web-hero{background:#0d0704;}
.web-hero picture{background:transparent!important;}
.web-hero img{position:absolute;top:0;left:0;width:100%!important;height:auto!important;max-width:none!important;object-fit:contain!important;object-position:center top!important;transform:none!important;background:transparent!important;}
.hero-overlay{background:linear-gradient(90deg,rgba(8,4,2,.92) 0%,rgba(8,4,2,.58) 42%,rgba(8,4,2,.18) 100%),linear-gradient(0deg,#100906 0%,rgba(16,9,6,0) 24%);}
.web-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:24%;pointer-events:none;background:linear-gradient(180deg,rgba(13,7,4,0) 0%,rgba(13,7,4,.55) 38%,rgba(13,7,4,.88) 72%,#0d0704 100%);}
@media(max-width:900px){.web-hero img{width:100%!important;left:0;object-position:center top!important;}}
@media(max-width:480px){.web-hero img{width:100%!important;object-position:center top!important;}.web-hero::after{height:20%;}}


/* v49 – zachovat pergamen v hero, vrátit původní barvy CTA a přidat voucher */
.web-hero{background:#0d0704; min-height:760px; overflow:hidden;}
.web-hero img{position:absolute;top:0;left:0;width:100%!important;height:auto!important;max-width:none!important;object-fit:contain!important;object-position:center top!important;transform:none!important;background:transparent!important;}
.hero-overlay{background:linear-gradient(90deg,rgba(8,4,2,.90) 0%,rgba(8,4,2,.54) 42%,rgba(8,4,2,.18) 100%),linear-gradient(0deg,rgba(16,9,6,.52) 0%,rgba(16,9,6,.14) 10%,rgba(16,9,6,0) 22%);}
.web-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:12%;pointer-events:none;background:linear-gradient(180deg,rgba(13,7,4,0) 0%,rgba(13,7,4,.18) 28%,rgba(13,7,4,.42) 60%,rgba(13,7,4,.76) 84%,#0d0704 100%);}

/* vrácení původních barev hero CTA */
.hero-actions .web-cta{background:linear-gradient(135deg,#f3c86a,#9c651d)!important;color:#140904!important;border:0!important;box-shadow:0 10px 30px rgba(0,0,0,.35)!important;text-decoration:none!important;filter:none!important;opacity:1!important;}
.hero-actions .web-cta:hover{filter:brightness(1.05)!important;transform:translateY(-1px);}
.hero-actions .web-cta.alt{background:transparent!important;color:#f4d391!important;border:1px solid rgba(244,211,145,.55)!important;box-shadow:0 10px 24px rgba(0,0,0,.22)!important;}
.hero-actions .play-game-button{background:linear-gradient(135deg,#f3c86a,#9c651d)!important;color:#140904!important;border:1px solid rgba(255,220,140,.56)!important;box-shadow:0 10px 30px rgba(0,0,0,.35)!important;}

/* voucher pod textem v sekci Poukazy */
.section-divider-art.voucher-art{justify-content:flex-start; margin-top:28px;}
.section-divider-art.voucher-art img{margin-left:0;}
.voucher-illustration{max-width:min(100%,520px)!important;border-radius:32px;filter:drop-shadow(0 18px 42px rgba(0,0,0,.42));-webkit-mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 46%, rgba(0,0,0,.96) 60%, rgba(0,0,0,.78) 74%, rgba(0,0,0,.38) 88%, rgba(0,0,0,.1) 95%, rgba(0,0,0,0) 100%);mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 46%, rgba(0,0,0,.96) 60%, rgba(0,0,0,.78) 74%, rgba(0,0,0,.38) 88%, rgba(0,0,0,.1) 95%, rgba(0,0,0,0) 100%);}
@media(max-width:900px){.section-divider-art.voucher-art{justify-content:center;}.section-divider-art.voucher-art img{margin-left:auto;}.voucher-illustration{max-width:min(100%,420px)!important;}.web-hero{min-height:860px;}.web-hero img{object-position:center top!important;}}
@media(max-width:480px){.voucher-illustration{max-width:min(100%,340px)!important;}.web-hero::after{height:10%;}}


/* v52 adjustments */
.section-divider-art.compass-art{margin-top:34px;}
.voucher-art{margin-top:30px;}
.voucher-illustration{
  max-width:min(100%,390px)!important;
  border-radius:34px;
  filter:drop-shadow(0 14px 34px rgba(0,0,0,.34));
  -webkit-mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 34%, rgba(0,0,0,.96) 48%, rgba(0,0,0,.8) 62%, rgba(0,0,0,.48) 76%, rgba(0,0,0,.16) 90%, rgba(0,0,0,0) 100%);
  mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 34%, rgba(0,0,0,.96) 48%, rgba(0,0,0,.8) 62%, rgba(0,0,0,.48) 76%, rgba(0,0,0,.16) 90%, rgba(0,0,0,0) 100%);
}
@media(max-width:900px){
  .voucher-illustration{max-width:min(100%,320px)!important;}
}
@media(max-width:480px){
  .voucher-illustration{max-width:min(100%,280px)!important;}
}


/* v53 teambuilding image + stronger voucher left fade */
.section-divider-art.team-art{justify-content:flex-start;margin-top:30px;}
.section-divider-art.team-art img{margin-left:0;}
.team-illustration{max-width:min(100%,390px)!important;}
.voucher-illustration,
.team-illustration{
  border-radius:34px;
  filter:drop-shadow(0 14px 34px rgba(0,0,0,.34));
  -webkit-mask-image: radial-gradient(ellipse at 64% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,.98) 44%, rgba(0,0,0,.86) 58%, rgba(0,0,0,.58) 72%, rgba(0,0,0,.25) 86%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse at 64% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,.98) 44%, rgba(0,0,0,.86) 58%, rgba(0,0,0,.58) 72%, rgba(0,0,0,.25) 86%, rgba(0,0,0,0) 100%);
}
@media(max-width:900px){
  .section-divider-art.team-art{justify-content:center;}
  .section-divider-art.team-art img{margin-left:auto;}
  .team-illustration{max-width:min(100%,320px)!important;}
  .voucher-illustration{max-width:min(100%,320px)!important;}
}
@media(max-width:480px){
  .team-illustration,.voucher-illustration{max-width:min(100%,280px)!important;}
}


/* v54 stronger fade for gift voucher image, especially top and left edge */
.voucher-illustration{
  -webkit-mask-image: radial-gradient(ellipse at 72% 60%, rgba(0,0,0,1) 20%, rgba(0,0,0,.98) 34%, rgba(0,0,0,.88) 48%, rgba(0,0,0,.62) 63%, rgba(0,0,0,.30) 78%, rgba(0,0,0,.10) 90%, rgba(0,0,0,0) 100%) !important;
  mask-image: radial-gradient(ellipse at 72% 60%, rgba(0,0,0,1) 20%, rgba(0,0,0,.98) 34%, rgba(0,0,0,.88) 48%, rgba(0,0,0,.62) 63%, rgba(0,0,0,.30) 78%, rgba(0,0,0,.10) 90%, rgba(0,0,0,0) 100%) !important;
}

.cert-wrap{display:flex;justify-content:center}.fancy-cert{position:relative;overflow:hidden;width:100%;max-width:820px;padding:34px 28px 28px;border-radius:28px;text-align:center;color:#3a210d;background:linear-gradient(180deg,rgba(244,226,182,.98),rgba(226,191,124,.98));border:1px solid rgba(111,61,18,.45);box-shadow:0 22px 50px rgba(0,0,0,.28),inset 0 0 0 2px rgba(255,241,205,.35),inset 0 0 60px rgba(86,48,13,.12)}
.fancy-cert::before{content:"";position:absolute;inset:14px;border:1px solid rgba(111,61,18,.42);border-radius:20px;pointer-events:none}
.fancy-cert::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 15%,rgba(255,248,223,.38),transparent 30%),radial-gradient(circle at 80% 75%,rgba(111,61,18,.1),transparent 34%),repeating-linear-gradient(45deg,rgba(111,61,18,.03),rgba(111,61,18,.03) 3px,transparent 3px,transparent 8px);mix-blend-mode:multiply;pointer-events:none}
.cert-kicker{position:relative;z-index:1;font-size:13px;letter-spacing:.25em;text-transform:uppercase;color:#7b5729;margin-bottom:10px}
.fancy-cert h1{position:relative;z-index:1;font-size:38px;line-height:1.08;margin-bottom:8px;color:#3b210c}
.cert-game-title{position:relative;z-index:1;font-family:Georgia,'Times New Roman',serif;font-size:32px;font-weight:800;color:#744012;margin-bottom:18px;text-shadow:0 1px 0 rgba(255,255,255,.35)}
.cert-lead{position:relative;z-index:1;max-width:620px;margin:0 auto 20px;line-height:1.65;font-size:17px;color:#4d2e12}
.cert-team-block{position:relative;z-index:1;margin:18px auto 18px;padding:16px 18px;max-width:520px;background:rgba(255,250,238,.38);border:1px solid rgba(111,61,18,.16);border-radius:18px}
.cert-label{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:#7b5729;margin-bottom:6px}
.cert-team-block h2{font-size:34px;margin:0;color:#4a2a0d}
.cert-details-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:700px;margin:0 auto 20px}
.cert-detail{background:rgba(255,248,231,.42);border:1px solid rgba(111,61,18,.15);border-radius:16px;padding:14px 16px;min-height:86px;display:flex;flex-direction:column;justify-content:center}
.cert-detail span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#7a582c;margin-bottom:6px}
.cert-detail strong{font-size:22px;font-family:Georgia,'Times New Roman',serif;color:#3f230d}
.cert-title-box{position:relative;z-index:1;margin:6px auto 24px;max-width:520px;padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,rgba(111,61,18,.09),rgba(111,61,18,.04));border:1px solid rgba(111,61,18,.18)}
.cert-title-box span{display:block;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#7b5729;margin-bottom:6px}
.cert-title-box strong{display:block;font-size:28px;font-family:Georgia,'Times New Roman',serif;color:#5a3210}
.cert-footer-row{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;max-width:680px;margin:0 auto}
.cert-signature{flex:1;text-align:left}
.cert-line{height:1px;background:rgba(111,61,18,.45);margin-bottom:8px}
.cert-signature-text{font-family:Georgia,'Times New Roman',serif;font-size:18px;color:#583313}
.cert-seal{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:radial-gradient(circle at 35% 30%,#8f5620,#4f2b0e 72%);color:#f6d18b;font-family:Georgia,'Times New Roman',serif;font-size:34px;font-weight:700;box-shadow:inset 0 0 0 2px rgba(255,227,171,.32),0 10px 18px rgba(0,0,0,.18)}
.cert-ornament{position:relative;z-index:1;color:#855b22;letter-spacing:.18em;text-transform:uppercase;font-size:13px}
.cert-ornament-top{margin-bottom:10px}.cert-ornament-bottom{margin-top:22px}
.cert-actions{max-width:820px;margin-left:auto;margin-right:auto}
@media(max-width:520px){.fancy-cert{padding:26px 18px 22px}.fancy-cert h1{font-size:30px}.cert-game-title{font-size:25px}.cert-team-block h2{font-size:28px}.cert-details-grid{grid-template-columns:1fr}.cert-detail strong{font-size:20px}.cert-footer-row{flex-direction:column;align-items:center}.cert-signature{text-align:center;width:100%}}
@media print{html,body{background:#fff!important}body{min-height:auto}.app-shell{padding:0!important;display:block}.phone{width:100%!important;max-width:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;background:#fff!important}.content{padding:0!important}.topbar,.footer-actions,.no-print,.modal-back,.toast{display:none!important}.cert-wrap{display:block}.fancy-cert{max-width:none!important;margin:0 auto!important;min-height:270mm!important;box-shadow:none!important;border:1px solid rgba(111,61,18,.55)!important;border-radius:0!important;page-break-inside:avoid;padding:18mm 16mm 16mm!important;background:linear-gradient(180deg,#f4e5bb,#e6c686)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.fancy-cert::before{inset:8mm;border-radius:0}.fancy-cert::after{-webkit-print-color-adjust:exact;print-color-adjust:exact}}


/* v70 richer certificate redesign */
.fancy-cert{
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:920px;
  min-height:1180px;
  padding:0;
  border-radius:28px;
  text-align:center;
  color:#3a210d;
  background:
    radial-gradient(circle at 50% 42%, rgba(251,240,202,.96) 0, rgba(245,228,181,.95) 30%, rgba(230,195,125,.98) 64%, rgba(125,80,34,.98) 100%),
    linear-gradient(180deg, rgba(84,49,19,.35), rgba(31,18,8,.15));
  border:1px solid rgba(63,35,12,.65);
  box-shadow:0 28px 60px rgba(0,0,0,.34), inset 0 0 0 2px rgba(255,232,182,.18), inset 0 0 110px rgba(74,41,12,.26);
}
.fancy-cert::before{
  content:"";
  position:absolute;
  inset:12px;
  border:2px solid rgba(71,40,15,.75);
  box-shadow:inset 0 0 0 1px rgba(245,214,148,.5), inset 0 0 0 12px rgba(59,31,11,.05);
  border-radius:16px;
  pointer-events:none;
}
.fancy-cert::after{
  content:"";
  position:absolute;
  inset:28px;
  border:1px solid rgba(84,47,18,.28);
  border-radius:10px;
  pointer-events:none;
}
.cert-inner{position:relative;z-index:3;padding:54px 56px 40px}
.cert-kicker{font-size:13px;letter-spacing:.26em;text-transform:uppercase;color:#6f4a20;margin-bottom:10px;text-shadow:0 1px 0 rgba(255,255,255,.35)}
.cert-crown-divider{width:250px;height:48px;margin:0 auto 8px;opacity:.96;background:radial-gradient(circle at center, rgba(110,67,23,.22) 0, rgba(110,67,23,0) 68%), url("assets/images/Groll_logo_na_sirku.jpg") center/contain no-repeat;filter:sepia(.35) saturate(.95) brightness(.95)}
.fancy-cert h1{font-size:54px;line-height:1.02;letter-spacing:.04em;text-transform:uppercase;color:#3e220d;margin:0 0 6px;text-shadow:0 1px 0 rgba(255,249,227,.45)}
.cert-game-title{font-family:Georgia,'Times New Roman',serif;font-size:44px;font-weight:800;line-height:1.04;color:#5c3211;margin-bottom:22px;text-shadow:0 1px 0 rgba(255,248,225,.4)}
.cert-team-block{margin:8px auto 18px;padding:18px 20px 14px;max-width:520px;background:linear-gradient(180deg, rgba(252,245,221,.84), rgba(244,225,177,.7));border:1px solid rgba(89,50,17,.18);border-radius:20px;box-shadow:inset 0 0 0 1px rgba(255,249,232,.4)}
.cert-label{font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:#7b5729;margin-bottom:5px}
.cert-team-block h2{font-size:52px;line-height:1.02;margin:0;color:#46250d;text-shadow:0 1px 0 rgba(255,255,255,.35)}
.cert-main-panel{position:relative;max-width:690px;margin:0 auto 22px;padding:18px 28px;background:linear-gradient(180deg, rgba(253,248,232,.84), rgba(244,227,189,.7));border:1px solid rgba(87,48,17,.18);border-radius:22px;box-shadow:inset 0 0 0 1px rgba(255,250,233,.45)}
.cert-main-panel::before,.cert-main-panel::after{content:"✦";position:absolute;top:50%;transform:translateY(-50%);font-size:20px;color:#8a5c27;opacity:.85}
.cert-main-panel::before{left:14px}.cert-main-panel::after{right:14px}
.cert-lead{max-width:620px;margin:0 auto;line-height:1.62;font-size:17px;color:#42240d}
.cert-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:760px;margin:0 auto 22px}
.cert-detail{background:linear-gradient(180deg, rgba(255,249,235,.76), rgba(243,224,185,.64));border:1px solid rgba(97,55,20,.18);border-radius:18px;padding:16px 18px;min-height:92px;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 0 0 1px rgba(255,250,236,.38)}
.cert-detail span{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#775325;margin-bottom:6px}
.cert-detail strong{font-size:26px;font-family:Georgia,'Times New Roman',serif;color:#3d230d}
.cert-title-box{margin:4px auto 24px;max-width:560px;padding:16px 20px;border-radius:20px;background:linear-gradient(180deg, rgba(97,55,20,.12), rgba(97,55,20,.04));border:1px solid rgba(97,55,20,.2);box-shadow:inset 0 0 0 1px rgba(255,246,223,.2)}
.cert-title-box span{display:block;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#7b5729;margin-bottom:6px}
.cert-title-box strong{display:block;font-size:34px;font-family:Georgia,'Times New Roman',serif;color:#5a3210}
.cert-footer-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;max-width:720px;margin:0 auto}
.cert-signature{flex:1;text-align:left}
.cert-line{height:1px;background:linear-gradient(90deg, rgba(111,61,18,.55), rgba(111,61,18,.25));margin-bottom:8px}
.cert-signature-text{font-family:Georgia,'Times New Roman',serif;font-size:20px;color:#583313}
.cert-seal{width:108px;height:108px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:radial-gradient(circle at 35% 30%, #b67b2e, #6a3912 62%, #49260b 100%);color:#f7db9a;font-family:Georgia,'Times New Roman',serif;font-size:42px;font-weight:700;box-shadow:inset 0 0 0 2px rgba(255,232,176,.5), inset 0 0 0 10px rgba(75,37,11,.28), 0 16px 24px rgba(0,0,0,.18)}
.cert-ornament{color:#855b22;letter-spacing:.16em;text-transform:uppercase;font-size:13px}
.cert-ornament-bottom{margin-top:22px}
.cert-bg,.cert-path,.cert-corner{position:absolute;pointer-events:none;z-index:1}
.cert-bg{opacity:.22;mix-blend-mode:multiply;background-repeat:no-repeat;background-position:center;background-size:contain;filter:sepia(.42) saturate(.75) brightness(.9)}
.cert-bg-map{inset:84px 72px 160px 72px;background-image:url("assets/images/web_mapa_plzne.jpg");opacity:.14;background-size:cover;filter:sepia(.45) saturate(.55) brightness(1.05)}
.cert-bg-compass{left:34px;top:128px;width:170px;height:170px;background-image:url("assets/images/web_kompas.jpg");opacity:.22}
.cert-bg-crypt{right:36px;top:154px;width:156px;height:156px;background-image:url("assets/images/web_zamek_klic.jpg");opacity:.18}
.cert-bg-leftcity{left:18px;bottom:62px;width:270px;height:310px;background-image:url("assets/images/web_mapa_plzne.jpg");background-position:left bottom;background-size:cover;opacity:.26;mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.88) 22%, #000 100%);-webkit-mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.88) 22%, #000 100%)}
.cert-bg-rightbrew{right:18px;bottom:42px;width:280px;height:330px;background-image:url("assets/images/web_pivovarske_rekvizity.jpg");background-position:right bottom;background-size:contain;opacity:.26;mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.84) 18%, #000 100%);-webkit-mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.84) 18%, #000 100%)}
.cert-path{border:2px dashed rgba(143,95,34,.38);border-radius:999px;filter:blur(.1px)}
.cert-path::before{content:"";position:absolute;inset:auto;display:block;width:10px;height:10px;border-radius:50%;background:rgba(231,183,88,.55);box-shadow:0 0 10px rgba(240,200,115,.35)}
.cert-path-left{left:92px;top:242px;width:100px;height:344px;border-right:none;border-top:none;transform:rotate(-6deg)}
.cert-path-left::before{right:-3px;bottom:24px}
.cert-path-right{right:104px;top:236px;width:106px;height:352px;border-left:none;border-bottom:none;transform:rotate(7deg)}
.cert-path-right::before{left:-3px;top:30px}
.cert-corner{width:88px;height:88px;border-color:rgba(110,64,22,.85)}
.cert-corner::before,.cert-corner::after{content:"";position:absolute;background:rgba(110,64,22,.82)}
.cert-corner-tl{top:20px;left:20px;border-top:3px solid;border-left:3px solid;border-top-left-radius:14px}.cert-corner-tl::before{left:14px;top:8px;width:30px;height:2px}.cert-corner-tl::after{left:8px;top:14px;width:2px;height:30px}
.cert-corner-tr{top:20px;right:20px;border-top:3px solid;border-right:3px solid;border-top-right-radius:14px}.cert-corner-tr::before{right:14px;top:8px;width:30px;height:2px}.cert-corner-tr::after{right:8px;top:14px;width:2px;height:30px}
.cert-corner-bl{bottom:20px;left:20px;border-bottom:3px solid;border-left:3px solid;border-bottom-left-radius:14px}.cert-corner-bl::before{left:14px;bottom:8px;width:30px;height:2px}.cert-corner-bl::after{left:8px;bottom:14px;width:2px;height:30px}
.cert-corner-br{bottom:20px;right:20px;border-bottom:3px solid;border-right:3px solid;border-bottom-right-radius:14px}.cert-corner-br::before{right:14px;bottom:8px;width:30px;height:2px}.cert-corner-br::after{right:8px;bottom:14px;width:2px;height:30px}
.cert-actions{max-width:920px;margin-left:auto;margin-right:auto}
@media(max-width:700px){
  .fancy-cert{min-height:auto}
  .cert-inner{padding:38px 20px 26px}
  .fancy-cert h1{font-size:38px}
  .cert-game-title{font-size:30px;margin-bottom:16px}
  .cert-team-block h2{font-size:38px}
  .cert-main-panel{padding:16px 18px}
  .cert-details-grid{grid-template-columns:1fr;gap:10px}
  .cert-title-box strong{font-size:27px}
  .cert-footer-row{flex-direction:column;align-items:center}
  .cert-signature{text-align:center;width:100%}
  .cert-bg-compass{width:110px;height:110px;left:10px;top:118px;opacity:.18}
  .cert-bg-crypt{width:104px;height:104px;right:10px;top:126px;opacity:.14}
  .cert-bg-leftcity{width:180px;height:210px;left:0;bottom:64px;opacity:.18}
  .cert-bg-rightbrew{width:190px;height:220px;right:0;bottom:44px;opacity:.18}
  .cert-path-left,.cert-path-right{display:none}
}
@media print{
  .fancy-cert{max-width:none!important;min-height:270mm!important;box-shadow:none!important;border-radius:0!important;padding:0!important;background:radial-gradient(circle at 50% 42%, #fbefc7 0, #f1deb0 32%, #e6c487 65%, #b07a38 100%)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .cert-inner{padding:16mm 15mm 14mm!important}
  .fancy-cert::before{inset:7mm;box-shadow:inset 0 0 0 .6mm rgba(245,214,148,.5), inset 0 0 0 6mm rgba(59,31,11,.05);border-radius:0}
  .fancy-cert::after{inset:11mm;border-radius:0}
  .cert-bg,.cert-path,.cert-corner{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v71 certificate refinement: more ceremonial, less template-like */
.cert-crown-divider{display:none!important}
.fancy-cert{
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:920px;
  min-height:1180px;
  padding:0!important;
  border-radius:28px;
  text-align:center;
  color:#3b220f;
  background:
    radial-gradient(circle at 50% 42%, rgba(249,237,205,.98) 0%, rgba(243,227,185,.97) 28%, rgba(229,194,123,.98) 62%, rgba(108,66,29,.98) 100%),
    linear-gradient(180deg, rgba(91,55,22,.20), rgba(44,25,10,.10));
  border:1px solid rgba(71,40,15,.72);
  box-shadow:0 28px 60px rgba(0,0,0,.34), inset 0 0 0 2px rgba(255,241,204,.18), inset 0 0 120px rgba(77,45,16,.28)!important;
}
.fancy-cert::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:18px;
  border:2px solid rgba(76,43,16,.86);
  box-shadow:
    inset 0 0 0 1px rgba(246,221,163,.52),
    inset 0 0 0 10px rgba(59,31,11,.05),
    0 0 0 1px rgba(47,25,10,.12);
  pointer-events:none;
}
.fancy-cert::after{
  content:"";
  position:absolute;
  inset:28px;
  border-radius:10px;
  border:1px solid rgba(93,53,20,.25);
  background:
    radial-gradient(circle at 14% 14%, rgba(86,50,17,.12), transparent 16%),
    radial-gradient(circle at 86% 14%, rgba(86,50,17,.1), transparent 16%),
    radial-gradient(circle at 12% 88%, rgba(86,50,17,.1), transparent 18%),
    radial-gradient(circle at 88% 88%, rgba(86,50,17,.12), transparent 18%);
  pointer-events:none;
}
.cert-inner{position:relative;z-index:3;padding:52px 58px 38px!important}
.cert-kicker{
  margin-bottom:12px;
  font-size:13px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:#6f4a20;
  text-shadow:0 1px 0 rgba(255,255,255,.35);
}
.fancy-cert h1{
  margin:0 0 8px!important;
  font-size:inherit!important;
  line-height:1!important;
  text-transform:none!important;
  letter-spacing:0!important;
  color:#3d220e!important;
  text-shadow:0 1px 0 rgba(255,248,225,.42);
}
.cert-title-top,.cert-title-bottom{display:block;font-family:Georgia,'Times New Roman',serif;font-weight:800}
.cert-title-top{font-size:52px;line-height:1.02;letter-spacing:.03em}
.cert-title-bottom{font-size:34px;line-height:1.06;letter-spacing:.08em;text-transform:uppercase;margin-top:6px;color:#5c3312}
.cert-game-title{
  margin:8px 0 22px!important;
  font-family:Georgia,'Times New Roman',serif;
  font-size:30px!important;
  font-weight:700;
  letter-spacing:.04em;
  color:#70421a!important;
  text-transform:none;
}
.cert-team-block{
  margin:4px auto 20px!important;
  padding:16px 26px 14px!important;
  max-width:480px!important;
  background:linear-gradient(180deg, rgba(252,245,221,.72), rgba(243,221,170,.52))!important;
  border:1px solid rgba(89,50,17,.16)!important;
  border-radius:24px!important;
  box-shadow:inset 0 0 0 1px rgba(255,248,227,.38)!important;
}
.cert-label{
  font-size:14px!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  color:#7b5729!important;
  margin-bottom:8px!important;
}
.cert-team-block h2{
  margin:0!important;
  font-size:46px!important;
  line-height:1.02!important;
  color:#47260f!important;
  text-shadow:0 1px 0 rgba(255,255,255,.35);
}
.cert-main-panel{
  position:relative;
  max-width:680px;
  margin:0 auto 22px!important;
  padding:18px 30px!important;
  background:linear-gradient(180deg, rgba(253,247,230,.78), rgba(244,228,189,.60))!important;
  border:1px solid rgba(87,48,17,.16)!important;
  border-radius:22px!important;
  box-shadow:inset 0 0 0 1px rgba(255,250,233,.42)!important;
}
.cert-main-panel::before,.cert-main-panel::after{content:"✦";position:absolute;top:50%;transform:translateY(-50%);font-size:18px;color:#8a5c27;opacity:.75}
.cert-main-panel::before{left:12px}
.cert-main-panel::after{right:12px}
.cert-lead{
  max-width:610px;
  margin:0 auto!important;
  font-size:17px!important;
  line-height:1.62!important;
  color:#42240d!important;
}
.cert-summary-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start;
  max-width:700px;
  margin:8px auto 14px;
}
.cert-summary-item{
  padding:10px 12px 8px;
  border-top:1px solid rgba(116,74,31,.45);
  border-bottom:1px solid rgba(116,74,31,.28);
}
.cert-summary-item span{
  display:block;
  margin-bottom:4px;
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#6f4a20;
}
.cert-summary-item strong{
  display:block;
  font-family:Georgia,'Times New Roman',serif;
  font-size:26px;
  color:#3d230d;
  line-height:1.25;
}
.cert-meta-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 20px;
  max-width:760px;
  margin:2px auto 24px;
  font-size:12px;
  color:#6b4721;
}
.cert-meta-row span{white-space:nowrap}
.cert-meta-row b{color:#56300f}
.cert-footer-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  max-width:720px;
  margin:8px auto 0;
}
.cert-signature{flex:1;text-align:left}
.cert-line{height:1px;background:linear-gradient(90deg, rgba(111,61,18,.58), rgba(111,61,18,.22))!important;margin-bottom:8px!important}
.cert-signature-text{font-family:Georgia,'Times New Roman',serif;font-size:20px!important;color:#583313!important}
.cert-seal{
  width:118px!important;
  height:118px!important;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background:radial-gradient(circle at 35% 30%, #bf8430, #6f3d14 62%, #4f290c 100%)!important;
  color:#f6dd9f!important;
  font-family:Georgia,'Times New Roman',serif;
  font-size:46px!important;
  font-weight:700;
  box-shadow:inset 0 0 0 2px rgba(255,233,179,.55), inset 0 0 0 10px rgba(75,37,11,.28), 0 16px 26px rgba(0,0,0,.18)!important;
  position:relative;
}
.cert-seal::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:50%;
  border:1px solid rgba(255,227,163,.45);
}
.cert-ornament-bottom{margin-top:18px!important;color:#835821!important;font-size:13px!important;letter-spacing:.18em!important;text-transform:uppercase}
.cert-bg,.cert-path,.cert-corner{position:absolute;pointer-events:none;z-index:1}
.cert-bg{opacity:.22;mix-blend-mode:multiply;background-repeat:no-repeat;background-position:center;background-size:contain;filter:sepia(.42) saturate(.74) brightness(.92)}
.cert-bg-map{inset:92px 64px 120px 64px;background-image:url("assets/images/web_mapa_plzne.jpg");background-size:cover;opacity:.10;filter:sepia(.48) saturate(.6) brightness(1.05)}
.cert-bg-compass{left:24px;top:126px;width:178px;height:178px;background-image:url("assets/images/web_kompas.jpg");opacity:.19}
.cert-bg-lock{right:26px;top:126px;width:174px;height:174px;background-image:url("assets/images/web_zamek_klic.jpg");opacity:.16}
.cert-bg-leftcity{left:18px;bottom:84px;width:248px;height:300px;background-image:url("assets/images/web_mapa_plzne.jpg");background-position:left bottom;background-size:cover;opacity:.22;mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.85) 24%, #000 100%);-webkit-mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.85) 24%, #000 100%)}
.cert-bg-rightbrew{right:14px;bottom:56px;width:256px;height:302px;background-image:url("assets/images/web_pivovarske_rekvizity.jpg");background-position:right bottom;background-size:contain;opacity:.25;mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.84) 20%, #000 100%);-webkit-mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.84) 20%, #000 100%)}
.cert-bg-keys{left:42px;bottom:36px;width:130px;height:130px;background-image:url("assets/images/web_klice.jpg");opacity:.16}
.cert-path{border:2px dashed rgba(143,95,34,.26);border-radius:999px;filter:blur(.1px)}
.cert-path::before{content:"";position:absolute;display:block;width:10px;height:10px;border-radius:50%;background:rgba(231,183,88,.42);box-shadow:0 0 10px rgba(240,200,115,.28)}
.cert-path-left{left:88px;top:250px;width:104px;height:340px;border-right:none;border-top:none;transform:rotate(-6deg)}
.cert-path-left::before{right:-3px;bottom:22px}
.cert-path-right{right:96px;top:248px;width:110px;height:336px;border-left:none;border-bottom:none;transform:rotate(7deg)}
.cert-path-right::before{left:-3px;top:28px}
.cert-corner{width:98px;height:98px;border-color:rgba(106,61,22,.88)}
.cert-corner::before,.cert-corner::after{content:"";position:absolute;background:rgba(106,61,22,.84)}
.cert-corner-tl{top:20px;left:20px;border-top:3px solid;border-left:3px solid;border-top-left-radius:14px}.cert-corner-tl::before{left:14px;top:8px;width:34px;height:2px}.cert-corner-tl::after{left:8px;top:14px;width:2px;height:34px}
.cert-corner-tr{top:20px;right:20px;border-top:3px solid;border-right:3px solid;border-top-right-radius:14px}.cert-corner-tr::before{right:14px;top:8px;width:34px;height:2px}.cert-corner-tr::after{right:8px;top:14px;width:2px;height:34px}
.cert-corner-bl{bottom:20px;left:20px;border-bottom:3px solid;border-left:3px solid;border-bottom-left-radius:14px}.cert-corner-bl::before{left:14px;bottom:8px;width:34px;height:2px}.cert-corner-bl::after{left:8px;bottom:14px;width:2px;height:34px}
.cert-corner-br{bottom:20px;right:20px;border-bottom:3px solid;border-right:3px solid;border-bottom-right-radius:14px}.cert-corner-br::before{right:14px;bottom:8px;width:34px;height:2px}.cert-corner-br::after{right:8px;bottom:14px;width:2px;height:34px}
.cert-actions{max-width:920px;margin-left:auto;margin-right:auto}

@media(max-width:700px){
  .fancy-cert{min-height:auto}
  .cert-inner{padding:38px 20px 28px!important}
  .cert-title-top{font-size:40px}
  .cert-title-bottom{font-size:28px}
  .cert-game-title{font-size:24px!important;margin-bottom:16px!important}
  .cert-team-block h2{font-size:34px!important}
  .cert-main-panel{padding:16px 18px!important}
  .cert-summary-row{grid-template-columns:1fr;gap:10px}
  .cert-summary-item strong{font-size:22px}
  .cert-meta-row{flex-direction:column;gap:4px;align-items:center}
  .cert-footer-row{flex-direction:column;align-items:center}
  .cert-signature{text-align:center;width:100%}
  .cert-seal{width:102px!important;height:102px!important;font-size:38px!important}
  .cert-bg-compass{left:6px;top:136px;width:112px;height:112px;opacity:.14}
  .cert-bg-lock{right:8px;top:136px;width:108px;height:108px;opacity:.12}
  .cert-bg-leftcity{width:164px;height:210px;left:0;bottom:92px;opacity:.16}
  .cert-bg-rightbrew{width:168px;height:210px;right:0;bottom:64px;opacity:.18}
  .cert-bg-keys{width:84px;height:84px;left:16px;bottom:28px;opacity:.12}
  .cert-path-left,.cert-path-right{display:none}
}

@media print{
  .fancy-cert{max-width:none!important;min-height:270mm!important;box-shadow:none!important;border-radius:0!important;padding:0!important;background:radial-gradient(circle at 50% 42%, #fbefc7 0, #f2ddb0 32%, #e1be7b 68%, #aa7536 100%)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .fancy-cert::before{inset:7mm;box-shadow:inset 0 0 0 .6mm rgba(245,214,148,.5), inset 0 0 0 6mm rgba(59,31,11,.05);border-radius:0}
  .fancy-cert::after{inset:11mm;border-radius:0}
  .cert-inner{padding:16mm 15mm 14mm!important}
  .cert-bg,.cert-path,.cert-corner{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v72 certificate redesign and button fixes */
.cert-page{
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:900px;
  min-height:1180px;
  margin:0 auto;
  border-radius:26px;
  background:
    radial-gradient(circle at 50% 38%, rgba(248,236,204,.98) 0%, rgba(242,225,183,.98) 30%, rgba(228,196,130,.99) 68%, rgba(134,88,41,.99) 100%),
    linear-gradient(180deg, rgba(91,57,24,.10), rgba(53,30,10,.18));
  color:#3f240f;
  border:1px solid rgba(82,49,19,.74);
  box-shadow:0 28px 56px rgba(0,0,0,.28), inset 0 0 0 2px rgba(255,242,211,.18), inset 0 0 120px rgba(63,37,13,.14)!important;
}
.cert-page::before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:18px;
  border:2px solid rgba(78,45,17,.82);
  box-shadow:inset 0 0 0 1px rgba(245,221,166,.56), inset 0 0 0 10px rgba(53,29,10,.05);
  pointer-events:none;
}
.cert-page::after{
  content:"";
  position:absolute;
  inset:28px;
  border-radius:10px;
  border:1px solid rgba(100,62,26,.24);
  pointer-events:none;
}
.cert-surface{position:relative;z-index:3;padding:54px 64px 36px;text-align:center}
.cert-kicker{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.28em;
  color:#79522a;
  margin-bottom:12px;
}
.cert-heading{
  margin:0;
  font-family:Georgia,'Times New Roman',serif;
  line-height:1.02;
  color:#4c2a12;
  text-shadow:0 1px 0 rgba(255,248,227,.45);
}
.cert-heading span{display:block}
.cert-heading span:first-child{font-size:54px;font-weight:800;letter-spacing:.03em}
.cert-heading span:last-child{margin-top:6px;font-size:32px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#65401d}
.cert-subheading{
  margin-top:10px;
  font-family:Georgia,'Times New Roman',serif;
  font-size:28px;
  font-weight:700;
  color:#7b4d22;
  letter-spacing:.04em;
}
.cert-divider{
  width:220px;
  height:1px;
  margin:18px auto 22px;
  background:linear-gradient(90deg, transparent, rgba(109,68,28,.82), transparent);
}
.cert-team-caption{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#7b542c;
  margin-bottom:8px;
}
.cert-team-name{
  font-family:Georgia,'Times New Roman',serif;
  font-size:48px;
  font-weight:800;
  line-height:1.05;
  color:#3f240f;
  margin-bottom:18px;
  text-shadow:0 1px 0 rgba(255,249,230,.4);
}
.cert-body-panel{
  max-width:660px;
  margin:0 auto 22px;
  padding:18px 28px;
  background:linear-gradient(180deg, rgba(250,243,222,.62), rgba(244,229,193,.42));
  border:1px solid rgba(93,54,20,.12);
  border-radius:18px;
}
.cert-body-text{
  margin:0;
  font-size:17px;
  line-height:1.64;
  color:#40250e;
}
.cert-primary-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  max-width:700px;
  margin:4px auto 12px;
}
.cert-secondary-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  max-width:760px;
  margin:0 auto 26px;
}
.cert-data-item{
  text-align:center;
  padding:10px 8px;
  border-top:1px solid rgba(110,69,30,.40);
  border-bottom:1px solid rgba(110,69,30,.24);
}
.cert-data-item span{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#775029;
  margin-bottom:6px;
}
.cert-data-item strong{
  display:block;
  font-family:Georgia,'Times New Roman',serif;
  color:#43270f;
  font-weight:700;
}
.cert-data-item.primary strong{font-size:30px;line-height:1.22}
.cert-data-item.compact strong{font-size:20px;line-height:1.25}
.cert-footer-area{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  max-width:720px;
  margin:10px auto 0;
}
.cert-sign-block{flex:1;text-align:left}
.cert-sign-line{height:1px;background:linear-gradient(90deg, rgba(111,66,24,.6), rgba(111,66,24,.12));margin-bottom:8px}
.cert-sign-text{font-family:Georgia,'Times New Roman',serif;font-size:19px;color:#5a3515}
.cert-seal-wrap{flex:0 0 auto}
.cert-seal{
  width:118px;
  height:118px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-family:Georgia,'Times New Roman',serif;
  font-size:46px;
  font-weight:800;
  color:#f4dc9d;
  background:radial-gradient(circle at 35% 30%, #ca9343 0%, #8f5822 55%, #61330f 100%);
  box-shadow:inset 0 0 0 2px rgba(255,233,179,.55), inset 0 0 0 10px rgba(83,44,13,.28), 0 14px 22px rgba(0,0,0,.15);
  position:relative;
}
.cert-seal::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:50%;
  border:1px solid rgba(255,226,159,.46);
}
.cert-footnote{
  margin-top:18px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.20em;
  color:#805826;
}
.cert-watermark{position:absolute;pointer-events:none;z-index:1;background-repeat:no-repeat;background-position:center;background-size:contain;filter:sepia(.9) saturate(.5) brightness(.9);opacity:.14}
.cert-watermark-map{inset:96px 54px 72px;background-image:url("assets/images/web_mapa_plzne.jpg");background-size:cover;opacity:.08;mix-blend-mode:multiply}
.cert-watermark-compass{left:26px;top:132px;width:165px;height:165px;background-image:url("assets/images/web_kompas.jpg");opacity:.14}
.cert-watermark-key{left:34px;bottom:72px;width:148px;height:148px;background-image:url("assets/images/web_klice.jpg");opacity:.12}
.cert-watermark-brew{right:18px;bottom:48px;width:245px;height:285px;background-image:url("assets/images/web_pivovarske_rekvizity.jpg");background-position:right bottom;opacity:.17;mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.82) 24%, #000 100%);-webkit-mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.82) 24%, #000 100%)}
.cert-watermark-path{left:72px;top:280px;width:170px;height:360px;opacity:1;filter:none;background:none}
.cert-watermark-path::before{
  content:"";
  position:absolute;
  inset:0;
  border-left:2px dashed rgba(180,124,43,.22);
  border-bottom:2px dashed rgba(180,124,43,.22);
  border-radius:0 0 0 120px;
  transform:rotate(-6deg);
}
.cert-watermark-path::after{
  content:"";
  position:absolute;
  right:10px;
  bottom:18px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(225,181,84,.42);
  box-shadow:0 0 10px rgba(229,188,100,.3);
}

.leaderboard-table{width:100%;border-collapse:collapse;font-size:14px}
.leaderboard-table th,.leaderboard-table td{padding:10px 8px;border-bottom:1px solid rgba(0,0,0,.08);text-align:left}
.leaderboard-table th{font-weight:800;color:#4a2a11}
.leaderboard-table td{color:#3c2415}

@media(max-width:700px){
  .cert-page{min-height:auto}
  .cert-surface{padding:36px 18px 24px}
  .cert-heading span:first-child{font-size:42px}
  .cert-heading span:last-child{font-size:25px}
  .cert-subheading{font-size:22px}
  .cert-team-name{font-size:34px}
  .cert-body-panel{padding:16px 16px}
  .cert-body-text{font-size:15px}
  .cert-primary-row{grid-template-columns:1fr;gap:10px}
  .cert-secondary-row{grid-template-columns:1fr;gap:10px}
  .cert-data-item.primary strong{font-size:25px}
  .cert-data-item.compact strong{font-size:18px}
  .cert-footer-area{flex-direction:column;align-items:center}
  .cert-sign-block{text-align:center;width:100%}
  .cert-seal{width:100px;height:100px;font-size:40px}
  .cert-watermark-compass{width:105px;height:105px;left:4px;top:158px;opacity:.1}
  .cert-watermark-key{width:90px;height:90px;left:10px;bottom:30px;opacity:.08}
  .cert-watermark-brew{width:158px;height:190px;right:0;bottom:48px;opacity:.13}
  .cert-watermark-path{display:none}
}

@media print{
  .cert-page{max-width:none!important;min-height:270mm!important;border-radius:0!important;box-shadow:none!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .cert-page::before{inset:7mm;border-radius:0}
  .cert-page::after{inset:11mm;border-radius:0}
  .cert-surface{padding:16mm 14mm 12mm}
  .cert-watermark,.cert-page::before,.cert-page::after{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v73 certificate matches user reference image */
.cert-wrap-template{
  display:flex;
  justify-content:center;
}
.cert-template-cert{
  position:relative;
  width:min(100%, 860px);
  aspect-ratio:941 / 1672;
  margin:0 auto;
}
.cert-template-bg{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.cert-template-overlay{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  color:#4a2a13;
  text-align:center;
  font-family:Georgia, 'Times New Roman', serif;
  text-shadow:0 1px 0 rgba(255,246,220,.35);
}
.cert-template-team{
  top:33.7%;
  width:36%;
  font-size:clamp(34px, 5.2vw, 72px);
  font-weight:700;
  line-height:1.02;
  letter-spacing:.02em;
  padding:.02em .12em;
  background:rgba(234,206,149,.95);
  border-radius:18px;
}
.cert-template-body{
  top:50.1%;
  width:46%;
  font-size:clamp(13px, 1.72vw, 28px);
  line-height:1.62;
  font-weight:600;
  padding:10px 16px;
  background:rgba(236,207,152,.92);
  border-radius:26px;
  color:#4a2a13;
}
.cert-template-time,
.cert-template-hints,
.cert-template-solutions,
.cert-template-title{
  left:61.2%;
  transform:translateX(0);
  text-align:left;
  width:24.5%;
  font-weight:700;
  background:rgba(236,207,152,.95);
  border-radius:14px;
  padding:.08em .35em .1em .4em;
}
.cert-template-time{top:69.35%;font-size:clamp(19px, 2.18vw, 34px)}
.cert-template-hints{top:76.55%;font-size:clamp(19px, 2.18vw, 34px)}
.cert-template-solutions{top:83.72%;font-size:clamp(19px, 2.18vw, 34px)}
.cert-template-title{top:90.95%;font-size:clamp(17px, 1.92vw, 30px);width:25.5%}

@media (max-width: 700px){
  .cert-template-team{width:40%; top:34.0%; font-size:clamp(24px, 6vw, 44px)}
  .cert-template-body{top:50.2%; width:50%; font-size:clamp(11px, 2.2vw, 16px); padding:7px 8px; border-radius:18px}
  .cert-template-time,.cert-template-hints,.cert-template-solutions,.cert-template-title{left:60.4%; width:26%; font-size:clamp(13px, 2.7vw, 20px); padding:.05em .22em .08em .28em}
  .cert-template-time{top:69.25%}
  .cert-template-hints{top:76.45%}
  .cert-template-solutions{top:83.62%}
  .cert-template-title{top:90.8%; font-size:clamp(11px, 2.1vw, 18px)}
}

@media print{
  .cert-wrap-template{display:block}
  .cert-template-cert{width:100%; max-width:none; break-inside:avoid; page-break-inside:avoid}
  .cert-template-bg{-webkit-print-color-adjust:exact; print-color-adjust:exact}
  .cert-template-overlay{-webkit-print-color-adjust:exact; print-color-adjust:exact}
}


/* v73 certificate positioning refinements */
.cert-template-team{
  top:39.15%;
  width:31%;
  font-size:clamp(34px, 5.1vw, 68px);
  padding:.08em .18em .10em;
}
.cert-template-body{
  top:56.0%;
  width:52%;
  font-size:clamp(12px, 1.58vw, 25px);
  line-height:1.48;
  padding:12px 18px;
}
.cert-template-time,
.cert-template-hints,
.cert-template-solutions,
.cert-template-title{transform:none;text-align:left}
.cert-template-time{left:53.1%; top:65.0%; width:auto; font-size:clamp(18px, 2.02vw, 31px)}
.cert-template-hints{left:67.1%; top:71.45%; width:auto; font-size:clamp(18px, 2.02vw, 31px)}
.cert-template-solutions{left:62.9%; top:77.95%; width:auto; font-size:clamp(18px, 2.02vw, 31px)}
.cert-template-title{left:52.8%; top:84.4%; width:36%; font-size:clamp(15px, 1.68vw, 25px)}

@media (max-width: 700px){
  .cert-template-team{top:39.2%; width:28%; font-size:clamp(20px, 5.6vw, 38px)}
  .cert-template-body{top:56.1%; width:54%; font-size:clamp(9px, 1.9vw, 14px); padding:8px 10px}
  .cert-template-time{left:52.6%; top:65.0%; font-size:clamp(12px, 2.4vw, 18px)}
  .cert-template-hints{left:66.7%; top:71.45%; font-size:clamp(12px, 2.4vw, 18px)}
  .cert-template-solutions{left:62.6%; top:77.95%; font-size:clamp(12px, 2.4vw, 18px)}
  .cert-template-title{left:52.3%; top:84.35%; width:38%; font-size:clamp(10px, 1.8vw, 16px)}
}


/* v74 certificate: exact template, only elegant dynamic text overlays */
.cert-wrap-template{display:flex;justify-content:center}
.cert-template-cert{
  position:relative;
  width:min(100%, 860px);
  aspect-ratio:941 / 1672;
  margin:0 auto;
}
.cert-template-bg{display:block;width:100%;height:100%;object-fit:contain}
.cert-template-overlay{
  position:absolute;
  color:#4d2c14;
  font-family: Georgia, "Times New Roman", serif;
  text-shadow:0 1px 0 rgba(247,233,196,.45);
  background:none !important;
  border:none !important;
  box-shadow:none !important;
}
.cert-template-team{
  left:50%;
  top:39.3%;
  transform:translateX(-50%);
  width:34%;
  text-align:center;
  font-size:clamp(38px, 5.1vw, 74px);
  font-weight:700;
  line-height:1.02;
  letter-spacing:.01em;
}
.cert-template-body{
  left:50%;
  top:56.1%;
  transform:translateX(-50%);
  width:49%;
  text-align:center;
  font-size:clamp(13px, 1.58vw, 24px);
  font-weight:600;
  line-height:1.60;
}
.cert-template-time,
.cert-template-hints,
.cert-template-solutions,
.cert-template-title{
  text-align:left;
  font-weight:700;
}
.cert-template-time{left:53.2%; top:65.05%; font-size:clamp(18px, 2.05vw, 31px)}
.cert-template-hints{left:67.2%; top:71.52%; font-size:clamp(18px, 2.05vw, 31px)}
.cert-template-solutions{left:63.0%; top:77.98%; font-size:clamp(18px, 2.05vw, 31px)}
.cert-template-title{left:52.9%; top:84.45%; width:33%; font-size:clamp(16px, 1.68vw, 25px); line-height:1.18}

@media (max-width: 700px){
  .cert-template-cert{width:min(100%, 96vw)}
  .cert-template-team{top:39.35%; width:35%; font-size:clamp(24px, 5.8vw, 42px)}
  .cert-template-body{top:56.2%; width:51%; font-size:clamp(9px, 1.92vw, 14px); line-height:1.55}
  .cert-template-time{left:53.0%; top:65.05%; font-size:clamp(12px, 2.4vw, 18px)}
  .cert-template-hints{left:67.0%; top:71.52%; font-size:clamp(12px, 2.4vw, 18px)}
  .cert-template-solutions{left:62.8%; top:77.98%; font-size:clamp(12px, 2.4vw, 18px)}
  .cert-template-title{left:52.8%; top:84.45%; width:34%; font-size:clamp(10px, 1.86vw, 16px)}
}

@media print{
  .cert-wrap-template{display:block}
  .cert-template-cert{width:100%; max-width:none; break-inside:avoid; page-break-inside:avoid}
  .cert-template-bg,
  .cert-template-overlay{-webkit-print-color-adjust:exact; print-color-adjust:exact}
}


/* v74 rendered certificate canvas */
.cert-canvas-wrap{
  width:min(100%, 860px);
  margin:0 auto;
}
.cert-canvas{
  display:block;
  width:100%;
  height:auto;
}
@media print{
  .cert-canvas-wrap{width:100%; max-width:none}
  .cert-canvas{-webkit-print-color-adjust:exact; print-color-adjust:exact}
}


/* v79 certificate: fixed clean template + 5 absolute text values only */
.cert-fixed-template{
  position:relative;
  width:min(100%, 860px);
  aspect-ratio:941 / 1672;
  margin:0 auto;
  overflow:hidden;
}
.cert-fixed-bg{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.cert-fill{
  position:absolute;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  color:#2f1a0d;
  font-family:Georgia, "Times New Roman", serif;
  font-weight:700;
  line-height:1.08;
  text-align:left;
  white-space:normal;
  text-decoration:none;
}
/* Team name: keep the existing correct upper placement */
.cert-fill-team{
  left:36%;
  top:38.8%;
  width:28%;
  height:4.8%;
  justify-content:center;
  text-align:center;
  font-size:clamp(28px, 5.4vw, 52px);
  letter-spacing:.03em;
  white-space:nowrap;
}
/* Bottom rows: values stay on the same horizontal line as their printed labels */
.cert-fill-time{
  left:56.3%;
  top:60.2%;
  width:21%;
  height:3.1%;
  justify-content:flex-start;
  font-size:clamp(13px, 2.05vw, 20px);
  white-space:nowrap;
}
.cert-fill-hints{
  left:56.3%;
  top:67.55%;
  width:12%;
  height:3.1%;
  justify-content:flex-start;
  font-size:clamp(13px, 2.05vw, 20px);
  white-space:nowrap;
}
.cert-fill-solutions{
  left:56.3%;
  top:74.85%;
  width:12%;
  height:3.1%;
  justify-content:flex-start;
  font-size:clamp(13px, 2.05vw, 20px);
  white-space:nowrap;
}
.cert-fill-title{
  left:52%;
  top:79.95%;
  width:27%;
  height:4.5%;
  align-items:flex-start;
  justify-content:flex-start;
  padding-top:.55%;
  font-size:clamp(10px, 1.45vw, 14px);
  line-height:1.12;
}

@media(max-width:700px){
  .cert-fixed-template{width:min(100%, 96vw)}
  .cert-fill-team{font-size:clamp(22px, 5.9vw, 40px)}
  .cert-fill-time,.cert-fill-hints,.cert-fill-solutions{font-size:clamp(11px, 2.45vw, 18px)}
  .cert-fill-title{font-size:clamp(8px, 1.9vw, 13px)}
}

@media print{
  .cert-fixed-template{
    width:100%;
    max-width:none;
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .cert-fixed-bg,
  .cert-field{
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
}


/* v81 certificate overlay: fixed background template + 4 absolutely positioned fields */
.cert-fixed-template{
  position:relative;
  width:min(100%, 860px);
  aspect-ratio:941 / 1672;
  margin:0 auto;
  overflow:hidden;
}
.cert-fixed-bg{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
}
.cert-field{
  position:absolute;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  margin:0;
  padding:0 .12em;
  background:transparent !important;
  border:none;
  border-radius:0;
  box-shadow:none !important;
  color:#2f1a0d;
  font-family:Georgia, "Times New Roman", serif;
  font-weight:700;
  line-height:1.08;
  overflow:hidden;
  word-break:normal;
  overflow-wrap:break-word;
  text-shadow:none;
}
#field-team{
  justify-content:center;
  white-space:normal;
  letter-spacing:.02em;
  line-height:1.02;
  align-items:center;
  text-wrap:balance;
  overflow-wrap:anywhere;
}
#field-time,
#field-hints,
#field-solutions{
  justify-content:flex-start;
  white-space:nowrap;
  line-height:1.15;
}
.certificate-debug #field-team{ border:2px solid #d22 !important; }
.certificate-debug #field-time{ border:2px solid #1f55ff !important; }
.certificate-debug #field-hints{ border:2px solid #18a718 !important; }
.certificate-debug #field-solutions{ border:2px solid #ff7a00 !important; }
.certificate-debug .cert-field::before{
  position:absolute;
  left:0;
  top:0;
  font:700 10px/1 Georgia, serif;
  color:#111;
  background:rgba(255,255,255,.72);
  padding:2px 4px;
  z-index:1;
}
.certificate-debug #field-team::before{ content:'field-team'; }
.certificate-debug #field-time::before{ content:'field-time'; }
.certificate-debug #field-hints::before{ content:'field-hints'; }
.certificate-debug #field-solutions::before{ content:'field-solutions'; }
@media print{
  .certificate-debug .cert-field::before{display:none;}
  .certificate-debug #field-team,
  .certificate-debug #field-time,
  .certificate-debug #field-hints,
  .certificate-debug #field-solutions{ border:none !important; }
}

/* v87 final certificate print: full-color one-page A4 output */
@page{
  size:A4 portrait;
  margin:0;
}
@media print{
  html,
  body{
    width:210mm!important;
    height:297mm!important;
    min-height:297mm!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  *{
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
  }
  .app-shell{
    width:210mm!important;
    height:297mm!important;
    min-height:297mm!important;
    display:block!important;
    padding:0!important;
    margin:0!important;
    background:#fff!important;
  }
  .phone{
    width:210mm!important;
    max-width:none!important;
    height:297mm!important;
    min-height:297mm!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .content{
    width:210mm!important;
    height:297mm!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  .topbar,
  .footer-actions,
  .cert-actions,
  .no-print,
  .modal-back,
  .toast{
    display:none!important;
  }
  .cert-wrap,
  .cert-wrap-template{
    width:210mm!important;
    height:297mm!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  .cert-fixed-template{
    width:167.1mm!important;
    height:297mm!important;
    max-width:none!important;
    aspect-ratio:941 / 1672!important;
    margin:0 auto!important;
    page-break-inside:avoid!important;
    break-inside:avoid!important;
    overflow:hidden!important;
  }
  .cert-fixed-bg{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }
}

/* v89 share sheet: social buttons for result sharing */
.share-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.share-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  border:0;
  border-radius:15px;
  padding:12px 10px;
  text-decoration:none;
  font-weight:900;
  color:#fff;
  box-shadow:0 8px 16px rgba(45,24,8,.16);
  cursor:pointer;
}
.share-btn::before{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  font:900 13px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  text-transform:uppercase;
}
.share-btn.native{grid-column:1/-1;background:#6f3d12}
.share-btn.native::before{content:'>'}
.share-btn.facebook{background:#1877f2}
.share-btn.facebook::before{content:'f';font-size:17px}
.share-btn.whatsapp{background:#128c7e}
.share-btn.whatsapp::before{content:'wa';font-size:10px}
.share-btn.messenger{background:#6b4dff}
.share-btn.messenger::before{content:'m'}
.share-btn.instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)}
.share-btn.instagram::before{content:'ig';font-size:10px}
.share-note{
  margin:12px 0 0;
  line-height:1.45;
}
.review-actions{
  display:grid;
  gap:10px;
  margin:14px 0;
}
.review-mail{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.selfie-stage{
  position:relative;
  overflow:hidden;
  aspect-ratio:1448/1086;
  max-height:min(68dvh,620px);
  width:100%;
  margin:0 auto;
  border-radius:12px;
  background:#170d05;
  border:1px solid rgba(43,24,10,.22);
  box-shadow:0 12px 28px rgba(45,24,8,.18);
}
.selfie-video,
.selfie-canvas,
.selfie-result{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.selfie-video{
  z-index:1;
  inset:auto;
  left:20.37%;
  top:26.70%;
  width:58.43%;
  height:63.08%;
  max-height:none;
  border-radius:26px;
  transform:scaleX(-1);
  filter:sepia(.24) saturate(.78) contrast(1.04) brightness(.98);
}
.selfie-canvas{
  display:none;
}
.selfie-result{
  display:none;
  z-index:3;
}
.selfie-frame-image{
  position:absolute;
  inset:0;
  z-index:4;
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
}
.selfie-stage:not(.camera-ready) .selfie-frame-image{
  opacity:0;
}
.selfie-stage::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    radial-gradient(circle at center, rgba(255,236,184,0) 54%, rgba(50,24,7,.18) 100%),
    linear-gradient(0deg, rgba(130,78,28,.08), rgba(255,232,176,.05));
  mix-blend-mode:multiply;
}
.selfie-stage.captured::after{
  display:none;
}
.selfie-capture-btn{
  position:absolute;
  z-index:6;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:132px;
  border:0;
  border-radius:999px;
  padding:12px 20px;
  background:rgba(111,61,18,.95);
  color:#fff5d6;
  font-weight:900;
  box-shadow:0 10px 26px rgba(0,0,0,.34);
  cursor:pointer;
}
.selfie-start-btn{
  position:absolute;
  z-index:7;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:none;
  align-items:center;
  justify-content:center;
  min-width:180px;
  border:0;
  border-radius:999px;
  padding:12px 20px;
  background:rgba(111,61,18,.95);
  color:#fff5d6;
  font-weight:900;
  box-shadow:0 10px 26px rgba(0,0,0,.34);
  cursor:pointer;
}
.selfie-stage:not(.camera-ready) .selfie-start-btn{
  display:inline-flex;
}
.selfie-actions{
  margin-top:12px;
}
@media(max-width:420px){
  .share-grid{grid-template-columns:1fr}
  .share-btn.native{grid-column:auto}
  .selfie-actions{grid-template-columns:1fr}
}
@media(orientation:landscape) and (max-height:560px){
  .selfie-stage{
    max-height:none;
  }
  .selfie-actions{
    grid-template-columns:repeat(3,1fr);
  }
}

/* v93 soft fades for presentation images */
.voucher-illustration,
.team-illustration,
.compass-art img{
  border-radius:30px!important;
  filter:drop-shadow(0 16px 38px rgba(0,0,0,.35))!important;
  -webkit-mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 28%, rgba(0,0,0,.96) 42%, rgba(0,0,0,.78) 58%, rgba(0,0,0,.45) 73%, rgba(0,0,0,.16) 88%, rgba(0,0,0,0) 100%)!important;
  mask-image:radial-gradient(ellipse at center, rgba(0,0,0,1) 28%, rgba(0,0,0,.96) 42%, rgba(0,0,0,.78) 58%, rgba(0,0,0,.45) 73%, rgba(0,0,0,.16) 88%, rgba(0,0,0,0) 100%)!important;
}
.compass-art img{
  max-width:min(100%,330px)!important;
}

/* v100 stronger fade only for gift voucher image */
.voucher-art .voucher-illustration{
  border-radius:0!important;
  filter:drop-shadow(0 16px 38px rgba(0,0,0,.28))!important;
  -webkit-mask-image:radial-gradient(ellipse at 55% 50%, rgba(0,0,0,1) 18%, rgba(0,0,0,.92) 36%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.28) 72%, rgba(0,0,0,.08) 86%, rgba(0,0,0,0) 100%)!important;
  mask-image:radial-gradient(ellipse at 55% 50%, rgba(0,0,0,1) 18%, rgba(0,0,0,.92) 36%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.28) 72%, rgba(0,0,0,.08) 86%, rgba(0,0,0,0) 100%)!important;
}

/* v112 extra soft fade for gift voucher edges */
.section-divider-art.voucher-art .voucher-illustration{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:drop-shadow(0 18px 34px rgba(45,24,8,.22))!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}

/* v122 legal pages and footer links */
.footer-links{display:flex;gap:14px;flex-wrap:wrap;font-size:13px}
.price-grid.price-grid-two{grid-template-columns:repeat(2, minmax(0,1fr));max-width:780px}
.price-grid strong{white-space:nowrap;font-size:clamp(30px,8vw,34px)}
.footer-links a{color:#f4d391;text-decoration:underline;text-underline-offset:4px}
.legal-menu{display:flex;flex-wrap:wrap}
.legal-content{max-width:980px}
.legal-content h1{font-size:clamp(36px,5vw,64px);color:#ffe1a0;margin:0 0 24px}
.legal-content h2{font-size:26px;margin-top:0}
.legal-block{background:rgba(255,243,207,.08);border:1px solid rgba(212,166,78,.22);border-radius:22px;padding:22px;margin:16px 0;color:#fff2d4;line-height:1.65}
.legal-block a{color:#ffd984}
.legal-block .note{color:#3d230d}
.web-form a{color:#4c2608;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){
  .footer-links{display:block}
  .footer-links a{display:block;margin-top:10px}
  .legal-menu{display:flex;position:static;background:transparent;border:0;padding:0;gap:12px}
  .price-grid.price-grid-two{grid-template-columns:1fr;max-width:none}
}

/* v155 game variants */
.price-grid.game-variants{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
.price-card{display:flex;flex-direction:column;gap:14px}
.price-card.featured{outline:2px solid rgba(156,101,29,.42);box-shadow:0 24px 70px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,230,170,.46)}
.price-badge{align-self:flex-start;margin:0;padding:7px 11px;border-radius:999px;background:rgba(76,38,8,.12);color:#6b3b11;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.price-card.featured .price-badge{background:linear-gradient(135deg,#f3c86a,#9c651d);color:#1b0c04}
.variant-meta{margin:0;color:#5b3515;font-weight:900}
.variant-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:auto}
.variant-prices>div{padding:12px;border-radius:16px;background:rgba(255,248,231,.56);border:1px solid rgba(96,52,17,.16)}
.variant-prices span{display:block;margin-bottom:4px;color:#5b3515;font-weight:900}
.web-form select{border:1px solid rgba(96,52,17,.3);border-radius:12px;padding:11px;background:#fff8e7;color:#2b1507;font:inherit}
@media(max-width:900px){
  .price-grid.game-variants,.variant-prices{grid-template-columns:1fr}
}

/* v159 web shell mobile overflow fix */
.app-shell.web-shell{display:block;padding:0;overflow-x:hidden}
.app-shell.web-shell .web-page{width:100%;max-width:100%;overflow-x:hidden}
.app-shell.web-shell .web-section,
.app-shell.web-shell .split,
.app-shell.web-shell .split>*,
.app-shell.web-shell .web-form,
.app-shell.web-shell .feature-card,
.app-shell.web-shell .reason-card,
.app-shell.web-shell .audience,
.app-shell.web-shell .info-card,
.app-shell.web-shell .price-card{min-width:0}
.app-shell.web-shell .web-form input:not([type="checkbox"]),
.app-shell.web-shell .web-form select{width:100%;max-width:100%;min-width:0}
.app-shell.web-shell .web-form input[type="checkbox"]{width:auto;max-width:none;min-width:0;flex:0 0 auto}
