body{--fortune-heading-size:36px;--experience-primary-bg:linear-gradient(#ff6844,#c5391c);--experience-primary-ink:#fff2dc}
/* Shared hub header geometry for the three standalone fortune experiences.
   Artwork, animation, state controls and body theme remain in each page stylesheet. */
.mt-mobile-bar{display:flex;position:relative;align-items:center;gap:6px;box-sizing:border-box;width:100%;max-width:1080px;height:44px;min-height:44px;margin:0 auto;padding:0 10px;background:#241209;color:#ffedc9;border-bottom:1px solid #ffffff14;font-family:'IBM Plex Sans KR',sans-serif}
.mt-mobile-bar>a{color:inherit;text-decoration:none;flex:0 0 auto}
.mt-mobile-bar .mt-home-link{display:flex;align-items:center;width:32px;height:34px}
.mt-home-link img{display:block;width:32px;height:32px}
.mt-mobile-bar .mt-parent-link{display:flex;align-items:center;font:600 14px/1.3 'IBM Plex Sans KR',sans-serif;min-height:36px;padding:4px 3px;white-space:nowrap;letter-spacing:-.03em}
.mt-parent-link .game-back-long{display:none}.mt-parent-link .game-back-short{display:inline}
.mt-mobile-bar .mt-current-title{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;text-align:center;font:700 25px/1.3 var(--fortune-display-font);color:#ffe7bd;letter-spacing:-.03em}
.mt-mobile-bar>button{position:absolute;right:10px;top:6px;display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;min-width:32px;padding:0;border:0;background:transparent;color:inherit;font:400 22px/1 sans-serif;box-shadow:none;margin-left:auto;z-index:1}
.mt-mobile-bar>.mt-page-share{right:48px}
body>main,body>main.worry-main{box-sizing:border-box;width:100%;max-width:860px;margin:12px auto 0;padding:10px 16px 12px;border-radius:24px}
body>main>.ritual,body>main>.experience,body>main>.game{width:100%;max-width:528px;margin:0 auto}
.intro h1,h1#page-title{font-family:var(--fortune-display-font);font-size:36px;line-height:1.22}
/* Keep the promotion in document flow, not across the play/input controls. */
main [data-promo-anchor]>.site-promo-slot{width:100%;max-width:828px;margin:14px auto 8px;height:90px;font-family:'IBM Plex Sans KR',sans-serif}
main [data-promo-anchor]>.site-promo-slot .promo-pause{min-height:24px;width:24px;font:700 9px/1 sans-serif}
@media(max-width:700px){body{--fortune-heading-size:30px;--experience-min-height:calc(100svh - 160px)}body>main,body>main.worry-main{margin-top:10px;padding:10px 12px 12px}.intro h1,h1#page-title{font-size:30px}main [data-promo-anchor]>.site-promo-slot{margin-top:14px}}

/* One shared result-share type scale; page styles retain colors and artwork. */
#share-charm,#share-result,.ending-share-button,#fortune-share{font-family:var(--fortune-brush-font);font-size:22px;font-weight:400;line-height:1.3;min-height:44px;margin-bottom:10px}
#fortune-share{box-sizing:border-box;width:100%;border-radius:12px}

body[data-page=fortune]>.site-promo-slot{width:calc(100% - 32px);max-width:828px;margin:14px auto 8px}
@media(max-width:700px){body[data-page=fortune]>.site-promo-slot{width:calc(100% - 24px)}}
