/* A web/style.css prototípusból átvéve (NK-D-024: változatlan élmény).
   Eltérés: Google Fonts helyett rendszerbetűk (NK-D-026: nincs harmadik féltől betöltött erőforrás). */
:root{--sans:"DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--serif:"Playfair Display",Georgia,"Times New Roman",serif}
:root{--ink:#302b38;--muted:#827b87;--rose:#db6f82;--peach:#ffe6db;--cream:#fff9f2;--line:#f0e4dd;--plum:#68475f}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px var(--sans);min-height:100vh;background-image:radial-gradient(#e9c9c044 .8px,transparent .8px);background-size:18px 18px}.app{max-width:1120px;margin:auto;padding:0 42px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;text-decoration:none;line-height:0}.brand-logo{display:block;width:270px;max-width:62vw;height:auto}.top-note,.eyebrow,.step-label{letter-spacing:.16em;font-size:10px;font-weight:700;color:#a18a96}.intro{min-height:680px;text-align:center;padding:68px 0 45px;position:relative}.eyebrow{color:var(--rose);margin:0 0 17px}.intro h1{font:700 clamp(44px,7vw,76px)/1.06 var(--serif);letter-spacing:-.04em;margin:0}.intro h1 em{color:var(--rose);font-weight:600}.lede{max-width:440px;margin:20px auto 26px;color:var(--muted);line-height:1.75}.primary{border:0;border-radius:999px;background:var(--plum);color:white;padding:15px 24px;font:700 13px var(--sans);cursor:pointer;box-shadow:0 7px 18px #68475f25;transition:.2s}.primary:hover{transform:translateY(-2px);background:#51394a}.primary span{margin-left:15px}.hero-art{height:255px;max-width:420px;margin:20px auto 0;position:relative;display:grid;place-items:center}.gift-box{width:154px;height:125px;position:relative;background:#df8c90;border-radius:5px;box-shadow:0 21px 30px #a0555530;transform:rotate(-4deg)}.gift-box:before{content:'';position:absolute;top:-22px;left:-9px;width:172px;height:28px;background:#e8a5a3;border-radius:5px}.gift-box i{position:absolute;left:65px;top:0;width:26px;height:125px;background:#ffe6b8}.gift-box b:before,.gift-box b:after{content:'';position:absolute;top:-46px;width:35px;height:29px;border:9px solid #ffe6b8;border-radius:50% 50% 0 50%;transform:rotate(25deg);left:44px}.gift-box b:after{left:76px;transform:scaleX(-1) rotate(25deg)}.gift-box span{position:absolute;inset:35px 0 auto;text-align:center;color:#fff4e7;font:600 12px var(--serif);letter-spacing:.15em}.spark{position:absolute;color:#e9a86e;font-size:30px}.s1{left:14%;top:25%}.s2{right:17%;top:18%;font-size:22px}.s3{right:22%;bottom:12%;font-size:27px;color:#cf7888}.art-caption{position:absolute;bottom:10px;font-size:9px;letter-spacing:.22em;color:#ac9299}.hint{font-size:11px;color:#aa9ca2;margin-top:4px}.hint span{color:var(--rose);font-size:17px;vertical-align:-2px;margin-left:6px}.experience{position:relative;text-align:center;min-height:650px;padding:70px 0 90px;overflow:hidden}.experience h2{font:700 clamp(34px,5vw,52px) var(--serif);margin:17px 0 28px}.experience h2 span{color:var(--rose)}.video-frame{width:min(620px,100%);aspect-ratio:16/9;margin:auto;background:#332b38;border:9px solid white;border-radius:14px;box-shadow:0 18px 55px #4c34451b;overflow:hidden;display:grid;place-items:center}.video-frame video{width:100%;height:100%;object-fit:contain;background:#211c25}.video-placeholder{display:flex;align-items:center;flex-direction:column;gap:10px;color:#fff}.video-placeholder span{width:54px;height:54px;background:#ffffff25;border:1px solid #ffffff70;display:grid;place-items:center;border-radius:50%;padding-left:4px}.video-placeholder b{font:600 14px var(--sans)}.video-placeholder small{color:#d7cbd5}.stage-copy{color:var(--muted);margin:23px 0}.experience>.primary{margin-top:8px}.game,.gift-reveal{max-width:590px;margin:47px auto 10px;padding:35px 24px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 15px 45px #5942520b}.game h3,.gift-reveal h3{font:700 32px var(--serif);margin:0 0 12px}.game-copy{color:var(--muted);line-height:1.6}.boxes{display:flex;justify-content:center;gap:22px;margin:25px}.boxes button{border:1px solid var(--line);background:#fff7f2;border-radius:16px;font-size:42px;width:88px;height:88px;cursor:pointer;transition:.2s}.boxes button:hover{transform:translateY(-7px) rotate(-4deg);background:#ffe7dc}.boxes button:disabled{cursor:default;opacity:.6}.boxes button.correct{background:#e5f2e8;border-color:#aed4b9;transform:scale(1.12)}#game-message{min-height:22px;color:var(--plum);font-weight:600}.gift-image{height:280px;background:#fff5ee;border-radius:12px;display:grid;place-items:center;overflow:hidden;margin:22px 0}.gift-image img{width:100%;height:100%;object-fit:contain}.gift-image span{font-size:80px}.gift-reveal>p:last-child{color:var(--muted)}footer{text-align:center;padding:28px;color:#978b93;font-size:11px}footer span{color:var(--rose);margin-left:6px}.hidden{display:none!important}.edit-toggle{position:fixed;bottom:20px;right:22px;width:46px;height:46px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--plum);font-size:19px;box-shadow:0 8px 24px #39243e1a;cursor:pointer;z-index:3}.editor{position:fixed;z-index:5;right:0;top:0;height:100dvh;width:min(430px,100%);overflow:auto;padding:34px;background:#fff;box-shadow:-15px 0 55px #34283822;transform:translateX(105%);transition:transform .28s}.editor.open{transform:translateX(0)}.editor h2{font:700 33px var(--serif);margin:0 0 9px}.editor-intro{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 25px}.editor label{display:block;font-size:12px;font-weight:700;margin:17px 0}.editor input{display:block;width:100%;border:1px solid #e8dfe3;background:#fffdfc;border-radius:8px;padding:12px;margin-top:7px;font:13px var(--sans);color:var(--ink)}.editor input[type=file]{font-size:11px;padding:9px}.editor label small{display:block;color:var(--muted);font-size:10px;font-weight:400;line-height:1.5;margin:7px 0}.optional{font-weight:400;color:#a79aa1}.close{position:absolute;right:20px;top:17px;border:0;background:none;font-size:28px;color:#877a84;cursor:pointer}.wide{width:100%;margin-top:4px}.scrim{position:fixed;inset:0;background:#271b2870;z-index:4;opacity:0;pointer-events:none;transition:.2s}.scrim.show{opacity:1;pointer-events:auto}.share-result{margin-top:22px;padding:16px;background:#fff9f5;border:1px solid var(--line);border-radius:12px}.copy-row{display:flex;gap:6px}.copy-row input{min-width:0}.copy-row button{margin-top:7px;border:0;border-radius:8px;background:#f3e9e7;padding:0 13px;color:var(--plum);font-weight:700;cursor:pointer}#qr-wrap{margin:17px auto 4px;text-align:center;display:grid;justify-items:center;gap:8px}#qr{width:160px;height:160px;background:white;padding:7px;border:1px solid var(--line);border-radius:8px}#qr-wrap small{color:var(--muted);font-size:10px}.privacy-note{font-size:10px;line-height:1.55;color:#9b8e96;margin-top:20px}.confetti{position:absolute;inset:0;pointer-events:none}.confetti i{position:absolute;top:-20px;width:8px;height:13px;background:#e88a89;animation:fall 2.6s ease-in forwards}.confetti i:nth-child(3n){background:#f1c276}.confetti i:nth-child(3n + 1){background:#98c8ad}@keyframes fall{to{transform:translateY(700px) rotate(720deg);opacity:0}}@media(max-width:600px){.app{padding:0 21px}.topbar{height:66px}.brand-logo{width:min(190px,54vw)}.top-note{font-size:7px;letter-spacing:.08em}.intro{padding-top:65px;min-height:650px}.hero-art{height:230px}.experience{padding-top:48px}.experience h2{margin-bottom:22px}.video-frame{border-width:5px;border-radius:10px}.game,.gift-reveal{padding:30px 17px}.boxes{gap:10px;margin:20px 0}.boxes button{width:76px;height:76px}.editor{padding:27px 22px}}

/* Logic challenge */
.ttt-board{width:min(276px,100%);aspect-ratio:1;margin:25px auto 17px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}.ttt-cell{width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:1;padding:0;display:grid;place-items:center;border:1px solid var(--line);border-radius:13px;background:#fff8f4;font:700 clamp(38px,10vw,58px)/1 var(--sans);cursor:pointer;transition:background .15s}.ttt-cell:not(:disabled):hover{background:#ffe9df}.ttt-cell:disabled{cursor:default}.mark-x{color:#d76e83}.mark-o{color:#80638d}.text-button{border:0;background:none;color:var(--plum);font:700 12px var(--sans);text-decoration:underline;padding:8px;cursor:pointer}#ttt-message{min-height:24px;color:var(--plum);font-weight:600}
.experience-active footer{display:none}
[hidden]{display:none!important}



