/* AKATSUKI — obsidian lacquer, vermilion seals, rain and moonlight. */
:root{--ink:#0c0e14;--violet:#a83043;--mint:#ed6871;--gold:#dac8ac;--lavender:#b8b3c0;--red:#b81e36}
html,body{background:#080a0f;color:#eee8e2;font-family:Arial,"PingFang SC",sans-serif}
body:before{background:linear-gradient(#080a10aa,#08090ed9),url('assets/akatsuki/background.png') center/cover;filter:blur(9px);opacity:1}
#game-shell{background:#101219;box-shadow:0 0 100px #000;border-left:1px solid #ad5b5b26;border-right:1px solid #ad5b5b26}
#stage{background:radial-gradient(ellipse at 50% 70%,#24151f,#10131a 75%)}
.sky{background:linear-gradient(#0d0e1b55,#0b0b13c9),url('assets/akatsuki/background.png') center 29%/cover;filter:none}
.sky-star{font-size:0!important;width:36px;height:25px;background:url('assets/cloud.svg') center/contain no-repeat;opacity:.4;filter:none;animation:cloud-drift 10s ease-in-out infinite alternate}
.game-heading{left:31px;right:28px}.game-heading strong{font:600 35px/1.1 Georgia,serif;letter-spacing:7px;color:#eee1d0;text-shadow:0 3px 20px #000}.game-heading small{color:#c48288;letter-spacing:7px;font-weight:400}
.moon-seal{border:1px solid #a8464955;box-shadow:none;border-radius:4px;color:#e6444f;font:62px/1 "Songti SC","STSong",serif;transform:rotate(-4deg);background:#5e142233;width:73px;height:82px}
.line-seal{color:#d7bca1;border-color:#b05f6633;font-size:32px;letter-spacing:2px}.line-seal small{color:#a0a0ad}
.witch-frame{border:5px solid #623743;border-radius:18px;background:linear-gradient(110deg,#c3877e,#30191f 35%,#795858 70%,#271920);box-shadow:inset 0 0 0 2px #b5776b,0 10px 30px #0009,0 0 30px #99142c15}
.witch-frame:before{border:3px solid #141219;border-radius:13px;box-shadow:inset 0 0 0 1px #c08d7155}.frame-star{font-size:0;width:38px;height:28px;background:url('assets/cloud.svg') center/contain no-repeat;filter:drop-shadow(0 2px 4px #000)}.top-left,.top-right{top:-15px}.bottom-left,.bottom-right{bottom:-15px}
#reels{background:radial-gradient(ellipse at 50% 25%,#262632,#151722 85%);border:1px solid #b1858177;border-radius:9px;box-shadow:inset 0 0 55px #080911}
.cell{border-color:#9997b212;background:linear-gradient(#d9cdcd04,transparent 45%,#04040b20)}
.symbol{width:132px;height:132px;max-width:132px;max-height:132px;filter:drop-shadow(1px 5px 4px #0009)}.symbol.special{width:144px;height:144px;max-width:144px;max-height:144px}.symbol.h1,.symbol.h2{max-width:130px;max-height:130px}
.symbol-letter{font:600 88px/1 "Songti SC","STSong",serif;letter-spacing:0;background:linear-gradient(140deg,#f4e2c7,#a98f7d 55%,#625b69);-webkit-background-clip:text;background-clip:text;-webkit-text-stroke:.5px #c5afa1;filter:drop-shadow(0 4px 2px #08090e);opacity:.82}
.symbol-letter.l4{background-image:linear-gradient(140deg,#ccdae3,#8396aa 60%,#4d5b72);-webkit-text-stroke-color:#acb8c9}.symbol-letter.l3{background-image:linear-gradient(140deg,#fcf0e6,#bdb4b5 60%,#6e6b7e);-webkit-text-stroke-color:#c4bbc4}.symbol-letter.l2{background-image:linear-gradient(140deg,#f5aea5,#c15b64 60%,#663045);-webkit-text-stroke-color:#cb8188}.symbol-letter.l1{font-size:88px;background-image:linear-gradient(140deg,#c9b2d3,#83718e 60%,#53435d);-webkit-text-stroke-color:#a393b0}
.symbol-tag{bottom:0;font:600 17px Arial,"PingFang SC",sans-serif;letter-spacing:3px;color:#e7d9c6;background:linear-gradient(90deg,transparent,#110e16dc,transparent);padding:4px 0}
.cell.scatter{background:radial-gradient(ellipse at 50% 70%,#a8572829,transparent 73%)}.cell.winning{background:radial-gradient(ellipse,#e3485f46,transparent 76%)}.cell.winning .symbol,.cell.winning .symbol-letter{filter:drop-shadow(0 0 10px #e45261a8)}.cell.summoned{background:radial-gradient(circle,#9d6bbc50,transparent 76%)}
.multiplier{color:#e7c9ff;text-shadow:0 3px #351d42,0 0 17px #b35ce2;font-size:36px}
.spell-effect{border-color:#dc8ba5;box-shadow:0 0 26px #b82b55,inset 0 0 25px #ac65e866}.spell-effect:before,.spell-effect:after{content:'';inset:14%;border:1px solid #dfbcf0;border-radius:50%;width:auto;height:auto}.spell-effect:after{inset:28%}.spell-effect.add{border-color:#dc999e;box-shadow:0 0 23px #df335f55}
.spell-beam{stroke:#ebace3;filter:drop-shadow(0 0 10px #c34183);stroke-width:8}.wild-extension{background:linear-gradient(#cc80ce99,#ba324433,transparent);filter:drop-shadow(0 0 6px #b44991)}
#line-layer polyline{stroke:#df9e95;stroke-width:3;filter:drop-shadow(0 0 6px #d52f4b)}
.frame-bottom{background:linear-gradient(#10121a40,#13121ac9 55%,#0d1017),url('assets/akatsuki/background.png') center 80%/cover}.frame-bottom:after{border-color:#c5414820;background:radial-gradient(ellipse at 50% 80%,#7e132522,transparent 65%)}
.crystal{font-size:0;width:64px;height:43px;background:url('assets/cloud.svg') center/contain no-repeat;opacity:.7;animation:twinkle 4s infinite alternate;filter:none}
.spell-caption{color:#bb9ba8;font-size:19px;letter-spacing:5px}.spell-caption>span:first-child,.spell-caption>span:last-child{color:#ae434f;font-size:18px}
#info{background:linear-gradient(90deg,#15141d,#32192299,#15141d);border-color:#a04c493d;box-shadow:inset 0 0 30px #080a1033}#message{font:24px/1.5 "Songti SC","STSong",serif;color:#d9bcc2;text-shadow:none}#win-label{color:#f1d0ad;text-shadow:0 2px #381c21}
.wallet-row button{border:1px solid #c2a1a02e;border-radius:15px;background:linear-gradient(#25222ac9,#17171fe8);color:#edddcb}.wallet-row svg,.wallet-row #rules-button svg{stroke:#b09ba5}.wallet-copy small{color:#a998a5;font-size:20px;letter-spacing:3px}.wallet-copy>span{font-family:Georgia,serif}
.small-control{background:linear-gradient(#2b252e,#11131c);border:1px solid #8f6d7755;box-shadow:inset 0 1px #ebd3c01a,0 5px 10px #0005;color:#c6b9c1}.small-control svg{stroke:#c9bac6}.small-control#turbo-button svg{fill:#b7465933}#turbo-button[aria-pressed=true]{border-color:#ed6772;box-shadow:0 0 23px #bb233d55}#turbo-button[aria-pressed=true] svg{stroke:#e8828a;fill:#c84c60}
#spin-button{background:radial-gradient(circle at 35% 20%,#601d2d,#210f18 60%,#0d0d14);border:3px solid #b5726e;box-shadow:0 0 0 6px #140d15,0 0 0 8px #65353d,0 6px 18px #0008,inset 0 0 15px #e2444844}
.spin-base{inset:5px;width:auto;height:auto;border:1px solid #d5756e55;border-radius:50%;background:repeating-conic-gradient(from 8deg,#a84f5b33 0 1deg,transparent 1deg 12deg);z-index:0}
#spin-arrows{left:19px;top:19px;width:136px;height:136px;filter:drop-shadow(0 0 8px #eb3d4055);animation:eye-turn 20s linear infinite}
#spin-button.spinning #spin-arrows{animation:rotate .65s linear infinite;filter:drop-shadow(0 0 13px #ed263d)}#spin-stop{fill:#e6cbc9}#spin-button[data-state=auto]{background:radial-gradient(#5e2332,#190e18)}#auto-count{color:#fff0d7}#spin-auto-label{color:#ba8b95;top:32px}
.spin-vfx-back{display:none}.spin-vfx-front{left:-94px;top:-94px;width:360px;height:360px;z-index:4}#spin-button:focus-visible{outline-color:#e76c76}
.bottom-bar{color:#937c8b}.bottom-bar button{color:#c1a3b2}.bottom-bar span{font-size:20px;letter-spacing:2px}
#free-counter{color:#dac6ec;text-shadow:0 2px #381f47;font-family:"PingFang SC",sans-serif;gap:12px}#free-counter span{font-size:21px}#free-counter small{font-size:19px}#free-multiplier{color:#f6bdcb}
#stage.free #reels{background:radial-gradient(ellipse at 50% 30%,#382335,#1e1423 85%);border-color:#dd7e8d;box-shadow:inset 0 0 50px #8b163b33}#stage.free .witch-frame{border-color:#a95868;box-shadow:inset 0 0 0 2px #d49e95,0 0 45px #c6305e44}
#stage.free .sky{background:linear-gradient(#35172933,#1b101dcc),url('assets/akatsuki/background-free.png') center 24%/cover}#stage.free .frame-bottom{background:linear-gradient(#20132244,#201123aa 40%,#100c16),url('assets/akatsuki/background-free.png') center 80%/cover}body.free-scene:before{background-image:linear-gradient(#12091399,#120c16cc),url('assets/akatsuki/background-free.png');filter:blur(8px)}
#free-aura i{border-color:#db6677;box-shadow:0 0 55px #d43b6066}#five-kind{color:#f1c9b9;text-shadow:0 3px #561d29,0 0 24px #bb4656;background:#24131ed9;font-family:"Songti SC",serif;letter-spacing:6px}
#intro{background:#0c0e14}#intro>img{object-fit:cover;object-position:50% 50%;opacity:.94}.intro-shade{background:linear-gradient(#0a0b126b,transparent 31%,transparent 52%,#0b0c14df 82%,#090b11)}
.intro-heading{top:5.8%;text-shadow:0 2px 20px #000}.intro-heading>span{font-size:16px;letter-spacing:7px;color:#c8b2ad}.intro-heading h1{font:200px/.95 "Songti SC","STSong",serif;margin:22px 0 7px;letter-spacing:0;color:#d83248;text-shadow:1px 3px #24070e,0 0 35px #aa203f33;transform:rotate(-5deg)}.intro-wordmark{font:500 43px Georgia,serif;letter-spacing:16px;text-indent:16px;color:#ecdecc}.intro-heading p{font:25px "Songti SC",serif;color:#c4aba9;letter-spacing:10px;margin-top:22px}
.intro-features{bottom:22%;color:#ad96a1;font-size:17px;letter-spacing:3px}.intro-features span{border-color:#a96c7544}.intro-features b{color:#e0c5b8;font:34px "Songti SC",serif;letter-spacing:3px;margin-bottom:10px}
#start-button{border-radius:8px;border:1px solid #dc7a78;background:linear-gradient(115deg,#961b32,#bd2840 55%,#781e32);color:#f8e7df;box-shadow:inset 0 0 0 4px #380a152f,0 8px 25px #0007;letter-spacing:7px;font:30px "Songti SC",serif}#start-button span{color:#eabfba;font-size:33px}#intro>small{color:#9f8694;font-size:17px;letter-spacing:5px}
#celebration{background:radial-gradient(ellipse,#582136ed,#100c17f5)}#celebration-title{font-family:Georgia,"Songti SC",serif;color:#f0d3b6;text-shadow:0 4px #72293b,0 0 30px #d74d7355;letter-spacing:6px}#celebration-value{color:#fae5cf;text-shadow:0 4px #833344;font-variant-numeric:tabular-nums}#celebration-character{width:340px;height:340px;filter:drop-shadow(0 0 30px #bd579955)}.celebration-orbit{color:#dc5b66;font-size:0;width:130px;height:90px;background:url('assets/cloud.svg') center/contain no-repeat}.celebration-kicker{color:#c88f9c;letter-spacing:8px;font-size:20px}#celebration small{color:#ae8c9a}#celebration[data-tier="1"]{background:radial-gradient(ellipse,#703045ef,#120c19f5)}#celebration[data-tier="2"]{background:radial-gradient(ellipse,#5c295bef,#140b1af5)}
.coin{border:1px solid #f1a572;border-radius:3px;background:linear-gradient(135deg,#d64e54,#75213a);box-shadow:0 0 12px #cc354c44;width:23px;height:45px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
#modal{background:#181720;box-shadow:0 -15px 70px #0008;border-top:1px solid #93464f55}#modal header{background:#25202a;border-color:#75424d55}#modal h2{color:#ead9d3}.scrim{background:#07080dbb}
#modal.profile-modal header:after{content:'暁';border-radius:8px;background:#391822;color:#dc6873;box-shadow:none;font-family:"Songti SC",serif;font-size:75px}
.profile-wallet{color:#bda5b2}.profile-wallet strong{color:#eee0d5}.profile-nav,.profile-utility{background:#221e29}.profile-nav button{color:#c5b0be}.profile-nav i{background:#40303d;color:#e6c7cc}.profile-utility button{color:#aa96a8}
.choice,.bet-choice,.secondary,.menu-list button{background:#2c2532;color:#cbb7c6;border-color:#735463}.choice.active,.bet-choice.active{background:#6b293d;color:#f3d6ce;border-color:#d06979}.primary{background:#a72a43;color:#ffeadf}.modal-label,.payout-values small{color:#ab91a2}.modal-label strong,.history-row .positive{color:#ecc4a6}.fine{color:#9a889c}.line-card{background:#211d2a;color:#ddbec6}.history-grid,.detail-grid{background:#201927}.history-head{color:#b595a6}.full-modal #modal-content{color:#c3adbb}#toast{background:#2f1726ed;color:#efd6d9;border:1px solid #bb526766}.symbol-info{color:#d6bdcb}
#load-status{background:#0d0e16f5;color:#e9d4d9}#load-status button{background:#a92640;color:#f3ddd4}#cocos-effects{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none;z-index:26;background:transparent}
.compact .game-heading strong{font-size:29px;letter-spacing:5px}.compact .moon-seal{font-size:44px;height:52px}.compact .game-heading small{display:none}.compact .intro-heading{top:4%}.compact .intro-heading h1{font-size:160px}.compact .intro-features{bottom:24%}.compact .intro-heading p{margin-top:15px}
.landscape .intro-heading{left:765px;width:765px;top:65px}.landscape .intro-heading h1{font-size:140px}.landscape .intro-heading>span{font-size:17px}.landscape .intro-wordmark{font-size:38px}.landscape .intro-heading p{font-size:23px;margin-top:14px}.landscape .intro-features{left:820px;right:50px;bottom:190px}.landscape #start-button{left:925px;width:450px;top:auto;bottom:70px}.landscape #intro>small{bottom:20px;font-size:20px}.landscape .intro-shade{background:linear-gradient(90deg,transparent,#0c0c1355 44%,#0c0c13 53%)}
body.reduce-motion #spin-arrows{animation:none!important}button:focus-visible{outline-color:#ec8793}
@keyframes cloud-drift{to{transform:translate(30px,-10px);opacity:.2}}@keyframes eye-turn{to{transform:rotate(360deg)}}

#cocos-effects{opacity:0}#cocos-effects[data-ready=true]{opacity:1}

#stage.free .moon-seal{color:#ef9baf;border-color:#cc667c;box-shadow:inset 0 0 24px #b8224833,0 0 30px #dc3e6655}

/* All reel symbols are pictures; keep their silhouettes inside the square cells. */
#reels .symbol.pictorial{width:130px;height:130px;max-width:130px;max-height:130px}
#reels .symbol.l1,#reels .symbol.l3{width:124px;height:124px;max-width:124px;max-height:124px}
.history-grid img.symbol{width:90%;height:90%;max-width:90%;max-height:90%}
.payout-row img.symbol{width:100px;height:100px;max-width:100px;max-height:100px;flex-shrink:0}
.payout-row>span{min-width:0;line-height:1.25}
