/*
Theme Name: DORYGAMES Custom Catalog
Theme URI: https://dorygames.eu
Author: DORYGAMES
Description: "Game Table" – kreatívna katalógová a dopytová téma pre zákazkové hry DORYGAMES (SK, HU, PL, DE, EN) bez cien a registrácie.
Version: 2.0.0
Text Domain: dorygames
*/

:root {
    --blue: #0A58CA;
    --blue-deep: #08327A;
    --navy: #0B1B3F;
    --felt: #0A2A66;
    --orange: #FF7A00;
    --orange-soft: #FFB066;
    --cream: #FFF7EC;
    --cream-2: #FCEBD5;
    --ink: #0B1B3F;
    --muted: #5B6680;
    --line: rgba(11, 27, 63, .12);
    --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* Dotted paper background */
.paper {
    background-color: var(--cream);
    background-image: radial-gradient(rgba(11, 27, 63, .09) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
}

/* ---------- Header ---------- */
.hdr {
    position: fixed; inset: 0 0 auto 0; z-index: 90;
    transition: background .3s, box-shadow .3s, padding .3s;
    padding: 16px 0;
}
.hdr.scrolled {
    background: rgba(255, 247, 236, .88);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line);
    padding: 8px 0;
}
.hdr-in { display: flex; align-items: center; gap: 28px; }
.hdr-logo img { height: 50px; width: auto; transition: height .3s; }
.hdr.scrolled .hdr-logo img { height: 42px; }
.hdr-nav { display: flex; gap: 6px; margin-left: auto; }
.hdr-nav a {
    font-weight: 600; font-size: .94rem; padding: 8px 14px; border-radius: 999px;
    transition: background .2s;
}
.hdr-nav a:hover { background: rgba(10, 88, 202, .08); color: var(--blue); }
.langs {
    display: flex; gap: 2px; padding: 4px; border-radius: 999px;
    background: #fff; border: 1.5px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}
.langs a {
    font: 700 .74rem/1 var(--body); letter-spacing: .04em;
    padding: 7px 9px; border-radius: 999px; color: var(--muted);
}
.langs a.on { background: var(--ink); color: #fff; }
.langs a:not(.on):hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font: 700 1rem/1 var(--body);
    padding: 16px 26px; border-radius: 14px; cursor: pointer;
    border: 2px solid var(--ink);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 5px 5px 0 var(--ink); }
.btn-ghost   { background: #fff; color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.btn:hover   { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active  { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 700 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.hero h1 {
    font-family: var(--display); font-weight: 800;
    font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.035em;
    margin: 22px 0 24px;
}
.hero h1 em {
    font-style: normal; color: var(--orange); position: relative; white-space: nowrap;
}
.hero h1 em::after {
    content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .28em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14 C 50 2, 120 2, 198 10' stroke='%230A58CA' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 0 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.stats { display: flex; gap: 34px; margin-top: 48px; flex-wrap: wrap; }
.stat b { display: block; font: 800 2rem/1 var(--display); letter-spacing: -.02em; }
.stat span { font-size: .84rem; color: var(--muted); }

/* Hero table composition */
.table {
    position: relative; aspect-ratio: 1 / 1; max-width: 600px; margin-left: auto; width: 100%;
}
.table-blob {
    position: absolute; inset: 6% 4% 4% 8%;
    background: var(--blue);
    border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%;
    animation: blob 14s ease-in-out infinite;
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .06);
}
.table-blob::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1.4px, transparent 1.4px);
    background-size: 18px 18px;
}
@keyframes blob {
    50% { border-radius: 55% 45% 40% 60% / 40% 58% 42% 60%; }
}
.piece { position: absolute; will-change: transform; transition: transform .25s ease-out; }
.piece > * { animation: float 6s ease-in-out infinite; }
.piece:nth-child(3) > * { animation-delay: -1.5s; }
.piece:nth-child(4) > * { animation-delay: -3s; }
.piece:nth-child(5) > * { animation-delay: -4.5s; }
.piece:nth-child(6) > * { animation-delay: -2.2s; }
@keyframes float { 50% { translate: 0 -12px; } }

.p-mascot { left: 22%; top: 18%; width: 58%; z-index: 4; }
.p-mascot img { filter: drop-shadow(0 22px 30px rgba(8, 50, 122, .35)); }

.p-duo { right: 0; top: 4%; width: 34%; z-index: 3; }
.duo-card {
    aspect-ratio: 1; border-radius: 50%; background: #fff; border: 3px solid var(--ink);
    box-shadow: 6px 8px 0 var(--ink); position: relative; rotate: 12deg;
}
.duo-card svg { position: absolute; }

.p-card { left: 0; bottom: 6%; width: 30%; z-index: 5; }
.play-card {
    aspect-ratio: 5 / 7; background: #fff; border: 3px solid var(--ink); border-radius: 16px;
    box-shadow: 6px 8px 0 var(--ink); rotate: -14deg; position: relative;
    display: grid; place-items: center;
}
.play-card .idx { position: absolute; font: 800 1.3rem/1 var(--display); color: var(--orange); text-align: center; }
.play-card .idx.tl { top: 10px; left: 12px; }
.play-card .idx.br { bottom: 10px; right: 12px; rotate: 180deg; }

.p-die { right: 8%; bottom: 8%; width: 18%; z-index: 6; perspective: 600px; }
.cube {
    width: 100%; aspect-ratio: 1; position: relative; transform-style: preserve-3d;
    animation: spin 12s linear infinite;
}
.cube .f {
    position: absolute; inset: 0; background: #fff; border: 3px solid var(--ink); border-radius: 18%;
    display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 14%;
}
.cube .f i { width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); place-self: center; }
.cube .f i.o { background: transparent; }
@keyframes spin { to { transform: rotateX(360deg) rotateY(720deg); } }

.p-puzzle { left: 4%; top: 6%; width: 18%; z-index: 2; }
.p-puzzle svg { rotate: -18deg; filter: drop-shadow(5px 6px 0 var(--ink)); }
.p-brick { right: 30%; bottom: -2%; width: 20%; z-index: 4; }
.p-brick svg { rotate: 8deg; filter: drop-shadow(5px 6px 0 var(--ink)); }

/* ---------- Marquee ---------- */
.marquee {
    background: var(--ink); color: #fff; overflow: hidden; padding: 20px 0;
    rotate: -1.6deg; margin: -10px -20px 0; position: relative; z-index: 3;
    border-top: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
}
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marq 32s linear infinite; }
.marquee span {
    font: 800 1.7rem/1 var(--display); letter-spacing: -.01em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 46px; white-space: nowrap;
}
.marquee span::after { content: "✦"; color: var(--orange); font-size: 1.2rem; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Catalog (felt table) ---------- */
.catalog {
    position: relative; padding: 120px 0 110px; color: #fff;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .10), transparent 60%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 8px),
        var(--felt);
    margin-top: -30px;
}
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head h2 {
    font: 800 clamp(2.4rem, 5vw, 4.2rem)/1 var(--display); letter-spacing: -.035em; margin: 14px 0 0;
}
.sec-head p { max-width: 430px; margin: 0; color: rgba(255, 255, 255, .72); }
.catalog .eyebrow { color: var(--orange-soft); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; }
.chip {
    --c: #fff;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 16px 10px 12px; border-radius: 999px; cursor: pointer;
    background: rgba(255, 255, 255, .07); color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .22);
    font: 600 .9rem/1 var(--body);
    transition: all .2s var(--ease);
}
.chip .dot {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--c); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55), 0 0 0 2px var(--c);
}
.chip .dot svg { width: 14px; height: 14px; }
.chip small { opacity: .6; font-weight: 700; }
.chip:hover { background: rgba(255, 255, 255, .14); }
.chip.on { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.search {
    margin-left: auto; position: relative; min-width: 280px;
}
.search input {
    width: 100%; padding: 13px 16px 13px 44px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .25);
    color: #fff; font: 500 .94rem var(--body);
}
.search input::placeholder { color: rgba(255, 255, 255, .55); }
.search input:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, .16); }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; opacity: .7; }

