html:root body #fortuneDialog.free-result40{position:fixed!important;inset:0!important;margin:auto!important;width:min(460px,100vw)!important;max-width:100vw!important;max-height:100dvh!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:#fbf5e8!important;color:#563e29!important;overflow:auto!important;box-shadow:0 15px 60px #0005!important}
html:root body #fortuneDialog.free-result40:not([open]){display:none!important}
html:root body #fortuneDialog.free-result40::backdrop{background:#211c16a8!important;backdrop-filter:blur(3px)}
html:root body #fortuneDialog.free-result40 .dialog-inner{position:relative!important;padding:62px 18px 22px!important;background:#fbf5e8!important;border:0!important;box-shadow:none!important;max-width:none!important;margin:0!important}
html:root body #fortuneDialog.free-result40 .fortune-brand40{display:block!important;text-align:center!important;margin:2px 0 18px!important;font:600 23px/1.5 'Yu Mincho','Noto Serif JP',serif!important;letter-spacing:.06em!important;color:#714329!important}
html:root body #fortuneDialog.free-result40 #closeDialog{position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 10px)!important;left:max(12px,calc((100vw - 460px)/2 + 12px))!important;right:auto!important;width:87px!important;height:40px!important;min-height:40px!important;padding:4px 10px!important;margin:0!important;border:2px solid #c4a05c!important;border-radius:11px!important;background:#173044!important;color:#fff2d2!important;box-shadow:0 0 0 2px #314650,0 3px 6px #0003!important;font:600 16px/1.5 'Yu Mincho',serif!important;z-index:10!important}
html:root body #fortuneDialog.free-result40 .fortune-result-card40{display:block!important;width:100%!important;height:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:0 4px 12px #8d715220!important}
html:root body #fortuneDialog.free-card-ready40 :is(.result-kicker,#fortuneRank,#divineMessage){position:absolute!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important;padding:0!important;margin:0!important;border:0!important}
html:root body #fortuneDialog.free-result40 .reward-row{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:5px 14px!important;background:none!important;border:0!important;padding:0!important;margin:14px 0!important;color:#7d5435!important;font:13px/1.5 'Yu Mincho',serif!important}
html:root body #fortuneDialog.free-result40 .reward-row span{background:none!important;box-shadow:none!important;border:0!important;padding:0!important;color:inherit!important;font:inherit!important}
html:root body #fortuneDialog.free-result40 #shareButton{display:block!important;width:100%!important;min-height:54px!important;margin:8px 0 10px!important;padding:10px!important;background:linear-gradient(#243e50,#112636)!important;border:2px solid #c8a663!important;border-radius:9px!important;box-shadow:inset 0 0 0 2px #445461,0 3px 7px #0002!important;color:#fff3d9!important;font:600 17px/1.6 'Yu Mincho','Noto Serif JP',serif!important}
html:root body #fortuneDialog.free-result40 #returnButton{display:block!important;width:100%!important;margin:8px 0!important;padding:4px!important;background:none!important;border:0!important;box-shadow:none!important;color:#684829!important;text-decoration:underline!important;font:15px/1.6 'Yu Mincho',serif!important}
html:root body #fortuneDialog.free-result40 :is(#fortuneShareStatus,small){font:12px/1.6 system-ui!important;color:#8b7962!important;text-shadow:none!important;margin:6px 0!important}
html:root body .free-omikuji40{position:fixed!important;inset:0!important;margin:auto!important;padding:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;background:#24180e!important;overflow:hidden!important}
html:root body .free-omikuji40:not([open]){display:none!important}
html:root body .free-omikuji40 .free-film40{position:relative!important;width:100%!important;height:100%!important;display:flex;align-items:center;justify-content:center}
html:root body .free-omikuji40 video,html:root body .free-omikuji40 .free-reveal40{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;border:0!important;padding:0!important;margin:0!important}
html:root body .free-omikuji40 .free-reveal40{opacity:0;transition:opacity .22s;pointer-events:none}
html:root body .free-omikuji40 .free-reveal40.is-visible{opacity:1}
html:root body .free-omikuji40 button{position:fixed!important;right:12px!important;bottom:calc(env(safe-area-inset-bottom,0px) + 18px)!important;min-height:42px!important;padding:8px 18px!important;color:#fff1d5!important;background:#173446ed!important;border:1px solid #c6a15d!important;border-radius:9px!important;box-shadow:0 2px 7px #0003!important;font:16px/1.5 'Yu Mincho',serif!important;z-index:2}
html:root body .free-omikuji40 .free-back40{left:12px!important;right:auto!important;top:calc(env(safe-area-inset-top,0px) + 10px)!important;bottom:auto!important}
@media(prefers-reduced-motion:reduce){html:root body .free-omikuji40 .free-reveal40{transition:none}}
