@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{color-scheme:light;--pink:#ff4c8b;--ink:#191717;--paper:#f8f4ef;--muted:#736d68;--line:#ddd5ce;--yellow:#e8ff89}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif}button,a{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--pink);outline-offset:4px}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}
.dt-shell{min-height:100dvh;display:flex;flex-direction:column;overflow:hidden}.dt-footer{margin-top:auto;display:flex;justify-content:space-between;gap:20px;padding:19px clamp(20px,5vw,78px);border-top:1px solid var(--line);font-size:10px;font-weight:700;color:#8c827a;letter-spacing:.025em}.dt-flash{max-width:1380px;width:calc(100% - 38px);margin:15px auto 0;padding:12px 19px;background:#fff5ba;border:1px solid #e5cf70;display:flex;justify-content:space-between;gap:12px;font-size:13px;z-index:4}.dt-flash button{background:transparent;border:0;font-size:20px}
.dt-home,.dt-game,.dt-result,.dt-table-page,.dt-collection{width:100%;max-width:1480px;margin:0 auto;padding:0 clamp(20px,5vw,78px) 65px}.dt-hero{display:grid;grid-template-columns:1.05fr .95fr;min-height:510px;border-bottom:1px solid var(--ink);gap:34px}.dt-hero-copy{padding:clamp(42px,6vw,82px) 0 58px}.dt-eyebrow,.dt-section-title>span{font:800 10px/1.5 'DM Sans',sans-serif;letter-spacing:.15em;text-transform:uppercase}.dt-hero h1{font:700 clamp(76px,10vw,156px)/.80 'Space Grotesk',sans-serif;letter-spacing:-.11em;margin:38px 0 26px}.dt-hero h1 em{font-style:normal;color:var(--pink)}.dt-hero h1 span{color:var(--ink);font-size:.7em;display:inline-block;transform:rotate(-12deg);margin-left:5px}.dt-hero-quote{font:700 clamp(24px,3vw,42px)/1.07 'Space Grotesk',sans-serif;letter-spacing:-.05em;margin:0 0 24px}.dt-hero-desc{max-width:415px;font-size:14px;color:#635b56;line-height:1.85}.dt-hero-note{margin-top:32px;display:flex;align-items:center;gap:13px;font-size:11px;font-weight:700;color:#514e49}.dt-hero-note i{font-size:29px;color:var(--pink);font-style:normal}.dt-hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:400px;perspective:800px;overflow:hidden}.dt-hero-art::before{content:'';position:absolute;width:80%;aspect-ratio:1;border-radius:50%;background:var(--yellow);filter:blur(1px);transform:rotate(-15deg)}.dt-hero-back{width:min(43%,235px);aspect-ratio:2.15/3.3;background:#211e1d;color:var(--paper);border-radius:12px;position:absolute;box-shadow:10px 15px 0 #d9d0c8,12px 23px 24px #17171722;display:flex;align-items:center;justify-content:center;flex-direction:column;border:7px solid #f9f2e8;outline:1px solid #1c1c1c;transform:rotate(-15deg) translate(-60px,0)}.dt-hero-back::before{content:'';position:absolute;inset:15px;border:1px solid #746d67;border-radius:3px}.dt-hero-back i{font:700 clamp(26px,4vw,52px)/.85 'Space Grotesk',sans-serif;letter-spacing:-.10em;font-style:normal;text-align:center;z-index:1}.dt-hero-back b{font-size:52px;color:var(--pink);position:absolute;bottom:18px;font-weight:400}.dt-hero-back--b{background:var(--pink);transform:rotate(15deg) translate(77px,-5px);box-shadow:10px 15px 0 #edc7cf,12px 23px 24px #17171722}.dt-hero-back--b b{color:#191717}.dt-hero-sticker{position:absolute;right:1%;top:20%;transform:rotate(10deg);background:var(--yellow);padding:16px;font:800 clamp(11px,1.3vw,16px)/1.0 'Space Grotesk',sans-serif;letter-spacing:-.03em;clip-path:polygon(9% 0,100% 8%,95% 90%,0 100%);z-index:2}.dt-hero-sticker span{color:var(--pink)}
.dt-level-section{padding-top:50px}.dt-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:27px}.dt-section-title h2{font:700 clamp(25px,3vw,37px)/1.1 'Space Grotesk',sans-serif;letter-spacing:-.055em;margin:0}.dt-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dt-level{position:relative;text-align:left;display:flex;flex-direction:column;min-height:210px;padding:24px;background:#fffcf7;border:1px solid var(--line);border-radius:0;overflow:hidden;transition:background .2s,transform .2s,border .2s}.dt-level:hover{background:var(--yellow);border-color:var(--ink);transform:translateY(-3px)}.dt-level-number{font-size:10px;font-weight:800;letter-spacing:.08em}.dt-level-badge{position:absolute;right:18px;top:20px;border:1px solid var(--ink);font-size:9px;font-weight:800;padding:5px 9px}.dt-level-name{font:700 clamp(30px,3.5vw,49px)/1 'Space Grotesk',sans-serif;letter-spacing:-.075em;margin-top:24px}.dt-level-sub{font-size:12px;color:var(--muted);font-weight:600;margin-top:5px}.dt-level-meta{font-size:11px;font-weight:800;letter-spacing:.02em;margin-top:auto;padding-top:19px}.dt-level-meta span{color:var(--pink);margin:0 6px}.dt-pips{display:flex;gap:4px;margin-top:12px}.dt-pips i{height:4px;flex:1;background:#e7ded6}.dt-pips i.on{background:var(--ink)}.dt-level--hell{background:#191717;color:#fff;border-color:#191717}.dt-level--hell .dt-level-badge{border-color:var(--pink);color:var(--pink)}.dt-level--hell .dt-level-sub{color:#cabfc5}.dt-level--hell .dt-pips i.on{background:var(--pink)}.dt-level--hell .dt-level-meta span{color:var(--yellow)}.dt-level--hell:hover{background:#361824;color:#fff}.dt-notice{text-align:center;font-size:11px;color:#78726b;margin:25px 0 0}
.dt-center{min-height:70vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}.dt-center h1{font:700 clamp(28px,6vw,66px)/1 'Space Grotesk',sans-serif;letter-spacing:-.07em}.dt-center p{color:var(--muted)}.dt-spin{font-size:94px;animation:dt-spin 2s linear infinite;color:var(--pink)}.dt-count{font-size:clamp(130px,26vw,290px)!important;margin:20px 0;color:var(--pink)}@keyframes dt-spin{to{transform:rotate(360deg)}}
.dt-game{padding-top:28px}.dt-game-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:800;letter-spacing:.08em;padding-bottom:26px}.dt-game-label{text-decoration:underline;text-underline-offset:6px}.dt-hud{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr auto;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:15px 0;margin-bottom:25px;gap:10px}.dt-hud>div{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.dt-hud small{font-size:10px;font-weight:800;letter-spacing:.09em;color:#706a64}.dt-hud strong{font:700 clamp(21px,3.5vw,43px)/1 'Space Grotesk',sans-serif;letter-spacing:-.05em}.dt-hud strong span{font-size:.5em;color:#847c75}.dt-quit{align-self:center;background:transparent;border:1px solid var(--ink);padding:9px 12px;font-size:18px;font-weight:700}.dt-quit span{font-size:11px}.dt-board-wrap{display:flex;justify-content:center;align-items:flex-start}.dt-board{width:min(100%,700px);display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:clamp(4px,.7vw,9px);margin:0 auto;perspective:1000px;touch-action:manipulation}.dt-board--hell{width:min(100%,680px)}.dt-board--expert{width:min(100%,650px)}.dt-tile{border:0;background:transparent;display:block;padding:0;aspect-ratio:3/4.15;position:relative;min-height:44px;min-width:0;perspective:600px;-webkit-tap-highlight-color:transparent}.dt-tile-inside{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .28s cubic-bezier(.2,.65,.2,1);border-radius:4px}.dt-tile.is-flipped .dt-tile-inside{transform:rotateY(180deg)}.dt-tile-back,.dt-tile-front{position:absolute;inset:0;border-radius:4px;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden}.dt-tile-back{background:var(--pink);border:1px solid #f6d6df;box-shadow:inset 0 0 0 4px #ff5c94,inset 0 0 0 5px #f3dfe5;display:flex;align-items:center;justify-content:center;flex-direction:column}.dt-tile-back::after{content:'';position:absolute;inset:10px;border:1px solid #ffffff68;pointer-events:none}.dt-tile-monogram{font:700 clamp(13px,3.8vw,36px)/1 'Space Grotesk',sans-serif;letter-spacing:-.12em;color:#22151a}.dt-tile-monogram span{font-size:.55em;color:#fff;margin:0 .1em}.dt-tile-back small{position:absolute;bottom:11px;color:#fff;font-size:clamp(5px,1vw,9px);font-weight:800;letter-spacing:.05em}.dt-tile-front{background:#fffaf4;transform:rotateY(180deg);border:2px solid #f3e9df;display:flex;flex-direction:column}.dt-tile-front img{width:100%;height:calc(100% - 15px);object-fit:contain;background:#fffaf4}.dt-tile-code{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:clamp(5px,.8vw,9px);padding:2px 5px;text-align:center;line-height:1;color:#7e746d;font-weight:800}.dt-tile.is-matched .dt-tile-front{border-color:#8dc5b2;box-shadow:inset 0 0 0 2px #8dc5b2}.dt-tile.is-matched::after{content:'✳';position:absolute;z-index:1;right:3px;top:1px;color:#129a80;text-shadow:0 0 3px #fff;font-size:15px}.dt-game-bottom{display:flex;justify-content:space-between;gap:30px;font-size:11px;line-height:1.8;color:var(--muted);border-top:1px solid var(--line);margin-top:27px;padding-top:16px}.dt-game-bottom p{max-width:470px;margin:0}.dt-game-notice{max-width:350px;text-align:right}
.dt-result{padding-top:65px}.dt-result-heading .dt-eyebrow{color:var(--pink)}.dt-result-heading h1{font:700 clamp(58px,11vw,135px)/.95 'Space Grotesk',sans-serif;letter-spacing:-.09em;margin:15px 0}.dt-result-heading p{margin:0 0 45px;font-size:16px;color:#6c605b}.dt-result-layout{display:grid;grid-template-columns:1fr .85fr;gap:clamp(25px,6vw,110px);border-top:1px solid var(--ink);padding-top:35px}.dt-big-number{font:700 clamp(95px,13vw,178px)/1 'Space Grotesk',sans-serif;letter-spacing:-.115em;white-space:nowrap}.dt-big-number span{font:800 12px 'DM Sans',sans-serif;letter-spacing:.06em;margin-left:12px;vertical-align:bottom}.dt-result-stat>p{font-size:14px;color:#6d625d}.dt-mini-stats{display:flex;gap:30px;margin:25px 0 40px;font-size:12px;color:#766c66}.dt-mini-stats b{display:block;font:700 26px/1.6 'Space Grotesk',sans-serif;color:var(--ink)}.dt-rank{border:1px solid var(--ink);padding:22px 25px;background:var(--yellow);max-width:430px}.dt-rank small{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.dt-rank strong{display:block;font:700 78px/1.1 'Space Grotesk',sans-serif;letter-spacing:-.08em}.dt-rank p{font-size:11px;margin:3px 0 0}.dt-result-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:28px}.dt-primary,.dt-secondary{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;min-height:45px;font-size:12px;font-weight:800;letter-spacing:.01em;cursor:pointer}.dt-primary{border:1px solid var(--ink);background:var(--ink);color:#fff}.dt-primary:hover{background:var(--pink);color:#171717}.dt-secondary{border:1px solid var(--ink);background:transparent}.dt-secondary:hover{background:var(--yellow)}.dt-link{background:transparent;border:0;text-decoration:underline;text-underline-offset:5px;font-weight:800;font-size:12px;padding:12px}.dt-result-reward{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eee5e0;padding:35px;min-height:480px}.dt-reward-heading{align-self:flex-start;font-size:10px;font-weight:800;letter-spacing:.11em;margin-bottom:18px}.dt-reward-card{border:8px solid #f4ded0;outline:1px solid #302621;background:#fff9f4;box-shadow:12px 14px 0 #251b18;max-width:235px;width:100%;aspect-ratio:2.05/3.2;padding:8px;position:relative;transform:rotate(-3deg)}.dt-reward-visual{height:74%;border:1px solid #e8d8ce;display:flex;background:#fbf5ef}.dt-reward-visual img{height:100%;width:100%;object-fit:contain}.dt-reward-name{padding:9px 4px 0;display:flex;flex-direction:column;gap:4px;min-width:0}.dt-reward-name small{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-reward-name strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-reward-name>span{font-size:9px;font-weight:800;letter-spacing:.08em}.dt-reward-name i{color:var(--pink)}.dt-result-reward>p{font-size:13px;font-weight:700;margin:35px 0 13px}.dt-signup{min-width:225px}.dt-saved{display:block;margin-top:24px;font-size:12px;font-weight:800;color:#217f5d}.dt-practice-icon{font-size:120px;color:#c5aeac}
.dt-table-page,.dt-collection{padding-top:60px;max-width:1200px}.dt-table-head h1,.dt-collection h1{font:700 clamp(43px,7vw,92px)/1 'Space Grotesk',sans-serif;letter-spacing:-.08em;margin:20px 0 34px}.dt-table-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--ink);padding-bottom:12px}.dt-table-tabs button{font-size:11px;font-weight:800;border:1px solid var(--line);background:#fffaf4;padding:10px 13px}.dt-table-tabs button.active{background:var(--ink);color:#fff}.dt-ranking{border-collapse:collapse;width:100%;text-align:left;margin-top:25px}.dt-ranking th{font-size:10px;letter-spacing:.1em;padding:15px 10px;border-bottom:1px solid var(--ink)}.dt-ranking td{padding:20px 10px;border-bottom:1px solid var(--line);font-size:14px;font-weight:600}.dt-ranking td:first-child{font:700 28px 'Space Grotesk',sans-serif;color:var(--pink)}.dt-ranking td:last-child{text-align:right;font-variant-numeric:tabular-nums}.dt-ranking th:last-child{text-align:right}.dt-return{margin-top:30px}.dt-collection>p{font-size:12px;font-weight:800;margin-bottom:40px}.dt-collected{display:flex;gap:30px;flex-wrap:wrap;min-height:250px}.dt-collected .dt-reward-card{transform:none;box-shadow:7px 9px 0 #ddd0c4}.dt-collection-empty{font-size:80px;color:var(--pink)}.dt-collection-empty p{font-size:13px;color:var(--ink)}
@media(min-width:980px){.dt-board--warmup{width:510px}.dt-board--easy{width:565px}.dt-board--normal{width:565px}.dt-board--hard{width:670px}}
@media(max-width:900px){.dt-hero{grid-template-columns:1.1fr .9fr;min-height:460px}.dt-hero h1{font-size:clamp(70px,11vw,105px)}.dt-hero-art{min-height:350px}.dt-levels{grid-template-columns:repeat(2,minmax(0,1fr))}.dt-result-layout{grid-template-columns:1fr 1fr;gap:30px}.dt-result-reward{padding:28px}.dt-big-number{font-size:110px}}
@media(max-width:650px){.dt-footer{padding:15px 18px;flex-direction:column;gap:5px;font-size:9px}.dt-home,.dt-game,.dt-result,.dt-table-page,.dt-collection{padding-left:14px;padding-right:14px}.dt-hero{display:block;min-height:0;position:relative}.dt-hero-copy{padding:42px 0 30px;position:relative;z-index:1}.dt-hero h1{font-size:clamp(68px,17.7vw,102px);margin:32px 0 24px}.dt-hero-quote{font-size:clamp(28px,8vw,39px)}.dt-hero-desc{font-size:13px;max-width:290px}.dt-hero-note{margin-top:24px;font-size:10px}.dt-hero-art{height:210px;min-height:210px;overflow:visible}.dt-hero-art::before{height:230px;width:230px;bottom:0}.dt-hero-back{width:140px;box-shadow:5px 10px 0 #d9d0c8,7px 13px 15px #17171722}.dt-hero-back--a{transform:rotate(-16deg) translate(-47px,-25px)}.dt-hero-back--b{transform:rotate(14deg) translate(56px,-25px)}.dt-hero-sticker{right:10%;top:0;font-size:10px;padding:10px}.dt-level-section{padding-top:35px}.dt-section-title{display:block}.dt-section-title h2{margin-top:10px}.dt-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.dt-level{min-height:174px;padding:15px}.dt-level-badge{font-size:8px;top:12px;right:10px;padding:4px}.dt-level-name{font-size:clamp(24px,7vw,35px);margin-top:24px}.dt-level-sub{font-size:11px}.dt-level-meta{font-size:10px;padding-top:16px}.dt-notice{font-size:10px;line-height:1.8}.dt-game{padding-top:18px}.dt-game-top{font-size:9px;padding-bottom:15px}.dt-game-top>span{max-width:150px;text-align:right}.dt-hud{grid-template-columns:1fr .75fr .75fr .85fr auto;gap:3px;padding:12px 0;margin-bottom:15px}.dt-hud small{font-size:8px}.dt-hud strong{font-size:clamp(18px,5vw,27px)}.dt-quit{font-size:16px;padding:6px}.dt-quit span{display:none}.dt-board{gap:4px}.dt-tile-back{box-shadow:inset 0 0 0 2px #ff5c94,inset 0 0 0 3px #f3dfe5}.dt-tile-back::after{inset:5px}.dt-tile-monogram{font-size:clamp(11px,3vw,20px)}.dt-tile-back small{bottom:6px;font-size:clamp(5px,1.4vw,8px)}.dt-tile-front img{height:calc(100% - 11px)}.dt-tile-code{font-size:5px}.dt-tile.is-matched::after{font-size:10px}.dt-game-bottom{display:block;font-size:10px}.dt-game-notice{text-align:left;margin-top:10px}.dt-result{padding-top:40px}.dt-result-heading h1{font-size:clamp(60px,17vw,95px)}.dt-result-heading p{margin-bottom:30px}.dt-result-layout{display:flex;flex-direction:column;gap:30px}.dt-big-number{font-size:clamp(90px,24vw,130px)}.dt-result-reward{min-height:425px;padding:28px}.dt-rank{max-width:none}.dt-rank strong{font-size:70px}.dt-result-buttons{display:grid;grid-template-columns:1fr 1fr}.dt-result-buttons .dt-link{grid-column:span 2}.dt-table-page,.dt-collection{padding-top:35px}.dt-ranking td{font-size:11px;padding:15px 5px}.dt-ranking td:first-child{font-size:20px}.dt-table-tabs button{font-size:10px;padding:8px}.dt-collection h1,.dt-table-head h1{font-size:clamp(45px,11vw,70px)}}
@media(max-width:360px){.dt-level-name{font-size:23px}.dt-level{padding:12px;min-height:165px}.dt-level-badge{font-size:7px}.dt-tile{min-height:44px}.dt-board--hell{gap:3px}.dt-hud strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

/* 0.2: visible ranking, celebratory match feedback and immersive card-only focus. */
.dt-home-ranking{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:11px 15px;background:transparent;border:1px solid var(--ink);font-size:11px;font-weight:800;letter-spacing:.03em}.dt-home-ranking:hover{background:var(--yellow)}
.dt-game-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.dt-game-control{border:1px solid var(--ink);background:transparent;padding:9px 12px;font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.01em;white-space:nowrap}.dt-game-control:hover{background:var(--yellow)}.dt-rank-link{display:inline-block;margin-top:13px;padding:8px 0;border:0;background:transparent;border-bottom:1px solid currentColor;font-size:12px;font-weight:800}.dt-rank-link:hover{color:#d52b68}.dt-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dt-tile.is-match-flash{z-index:2}.dt-tile.is-match-flash .dt-tile-front{animation:dt-match-glow .85s ease-out}.dt-tile.is-match-flash .dt-tile-front::after{content:'';position:absolute;z-index:2;inset:-40% -50%;background:linear-gradient(105deg,transparent 28%,#ffffff00 38%,#fff9d9e0 47%,#ffffff66 51%,transparent 63%);pointer-events:none;animation:dt-match-sheen .76s ease-out both}.dt-tile.is-match-flash::before{content:'✦';position:absolute;z-index:4;left:5%;top:0;color:#f0ffb6;font-size:clamp(18px,3vw,30px);text-shadow:0 0 7px #f2ff6e,0 0 17px #fff;pointer-events:none;animation:dt-match-sparkle .8s ease-out both}
@keyframes dt-match-glow{0%{box-shadow:0 0 0 3px #f6ffd9,0 0 0 7px #d5ff76,0 0 26px 9px #dcffb899}45%{box-shadow:0 0 0 2px #e5ffab,0 0 0 5px #b9f365,0 0 18px 5px #dcffb87a}100%{box-shadow:0 0 0 0 transparent,0 0 0 0 transparent,0 0 0 0 transparent}}@keyframes dt-match-sheen{0%{transform:translateX(-95%) rotate(11deg);opacity:0}18%{opacity:1}100%{transform:translateX(95%) rotate(11deg);opacity:0}}@keyframes dt-match-sparkle{0%{transform:scale(.4) rotate(-40deg);opacity:0}25%{transform:scale(1.22) rotate(0deg);opacity:1}100%{transform:scale(.7) rotate(38deg) translateY(-16px);opacity:0}}
.dt-focus-toolbar{display:none}.dt-game.is-focus .dt-board-wrap{position:fixed;inset:0;z-index:1000;width:100vw;height:100dvh;margin:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:rgba(0,0,0,.91);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;overflow:auto;overscroll-behavior:contain}.dt-game.is-focus .dt-focus-toolbar{width:min(100%,720px);display:flex;gap:12px;align-items:center;justify-content:space-between;color:#fff;font-size:12px;font-weight:800}.dt-focus-brand{white-space:nowrap;letter-spacing:-.05em;font-size:15px}.dt-focus-stats{font-size:12px;letter-spacing:.02em;color:#e5ff95;white-space:nowrap}.dt-game.is-focus .dt-game-control{border-color:#aaa;color:#fff}.dt-game.is-focus .dt-game-control:hover{background:#303030}.dt-focus-exit{border:1px solid #fff;background:#fff;color:#111;font-size:20px;line-height:1;width:42px;height:42px;flex:none}.dt-game.is-focus .dt-board{width:min(100%,var(--focus-width,700px));max-width:720px;margin:0;flex:none}.dt-game.is-focus .dt-tile{min-height:0}.dt-game.is-focus .dt-tile.is-matched .dt-tile-front{border-color:#d8ff83}
@media(max-width:650px){.dt-home-ranking{margin-top:16px}.dt-game-top{gap:8px}.dt-game-actions{gap:5px}.dt-game-control{font-size:10px;padding:8px 6px}.dt-game.is-focus .dt-board-wrap{gap:12px}.dt-focus-brand{font-size:11px}.dt-focus-toolbar{gap:6px!important}.dt-focus-stats{font-size:10px}.dt-game.is-focus .dt-game-control{font-size:10px;padding:7px 6px}.dt-focus-exit{width:36px;height:36px;font-size:18px}.dt-collected{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.dt-collected .dt-reward-card{width:100%;max-width:none;box-shadow:4px 6px 0 #ddd0c4}.dt-collected .dt-reward-name strong{font-size:12px;line-height:1.25;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}}
@media(max-width:360px){.dt-focus-brand{display:none}}
@media(prefers-reduced-motion:reduce){.dt-tile.is-match-flash .dt-tile-front,.dt-tile.is-match-flash .dt-tile-front::after,.dt-tile.is-match-flash::before{animation:none!important}}

/* 0.2.2: unmistakable sound status and editorial titles. */
.dt-sound-control{display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:background-color .18s,color .18s,box-shadow .18s}
.dt-sound-control.is-on,.dt-game.is-focus .dt-sound-control.is-on{background:#ff2680;border-color:#ff2680;color:#171217;box-shadow:0 0 0 2px #ff268040}
.dt-sound-control.is-off{opacity:.45}.dt-sound-note{display:inline-block;font-size:1.2em;line-height:1;transform-origin:center bottom}
.dt-sound-control.is-on .dt-sound-note{animation:dt-sound-dance 1.45s ease-in-out infinite}
.dt-sound-control.is-on:hover,.dt-game.is-focus .dt-sound-control.is-on:hover{background:#ff62a5;border-color:#ff62a5}
@keyframes dt-sound-dance{0%,100%{transform:translateY(0) rotate(-8deg)}30%{transform:translateY(-3px) rotate(9deg)}62%{transform:translateY(2px) rotate(-4deg)}}
.dt-tile-code{font-weight:600;letter-spacing:-.025em;font-size:clamp(5px,.9vw,10px);color:#443c38}
.dt-reward-name{padding-top:10px;gap:5px}.dt-reward-name strong{font-size:17px;line-height:1.15;min-height:1.2em;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.dt-reward-name small{order:2;color:#827b75;font-size:8px;letter-spacing:.025em;font-weight:500}.dt-reward-name>span{order:3}
.dt-board-wrap{position:relative}
.dt-victory{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;background:rgba(18,11,17,.87);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);transition:opacity .18s ease,visibility .18s ease}
.dt-victory.is-active{opacity:1;visibility:visible}
.dt-reward-stage{position:relative;width:100%;max-width:235px;isolation:isolate}
.dt-reward-stage .dt-reward-card{max-width:none}
.dt-reward-pack{position:absolute;inset:-8px;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;border:3px solid #f7ebda;outline:2px solid #20151c;background:repeating-linear-gradient(125deg,#171018 0,#171018 24px,#301421 25px,#301421 29px);color:#ff3c92;box-shadow:12px 14px 0 #251b18;transform-origin:left center;text-align:center}
.dt-reward-pack::before{content:'';position:absolute;inset:9px;border:1px solid #ff3c92b0;pointer-events:none}
.dt-reward-pack>span{font:900 clamp(19px,4vw,27px)/1 'Space Grotesk',sans-serif;letter-spacing:-.07em}.dt-reward-pack>b{font:900 72px/1 'Space Grotesk',sans-serif;color:#e6ff89}.dt-reward-pack>small{color:#fff8ed;font-size:10px;font-weight:900;letter-spacing:.19em}
.dt-reward-stage.is-unlocking .dt-reward-pack{animation:dt-open-pack 1.75s .32s cubic-bezier(.25,.75,.2,1) forwards}
.dt-reward-stage.is-unlocking .dt-reward-card{animation:dt-reveal-card 1.4s .48s cubic-bezier(.2,1.25,.2,1) both}
.dt-new-card-label{font:900 13px/1.4 'Space Grotesk',sans-serif!important;color:#e52677!important;letter-spacing:.04em;text-align:center;margin:25px 0 0!important;animation:dt-new-card-label 1.5s ease both}
@keyframes dt-open-pack{0%,15%{transform:perspective(600px) rotateY(0) scale(1);opacity:1}58%{transform:perspective(600px) rotateY(-70deg) translateX(-7%);opacity:1}85%,100%{transform:perspective(600px) rotateY(-90deg) translateX(-38%);opacity:0;visibility:hidden}}
@keyframes dt-reveal-card{0%{opacity:.2;transform:translateY(34px) rotate(5deg) scale(.78)}50%{opacity:1;transform:translateY(-15px) rotate(-5deg) scale(1.08)}100%{opacity:1;transform:translateY(0) rotate(-3deg) scale(1)}}
@keyframes dt-new-card-label{0%,55%{opacity:0;transform:translateY(12px)}100%{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.dt-reward-name strong{font-size:14px}.dt-game.is-focus .dt-sound-control.is-on{color:#181018}}
@media(prefers-reduced-motion:reduce){.dt-sound-control.is-on .dt-sound-note,.dt-reward-stage.is-unlocking .dt-reward-pack,.dt-reward-stage.is-unlocking .dt-reward-card,.dt-new-card-label{animation:none!important}.dt-reward-stage.is-unlocking .dt-reward-pack{display:none}}
/* v0.2.5: full-bleed artwork on the existing 3D flip; no visible title strip. */
.dt-tile-front{display:block;border:0;background:#fff}
.dt-tile-front img{display:block;width:100%;height:100%;object-fit:cover;background:#fff}
.dt-tile.is-matched .dt-tile-front{border:2px solid #8dc5b2}

/* v0.2.5: full-screen CHICALOCA mission card replaces the runway sequence. */
.dt-victory--mission{position:fixed;inset:0;z-index:100;min-height:100dvh;background:radial-gradient(ellipse at 50% 45%,#ffe1ec 0%,#fff5e8 62%,#f6e7dd 100%);backdrop-filter:none;-webkit-backdrop-filter:none}
.dt-mission-card{position:relative;width:min(88vw,440px,calc((100dvh - 48px)*.75));aspect-ratio:3/4;border-radius:5%;overflow:hidden;isolation:isolate;background:#fff4e7;box-shadow:0 14px 0 #d8b8c3,0 32px 68px #2c121f45;transform:rotate(-5deg) scale(.72);opacity:0}
.dt-victory.is-active .dt-mission-card{animation:dt-mission-enter .68s cubic-bezier(.2,1.2,.34,1) forwards}
.dt-mission-art{display:block;width:100%;height:100%;object-fit:fill}
.dt-mission-ring{position:absolute;z-index:1;left:20%;top:25%;width:60%;height:54%;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(255,34,124,.7) 0deg 1deg,transparent 1deg 8deg);-webkit-mask:radial-gradient(ellipse at center,transparent 0 54%,#000 59% 78%,transparent 81%);mask:radial-gradient(ellipse at center,transparent 0 54%,#000 59% 78%,transparent 81%);opacity:0;pointer-events:none}
.dt-victory.is-active .dt-mission-ring{animation:dt-mission-rotate 1.9s cubic-bezier(.2,.8,.35,1) .3s both}
.dt-mission-eye-open{position:absolute;z-index:2;inset:0;width:100%;height:100%;object-fit:fill;clip-path:inset(45.2% 46.6% 50.2% 45.2%);opacity:1;pointer-events:none}
.dt-victory.is-active .dt-mission-eye-open{animation:dt-mission-natural-wink 3.05s linear both}
.dt-mission-neon-glow{position:absolute;z-index:3;left:17%;top:14%;width:66%;height:16%;border-radius:50%;background:radial-gradient(ellipse at center,#ff0b8629 0%,#ff248121 46%,transparent 75%);filter:blur(5px);mix-blend-mode:screen;opacity:.35;pointer-events:none}
.dt-victory.is-active .dt-mission-neon-glow{animation:dt-mission-neon-glow 3.05s steps(1,end) both}
@keyframes dt-mission-enter{from{transform:translateY(32px) rotate(-7deg) scale(.72);opacity:0}to{transform:translateY(0) rotate(-1deg) scale(1);opacity:1}}
@keyframes dt-mission-rotate{0%{transform:rotate(-30deg);opacity:.03}16%{opacity:.88}82%{opacity:.9}100%{transform:rotate(360deg);opacity:0}}
@keyframes dt-mission-natural-wink{0%,27%,33%,52%,100%{opacity:1}38%,46%{opacity:0}}
@keyframes dt-mission-neon-glow{0%,15%,23%,41%,55%,72%,100%{opacity:.78}9%,20%,35%,52%,68%{opacity:.15}}
@media(max-width:650px){.dt-mission-card{width:min(89vw,440px,calc((100dvh - 44px)*.75))}}
@media(prefers-reduced-motion:reduce){.dt-victory.is-active .dt-mission-card{animation:none!important;transform:none;opacity:1}.dt-victory.is-active .dt-mission-ring{display:none}.dt-victory.is-active .dt-mission-eye-open{animation:none!important;opacity:0}.dt-victory.is-active .dt-mission-neon-glow{animation:none!important;opacity:.45}}

/* v0.2.6: the supplied original illustrated card back is now the playing-card reverse. */
.dt-tile-back{padding:0;border:0;background:#fff;box-shadow:none}
.dt-tile-back::after{content:none}
.dt-tile-back-art{display:block;width:100%;height:100%;object-fit:fill}

/* v0.2.6: neutral sound button with animated music note only when enabled. */
.dt-sound-control.is-on{background:transparent;border-color:var(--ink);color:var(--ink);box-shadow:none}
.dt-sound-control.is-on:hover{background:#eee9e4;border-color:var(--ink);color:var(--ink);box-shadow:none}
.dt-game.is-focus .dt-sound-control.is-on{background:transparent;border-color:#aaa;color:#fff;box-shadow:none}
.dt-game.is-focus .dt-sound-control.is-on:hover{background:#303030;border-color:#aaa;color:#fff}

/* v0.2.14: one-pixel classic-gold hairline on artwork fronts; backs remain unchanged. */
.dt-tile-front::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;border:1px solid #c9a227;border-radius:inherit}

/* v0.2.15: front artwork, gold trim, and illustrated reverse share one corner curve. */
.dt-tile-inside,.dt-tile-back,.dt-tile-front{border-radius:8px}

/* v0.2.18: keep the game visible beneath rankings and MY CARDS popups. */
.dt-popup-overlay{position:fixed;inset:0;z-index:1600;background:rgba(0,0,0,.80);display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto;overscroll-behavior:contain;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.dt-popup-dialog{position:relative;width:min(920px,100%);max-height:calc(100dvh - 36px);overflow:auto;background:var(--paper);border:1px solid var(--ink);padding:26px;box-shadow:8px 10px 0 #0004}
.dt-popup-close{position:absolute;right:25px;top:25px;width:42px;height:42px;z-index:1;border:1px solid var(--ink);background:transparent;color:var(--ink);font-size:25px;line-height:1;cursor:pointer}
.dt-popup-dialog .dt-table-page,.dt-popup-dialog .dt-collection{width:100%;max-width:none;margin:0;padding:17px 0 8px}
.dt-popup-dialog .dt-table-head,.dt-popup-dialog .dt-collection{padding-right:58px}
.dt-popup-dialog .dt-table-head h1,.dt-popup-dialog .dt-collection h1{font-size:clamp(39px,6vw,68px);margin:14px 0 27px}
.dt-popup-dialog .dt-ranking{margin-top:20px}
.dt-popup-dialog .dt-collected{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 14px;margin:0 0 20px}
.dt-popup-dialog .dt-reward-card{width:100%;max-width:225px;transform:none;box-shadow:4px 5px 0 #ddd0c4}
.dt-popup-dialog .dt-collection-empty{padding:12px 0 20px}
@media(max-width:650px){
 .dt-popup-overlay{padding:12px;align-items:center}
 .dt-popup-dialog{max-height:calc(100dvh - 24px);padding:19px}
 .dt-popup-close{right:19px;top:19px;width:37px;height:37px;font-size:22px}
 .dt-popup-dialog .dt-table-page,.dt-popup-dialog .dt-collection{padding:10px 0 5px}
 .dt-popup-dialog .dt-table-head,.dt-popup-dialog .dt-collection{padding-right:48px}
 .dt-popup-dialog .dt-table-head h1,.dt-popup-dialog .dt-collection h1{font-size:clamp(35px,9vw,52px);margin:12px 0 22px}
 .dt-popup-dialog .dt-collected{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 11px}
 .dt-popup-dialog .dt-reward-card{max-width:none}
 .dt-popup-dialog .dt-ranking td{padding:13px 5px;font-size:11px}
 .dt-popup-dialog .dt-ranking td:first-child{font-size:20px}
}

/* v0.2.20: compact, stable leaderboards and true three-column wardrobe popup. */

.dt-popup-dialog .dt-table-tabs{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;gap:4px;padding-bottom:12px}
.dt-popup-dialog .dt-table-tabs button{flex:0 0 auto;white-space:nowrap;padding:9px 10px}
.dt-popup-dialog .dt-ranking{table-layout:fixed;width:100%;border-collapse:collapse}
.dt-popup-dialog .dt-ranking th,.dt-popup-dialog .dt-ranking td{text-align:left;vertical-align:middle;overflow-wrap:anywhere}
.dt-popup-dialog .dt-ranking th:nth-child(1),.dt-popup-dialog .dt-ranking td:nth-child(1){width:19%}
.dt-popup-dialog .dt-ranking th:nth-child(2),.dt-popup-dialog .dt-ranking td:nth-child(2){width:42%}
.dt-popup-dialog .dt-ranking th:nth-child(3),.dt-popup-dialog .dt-ranking td:nth-child(3){width:39%;text-align:right}
.dt-popup-dialog .dt-ranking td[colspan]{width:auto;text-align:center}
.dt-popup-dialog .dt-collected{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 10px}
.dt-popup-dialog .dt-reward-card{width:100%;max-width:none;min-width:0;border:1px solid var(--ink);outline:0;padding:7px;background:#fff;box-shadow:none;transform:none}
.dt-popup-dialog .dt-reward-visual{border:0;background:transparent}
.dt-popup-dialog .dt-reward-name{padding:7px 1px 0;gap:3px}
.dt-popup-dialog .dt-collection{padding-right:0}
.dt-popup-dialog .dt-collection>h1{padding-right:43px}
@media(max-width:650px){



 .dt-popup-dialog .dt-collected{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 7px}
 .dt-popup-dialog .dt-reward-card{border-width:1px;padding:4px}
 .dt-popup-dialog .dt-reward-name{padding:5px 1px 0;gap:2px}
 .dt-popup-dialog .dt-reward-name strong{font-size:10px;line-height:1.15;min-height:22px;-webkit-line-clamp:2}
 .dt-popup-dialog .dt-reward-name small{display:none}
 .dt-popup-dialog .dt-reward-name>span{font-size:8px;letter-spacing:0}
 .dt-popup-dialog .dt-ranking th,.dt-popup-dialog .dt-ranking td{padding:12px 5px;font-size:11px}
 .dt-popup-dialog .dt-ranking th{font-size:9px;letter-spacing:0}
 .dt-popup-dialog .dt-table-tabs button{padding:9px 8px;font-size:10px}
}
@media(max-width:370px){.dt-popup-dialog .dt-reward-name strong{font-size:9px}}