/* ---------- Game card (flip) ---------- */
.deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 26px; }
.gcard { --c: var(--blue); perspective: 1400px; aspect-ratio: 5 / 7; position: relative; }
.gcard.hide { display: none; }
.gcard-in {
    position: absolute; inset: 0; transform-style: preserve-3d;
    transition: transform .7s var(--ease);
}
.gcard:nth-child(4n+1) .gcard-in { rotate: -1.2deg; }
.gcard:nth-child(4n+2) .gcard-in { rotate: .8deg; }
.gcard:nth-child(4n+3) .gcard-in { rotate: -.5deg; }
.gcard:nth-child(4n)   .gcard-in { rotate: 1.3deg; }
@media (hover: hover) {
    .gcard:hover .gcard-in { transform: rotateY(180deg) translateZ(0); }
}
.gcard.flipped .gcard-in { transform: rotateY(180deg); }
.face {
    position: absolute; inset: 0; border-radius: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
    overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 2px 0 rgba(255, 255, 255, .4) inset;
}
.front { background: #fff; color: var(--ink); display: flex; flex-direction: column; padding: 14px; }
.front::before {
    content: ""; position: absolute; inset: 8px; border-radius: 14px; border: 1.5px solid var(--c); opacity: .35; pointer-events: none;
}
.corner { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 2; }
.corner b { font: 600 .66rem/1 var(--mono); color: var(--c); letter-spacing: .02em; }
.corner.tl { top: 16px; left: 16px; }
.corner.br { bottom: 16px; right: 16px; rotate: 180deg; }
.front-img { flex: 1; display: grid; place-items: center; padding: 26px 18px 4px; min-height: 0; }
.front-img img { max-height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.front-meta { padding: 8px 30px 26px 8px; position: relative; }
.front-meta .cat { font: 700 .68rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.front-meta h3 { font: 700 .98rem/1.28 var(--display); margin: 6px 0 0; letter-spacing: -.01em;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.flip-btn {
    position: absolute; right: 14px; top: 50%; translate: 0 -50%;
    width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--c); color: #fff; display: grid; place-items: center; z-index: 3;
}
@media (hover: hover) { .flip-btn { display: none; } }

.back {
    transform: rotateY(180deg); color: #fff; padding: 14px;
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 6px, transparent 6px 14px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, .08) 0 6px, transparent 6px 14px),
        var(--c);
    display: flex;
}
.back-in {
    flex: 1; border: 2px solid rgba(255, 255, 255, .75); border-radius: 14px;
    background: rgba(11, 27, 63, .88); backdrop-filter: blur(2px);
    padding: 14px 15px; display: flex; flex-direction: column; overflow: hidden;
}
.back-in .sku { font: 600 .68rem/1 var(--mono); opacity: .75; flex-shrink: 0; }
.back-in h4 {
    font: 700 .92rem/1.22 var(--display); margin: 5px 0 8px; flex-shrink: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.back-in ul {
    list-style: none; padding: 0; margin: 0 0 auto; font-size: .75rem; line-height: 1.32;
    color: rgba(255, 255, 255, .88); overflow: hidden;
}
.back-in li { padding-left: 14px; position: relative; margin-bottom: 5px; }
.back-in li::before { content: ""; position: absolute; left: 0; top: .45em; width: 6px; height: 6px; border-radius: 2px; background: var(--c); rotate: 45deg; }
.moq {
    display: inline-block; font: 700 .7rem/1 var(--body); background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3); color: #fff; padding: 5px 10px;
    border-radius: 999px; margin: 8px 0; align-self: flex-start; flex-shrink: 0;
}
.back-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; flex-shrink: 0;
}
.back-actions a, .back-actions button {
    display: inline-flex; align-items: center; justify-content: center;
    font: 700 .76rem/1.15 var(--body); padding: 9px 8px; min-height: 38px;
    border-radius: 9px; text-align: center; cursor: pointer;
    background: var(--orange); color: #fff; border: 1.5px solid var(--orange);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.back-actions a:hover, .back-actions button:hover {
    background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-1px);
}
.empty { display: none; text-align: center; padding: 60px 0; color: rgba(255, 255, 255, .7); font-size: 1.1rem; }

/* ---------- Use cases (bento) ---------- */
.uses { padding: 120px 0 100px; }
.uses .sec-head p { color: var(--muted); }
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.tile {
    border: 2px solid var(--ink); border-radius: 24px; padding: 30px; position: relative; overflow: hidden;
    box-shadow: 6px 6px 0 var(--ink); min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 9px 9px 0 var(--ink); }
