/* ---------- THEME: Sticker Pop ----------
   Sky-blue dotted ground, white sticker panels with a thick ink outline and a hard offset shadow,
   bold Baloo 2 headings, pink / sunny yellow / lime / lilac accents. Layered on top of the base styles above. */
:root{color-scheme:light;--sky:#bfe9ff;--bg:#eaf7ff;--bg2:#fff;--panel:#fff;--line:#1d1033;--ink:#1d1033;--soft:#4b3f6e;--pink:#ff5fa2;--pinkd:#1d1033;--sun:#ffd23f;--lime:#c6f36b;--lilac:#b7a6ff;--sticker:3px 3px 0 #1d1033;--sticker-up:5px 6px 0 #1d1033}
body{background:var(--sky) radial-gradient(#ffffff99 1.6px,transparent 1.8px) 0 0/22px 22px;color:var(--ink)}
.app{background:#7fd3ff radial-gradient(#ffffff59 1.4px,transparent 1.6px) 0 0/18px 18px}
@media(min-width:600px){.app{border-color:#1d1033;box-shadow:8px 8px 0 #1d1033}}
h1,h2,h3,h4,.vh,.logo,.tile b,.modesw button,.btn,.mbox h3{font-family:"Baloo 2",Fredoka,Jua,system-ui,sans-serif;font-weight:800}
html[lang=ko] h1,html[lang=ko] h2,html[lang=ko] h3,html[lang=ko] h4,html[lang=ko] .vh,html[lang=ko] .tile b,html[lang=ko] .btn{font-family:Jua,"Baloo 2",sans-serif;font-weight:400}
.hud{background:#7fd3ffe6}
.logo{font-size:21px}

/* every panel is a sticker */
.box,.tile,.rd-item,.mbox,.pack,.ppick,.pedit,.chip-btn,.who,.me,.pill,.modesw,.say,.sec,.cyc,.anal-grid div,.lucky div,.acRow,input,select,textarea,.seg label{border:2.5px solid #1d1033}
.box,.tile,.rd-item,.mbox,.modesw,.say,.chatcta{box-shadow:var(--sticker)}
.box,.mbox,.sheet .in,.say,.rd-item{background:#fff}
.box{border-radius:22px}
.sec{background:#fffdf6;border-radius:18px}
.sec-k{background:var(--pink);color:#1d1033;border:2px solid #1d1033;font-weight:700}
.chip{background:var(--lime);color:#1d1033;border:2px solid #1d1033;font-weight:700}
.lucky div,.anal-grid div,.acRow{background:var(--bg)}
input,select,textarea{background:#fff;color:#1d1033}
.seg label{background:#fff}
.seg label:has(input:checked){background:var(--pink);color:#1d1033;border-color:#1d1033}
.sheet .in{border:2.5px solid #1d1033;border-bottom:0}
.sheet{background:rgba(29,16,51,.55)}

/* header: carrot coin, avatar, tarot / saju switch */
.pill{background:var(--sun);color:#1d1033;font-weight:700;box-shadow:2px 2px 0 #1d1033}
.carrot{border-color:#1d1033}
.me{background:#fff;box-shadow:2px 2px 0 #1d1033}
.ini{color:var(--pink)}
.modesw{background:#fff}
.modesw button{color:#4b3f6e}
.modesw button[aria-pressed=true]{background:var(--pink);color:#1d1033;box-shadow:none;outline:2px solid #1d1033}
.soonTag{background:var(--sun);color:#1d1033;border:1.5px solid #1d1033}
.mtip,.toast{background:#fff;color:#1d1033;border:2.5px solid #1d1033;box-shadow:var(--sticker)}
.mtip::before{background:#fff;border-color:#1d1033}
.lang{background:#fff;border:2.5px solid #1d1033}
.lang button[aria-pressed=true]{background:var(--pink);color:#1d1033}

/* buttons */
.btn{background:var(--pink);color:#1d1033;border:2.5px solid #1d1033;box-shadow:var(--sticker)}
.btn.ghost{background:#fff;color:#1d1033;box-shadow:var(--sticker);border:2.5px solid #1d1033}
.btn:active:not([disabled]),.chatcta:active{transform:translate(3px,3px);box-shadow:0 0 0 #1d1033}
.btn.ghost:active:not([disabled]){box-shadow:0 0 0 #1d1033}
.chatcta{background:var(--sun);color:#1d1033;border:2.5px solid #1d1033}
.back{color:#1d1033;font-weight:600}
.cost{opacity:1}
.badge{background:#fff!important;color:#1d1033!important;border:1.5px solid #1d1033;font-weight:800}

/* menu tiles: a different candy colour each */
.tile{background:#fff}
#tMenu .tile:nth-child(6n+1),#menu .tile:nth-child(6n+1){background:#ffb3d4}
#tMenu .tile:nth-child(6n+2),#menu .tile:nth-child(6n+2){background:var(--sun)}
#tMenu .tile:nth-child(6n+3),#menu .tile:nth-child(6n+3){background:var(--lime)}
#tMenu .tile:nth-child(6n+4),#menu .tile:nth-child(6n+4){background:var(--lilac)}
#tMenu .tile:nth-child(6n+5),#menu .tile:nth-child(6n+5){background:#8fe3ff}
#tMenu .tile:nth-child(6n+6),#menu .tile:nth-child(6n+6){background:#ffc89a}
.tile span{color:#2e2350}
.tile:active,.rd-item:active{transform:translate(3px,3px) scale(.98);box-shadow:0 0 0 #1d1033}

/* Moki's speech bubble and chat */
.say{color:#1d1033}
/* the name tag sits above the bubble's top edge, so the first line of text never runs under it */
.say{padding-top:32px}
.say .who{background:var(--pink);color:#1d1033;border:2.5px solid #1d1033;top:-20px;line-height:1.35;padding:2px 12px 1px}
.say .next{color:#4b3f6e}
.stage{border:2.5px solid #1d1033;box-shadow:var(--sticker)}
.msg.model{background:#fff;color:#1d1033;border:2px solid #1d1033}
.msg.user{background:var(--pink);color:#1d1033;border:2px solid #1d1033}

/* Moki's bubble on the spread screen */
.tmoki p{background:#fff;color:#1d1033;border:2.5px solid #1d1033;box-shadow:var(--sticker)}
.tmoki b{color:var(--pink)}

/* cards: white sticker border, ink outline */
/* the outline and shadow sit on the card's outer frame, so they stay put when the card turns or is reversed */
.tflip{border-radius:9%/5.6%;box-shadow:0 0 0 2.5px #1d1033,3px 3px 0 2.5px #1d1033}
.tback,.tface{border:3px solid #fff;box-shadow:none}
.tflip:not(.on):not(.static):hover .in{transform:none}
@media (hover:hover) and (pointer:fine){.tflip:not(.on):not(.static){transition:transform .2s}.tflip:not(.on):not(.static):hover{transform:translate(-2px,-4px) rotate(-2deg)}}
.tface.art .tmn{background:var(--sun);color:#1d1033;border:1.5px solid #1d1033}
.tface.art .tban{background:#fff;color:#1d1033;border:1.5px solid #1d1033;font-weight:800}
.tflip.big{transform:rotate(-2deg)}
.tflip.big:not(.on):hover{transform:translate(-2px,-4px) rotate(-4deg)}
#tDayOut h4{color:#1d1033}
.tdayHint,.tslot small,.tmean{color:#4b3f6e}
.tmean b{color:#1d1033}

/* lists, sheets, wallet, people */
.pack,.ppick,.pedit,.chip-btn,.who{background:#fff;color:#1d1033}
.prow.on .ppick{background:#ffe3f0;border-color:#1d1033}
.pk-s{background:var(--lime);border:1.5px solid #1d1033;color:#1d1033}
.rdNav{background:#7fd3ff}
.ldBarWrap{background:#fff;border:2.5px solid #1d1033}
.stat .t{background-color:#fff;border-color:#1d1033}
.cyc{background:#fff}
.cyc.now{background:var(--pink);border-color:#1d1033;color:#1d1033}
.mochiBtn .hint{color:#4b3f6e}
footer{color:#2e2350}

/* hover (mouse only): stickers lift off the page */
@media (hover:hover) and (pointer:fine){
.btn:hover:not([disabled]),.btn.ghost:hover:not([disabled]),.chatcta:hover{transform:translate(-2px,-3px);box-shadow:var(--sticker-up);border-color:#1d1033}
.tile:hover{transform:translate(-2px,-4px) rotate(-1.2deg);box-shadow:var(--sticker-up);border-color:#1d1033}
.tile:nth-child(even):hover{transform:translate(-2px,-4px) rotate(1.2deg)}
.rd-item:hover{transform:translate(-2px,-3px);box-shadow:var(--sticker-up);border-color:#1d1033}
.pack:hover,.ppick:hover,.who:hover,.chip-btn:hover,.pedit:hover{border-color:#1d1033;box-shadow:var(--sticker)}
.seg label:hover{border-color:var(--pink)}
}