.tile h3 { font: 800 1.6rem/1.05 var(--display); margin: 0 0 8px; letter-spacing: -.02em; position: relative; }
.tile p { margin: 0; position: relative; max-width: 360px; }
.tile .big { position: absolute; right: -14px; top: -14px; width: 150px; height: 150px; opacity: .95; }
.t1 { grid-row: span 2; background: var(--orange); color: #fff; }
.t1 .big { width: 260px; height: 260px; right: -30px; top: -20px; }
.t2 { background: #fff; }
.t3 { background: var(--blue); color: #fff; }
.t4 { grid-column: span 2; background: var(--cream-2); }

/* ---------- Game plan ---------- */
.plan { padding: 40px 0 120px; }
.plan .sec-head p { color: var(--muted); }
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 20px; }
.track svg.path { position: absolute; left: 0; right: 0; top: 46px; width: 100%; height: 60px; z-index: 0; }
.field { position: relative; z-index: 1; text-align: left; }
.field .num {
    width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center;
    font: 800 2.4rem/1 var(--display); border: 2.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
    margin-bottom: 22px; rotate: -4deg; background: #fff;
}
.field:nth-child(2) .num { background: var(--orange); color: #fff; rotate: 3deg; }
.field:nth-child(3) .num { background: var(--blue); color: #fff; rotate: -2deg; }
.field:nth-child(4) .num { background: var(--ink); color: #fff; rotate: 5deg; }
.field:nth-child(5) .num { background: #FACC15; rotate: -3deg; }
.field h3 { font: 800 1.3rem/1.1 var(--display); margin: 0 0 6px; }
.field p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.band {
    background: var(--orange); color: #fff; border: 3px solid var(--ink); border-radius: 32px;
    padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
    box-shadow: 10px 10px 0 var(--ink); position: relative; overflow: hidden; margin-bottom: 110px;
}
.band h2 { font: 800 clamp(2rem, 4vw, 3.4rem)/1 var(--display); margin: 0 0 10px; letter-spacing: -.03em; }
.band p { margin: 0; font-size: 1.1rem; opacity: .92; }
.band img { position: absolute; right: 280px; bottom: -40px; width: 200px; opacity: .2; rotate: -12deg; pointer-events: none; }
.band .btn-ghost { position: relative; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 70px 0 34px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.ftr h4 { color: #fff; font: 700 1rem var(--display); margin: 0 0 14px; }
.ftr a:hover { color: var(--orange-soft); }
.ftr-logo { height: 54px; width: auto; margin-bottom: 16px; background: #fff; padding: 8px 14px; border-radius: 14px; }
.ftr-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Hand (inquiry) ---------- */
.hand {
    position: fixed; right: 26px; bottom: 26px; z-index: 95;
    display: flex; align-items: center; gap: 14px; cursor: pointer;
    background: var(--ink); color: #fff; border: 2px solid var(--ink);
    padding: 10px 20px 10px 14px; border-radius: 999px; box-shadow: 0 14px 34px rgba(11, 27, 63, .35);
    transition: transform .2s var(--ease);
}
.hand:hover { transform: translateY(-3px); }
.hand.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-3deg); } 60% { transform: scale(.96); } }
.hand-cards { position: relative; width: 44px; height: 40px; }
.hand-cards i {
    position: absolute; left: 10px; bottom: 0; width: 24px; height: 34px; border-radius: 5px;
    background: #fff; border: 2px solid var(--ink); transform-origin: 50% 110%;
}
.hand-cards i:nth-child(1) { rotate: -22deg; background: var(--orange); }
.hand-cards i:nth-child(2) { rotate: 0deg; background: #fff; }
.hand-cards i:nth-child(3) { rotate: 22deg; background: var(--blue); }
.hand b { font: 700 .95rem var(--body); }
.hand .count {
    min-width: 28px; height: 28px; border-radius: 999px; background: var(--orange);
    display: grid; place-items: center; font: 800 .85rem var(--body); padding: 0 8px;
}

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(11, 27, 63, .5); backdrop-filter: blur(3px); z-index: 98; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: min(520px, 100%); z-index: 99;
    background: var(--cream); border-left: 3px solid var(--ink);
    transform: translateX(105%); transition: transform .45s var(--ease);
    display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-hd { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 2px solid var(--line); }
.drawer-hd h3 { font: 800 1.6rem/1 var(--display); margin: 0; letter-spacing: -.02em; }
.x { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.drawer-bd { padding: 22px 28px 30px; overflow-y: auto; flex: 1; }
.item {
    display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center;
    background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 10px; margin-bottom: 10px;
    box-shadow: 3px 3px 0 var(--ink);
}
.item img { width: 54px; height: 54px; object-fit: contain; border-radius: 8px; background: #fff; }
.item .t { font: 600 .86rem/1.3 var(--body); }
.item .t small { display: block; font: 600 .7rem var(--mono); color: var(--blue); margin-bottom: 2px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; }
.qty button { width: 28px; height: 32px; border: 0; background: var(--cream-2); cursor: pointer; font-weight: 800; }
.qty input { width: 58px; height: 32px; border: 0; text-align: center; font: 700 .9rem var(--body); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.rm { background: none; border: 0; color: #DC2626; cursor: pointer; font-size: .78rem; font-weight: 700; margin-top: 4px; }
.empty-hand { padding: 20px; border: 2px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 700 .78rem var(--body); margin-bottom: 5px; }
.form input, .form textarea {
    width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #fff;
    font: 500 .95rem var(--body);
}
.form input:focus, .form textarea:focus { outline: none; box-shadow: 3px 3px 0 var(--orange); }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: 30px; translate: -50% 140%; z-index: 97;
    background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px;
    padding: 12px 22px; font-weight: 700; box-shadow: 4px 4px 0 var(--ink);
    transition: translate .4s var(--ease);
}
.toast.show { translate: -50% 0; }
.notice { background: #DCFCE7; border: 2px solid var(--ink); border-radius: 16px; padding: 16px 22px; font-weight: 700; box-shadow: 4px 4px 0 var(--ink); margin: 110px auto -80px; max-width: 1264px; position: relative; z-index: 5; }

/* ---------- Single product ---------- */
.single { padding: 140px 0 90px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.crumbs a { font: 600 .84rem var(--body); padding: 7px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.crumbs a:hover { border-color: var(--ink); }
.single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.hero-card {
    --c: var(--blue); position: sticky; top: 110px;
    background: #fff; border: 3px solid var(--ink); border-radius: 28px; padding: 46px;
    box-shadow: 12px 12px 0 var(--c); rotate: -1.5deg; aspect-ratio: 1;
    display: grid; place-items: center;
}
.hero-card .corner b { font-size: .8rem; }
.hero-card .corner.tl { top: 22px; left: 22px; }
.hero-card .corner.br { bottom: 22px; right: 22px; }
.hero-card img { max-height: 100%; object-fit: contain; }
.tag { --c: var(--blue); display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.single h1 { font: 800 clamp(2rem, 3.6vw, 3.1rem)/1.04 var(--display); letter-spacing: -.03em; margin: 14px 0 18px; }
.sku-line { font: 600 .82rem var(--mono); color: var(--muted); }
.desc { margin-top: 26px; }
.desc p { margin: 0 0 12px; color: #2B3550; }
.desc p strong { display: inline-block; font: 800 1.05rem var(--display); color: var(--ink); margin-top: 14px; }
.desc ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.desc li { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px 10px 38px; position: relative; font-size: .94rem; }
.desc li::before { content: ""; position: absolute; left: 15px; top: 17px; width: 9px; height: 9px; background: var(--orange); border-radius: 2px; rotate: 45deg; }
.ask {
    margin-top: 30px; background: var(--ink); color: #fff; border-radius: 24px; padding: 28px;
    box-shadow: 8px 8px 0 var(--orange);
}
.ask h3 { font: 800 1.35rem/1.15 var(--display); margin: 0 0 6px; }
.ask p { margin: 0 0 18px; color: rgba(255, 255, 255, .72); font-size: .92rem; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.presets span { font-size: .78rem; opacity: .6; margin-right: 4px; }
.presets button { border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 700; cursor: pointer; }
.presets button.on, .presets button:hover { background: #fff; color: var(--ink); }
.ask-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ask .qty { border-color: #fff; background: #fff; }
.ask .qty input { width: 80px; height: 48px; font-size: 1.05rem; }
.ask .qty button { height: 48px; width: 40px; }
.ask .btn { border-color: #fff; box-shadow: 4px 4px 0 #fff; }
.related { padding: 0 0 110px; }
.related h2 { font: 800 2.2rem/1 var(--display); letter-spacing: -.03em; margin: 0 0 36px; }
.related .deck .front { box-shadow: 0 0 0 2px var(--ink); }
.related .face { box-shadow: 6px 6px 0 var(--ink); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .deck { grid-template-columns: repeat(3, 1fr); }
    .hdr-nav { display: none; }
    .langs { margin-left: auto; }
}
@media (max-width: 900px) {
    .hero { padding-top: 120px; }
    .hero-grid, .single-grid { grid-template-columns: 1fr; }
    .table { max-width: 460px; margin: 0 auto; }
    .bento { grid-template-columns: 1fr 1fr; }
    .t1 { grid-row: auto; grid-column: span 2; }
    .t4 { grid-column: span 2; }
    .track { grid-template-columns: 1fr 1fr; }
    .track svg.path { display: none; }
    .band { grid-template-columns: 1fr; padding: 38px; }
    .band img { display: none; }
    .hero-card { position: relative; top: 0; }
    .ftr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 18px; }
    .deck { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
    .front-meta h3 { font-size: .84rem; }
    .back-in { padding: 12px; } .back-in ul { display: none; }
    .bento, .track, .form { grid-template-columns: 1fr; }
    .t1, .t4 { grid-column: auto; }
    .search { min-width: 100%; margin-left: 0; }
    .hand b { display: none; }
    .stats { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* =========================================================
   PRODUCT DETAIL v2 ("sp-")
   ========================================================= */
.sp { --brand: var(--c); }
.sp-hero { padding: 130px 0 70px; position: relative; }
.crumb-sku { font: 600 .78rem var(--mono); padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; }
.sp-hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }

/* Stage */
.sp-stage { position: relative; aspect-ratio: 1 / 1; perspective: 1200px; }
.sp-felt {
    position: absolute; inset: 4% 2% 2% 4%;
    background:
        radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, .16), transparent 60%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 8px),
        var(--felt);
    border-radius: 46% 54% 50% 50% / 52% 44% 56% 48%;
    animation: blob 16s ease-in-out infinite;
    box-shadow: 14px 16px 0 var(--c);
}
.sp-sku-big {
    position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 0;
    font: 800 clamp(5rem, 12vw, 10rem)/1 var(--display); letter-spacing: -.05em;
    color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .14); white-space: nowrap; pointer-events: none;
}
.sp-photo {
    --gx: 50%; --gy: 30%;
    position: absolute; inset: 15% 13% 15% 13%; z-index: 3;
    background: #fff; border: 3px solid var(--ink); border-radius: 26px; padding: 34px;
    box-shadow: 0 30px 60px rgba(5, 18, 48, .45);
    display: grid; place-items: center; rotate: -3deg;
    transition: transform .25s ease-out; transform-style: preserve-3d;
}
.sp-photo::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .55), transparent 45%);
    mix-blend-mode: soft-light;
}
.sp-photo img { max-height: 100%; object-fit: contain; border-radius: 10px; }
.sp-photo .corner b { font-size: .78rem; }
.sp-photo .corner.tl { top: 14px; left: 14px; }
.sp-photo .corner.br { bottom: 14px; right: 14px; }
.sp-stage [data-depth] { transition: translate .25s ease-out; }
.sp-mini {
    position: absolute; z-index: 4; width: 23%; aspect-ratio: 1; border-radius: 50%;
    background: #fff; border: 3px solid var(--ink); box-shadow: 5px 7px 0 var(--ink);
    display: grid; grid-template-columns: repeat(3, 1fr); place-items: center; padding: 14%;
    font-size: clamp(.9rem, 1.6vw, 1.35rem); animation: float 6s ease-in-out infinite;
}
.sp-mini span:nth-child(odd) { rotate: -18deg; } .sp-mini span:nth-child(3n) { rotate: 24deg; scale: 1.15; }
.sp-mini.m1 { right: -2%; top: 4%; rotate: 14deg; }
.sp-mini.m2 { left: 0; bottom: 4%; rotate: -10deg; animation-delay: -3s; }
.sp-mascot { position: absolute; z-index: 5; width: 30%; right: -4%; bottom: 0; filter: drop-shadow(0 16px 20px rgba(8, 50, 122, .35)); animation: float 7s ease-in-out infinite -2s; }
.sp-sticker {
    position: absolute; z-index: 6; left: 2%; top: 6%; width: 21%; aspect-ratio: 1; border-radius: 50%;
    background: var(--orange); color: #fff; border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink);
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; rotate: -14deg;
}
.sp-sticker b { font: 800 clamp(1rem, 2vw, 1.6rem)/1 var(--display); }
.sp-sticker span { font: 700 .62rem/1.1 var(--body); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; padding: 0 8px; }

/* Info */
.sp-info .tag { color: var(--c); }
.sp-info h1 { font: 800 clamp(2.1rem, 3.8vw, 3.4rem)/1.02 var(--display); letter-spacing: -.035em; margin: 14px 0 16px; }
.sp-lead { font-size: 1.12rem; color: var(--muted); margin: 0 0 22px; }
.sp-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 8px; }
.sp-quick div {
    background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 14px 12px;
    box-shadow: 4px 4px 0 var(--ink); transition: transform .2s var(--ease);
}
.sp-quick div:nth-child(1) { background: var(--c); color: #fff; }
.sp-quick div:hover { transform: translate(-2px, -2px) rotate(-1deg); }
.sp-quick b { display: block; font: 800 1.35rem/1.05 var(--display); letter-spacing: -.02em; }
.sp-quick span { font: 600 .72rem/1.2 var(--body); opacity: .75; }

/* Tabs */
.sp-tabs { position: sticky; top: 66px; z-index: 40; margin-bottom: 0; }
.sp-tabs-in { display: flex; gap: 8px; justify-content: center; }
.sp-tabs a {
    font: 700 .9rem var(--body); padding: 10px 18px; border-radius: 999px;
    background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: all .2s var(--ease);
}
.sp-tabs a:hover { transform: translateY(-2px); }
.sp-tabs a.on { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--orange); }

/* Play */
.sp-play {
    margin-top: 40px; padding: 110px 0; color: #fff; position: relative;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .10), transparent 60%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 8px),
        var(--felt);
}
.sp-play .eyebrow { color: var(--orange-soft); }
.sp-game { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; }
.sp-board { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.sp-round-wrap { text-align: center; }
.sp-round-wrap .lbl { display: inline-block; font: 700 .74rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 14px; }
.sp-round {
    position: relative; aspect-ratio: 1; border-radius: 50%; background: #fff;
    border: 6px solid var(--brand, var(--orange)); outline: 3px solid var(--ink);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 26px 50px rgba(0, 0, 0, .4);
}
.sp-round::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px dashed rgba(11, 27, 63, .12); }
.sp-round.in { animation: deal .55s var(--ease); }
#cardB.in { animation-delay: .08s; animation-fill-mode: backwards; }
@keyframes deal { from { transform: translateY(-40px) rotate(-25deg) scale(.7); opacity: 0; } }
.sp-round .s {
    position: absolute; translate: -50% -50%; transform: rotate(var(--r)) scale(var(--sc));
    font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1; border: 0; background: none; cursor: pointer;
    padding: 6px; border-radius: 50%; transition: transform .15s ease, background .15s;
}
.sp-round .s:hover { transform: rotate(var(--r)) scale(calc(var(--sc) * 1.18)); background: rgba(255, 122, 0, .12); }
.sp-round .s.ok { background: #FACC15; box-shadow: 0 0 0 4px var(--ink); animation: okp .6s var(--ease); }
@keyframes okp { 40% { transform: rotate(0) scale(1.5); } }
.sp-round .s.no { animation: shake .4s; }
@keyframes shake { 25% { margin-left: -6px; } 75% { margin-left: 6px; } }
.sp-round .s em.brand {
    display: inline-block; font: 800 .5em/1 var(--display); font-style: normal; color: #fff;
    background: var(--brand, var(--orange)); padding: .45em .6em; border-radius: 10px; border: 2px solid var(--ink); white-space: nowrap;
}
.sp-vs { width: 62px; height: 62px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.sp-pop {
    position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 5; pointer-events: none;
    font: 800 clamp(3rem, 7vw, 5.5rem)/1 var(--display); letter-spacing: -.04em; color: #FACC15;
    -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--ink); opacity: 0;
}
.sp-pop.show { animation: pop .9s var(--ease); }
@keyframes pop { 0% { opacity: 0; transform: scale(.4) rotate(-12deg); } 30% { opacity: 1; transform: scale(1.1) rotate(-6deg); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1) rotate(-6deg) translateY(-30px); } }

.sp-side { display: flex; flex-direction: column; gap: 16px; }
.sp-score { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-score div { background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 12px 10px; }
.sp-score b { display: block; font: 800 1.6rem/1 var(--display); color: #fff; }
.sp-score span { font: 600 .68rem/1.2 var(--body); color: rgba(255, 255, 255, .65); }
.sp-deal { justify-content: center; }
.sp-brand { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--orange); }
.sp-brand h4 { font: 800 1.15rem/1.15 var(--display); margin: 0 0 6px; }
.sp-brand p { font-size: .84rem; color: var(--muted); margin: 0 0 14px; }
.sp-brand-row { display: flex; gap: 8px; }
.sp-brand-row input[type=text] { flex: 1; min-width: 0; padding: 11px 13px; border: 2px solid var(--ink); border-radius: 12px; font: 600 .95rem var(--body); }
.sp-brand-row input[type=text]:focus { outline: none; box-shadow: 3px 3px 0 var(--orange); }
.sp-color { position: relative; width: 46px; flex-shrink: 0; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; cursor: pointer; }
.sp-color input { position: absolute; inset: -10px; width: 200%; height: 200%; border: 0; cursor: pointer; }
.sp-math { font: 600 .74rem/1.5 var(--mono); color: rgba(255, 255, 255, .6); margin: 0; }

/* Anatomy */
.sp-anatomy { padding: 110px 0 60px; }
.sp-anatomy .sec-head p, .sp-custom .sec-head p { color: var(--muted); }
.sp-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.sp-part {
    position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: 24px; padding: 26px 24px 22px;
    box-shadow: 7px 7px 0 var(--ink); display: flex; flex-direction: column;
    background-image: linear-gradient(rgba(10, 88, 202, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 88, 202, .06) 1px, transparent 1px);
    background-size: 16px 16px;
}
.sp-part:nth-child(2) { rotate: .6deg; } .sp-part:nth-child(3) { rotate: -.5deg; }
.sp-part-no { position: absolute; right: 18px; top: 14px; font: 800 2.4rem/1 var(--display); color: var(--c); opacity: .25; }
.sp-part-draw { min-height: 210px; display: grid; place-items: center; margin-bottom: 12px; color: var(--c); }
.sp-dim { max-width: 100%; height: auto; overflow: visible; }
.sp-dim text { font: 600 11px var(--mono); fill: var(--ink); }
.sp-part h3 { font: 800 1.4rem/1.1 var(--display); margin: 0 0 10px; letter-spacing: -.02em; }
.sp-spec { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sp-spec li { font: 600 .76rem var(--mono); background: var(--cream); border: 1.5px solid var(--ink); border-radius: 8px; padding: 5px 9px; }
.sp-scale-note { font: 600 .74rem var(--mono); color: var(--muted); margin: 18px 0 0; }

.sp-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 40px; }
.sp-list { border: 2.5px solid var(--ink); border-radius: 24px; padding: 26px; box-shadow: 6px 6px 0 var(--ink); background: var(--cream-2); }
.sp-list.l0 { background: var(--blue); color: #fff; }
.sp-list h3 { font: 800 1.3rem/1.1 var(--display); margin: 0 0 14px; }
.sp-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sp-list li { position: relative; padding-left: 32px; font-weight: 500; }
.sp-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px;
    display: grid; place-items: center; font: 800 .75rem/1 var(--body); background: var(--orange); color: #fff;
}
.sp-ticket {
    position: relative; display: flex; gap: 18px; align-items: flex-start;
    background: var(--ink); color: #fff; border-radius: 24px; padding: 26px 28px; box-shadow: 6px 6px 0 var(--orange);
    -webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.sp-ticket-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.sp-ticket-ico svg { width: 26px; height: 26px; }
.sp-ticket h3 { font: 800 1.2rem/1.1 var(--display); margin: 0 0 6px; color: var(--orange-soft); }
.sp-ticket p { margin: 0; color: rgba(255, 255, 255, .85); }

/* Customisation */
.sp-custom { padding: 70px 0 60px; }
.sp-custom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sp-ctile {
    border: 2.5px solid var(--ink); border-radius: 24px; padding: 26px; background: #fff; box-shadow: 6px 6px 0 var(--ink);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sp-ctile:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 9px 9px 0 var(--ink); }
.sp-ctile.c2 { background: var(--orange); color: #fff; }
.sp-ctile.c3 { background: var(--cream-2); }
.sp-ctile.c4 { background: var(--blue); color: #fff; }
.sp-cico { width: 76px; height: 76px; margin-bottom: 18px; transition: transform .4s var(--ease); }
.sp-ctile:hover .sp-cico { transform: rotate(-12deg) scale(1.08); }
.sp-ctile h3 { font: 800 1.35rem/1.1 var(--display); margin: 0 0 8px; }
.sp-ctile p { margin: 0; font-size: .92rem; opacity: .85; }

/* Steps + CTA */
.sp-cta { padding: 50px 0 0; }
.sp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 60px; border: 2.5px solid var(--ink); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 6px 6px 0 var(--ink); }
.sp-step { padding: 24px; border-right: 2px dashed var(--line); position: relative; }
.sp-step:last-child { border-right: 0; }
.sp-step i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font: 800 1.1rem var(--display); font-style: normal; margin-bottom: 12px; }
.sp-step:nth-child(2) i { background: var(--orange); } .sp-step:nth-child(3) i { background: var(--blue); }
.sp-step b { display: block; font: 800 1.1rem var(--display); margin-bottom: 4px; }
.sp-step span { font-size: .88rem; color: var(--muted); }

/* Sticky bar */
.sp-bar {
    position: fixed; left: 50%; bottom: 22px; z-index: 94; translate: -50% 160%;
    width: min(860px, calc(100% - 300px));
    display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px;
    background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink);
    transition: translate .45s var(--ease);
}
.sp-bar.show { translate: -50% 0; }
.sp-bar img { width: 50px; height: 50px; object-fit: contain; border-radius: 10px; border: 1.5px solid var(--line); }
.sp-bar-t { flex: 1; min-width: 0; }
.sp-bar-t small { display: block; font: 600 .7rem var(--mono); color: var(--c); }
.sp-bar-t b { display: block; font: 700 .92rem/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-bar .qty input { width: 64px; height: 40px; }
.sp-bar .qty button { height: 40px; width: 32px; }
.sp-bar .btn { padding: 12px 18px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }

.sp-related { margin-top: 0; padding: 100px 0 110px; }
.sp-related .sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* Stage variants: 8-symbol TWINS, Kraft EKO, Waterproof, Mini & Classic Playing Cards */
.sp-mini.s8 { grid-template-columns: repeat(4, 1fr); padding: 11%; font-size: clamp(.78rem, 1.35vw, 1.15rem); }
.sp-mini.kraft, .sp-round.kraft {
    background-color: #DFC39D;
    background-image:
        radial-gradient(rgba(92, 58, 24, .08) 1px, transparent 0),
        repeating-linear-gradient(35deg, rgba(120, 78, 34, .04) 0 2px, transparent 2px 7px);
    background-size: 12px 12px, auto;
}
.sp-badge-spec {
    position: absolute; z-index: 6; right: 3%; bottom: 6%;
    padding: 8px 14px; border-radius: 999px; border: 2.5px solid var(--ink);
    font: 800 .74rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase;
    box-shadow: 4px 4px 0 var(--ink); rotate: -5deg;
}
.sp-badge-spec.water { background: #0EA5E9; color: #fff; }
.sp-badge-spec.eco   { background: #16A34A; color: #fff; }
.sp-badge-spec.mini  { background: #FACC15; color: var(--ink); }

.sp-pcard {
    position: absolute; z-index: 4; width: 19%; aspect-ratio: 63 / 88;
    background: #fff; border: 3px solid var(--ink); border-radius: 14px;
    box-shadow: 5px 7px 0 var(--ink); padding: 8px;
    display: flex; flex-direction: column; justify-content: space-between;
    color: var(--ink); animation: float 6s ease-in-out infinite;
}
.sp-pcard.is-red  { color: #E11D48; }
.sp-pcard.is-gold { color: #B45309; }
.sp-pcard.p1 { right: -1%; top: 5%; rotate: 14deg; }
.sp-pcard.p2 { left: 0; bottom: 5%; rotate: -12deg; animation-delay: -3s; }
.sp-pcard .ix { display: flex; flex-direction: column; align-items: center; line-height: .95; font: 800 .85rem var(--display); width: 16px; }
.sp-pcard .ix i { font-style: normal; font-size: .78rem; }
.sp-pcard .ix.br { align-self: flex-end; rotate: 180deg; }
.sp-pcard .pip { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(1.6rem, 2.8vw, 2.4rem); pointer-events: none; }

/* Variant & Packaging Switcher */
.sp-variants {
    margin: 18px 0 22px; padding: 18px; border-radius: 20px;
    background: rgba(255, 255, 255, .75); border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink); display: grid; gap: 14px;
}
.sp-var-group { display: grid; gap: 7px; }
.sp-var-lbl { font: 800 .74rem/1.1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sp-var-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 8px; }
.sp-vpill {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px;
    border-radius: 12px; background: #fff; border: 2px solid var(--ink);
    font: 600 .82rem/1.2 var(--body); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
}
.sp-vpill b {
    min-width: 32px; height: 32px; border-radius: 8px; background: var(--cream-2);
    border: 1.5px solid var(--ink); display: grid; place-items: center;
    font: 800 .95rem/1 var(--display); color: var(--ink); flex-shrink: 0;
}
.sp-vpill:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.sp-vpill.on { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--c); }
.sp-vpill.on b { background: var(--c); color: #fff; border-color: #fff; }

.sp-var-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sp-vchip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 11px; border-radius: 10px; background: #fff; border: 1.8px solid var(--ink);
    font: 600 .78rem/1.2 var(--body); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
}
.sp-vchip small { font: 700 .66rem/1 var(--mono); color: var(--c); background: var(--cream); padding: 3px 5px; border-radius: 5px; border: 1px solid rgba(11, 27, 63, .18); }
.sp-vchip:hover { transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }
.sp-vchip.on { background: var(--c); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.sp-vchip.on small { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Classic Playing Cards Interactive 3D Studio */
.sp-cboard { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 390px; }
.sp-chand {
    display: flex; justify-content: center; align-items: center;
    padding: 34px 20px 26px; perspective: 1200px; width: 100%;
}
.sp-chand.dealt .sp-ccard { animation: cdeal .55s var(--ease) backwards; }
.sp-chand.dealt .sp-ccard:nth-child(2) { animation-delay: .05s; }
.sp-chand.dealt .sp-ccard:nth-child(3) { animation-delay: .10s; }
.sp-chand.dealt .sp-ccard:nth-child(4) { animation-delay: .15s; }
.sp-chand.dealt .sp-ccard:nth-child(5) { animation-delay: .20s; }
@keyframes cdeal { from { opacity: 0; transform: translateY(-50px) scale(.75); } }

.sp-ccard {
    width: clamp(118px, 14.5vw, 174px); aspect-ratio: 63 / 88;
    margin: 0 -16px; position: relative; cursor: pointer;
    transform: translateY(var(--dy, 0px)) rotate(var(--rot, 0deg));
    transition: transform .3s var(--ease), z-index 0s;
    perspective: 1000px; user-select: none;
}
.sp-ccard:hover {
    transform: translateY(calc(var(--dy, 0px) - 18px)) rotate(calc(var(--rot, 0deg) * .5)) scale(1.05);
    z-index: 10;
}
.sp-ccard-in {
    position: relative; width: 100%; height: 100%;
    transform-style: preserve-3d; transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}
.sp-ccard.is-flipped .sp-ccard-in { transform: rotateY(180deg); }

.sp-cface, .sp-cback {
    position: absolute; inset: 0; border-radius: 16px;
    border: 3px solid var(--ink); box-shadow: 0 18px 36px rgba(0, 0, 0, .38);
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    overflow: hidden;
}
.sp-cface {
    background: #fff; color: var(--ink); padding: 10px 12px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.sp-cface.is-red { color: #E11D48; }
.sp-cface.is-branded::before {
    content: ""; position: absolute; inset: 7px; border-radius: 10px;
    border: 2px dashed var(--brand, #0A58CA); opacity: .45; pointer-events: none;
}
.sp-cface .c-ix { display: flex; flex-direction: column; align-items: center; line-height: .92; width: 22px; z-index: 1; }
.sp-cface .c-ix b { font: 800 clamp(.85rem, 1.3vw, 1.15rem) var(--display); letter-spacing: -.03em; }
.sp-cface .c-ix i { font-style: normal; font-size: clamp(.85rem, 1.2vw, 1.1rem); }
.sp-cface .c-ix.br { align-self: flex-end; rotate: 180deg; }
.sp-cface .c-center {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px; padding: 12px; pointer-events: none;
}
.sp-cface .c-art { font-size: clamp(2.1rem, 3.6vw, 3.2rem); line-height: 1; filter: drop-shadow(0 4px 6px rgba(11, 27, 63, .12)); }
.sp-cface .c-fbrand {
    font: 800 .62rem/1 var(--display); font-style: normal; letter-spacing: .06em; text-transform: uppercase;
    background: var(--brand, #0A58CA); color: #fff; padding: 4px 8px; border-radius: 6px;
    border: 1.5px solid var(--ink); max-width: 92%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sp-cface .c-flbl {
    font: 700 .6rem/1.1 var(--mono); color: var(--muted); background: var(--cream);
    padding: 3px 6px; border-radius: 5px; border: 1px solid var(--line);
}

.sp-cback {
    background: #fff; padding: 8px; transform: rotateY(180deg);
    display: flex; align-items: stretch; justify-content: stretch;
}
.sp-cback .c-back-frame {
    flex: 1; border-radius: 10px; border: 2px solid var(--ink);
    background-color: var(--brand, #0A58CA);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    padding: 10px; position: relative; overflow: hidden;
}
.sp-cback.pat-crest .c-back-frame {
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .22) 0 38%, transparent 39%),
        repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .08) 0deg 15deg, transparent 15deg 30deg);
}
.sp-cback.pat-grid .c-back-frame {
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, .16) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .16) 75%),
        linear-gradient(45deg, rgba(255, 255, 255, .16) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .16) 75%);
    background-position: 0 0, 10px 10px; background-size: 20px 20px;
}
.sp-cback.pat-diag .c-back-frame {
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .18) 0 6px, transparent 6px 14px);
}
.sp-cback .c-back-medallion {
    width: 58%; aspect-ratio: 1; border-radius: 50%; background: #fff;
    border: 2.5px solid var(--ink); box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
    display: grid; place-items: center; padding: 6px; position: relative; z-index: 1;
}
.sp-cback .c-back-medallion img { width: 100%; height: 100%; object-fit: contain; }
.sp-cback .c-bbrand {
    position: relative; z-index: 1; background: var(--ink); color: #fff;
    font: 800 .64rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 8px; border-radius: 6px; border: 1.5px solid #fff;
    max-width: 96%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sp-chint { font: 600 .82rem/1.4 var(--body); color: rgba(255, 255, 255, .75); margin: 10px 0 0; text-align: center; }

.sp-cactions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-cactions .btn { padding: 11px 12px; font-size: .82rem; }
.sp-copt { background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 12px 14px; }
.sp-copt h4 { font: 700 .76rem/1.1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-soft); margin: 0 0 8px; }
.sp-cpats, .sp-cmodes { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-cpats button, .sp-cmodes button {
    flex: 1; min-width: 88px; padding: 8px 10px; border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff;
    font: 700 .78rem/1.15 var(--body); cursor: pointer; transition: all .15s;
}
.sp-cpats button.on, .sp-cmodes button.on,
.sp-cpats button:hover, .sp-cmodes button:hover {
    background: #fff; color: var(--ink); border-color: #fff;
}

/* Stage props for Pexeso, Dice, Board Games, Puzzles & Bricks */
.sp-mcard, .sp-dprop {
    position: absolute; z-index: 4; width: 20%; aspect-ratio: 1;
    background: #fff; border: 3px solid var(--ink); border-radius: 16px;
    box-shadow: 5px 7px 0 var(--ink); display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 4px;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem); animation: float 6s ease-in-out infinite;
}
.sp-mcard small { font: 800 .58rem/1 var(--mono); color: var(--c); background: var(--cream); padding: 3px 6px; border-radius: 5px; border: 1px solid var(--ink); }
.sp-mcard.m1, .sp-dprop.d1 { right: -1%; top: 5%; rotate: 14deg; }
.sp-mcard.m2, .sp-dprop.d2 { left: 0; bottom: 5%; rotate: -12deg; animation-delay: -3s; }

/* 3. Pexeso Memory Game Studio */
.sp-pxboard { position: relative; display: grid; place-items: center; }
.sp-pxgrid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    width: min(560px, 100%); perspective: 1000px;
}
.sp-pxtile {
    aspect-ratio: 1; border: 0; background: transparent; padding: 0; cursor: pointer;
    perspective: 800px;
}
.sp-pxtile .px-inner {
    position: relative; display: block; width: 100%; height: 100%;
    transform-style: preserve-3d; transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.sp-pxtile.is-open .px-inner { transform: rotateY(180deg); }
.sp-pxtile .px-back, .sp-pxtile .px-front {
    position: absolute; inset: 0; border-radius: 18px; border: 3px solid var(--ink);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .32);
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.sp-pxtile .px-back {
    background: var(--brand, var(--orange));
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 6px, transparent 6px 14px);
    padding: 10px;
}
.sp-pxtile .px-back img { width: 46%; height: 46%; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; border: 2px solid var(--ink); }
.sp-pxtile .px-back .px-btxt {
    font: 800 .58rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
    background: var(--ink); color: #fff; padding: 4px 7px; border-radius: 5px; max-width: 92%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sp-pxtile .px-front {
    background: #fff; color: var(--ink); transform: rotateY(180deg);
}
.sp-pxtile.is-done .px-front { background: #FEF9C3; box-shadow: 0 0 0 4px #FACC15, 0 12px 26px rgba(0, 0, 0, .32); }
.sp-pxtile .px-front i { font-style: normal; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1; }
.sp-pxtile .px-front .px-fbrand {
    font: 800 .58rem/1 var(--display); font-style: normal; text-transform: uppercase;
    background: var(--brand, var(--orange)); color: #fff; padding: 3px 7px; border-radius: 5px; border: 1.5px solid var(--ink);
}

/* 4. 3D Dice Roller Studio */
.sp-dcboard { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sp-dctray {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
    max-width: 560px; padding: 20px;
}
.sp-dcube {
    width: clamp(86px, 11vw, 108px); aspect-ratio: 1; border-radius: 22px;
    background: #fff; border: 3.5px solid var(--ink);
    box-shadow: 0 8px 0 var(--brand, var(--orange)), 0 18px 34px rgba(0, 0, 0, .38);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    cursor: pointer; transition: transform .2s var(--ease); padding: 8px;
}
.sp-dcube:hover { transform: translateY(-6px) rotate(-4deg); }
.sp-dcube.is-rolling { animation: droll .55s var(--ease); }
@keyframes droll {
    0%   { transform: translateY(-36px) rotate(-140deg) scale(.65); opacity: 0; }
    65%  { transform: translateY(4px) rotate(12deg) scale(1.06); }
    100% { transform: none; opacity: 1; }
}
.sp-dcube .dc-face { font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: var(--ink); }
.sp-dcube .dc-tag {
    font: 800 .58rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em;
    background: var(--brand, var(--orange)); color: #fff; padding: 3px 7px; border-radius: 6px; border: 1.5px solid var(--ink);
    max-width: 94%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sp-dcstory {
    background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .24);
    border-radius: 16px; padding: 12px 20px; text-align: center; width: min(560px, 100%);
}
.sp-dcstory span { display: block; font: 700 .7rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-soft); margin-bottom: 4px; }
.sp-dcstory b { font: 700 1.05rem/1.4 var(--body); color: #fff; }

/* 5. Board Game Tabletop Simulator */
.sp-bgboard-wrap { display: grid; place-items: center; }
.sp-bgtrack {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr);
    gap: 10px; width: min(560px, 100%); aspect-ratio: 4 / 3.3;
    background: var(--cream); border: 4px solid var(--ink); border-radius: 26px;
    padding: 12px; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); color: var(--ink);
}
.sp-bgtile {
    background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 8px;
    display: flex; flex-direction: column; justify-content: space-between; position: relative;
    font: 700 .76rem/1.15 var(--body); transition: transform .2s, background .2s;
}
.sp-bgtile small { font: 700 .64rem var(--mono); color: var(--muted); }
.sp-bgtile .sp-bgpawn {
    display: none; position: absolute; right: 6px; top: 4px; font-style: normal;
    font-size: 1.45rem; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3));
}
.sp-bgtile.is-active {
    background: var(--brand, var(--orange)); color: #fff;
    box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); z-index: 2;
}
.sp-bgtile.is-active small { color: rgba(255, 255, 255, .85); }
.sp-bgtile.is-active .sp-bgpawn { display: block; animation: bouncePawn .5s var(--ease); }
@keyframes bouncePawn { 40% { transform: translateY(-12px) scale(1.25); } }

.sp-bgcenter {
    grid-column: 2 / 4; grid-row: 2 / 4;
    background: var(--ink); color: #fff; border-radius: 18px; border: 2.5px solid var(--brand, var(--orange));
    padding: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
}
.sp-bgcenter img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }
.sp-bgcenter strong { font: 800 .88rem/1 var(--display); letter-spacing: .08em; color: var(--orange-soft); text-transform: uppercase; }
.sp-bgcard { background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 8px 10px; width: 100%; font-size: .74rem; text-align: left; }
.sp-bgcard b { display: block; font: 800 .66rem var(--mono); color: #FACC15; margin-bottom: 4px; }
.sp-bgcard ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.sp-bgcard p { margin: 0; }

/* Authentic 11x11 Človeče, nehnevaj sa! Cross-Board */
.sp-ludowrap {
    display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(540px, 100%);
}
.sp-ludoboard {
    display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(11, 1fr);
    gap: 5px; width: 100%; aspect-ratio: 1 / 1;
    background: var(--cream); border: 4px solid var(--ink); border-radius: 26px;
    padding: 14px; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); position: relative;
}
.sp-ludo-cell {
    position: relative; display: flex; align-items: center; justify-content: center;
    background: #fff; border: 2px solid var(--ink); border-radius: 50%;
    font: 800 .7rem/1 var(--mono); color: var(--ink);
}
.sp-ludo-cell.is-start.t0, .sp-ludo-cell.is-home.t0, .sp-ludo-cell.in-yard.t0 { background: color-mix(in srgb, var(--brand, #FF7A00) 24%, #fff); border-color: var(--brand, #FF7A00); }
.sp-ludo-cell.is-start.t1, .sp-ludo-cell.is-home.t1, .sp-ludo-cell.in-yard.t1 { background: #DBEAFE; border-color: #0A58CA; }
.sp-ludo-cell.is-start.t2, .sp-ludo-cell.is-home.t2, .sp-ludo-cell.in-yard.t2 { background: #D1FAE5; border-color: #10B981; }
.sp-ludo-cell.is-start.t3, .sp-ludo-cell.is-home.t3, .sp-ludo-cell.in-yard.t3 { background: #FEF3C7; border-color: #EAB308; }
.sp-ludo-cell.is-start span { opacity: .75; font-size: .78rem; }

.sp-ludo-yard {
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
    gap: 6px; padding: 8px; border-radius: 18px; border: 2.5px solid var(--ink);
}
.sp-ludo-yard.t0 { background: color-mix(in srgb, var(--brand, #FF7A00) 16%, #fff); }
.sp-ludo-yard.t1 { background: rgba(10, 88, 202, .12); }
.sp-ludo-yard.t2 { background: rgba(16, 185, 129, .14); }
.sp-ludo-yard.t3 { background: rgba(250, 204, 21, .2); }

.sp-ludo-center {
    grid-row: 6; grid-column: 6; z-index: 2;
    background: var(--ink); color: #fff; border: 2.5px solid var(--brand, #FF7A00);
    border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 2px; overflow: hidden; box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}
.sp-ludo-center img { width: 20px; height: 20px; object-fit: contain; background: #fff; border-radius: 50%; padding: 1px; }
.sp-ludo-center strong { font: 800 .42rem/1 var(--display); letter-spacing: .04em; color: var(--orange-soft); text-transform: uppercase; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sp-ludo-pawn {
    position: absolute; inset: 12%; z-index: 4; padding: 0; border-radius: 50%;
    border: 2.5px solid var(--ink); cursor: pointer; display: grid; place-items: center;
    box-shadow: 0 3px 0 var(--ink); transition: transform .15s var(--ease);
}
.sp-ludo-pawn i { display: block; width: 42%; height: 42%; border-radius: 50%; background: rgba(255, 255, 255, .65); }
.sp-ludo-pawn.t0 { background: var(--brand, #FF7A00); animation: pawnPulse 1.6s infinite ease-in-out; }
.sp-ludo-pawn.t1 { background: #0A58CA; cursor: default; }
.sp-ludo-pawn.t2 { background: #10B981; cursor: default; }
.sp-ludo-pawn.t3 { background: #FACC15; cursor: default; }
.sp-ludo-pawn.is-mine:hover { transform: scale(1.22); }
@keyframes pawnPulse { 0%, 100% { box-shadow: 0 3px 0 var(--ink), 0 0 0 0 rgba(255, 122, 0, .55); } 50% { box-shadow: 0 3px 0 var(--ink), 0 0 0 6px rgba(255, 122, 0, 0); } }

.sp-ludostatus {
    background: var(--ink) !important; color: #fff; border: 2px solid rgba(255, 255, 255, .24);
    border-radius: 14px !important; padding: 10px 14px !important; text-align: center !important;
}

/* 6. Real Interlocking Jigsaw Puzzle & Die-Cut Blueprint Studio */
.sp-pzboard-wrap { display: grid; place-items: center; }
.sp-pzframe {
    position: relative; width: min(640px, 100%); aspect-ratio: 4 / 3;
    background: #fff; border: 4px solid var(--ink); border-radius: 24px; padding: 6px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .45); overflow: hidden;
}
#pzCanvas {
    width: 100%; height: 100%; display: block; border-radius: 16px;
    cursor: grab; user-select: none; touch-action: none;
}
#pzCanvas:active { cursor: grabbing; }
.sp-pzbanner {
    position: absolute; right: 18px; bottom: 18px; z-index: 4;
    display: flex; align-items: center; gap: 8px;
    background: var(--ink); color: #fff; border: 2px solid #fff; border-radius: 999px;
    padding: 6px 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); pointer-events: none;
}
.sp-pzbanner strong { font: 800 .8rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--brand, var(--orange)); }
.sp-pzbanner span { font: 700 .68rem var(--mono); opacity: .85; }

/* 7. Interactive 3D Isometric Brick Builder Studio */
.sp-brstage-col {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.sp-brtoolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    width: 100%; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .2);
    border-radius: 18px; padding: 10px 16px;
}
.sp-brtool-group {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.sp-brtool-lbl {
    font: 700 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em;
    color: rgba(255, 255, 255, .75); margin-right: 4px;
}
.sp-brsizes { display: flex; gap: 6px; }
.sp-brsizes button, .sp-brrot-piece {
    background: rgba(255, 255, 255, .1); color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 10px;
    padding: 6px 11px; font: 700 .78rem/1 var(--mono); cursor: pointer;
    transition: all .15s;
}
.sp-brsizes button.on, .sp-brsizes button:hover, .sp-brrot-piece:hover {
    background: var(--brand, var(--orange)); color: #fff; border-color: #fff;
    transform: translateY(-1px);
}
.sp-brrot-piece small { font-size: .72rem; opacity: .9; }

.sp-brswatches { display: flex; gap: 7px; align-items: center; }
.sp-brswatches button {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--sw, #FF7A00); border: 2px solid rgba(255, 255, 255, .65);
    cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s;
}
.sp-brswatches button.on, .sp-brswatches button:hover {
    transform: scale(1.18); border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3);
}

.sp-brcanvas-wrap {
    position: relative; width: 100%; max-width: 680px;
    background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .15), rgba(255, 255, 255, .03));
    border: 2.5px solid rgba(255, 255, 255, .24); border-radius: 24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 8px 8px 18px; overflow: hidden;
}
#brCanvas {
    width: 100%; height: auto; max-height: 440px; display: block;
    cursor: crosshair; user-select: none; -webkit-user-select: none;
}
.sp-brtile {
    position: relative; z-index: 10; margin-top: -12px;
    background: #fff; color: var(--ink); border: 2.5px solid var(--ink); border-radius: 8px;
    padding: 6px 16px; font: 800 .84rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
    box-shadow: 4px 4px 0 var(--brand, var(--orange));
}
.sp-brhint {
    margin: 0; font: 500 .78rem/1.4 var(--body); color: rgba(255, 255, 255, .75); text-align: center;
}
.sp-deal.on {
    background: var(--brand, var(--orange)) !important; color: #fff !important; border-color: #fff !important;
}

@media (max-width: 1100px) {
    .sp-game { grid-template-columns: 1fr; }
    .sp-custom-grid { grid-template-columns: 1fr 1fr; }
    .sp-bar { width: calc(100% - 44px); bottom: 96px; }
}
@media (max-width: 900px) {
    .sp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .sp-stage { max-width: 520px; width: 100%; margin: 0 auto; }
    .sp-steps { grid-template-columns: 1fr 1fr; }
    .sp-step:nth-child(2) { border-right: 0; }
    .sp-tabs { top: 58px; }
}
@media (max-width: 640px) {
    .sp-quick { grid-template-columns: 1fr 1fr; }
    .sp-board { grid-template-columns: 1fr; }
    .sp-vs { margin: 0 auto; }
    .sp-custom-grid, .sp-steps, .sp-cactions { grid-template-columns: 1fr; }
    .sp-ccard { margin: 0 -22px; width: 108px; }
    .sp-step { border-right: 0; border-bottom: 2px dashed var(--line); }
    .sp-tabs-in { justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; }
    .sp-tabs a { white-space: nowrap; }
    .sp-bar .sp-bar-t, .sp-bar img { display: none; }
}

/* ==========================================================================
   EU GDPR & ePrivacy Cookie Compliance (Banner, Modal, Audit Table & Trigger)
   ========================================================================== */
[hidden] { display: none !important; }

/* Footer Legal Buttons */
.ftr-legal-links {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.ftr-legal-links button {
    background: rgba(255, 255, 255, .08); color: #fff;
    border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px;
    padding: 5px 12px; font: 600 .78rem/1.2 var(--body); cursor: pointer;
    transition: background .18s, border-color .18s;
}
.ftr-legal-links button:hover {
    background: rgba(255, 255, 255, .18); border-color: #FFB066; color: #FFB066;
}
.ftr-b2b-note {
    margin: 22px 0 0; padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, .16);
    font: 400 .78rem/1.5 var(--body); color: rgba(255, 255, 255, .68);
}

/* Inquiry Drawer GDPR Checkbox */
.gdpr-check-row {
    background: #FFF9F2; border: 1.5px solid var(--line); border-radius: 12px;
    padding: 10px 12px;
}
.gdpr-check-lbl {
    display: flex !important; align-items: flex-start; gap: 10px;
    font: 500 .8rem/1.45 var(--body) !important; color: var(--ink) !important;
    cursor: pointer; margin: 0 !important;
}
.gdpr-check-lbl input[type="checkbox"] {
    width: 18px !important; height: 18px !important; margin-top: 2px;
    accent-color: var(--orange); flex-shrink: 0; cursor: pointer;
}
.gdpr-inline-btn {
    background: none; border: 0; padding: 0; margin: 0;
    color: var(--blue); font: inherit; font-weight: 700;
    text-decoration: underline; cursor: pointer;
}
.gdpr-inline-btn:hover { color: var(--orange); }

/* Floating Bottom-Left Cookie Shield Button (Art. 7(3) GDPR Withdrawal) */
.dory-cookie-trigger {
    position: fixed; left: 20px; bottom: 20px; z-index: 90;
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--ink);
    border: 2.5px solid var(--ink); border-radius: 999px;
    padding: 9px 15px; font: 700 .8rem/1 var(--body);
    box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.dory-cookie-trigger svg { color: var(--green); flex-shrink: 0; }
.dory-cookie-trigger:hover {
    transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--cream);
}

/* 1st-Layer Cookie Consent Banner */
.dory-cb-banner {
    position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 120;
    max-width: 1180px; margin: 0 auto;
    background: #FFFFFF; color: var(--ink);
    border: 3px solid var(--ink); border-radius: 24px;
    box-shadow: 0 24px 60px rgba(11, 27, 63, .32), 8px 8px 0 var(--ink);
    padding: 22px 26px;
}
.dory-cb-in {
    display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.dory-cb-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #ECFDF5; color: #065F46; border: 1.5px solid #059669;
    border-radius: 999px; padding: 4px 11px;
    font: 700 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .04em;
    margin-bottom: 8px;
}
.dory-cb-title {
    font: 800 1.25rem/1.2 var(--display); margin: 0 0 6px; color: var(--ink);
}
.dory-cb-desc {
    font: 400 .88rem/1.55 var(--body); color: #334155; margin: 0 0 8px;
}
.dory-cb-links {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.dory-cb-links button {
    background: none; border: 0; padding: 0;
    color: var(--blue); font: 700 .8rem/1.2 var(--body);
    text-decoration: underline; cursor: pointer;
}
.dory-cb-links button:hover { color: var(--orange); }

/* Equal Visual Prominence Buttons (Anti-Dark-Pattern Compliance) */
.dory-cb-actions {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end;
}
.dory-cb-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 11px 20px; min-width: 168px;
    border: 2.5px solid var(--ink); border-radius: 14px;
    font: 700 .9rem/1.1 var(--body); text-align: center;
    box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
    transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
}
.dory-cb-btn:hover {
    transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink);
}
/* Both Reject Optional and Accept All share .dory-cb-btn-equal with identical size, border, weight & high contrast */
.dory-cb-btn-equal {
    background: #FFFFFF; color: var(--ink);
}
.dory-cb-btn-accept {
    background: var(--orange); color: #FFFFFF;
}
.dory-cb-btn-customize {
    background: var(--cream); color: var(--ink); min-width: 152px;
}

/* 2nd-Layer Modal & Scrim */
.dory-cm-scrim {
    position: fixed; inset: 0; z-index: 130;
    background: rgba(11, 27, 63, .62); backdrop-filter: blur(4px);
}
.dory-cm-modal {
    position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: 135; width: min(860px, calc(100vw - 28px)); max-height: min(88vh, 780px);
    background: #FFFFFF; color: var(--ink);
    border: 3px solid var(--ink); border-radius: 26px;
    box-shadow: 0 28px 70px rgba(11, 27, 63, .45), 10px 10px 0 var(--ink);
    display: flex; flex-direction: column; overflow: hidden;
}
.dory-cm-hd {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
    padding: 20px 24px 14px; background: var(--cream); border-bottom: 2px solid var(--line);
}
.dory-cm-hd h3 { font: 800 1.3rem/1.2 var(--display); margin: 2px 0 4px; }
.dory-cm-hd p { font: 400 .84rem/1.4 var(--body); color: var(--muted); margin: 0; }
.dory-cm-x {
    width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink);
    background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1;
    cursor: pointer; flex-shrink: 0;
}
.dory-cm-tabs {
    display: flex; gap: 6px; padding: 10px 24px; background: #F8FAFC;
    border-bottom: 2px solid var(--line); overflow-x: auto;
}
.dory-cm-tabs button {
    background: #fff; color: var(--ink); border: 2px solid var(--line);
    border-radius: 999px; padding: 8px 16px; font: 700 .82rem/1 var(--body);
    cursor: pointer; white-space: nowrap; transition: all .15s;
}
.dory-cm-tabs button.on {
    background: var(--ink); color: #fff; border-color: var(--ink);
}
.dory-cm-bd {
    padding: 20px 24px; overflow-y: auto; flex: 1;
}
.dory-cm-pane { display: none; }
.dory-cm-pane.on { display: block; }

/* Category Cards & Toggle Switches */
.dory-cm-cat {
    border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px;
    margin-bottom: 12px; background: #fff;
}
.dory-cm-cat-hd {
    display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.dory-cm-cat h4 { font: 700 .98rem/1.3 var(--display); margin: 0 0 4px; }
.dory-cm-cat h4 label { cursor: pointer; }
.dory-cm-cat p { font: 400 .83rem/1.5 var(--body); color: var(--muted); margin: 0; }
.dory-cm-locked {
    background: #ECFDF5; color: #065F46; border: 1.5px solid #059669;
    border-radius: 999px; padding: 6px 12px; font: 700 .75rem/1 var(--mono);
    white-space: nowrap; flex-shrink: 0;
}
.dory-cm-disabled {
    background: #F1F5F9; color: #475569; border: 1.5px solid #94A3B8;
    border-radius: 999px; padding: 6px 12px; font: 700 .75rem/1 var(--mono);
    white-space: nowrap; flex-shrink: 0;
}

.dory-switch {
    position: relative; display: inline-block; width: 52px; height: 28px; flex-shrink: 0;
}
.dory-switch input { opacity: 0; width: 0; height: 0; }
.dory-slider {
    position: absolute; cursor: pointer; inset: 0;
    background: #CBD5E1; border: 2px solid var(--ink); border-radius: 999px;
    transition: .2s;
}
.dory-slider::before {
    content: ""; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px;
    background: #fff; border: 2px solid var(--ink); border-radius: 50%; transition: .2s;
}
.dory-switch input:checked + .dory-slider { background: var(--green); }
.dory-switch input:checked + .dory-slider::before { transform: translateX(22px); }

/* Audit Proof Box & Cookie Table */
.dory-audit-box {
    background: var(--cream); border: 2px solid var(--ink); border-radius: 16px;
    padding: 14px 18px; margin-bottom: 18px;
}
.dory-audit-box h4 { font: 800 .95rem/1.2 var(--display); margin: 0 0 10px; }
.dory-audit-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px; font-size: .82rem; margin-bottom: 12px;
}
.dory-audit-grid span { display: block; color: var(--muted); font-size: .75rem; }
.dory-audit-grid code {
    font: 600 .78rem var(--mono); background: #fff; padding: 2px 6px;
    border-radius: 6px; border: 1px solid var(--line);
}
.dory-revoke-btn {
    background: #FEF2F2; color: #991B1B; border: 1.5px solid #DC2626;
    border-radius: 10px; padding: 7px 14px; font: 700 .78rem/1.2 var(--body);
    cursor: pointer;
}
.dory-revoke-btn:hover { background: #FEE2E2; }

.dory-tbl-wrap { overflow-x: auto; border: 2px solid var(--line); border-radius: 14px; }
.dory-cookie-tbl { width: 100%; border-collapse: collapse; font-size: .8rem; text-align: left; }
.dory-cookie-tbl th, .dory-cookie-tbl td {
    padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.dory-cookie-tbl th {
    background: #F8FAFC; font: 700 .75rem var(--mono); text-transform: uppercase; color: var(--muted);
}
.dory-cookie-tbl tr:last-child td { border-bottom: 0; }
.dory-tag {
    display: inline-block; padding: 3px 8px; border-radius: 999px;
    font: 700 .7rem/1 var(--mono); white-space: nowrap;
}
.dory-tag.nec  { background: #ECFDF5; color: #065F46; }
.dory-tag.pref { background: #EFF6FF; color: #1E40AF; }
.dory-tag.ana  { background: #FEF3C7; color: #92400E; }
.dory-tag.mkt  { background: #FCE7F3; color: #9D174D; }

/* GDPR Policy Prose */
.dory-gdpr-prose h4 { font: 800 1.15rem/1.25 var(--display); margin: 0 0 12px; }
.dory-gdpr-prose h5 { font: 700 .95rem/1.3 var(--display); margin: 16px 0 6px; color: var(--ink); }
.dory-gdpr-prose p, .dory-gdpr-prose li { font: 400 .85rem/1.6 var(--body); color: #334155; }
.dory-gdpr-prose ul { padding-left: 20px; margin: 6px 0 12px; display: grid; gap: 6px; }
.dory-gdpr-prose a { color: var(--blue); font-weight: 600; }

.dory-cm-ft {
    display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px;
    padding: 14px 24px; background: var(--cream); border-top: 2px solid var(--line);
}

@media (max-width: 900px) {
    .dory-cb-in { grid-template-columns: 1fr; gap: 16px; }
    .dory-cb-actions { justify-content: stretch; }
    .dory-cb-btn { flex: 1 1 calc(50% - 10px); min-width: 140px; }
}
@media (max-width: 640px) {
    .dory-cb-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
    .dory-cb-btn { flex: 1 1 100%; width: 100%; }
    .dory-cm-ft .dory-cb-btn { flex: 1 1 100%; }
    .dory-cookie-trigger span { display: none; }
    .dory-cookie-trigger { padding: 10px; left: 12px; bottom: 12px; }
}

/* ==========================================================================
   B2B FAQ Accordion Section (Google Rich Results & AI Search Visibility)
   ========================================================================== */
.faq-sec { padding: 72px 0 84px; }
.faq-list { display: grid; gap: 14px; max-width: 920px; }
.faq-item {
    background: #fff; border: 2.5px solid var(--ink); border-radius: 18px;
    box-shadow: 4px 4px 0 var(--ink); padding: 16px 22px;
    transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.faq-item[open] { background: #FFFDF8; }
.faq-item summary {
    font: 800 1.05rem/1.35 var(--display); color: var(--ink);
    cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font: 800 1.35rem/1 var(--mono); color: var(--orange); flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
    margin: 12px 0 0; font: 400 .94rem/1.6 var(--body); color: #334155;
    padding-top: 10px; border-top: 1.5px dashed var(--line);
}
