:root { color-scheme: light; color: #292722; background: #f3efe6; font-family: Georgia, "Times New Roman", serif; }
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: #f3efe6; }
button, a { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, .fortune-ticket:focus-visible { outline: 3px solid #6d8c88; outline-offset: 4px; }
.site-shell { position: relative; min-height: 100vh; overflow: hidden; padding: 22px clamp(22px, 4vw, 68px) 16px; background: linear-gradient(120deg, rgba(212, 222, 213, .42), transparent 40%), #f3efe6; }
.topbar { display: flex; max-width: 1510px; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto 14px; }
.brand { color: #262822; font-size: 20px; font-weight: bold; letter-spacing: 0; text-decoration: none; }
.cycle-label { display: flex; align-items: baseline; gap: 9px; margin: 0; color: #5f675e; font-size: 14px; }
.cycle-label strong { color: #345147; font-size: 17px; letter-spacing: .06em; }
.experience { display: grid; grid-template-columns: minmax(220px, .38fr) minmax(620px, 1.62fr); gap: clamp(38px, 4.5vw, 82px); max-width: 1510px; min-height: calc(100vh - 142px); margin: 0 auto; }
.mascot-space { position: relative; display: flex; min-height: 610px; flex-direction: column; align-items: center; justify-content: center; padding: 30px 0 110px; }
.mascot-wrap { width: min(100%, 255px); margin-bottom: 54px; transition: opacity 1s ease, transform 1s ease; }
.mascot-wrap:hover { transform: rotate(-2deg) translateY(-5px); }
.mascot-wrap.is-away { pointer-events: none; opacity: 0; transform: translateX(-45px); }
.mascot-wrap img { display: block; width: 100%; filter: drop-shadow(0 18px 14px rgba(44, 48, 38, .14)); }
.reveal-button { padding: 14px 24px; border: 1px solid #30372e; border-radius: 4px; color: #fffdf6; background: #3e554b; box-shadow: 0 6px 0 #274036; transition: transform .18s ease, box-shadow .18s ease, opacity .2s; }
.reveal-button:hover { box-shadow: 0 8px 0 #274036; transform: translateY(-2px); }
.reveal-button:active { box-shadow: 0 2px 0 #274036; transform: translateY(4px); }
.reveal-note { margin: 18px 0 0; color: #6b6e62; font-size: 15px; }
.mascot-bubble { position: absolute; z-index: 3; top: 9%; right: -12px; width: min(234px, 76%); padding: 17px 18px 14px; border: 1px solid rgba(55, 72, 61, .34); border-radius: 6px; color: #354139; background: rgba(255, 253, 246, .9); box-shadow: 0 8px 24px rgba(62, 72, 58, .1); }
.mascot-bubble::after { position: absolute; right: 27px; bottom: -10px; width: 18px; height: 18px; border-right: 1px solid rgba(55, 72, 61, .34); border-bottom: 1px solid rgba(55, 72, 61, .34); background: #fffdf6; content: ""; transform: rotate(45deg); }
.mascot-bubble p { position: relative; z-index: 1; margin: 0 0 10px; font-size: 15px; line-height: 1.3; }
.text-button { position: relative; z-index: 1; padding: 0; border: 0; color: #537266; background: none; text-decoration: underline; text-underline-offset: 3px; }
.fortune-space { min-width: 0; padding-top: 30px; }
.fortune-heading { margin-bottom: 22px; }
h1 { max-width: 690px; margin: 0; color: #30362f; font-size: clamp(34px, 4.1vw, 58px); font-weight: normal; letter-spacing: 0; line-height: .98; }
.fortune-board { position: relative; min-height: clamp(560px, 74vh, 770px); overflow: hidden; border: 2px dashed rgba(67, 87, 74, .5); border-radius: 6px; background: rgba(248, 250, 244, .28); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.fortune-board.is-ready { border-color: #355e4a; background: rgba(207, 226, 208, .5); box-shadow: 0 0 0 5px rgba(88, 126, 102, .12); }
.board-empty { position: absolute; top: 50%; left: 50%; width: 230px; margin: 0; color: #7b887b; font-size: 16px; line-height: 1.35; text-align: center; transform: translate(-50%, -50%); }
.pinned-layer { position: absolute; inset: 0; }
.status-copy { min-height: 20px; margin: 13px 0 10px; color: #687167; font-size: 14px; }
.ticket-unit { position: relative; width: min(300px, calc(100vw - 36px)); touch-action: none; transform: rotate(var(--angle, -1.8deg)); transition: filter .2s ease; }
.ticket-unit.is-pinned { position: absolute; width: min(158px, 20vw); transform: translate(-50%, -12%) rotate(var(--angle)); }
.ticket-unit.is-pinned .fortune-ticket { min-height: 96px; padding: 19px 13px 13px; }
.ticket-unit.is-pinned .fortune-number { top: 11px; left: 12px; font-size: 8px; }
.ticket-unit.is-pinned .fortune-ticket p { margin-top: 10px; font-size: 10px; line-height: 1.18; }
.ticket-unit.is-pinned .board-pin { position: absolute; z-index: 2; top: -18px; left: 50%; width: 32px; pointer-events: none; transform: translateX(-50%) rotate(6deg); }
.ticket-unit.is-pinning { animation: pin-bounce .5s ease-out both; }
.ticket-unit.is-dragging { cursor: grabbing; filter: drop-shadow(0 25px 16px rgba(46, 59, 45, .27)); transition: transform .2s ease-out; }
.ticket-unit.is-free { position: fixed; z-index: 30; }
.ticket-unit.is-falling { transition: top .72s cubic-bezier(.18,.72,.3,1), left .72s cubic-bezier(.22,.7,.35,1), transform .72s cubic-bezier(.2,.7,.3,1); }
.fortune-ticket { position: relative; z-index: 1; display: flex; min-height: 202px; flex-direction: column; justify-content: center; padding: 33px 31px 25px; overflow: hidden; border: 1px solid rgba(37, 33, 27, .52); border-radius: 2px; color: #24251f; background-color: #f4efe6; background-size: cover; box-shadow: 0 8px 10px rgba(45, 51, 40, .2); user-select: none; }
.fortune-ticket::after { position: absolute; inset: 8px; border: 1px solid rgba(48, 45, 37, .16); content: ""; pointer-events: none; }
.fortune-ticket--common { background-image: linear-gradient(rgba(255,253,247,.47), rgba(255,253,247,.47)), url('/assets/common.png'); }
.fortune-ticket--rare { background-image: linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)), url('/assets/rare.png'); }
.fortune-ticket--legendary { border-color: #9e7220; color: #38280d; background-image: linear-gradient(rgba(255,237,170,.24), rgba(255,237,170,.24)), url('/assets/legendary.png'); box-shadow: 0 8px 10px rgba(109, 75, 12, .26), 0 0 20px rgba(228, 183, 67, .24); }
.fortune-number { position: absolute; top: 18px; left: 20px; color: rgba(49, 47, 41, .7); font-size: 12px; letter-spacing: .06em; }
.fortune-ticket p { position: relative; z-index: 1; margin: 13px 0 0; font-size: 19px; line-height: 1.27; text-align: center; }
.fortune-reaction { position: absolute; z-index: 2; right: -62px; bottom: -31px; width: 112px; pointer-events: none; transform-origin: 50% 100%; animation: reaction-sway 1s ease-in-out infinite alternate; }
.release-zone { position: relative; display: grid; width: min(355px, 46%); height: 136px; margin-left: auto; overflow: visible; place-items: center; border: 2px dashed rgba(67, 87, 74, .5); border-radius: 6px; color: #53705c; pointer-events: none; transition: border-color .2s, background .2s; }
.release-zone span { position: relative; z-index: 2; padding: 10px 18px; font-size: 17px; transition: color .2s, transform .2s; }
.release-zone img { position: absolute; z-index: 1; right: 0; bottom: -54px; width: 520px; max-width: none; opacity: 0; pointer-events: none; transform: translateX(540px); transition: transform .62s cubic-bezier(.22,.8,.2,1), opacity .25s; }
.release-zone.is-active { border-color: #355e4a; background: rgba(207, 226, 208, .42); }
.release-zone.is-active span { color: #254d37; font-weight: bold; transform: scale(1.06); }
.release-zone.is-active img { opacity: 1; transform: translateX(0); }
.reveal-scene { position: fixed; z-index: 1000; inset: 0; display: grid; overflow: hidden; place-items: center; pointer-events: auto; }
.scene-backdrop { position: absolute; inset: 0; background: rgba(31, 42, 33, .57); backdrop-filter: blur(2px); }
.envelope-stage { position: relative; z-index: 1; display: grid; justify-items: center; pointer-events: auto; opacity: 0; transform: translateX(-45vw) translateY(12vh); }
.envelope-stage.is-arriving { animation: envelope-arrive 1.05s cubic-bezier(.2,.86,.22,1) forwards; }
.envelope-stage.is-shaking { animation: envelope-shake 2s ease-in forwards; }
.envelope-stage.is-opened { opacity: 1; transform: translateY(1vh); }
.envelope-stage.is-behind-ticket { opacity: .75; }
.envelope-button { width: min(265px, 58vw); padding: 0; border: 0; background: none; }
.envelope-button img { display: block; width: 100%; filter: drop-shadow(0 23px 17px rgba(12, 15, 11, .28)); }
.envelope-prompt { margin: 12px 0 0; color: #fffdf5; font-size: 19px; text-shadow: 0 1px 2px #273127; }
.revealed-ticket-layer { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.revealed-ticket-layer .ticket-unit { position: fixed; top: 50%; left: 50%; pointer-events: auto; transform: translate(-50%, -50%) rotate(-1.8deg); }
.revealed-ticket-layer .ticket-unit.is-emerging { pointer-events: none; animation: ticket-emerge 2s cubic-bezier(.2,.75,.22,1) forwards; }
.revealed-ticket-layer .ticket-unit.is-presented { animation: ticket-settle .25s ease-out both; }
.ticket-unit.is-releasing { position: fixed !important; z-index: 1200; animation: release-fly 1.4s cubic-bezier(.25,.7,.4,1) forwards; }
.emoji-layer { position: fixed; z-index: 1400; inset: 0; pointer-events: none; }
.reveal-star { position: fixed; color: #f6d159; font-size: 32px; font-weight: bold; text-shadow: 0 0 10px rgba(255, 238, 153, .9); animation: star-rise 2s ease-out forwards; }
.share-menu { position: fixed; z-index: 900; display: flex; gap: 5px; padding: 7px; border: 1px solid #9aab9b; border-radius: 5px; background: rgba(255, 254, 248, .96); box-shadow: 0 8px 18px rgba(32, 44, 35, .18); }
.share-menu a, .share-menu button { padding: 6px 8px; border: 1px solid #b4c1b5; border-radius: 3px; color: #3e5241; background: #fff; font-family: Arial, sans-serif; font-size: 11px; text-decoration: none; }
.share-menu a:hover, .share-menu button:hover { color: #fff; background: #486353; }
footer { display: flex; max-width: 1510px; align-items: flex-end; justify-content: space-between; gap: 22px; margin: 9px auto 0; color: #77776f; font-size: 11px; line-height: 1.35; }
footer p { max-width: 780px; margin: 0; } footer a { color: #5c7363; }
.dev-panel { position: fixed; z-index: 1600; right: 14px; bottom: 14px; display: grid; width: 170px; gap: 6px; padding: 11px; border: 1px solid #a6b7aa; border-radius: 5px; background: rgba(249, 253, 248, .94); box-shadow: 0 8px 18px rgba(32, 44, 35, .15); font-family: Arial, sans-serif; }
.dev-panel p { margin: 0 0 2px; color: #516252; font-size: 12px; font-weight: bold; }.dev-panel button { padding: 6px; border: 1px solid #b4c1b5; border-radius: 3px; color: #3e5241; background: #fff; font-size: 11px; }
.privacy-page { max-width: 720px; min-height: 100vh; margin: 0 auto; padding: 52px 28px; color: #30362f; }.privacy-page .brand { display: inline-block; margin-bottom: 84px; }.privacy-page h1 { margin-bottom: 28px; }.privacy-page p:not(.eyebrow) { max-width: 620px; font-size: 18px; line-height: 1.55; }
.is-hidden { display: none !important; }
@keyframes envelope-arrive { to { opacity: 1; transform: translateY(1vh); } }
@keyframes envelope-shake { 0%, 16% { opacity: 1; transform: translateY(1vh) rotate(0); } 24% { transform: translateY(1vh) translateX(-3px) rotate(-2deg); } 34% { transform: translateY(1vh) translateX(3px) rotate(2deg); } 50% { transform: translateY(1vh) translateX(-7px) rotate(-5deg); } 68% { transform: translateY(1vh) translateX(8px) rotate(6deg); } 82% { transform: translateY(1vh) translateX(-13px) rotate(-10deg); } 92% { transform: translateY(1vh) translateX(14px) rotate(11deg); } 100% { opacity: 1; transform: translateY(1vh) rotate(0); } }
@keyframes ticket-emerge { 0% { opacity: 0; top: 57%; transform: translate(-50%, -10%) rotate(-90deg) scale(.72); } 18% { opacity: 1; } 50% { top: 13%; transform: translate(-50%, -50%) rotate(-90deg) scale(1); } 100% { top: 50%; transform: translate(-50%, -50%) rotate(-1.8deg) scale(1); } }
@keyframes ticket-settle { from { transform: translate(-50%, -50%) rotate(-1.8deg) scale(1.03); } to { transform: translate(-50%, -50%) rotate(-1.8deg) scale(1); } }
@keyframes reaction-sway { from { transform: rotate(-5deg); } to { transform: rotate(15deg); } }
@keyframes star-rise { from { opacity: 1; transform: translate(0, 0) rotate(0); } to { opacity: 0; transform: translate(var(--star-x), calc(-1 * var(--star-y))) rotate(100deg); } }
@keyframes release-fly { 0% { opacity: 1; transform: rotate(0) scale(1); } 100% { opacity: 0; transform: translate(94vw, 58vh) rotate(980deg) scale(.04); } }
@keyframes pin-bounce { 0% { transform: translate(-50%, -12%) rotate(var(--angle)) scale(1); } 38% { transform: translate(-50%, -12%) rotate(var(--angle)) scale(.78); } 100% { transform: translate(-50%, -12%) rotate(var(--angle)) scale(1); } }
@media (max-width: 900px) { .site-shell { padding-inline: 18px; }.experience { grid-template-columns: 1fr; gap: 8px; }.mascot-space { min-height: 330px; padding: 16px 0 48px; }.mascot-wrap { width: 190px; margin-bottom: 38px; }.mascot-bubble { top: 4px; right: calc(50% - 188px); }.fortune-space { padding-top: 0; }.fortune-board { min-height: 570px; }.ticket-unit.is-pinned { width: 136px; }.release-zone { width: 290px; height: 120px; }.release-zone img { right: 0; bottom: -44px; width: 450px; transform: translateX(470px); } footer { padding-right: 186px; } }
@media (max-width: 560px) { .topbar { align-items: flex-start; flex-direction: column; gap: 5px; }.mascot-space { min-height: 285px; padding-top: 0; }.mascot-wrap { width: 164px; margin-bottom: 34px; }.mascot-bubble { top: 0; right: 4px; width: 190px; padding: 13px; }.mascot-bubble p { font-size: 13px; }.fortune-board { min-height: 510px; }.ticket-unit.is-pinned { width: min(112px, 31vw); }.ticket-unit.is-pinned .fortune-ticket { min-height: 75px; padding: 16px 9px 8px; }.ticket-unit.is-pinned .fortune-ticket p { font-size: 8px; }.ticket-unit.is-pinned .fortune-number { font-size: 7px; }.ticket-unit.is-pinned .board-pin { top: -14px; width: 25px; }.fortune-ticket { min-height: 180px; padding: 29px 25px 21px; }.fortune-ticket p { font-size: 17px; }.fortune-reaction { right: -43px; bottom: -25px; width: 88px; }.release-zone { width: 210px; height: 105px; }.release-zone img { right: 0; bottom: -32px; width: 360px; transform: translateX(380px); }.release-zone span { font-size: 14px; } footer { align-items: flex-start; flex-direction: column; padding-right: 0; }.dev-panel { width: 145px; }.envelope-button { width: min(240px, 70vw); }.share-menu { max-width: calc(100vw - 24px); flex-wrap: wrap; } }

/* Full-board composition */
.site-shell { overflow: visible; min-height: 100vh; }
.experience { position: relative; display: block; min-height: calc(100vh - 64px); }
.fortune-space { position: absolute; z-index: 1; inset: 0; padding: 0; }
.fortune-board { position: absolute; inset: 0; min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.fortune-board.is-ready { border: 0; background: rgba(196, 222, 205, .25); box-shadow: inset 0 0 0 3px rgba(73, 122, 88, .28); }
.board-empty, .status-copy { display: none; }
.mascot-space { position: absolute; z-index: 6; top: 47%; left: 50%; display: flex; width: min(330px, calc(100vw - 40px)); min-height: 0; padding: 28px 24px 22px; border: 1px solid transparent; border-radius: 7px; transform: translate(-50%, -50%); }
.mascot-space.is-available { cursor: pointer; border-color: rgba(59, 92, 71, .44); background: rgba(255, 253, 246, .78); box-shadow: 0 12px 30px rgba(41, 54, 43, .11); }
.mascot-wrap { width: 178px; margin: 0 0 18px; }
.mascot-space.is-available .mascot-wrap { filter: drop-shadow(0 10px 9px rgba(45, 53, 43, .13)); }
.reveal-button { padding: 0; border: 0; color: #31513f; background: none; box-shadow: none; font-size: 22px; }
.reveal-button:hover, .reveal-button:active { box-shadow: none; transform: none; }
.reveal-note { margin-top: 7px; color: #687167; font-size: 13px; }
.mascot-bubble { top: -108px; right: 50%; width: min(270px, 92vw); padding: 14px 17px; transform: translateX(50%); }
.mascot-bubble::after { right: 50%; bottom: -10px; transform: translateX(50%) rotate(45deg); }
.mascot-bubble p { margin: 0; text-align: center; }
.ticket-unit.is-pinned { width: min(220px, 25vw); transform: translate(-50%, -12%) rotate(var(--angle)); }
.ticket-unit.is-pinned .fortune-ticket { min-height: 132px; padding: 25px 18px 16px; }
.ticket-unit.is-pinned .fortune-number { top: 14px; left: 15px; font-size: 10px; }
.ticket-unit.is-pinned .fortune-ticket p { margin-top: 12px; font-size: 13px; line-height: 1.2; }
.ticket-unit.is-pinned .board-pin { top: -16px; width: 29px; }
.release-zone { position: fixed; z-index: 8; right: 0; bottom: 0; display: block; width: min(470px, 42vw); height: min(370px, 38vh); margin: 0; border: 0; background: transparent; pointer-events: auto; }
.release-zone img { right: 0; bottom: 0; width: min(560px, 50vw); opacity: 1; transform: translateX(0); transition: transform .45s cubic-bezier(.22,.8,.2,1), filter .25s; }
.release-zone span { position: absolute; z-index: 3; top: 50%; left: 48%; display: none; color: #a43d3d; font-size: 19px; font-weight: bold; transform: translate(-50%, -50%); }
.release-zone::after { position: absolute; right: 86px; bottom: 110px; width: 190px; padding: 10px 12px; border: 1px solid rgba(103, 92, 75, .35); border-radius: 5px; color: #584d42; background: rgba(255, 252, 244, .93); box-shadow: 0 6px 18px rgba(55, 49, 39, .12); content: "Let go of any fortune that does not feel right."; font-size: 13px; line-height: 1.25; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .18s, transform .18s; }
.release-zone:hover::after { opacity: 1; transform: translateY(0); }
.release-zone.is-active { border: 0; background: transparent; box-shadow: none; }
.release-zone.is-active img { filter: drop-shadow(-8px 0 12px rgba(174, 58, 58, .3)); transform: translateX(-100px) scale(1.08); }
.release-zone.is-active span { display: block; color: #b43e3e; transform: translate(-50%, -50%) scale(1.08); }
.release-zone.is-active::after { opacity: 0; }
.reveal-scene { z-index: 1000; }
.envelope-stage { z-index: 3; }
.revealed-ticket-layer { z-index: 2; }
.revealed-ticket-layer .ticket-unit.is-emerging { opacity: 1; }
.revealed-ticket-layer .ticket-unit.is-emerging .fortune-reaction { opacity: 0; }
.revealed-ticket-layer .ticket-unit.is-presented .fortune-reaction { opacity: 1; transition: opacity .2s ease; }
.reveal-scene.has-ticket .envelope-stage { z-index: 1; }
.reveal-scene.has-ticket .revealed-ticket-layer { z-index: 4; }
.reveal-scene.has-ticket .envelope-stage.is-behind-ticket { opacity: .3; }
.ticket-unit.is-releasing { animation-duration: 2.15s; }
.share-menu { z-index: 900; }
footer { position: fixed; z-index: 10; bottom: 12px; left: 20px; display: flex; align-items: center; justify-content: flex-start; gap: 11px; margin: 0; font-size: 11px; }
footer p { max-width: min(720px, calc(100vw - 300px)); }
.pin-confetti { position: fixed; z-index: 1450; color: #c76946; font-size: 25px; font-weight: bold; animation: pin-confetti 1.55s ease-out forwards; }
@keyframes ticket-emerge { 0% { opacity: 1; top: 58%; transform: translate(-50%, -6%) rotate(-90deg) scale(.72); } 44% { opacity: 1; top: 12%; transform: translate(-50%, -50%) rotate(-90deg) scale(1); } 100% { opacity: 1; top: 50%; transform: translate(-50%, -50%) rotate(-1.8deg) scale(1); } }
@keyframes release-fly { 0% { opacity: 1; transform: rotate(0) scale(1); } 28% { opacity: 1; transform: translate(-28vw, -38vh) rotate(680deg) scale(.85); } 62% { opacity: 1; transform: translate(12vw, -50vh) rotate(1450deg) scale(.52); } 100% { opacity: 0; transform: translate(84vw, 52vh) rotate(2400deg) scale(.035); } }
@keyframes pin-confetti { from { opacity: 1; transform: translate(0, 0) rotate(0); } to { opacity: 0; transform: translate(var(--confetti-x), calc(-1 * var(--confetti-y))) rotate(220deg); } }
@media (max-width: 900px) { .mascot-space { top: 44%; }.ticket-unit.is-pinned { width: min(180px, 29vw); }.release-zone { width: 360px; height: 300px; }.release-zone img { width: 430px; }.release-zone::after { right: 62px; bottom: 90px; } footer p { max-width: calc(100vw - 190px); } }
@media (max-width: 560px) { .experience { min-height: calc(100vh - 72px); }.mascot-space { top: 42%; width: 270px; padding: 21px 16px 17px; }.mascot-wrap { width: 145px; margin-bottom: 12px; }.reveal-button { font-size: 19px; }.ticket-unit.is-pinned { width: min(142px, 38vw); }.ticket-unit.is-pinned .fortune-ticket { min-height: 92px; padding: 19px 12px 11px; }.ticket-unit.is-pinned .fortune-ticket p { font-size: 10px; }.release-zone { width: 270px; height: 240px; }.release-zone img { width: 330px; }.release-zone::after { right: 38px; bottom: 65px; width: 168px; }.release-zone.is-active img { transform: translateX(-44px) scale(1.04); } footer { bottom: 8px; left: 12px; font-size: 9px; } footer p { max-width: calc(100vw - 136px); }.dev-panel { bottom: 9px; right: 8px; }.share-menu { max-width: calc(100vw - 18px); } }

/* Drag guidance and motion refinements */
.mascot-space.is-available { border-color: transparent; background: transparent; box-shadow: none; }
.mascot-space.is-available:hover { border-color: rgba(59, 92, 71, .48); background: rgba(255, 253, 246, .82); box-shadow: 0 12px 30px rgba(41, 54, 43, .11); }
.mascot-space.is-available:hover .reveal-button { font-weight: bold; }
.mascot-space.is-available:not(:hover) .mascot-wrap { animation: mascot-invite 2.4s ease-in-out infinite; }
.fortune-board { overflow: visible; }
.fortune-reaction { opacity: 0; transition: opacity .28s ease; }
.revealed-ticket-layer .ticket-unit.is-presented .fortune-reaction { opacity: 1; }
.fortune-reaction.is-fading { opacity: 0 !important; }
.release-zone { width: min(500px, 45vw); height: min(555px, 56vh); }
.release-zone img { width: min(620px, 54vw); transform-origin: right bottom; animation: tree-breeze 4.4s ease-in-out infinite; }
.release-zone:hover img { animation: tree-breeze-hover 2.8s ease-in-out infinite; }
.release-zone span { top: 17%; left: 47%; display: none; color: rgba(177, 48, 48, .74); font-size: clamp(19px, 2vw, 32px); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.release-zone::after { top: 34px; right: 112px; bottom: auto; z-index: 5; width: 210px; font-size: 14px; }
.release-zone.is-active { box-shadow: -65px -38px 110px rgba(175, 46, 46, .42); }
.release-zone.is-active img { animation: none; transform: translateX(-110px) scale(1.08); }
.release-zone.is-active span { display: block; }
.is-dragging .fortune-board { border: 2px dashed rgba(61, 104, 75, .68); background: rgba(211, 232, 215, .16); box-shadow: inset 0 0 0 2px rgba(89, 132, 99, .14); }
.is-dragging .fortune-board::after { position: absolute; z-index: 20; top: 20px; left: 50%; padding: 7px 14px; color: rgba(47, 89, 61, .62); content: "KEEP IT HERE"; font-family: Arial, sans-serif; font-size: clamp(19px, 2vw, 32px); font-weight: bold; letter-spacing: .1em; pointer-events: none; transform: translateX(-50%); }
.is-dragging .release-zone { border: 2px dashed rgba(182, 62, 62, .72); background: rgba(228, 111, 111, .09); }
.is-dragging .release-zone span { display: block; }
.is-dragging .mascot-space { border: 2px dashed rgba(117, 96, 70, .46); background: rgba(243, 239, 230, .95); box-shadow: 0 0 0 16px rgba(243, 239, 230, .95); }
.is-dragging .mascot-wrap { animation: mascot-busy .65s ease-in-out infinite alternate; }
@keyframes mascot-invite { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes mascot-busy { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(3deg) translateY(-5px); } }
@keyframes tree-breeze { 0%,100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(-3px) rotate(-1.2deg); } }
@keyframes tree-breeze-hover { 0%,100% { transform: translateX(0) rotate(0) scale(1.1); } 50% { transform: translateX(-4px) rotate(-1.3deg) scale(1.1); } }

/* Illustration details, writing note, and natural effects */
.brand { position: fixed; z-index: 20; top: 21px; left: 26px; font-size: 30px; line-height: 1; }
.mascot-space { transition: border-color .42s ease, background-color .42s ease, box-shadow .42s ease, transform .42s ease; }
.mascot-space::after { position: absolute; z-index: -1; bottom: 22px; left: 50%; width: 112px; height: 19px; border-radius: 50%; background: rgba(42, 43, 35, .18); content: ""; filter: blur(7px); transform: translateX(-50%); }
.release-zone img { filter: drop-shadow(-19px 13px 13px rgba(33, 40, 33, .19)); transition: filter .35s ease; }
.release-zone.is-active img { filter: drop-shadow(-20px 12px 18px rgba(123, 36, 36, .34)); }
.release-zone span, .is-dragging .fortune-board::after { font-family: Arial, Helvetica, sans-serif; }
.release-zone.is-active { position: fixed; box-shadow: -100px -42px 135px rgba(179, 45, 45, .38); }
.envelope-stage { grid-template-rows: auto 38px; }
.envelope-prompt { min-height: 25px; }
.envelope-prompt.is-hidden { display: block !important; visibility: hidden; }
.note-button { position: fixed; z-index: 35; bottom: 28px; left: 31px; width: 76px; height: 76px; padding: 0; border: 0; background: transparent; }
.note-button img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 7px 7px rgba(35, 43, 37, .18)); transition: transform .28s ease, filter .28s ease; }
.note-button:hover img { filter: drop-shadow(0 10px 10px rgba(35, 43, 37, .24)); transform: scale(1.12); }
.fortune-ticket--note { min-height: 195px; border: 0; background-image: url('/assets/common.png'); background-size: cover; box-shadow: 0 10px 18px rgba(45, 51, 40, .17); }
.fortune-ticket--note::after { display: none; }
.note-input { width: 100%; min-height: 120px; outline: 0; color: #485449; font-family: "Segoe Print", "Bradley Hand", cursive; font-size: 24px; line-height: 1.35; text-align: center; }
.note-input:empty::before { color: rgba(72, 84, 73, .44); content: attr(data-placeholder); }
.ticket-unit.is-note-arriving { position: fixed; z-index: 900; transition: left .76s cubic-bezier(.2,.82,.24,1), transform .76s cubic-bezier(.2,.82,.24,1); transform: translate(-50%, -50%) rotate(-14deg); }
.ticket-unit.is-note-active { position: fixed; z-index: 900; transform: translate(-50%, -50%) rotate(-1deg); }
.nature-layer { position: fixed; z-index: 1300; inset: 0; overflow: hidden; pointer-events: none; }
.wind-leaf { position: fixed; left: -90px; width: var(--leaf-size); height: var(--leaf-size); object-fit: contain; animation: leaf-wind var(--leaf-time) linear forwards; }
.falling-flower { position: fixed; top: -70px; width: var(--flower-size); height: var(--flower-size); object-fit: contain; animation: flower-fall var(--flower-time) linear forwards; }
.mascot-bubble { transition: opacity .35s ease, transform .35s ease, visibility .35s ease; }
.mascot-bubble.is-hidden { display: block !important; visibility: hidden; opacity: 0; transform: translateX(50%) translateY(9px); }
@keyframes leaf-wind { from { opacity: 0; transform: translateX(0) translateY(0) rotate(0); } 12% { opacity: 1; } to { opacity: 0; transform: translateX(112vw) translateY(var(--leaf-y)) rotate(var(--leaf-spin)); } }
@keyframes flower-fall { from { opacity: 0; transform: translate(0, 0) rotate(0); } 10% { opacity: .95; } to { opacity: 0; transform: translate(var(--flower-x), 112vh) rotate(var(--flower-spin)); } }
@media (max-width: 560px) { .brand { top: 17px; left: 17px; font-size: 24px; }.note-button { bottom: 20px; left: 20px; width: 58px; height: 58px; }.note-input { font-size: 20px; }.release-zone span { font-size: 23px; } }

/* Header, confirmed notes, and share controls */
.topbar { position: fixed; z-index: 40; top: 22px; left: 26px; display: block; margin: 0; }
.brand-column { width: min(385px, calc(100vw - 52px)); }
.brand { position: static; display: block; font-size: 30px; }
.cycle-label { display: flex; margin-top: 13px; font-size: 14px; }
.cycle-label strong { color: #5f675e; font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-weight: normal; letter-spacing: 0; }
.site-intro { max-width: 370px; margin: 22px 0 0; color: #596158; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.45; }
.mascot-space.is-available:hover .reveal-button { font-weight: normal; }
.mascot-space.is-available::after { bottom: 104px; }
.mascot-space:not(.is-available)::after { bottom: 32px; }
.mascot-space:has(.mascot-wrap.is-away)::after { opacity: 0; }
.scene-hint { position: fixed; z-index: 6; top: calc(50% - 190px); left: 50%; width: min(340px, calc(100vw - 40px)); margin: 0; color: #fffdf6; font-size: 17px; line-height: 1.35; text-align: center; text-shadow: 0 2px 5px rgba(19, 25, 19, .72); transform: translateX(-50%); }
.ticket-unit.is-note-card { width: min(231px, calc(100vw - 40px)); }
.fortune-ticket--note { min-height: 152px; padding: 24px 20px 18px; border: 1px solid rgba(37, 33, 27, .52); }
.fortune-ticket--note::after { display: block; }
.note-input { min-height: 72px; font-size: 19px; }
.note-confirm { display: block; margin: 8px auto 0; padding: 6px 13px; border: 1px solid #65776a; border-radius: 3px; color: #365142; background: rgba(255, 253, 247, .82); font-family: Arial, Helvetica, sans-serif; font-size: 11px; }
.note-confirm:hover { color: #fff; background: #486353; }
.note-input[contenteditable="false"] { cursor: default; }
.release-zone img { scale: 1; transition: scale .55s cubic-bezier(.2,.72,.25,1), filter .35s ease; }
.release-zone:hover img { animation: tree-breeze 4.4s ease-in-out infinite; scale: 1.1; }
.release-zone.is-active img { scale: 1.08; }
.tree-leaf { position: fixed; width: var(--tree-leaf-size); height: var(--tree-leaf-size); object-fit: contain; opacity: 0; animation: tree-leaf-fall 5.5s linear forwards; }
.share-actions { position: fixed; z-index: 910; display: flex; gap: 5px; padding: 6px; border: 1px solid #9aab9b; border-radius: 5px; background: rgba(255, 254, 248, .96); box-shadow: 0 8px 18px rgba(32, 44, 35, .18); }
.share-actions button { min-width: 74px; padding: 7px 9px; border: 1px solid #b4c1b5; border-radius: 3px; color: #3e5241; background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
.share-actions button:hover { color: #fff; background: #486353; }
.share-menu { z-index: 911; display: grid; grid-template-columns: repeat(2, 108px); gap: 5px; }
.share-menu a, .share-menu button { display: grid; min-height: 35px; place-items: center; padding: 6px; font-size: 11px; }
@keyframes tree-leaf-fall { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 12% { opacity: .7; } 90% { opacity: .45; } 100% { opacity: 0; transform: translate(var(--tree-leaf-x), 260px) rotate(var(--tree-leaf-spin)); } }
@media (max-width: 560px) { .topbar { top: 17px; left: 17px; }.brand { font-size: 24px; }.brand-column { width: min(320px, calc(100vw - 34px)); }.site-intro { max-width: 275px; margin-top: 16px; font-size: 10px; }.cycle-label { margin-top: 8px; font-size: 11px; }.cycle-label strong { font-size: 11px; }.scene-hint { top: calc(50% - 165px); font-size: 14px; }.share-menu { grid-template-columns: repeat(2, 96px); } }

/* Matching drop guides during a drag */
.is-dragging .fortune-board { border: 0; background: transparent; box-shadow: none; }
.is-dragging .fortune-board::before { position: fixed; z-index: 18; top: 96px; right: 374px; bottom: 72px; left: 20px; border: 2px dashed rgba(61, 104, 75, .68); background: rgba(211, 232, 215, .1); content: ""; pointer-events: none; }
.is-dragging .fortune-board::after { position: fixed; z-index: 20; top: 116px; left: calc((100vw - 354px) / 2); padding: 0; transform: translateX(-50%); }
.is-dragging .release-zone { top: 96px; right: 20px; bottom: 72px; width: 334px; height: auto; border: 2px dashed rgba(182, 62, 62, .72); background: rgba(228, 111, 111, .06); box-shadow: none; }
.is-dragging .release-zone span { top: 18px; left: 50%; display: block; font-family: Arial, Helvetica, sans-serif; font-size: clamp(19px, 2vw, 32px); font-weight: bold; transform: translateX(-50%); }
.is-dragging .release-zone.is-active { box-shadow: -100px -42px 135px rgba(179, 45, 45, .38); }
@media (max-width: 700px) { .is-dragging .fortune-board::before { top: 86px; right: 226px; bottom: 62px; left: 10px; }.is-dragging .fortune-board::after { top: 104px; left: calc((100vw - 216px) / 2); font-size: 16px; }.is-dragging .release-zone { top: 86px; right: 10px; bottom: 62px; width: 206px; }.is-dragging .release-zone span { top: 16px; font-size: 16px; } }

/* Final interaction refinements */
.mascot-space.is-available::after { bottom: 94px; }
.share-actions { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.share-actions button { border: 0; border-radius: 0; background: transparent; }
.share-actions button:hover { color: #31513f; background: rgba(255, 253, 246, .74); }
.ticket-unit.is-note-card { width: min(193px, calc(100vw - 40px)); }
.fortune-ticket--note { min-height: 132px; padding: 19px 15px 14px; }
.fortune-ticket--note .note-input { min-height: 61px; font-size: 16px; }
.reveal-scene.is-note-mode .envelope-stage { display: none; }
.reveal-scene.is-note-mode .revealed-ticket-layer { z-index: 5; pointer-events: auto; }
.reveal-scene.is-note-mode .ticket-unit.is-note-arriving { z-index: 6; }
.release-zone { background: transparent; }
.release-zone.is-active { box-shadow: none; }
.release-zone.is-active::before { position: fixed; z-index: 0; right: 0; bottom: 0; width: 46vw; height: 48vh; background: rgba(185, 46, 46, .13); box-shadow: 0 0 105px 65px rgba(185, 46, 46, .28); content: ""; pointer-events: none; }
.release-zone.is-active img { position: absolute; z-index: 1; }
.release-zone.is-active span { position: absolute; z-index: 3; }
.release-zone.is-active::after { z-index: 5; }
.cycle-label { gap: 4px; }
.cycle-label strong { font-weight: bold; }
.brand { font-size: 34px; }
.site-intro { max-width: 390px; font-size: 13px; }
@media (max-width: 560px) { .brand { font-size: 27px; }.site-intro { max-width: 300px; font-size: 11px; }.ticket-unit.is-note-card { width: 180px; } }

/* Stable drag hit areas and independent share buttons */
.share-actions { gap: 8px; }
.share-actions button { min-width: 82px; border: 1px solid #93a498; border-radius: 4px; color: #31513f; background: rgba(255, 253, 246, .88); box-shadow: 0 2px 5px rgba(39, 54, 43, .08); }
.share-actions button:hover { color: #fff; background: #486353; }
.is-dragging .release-zone { top: auto; right: 0; bottom: 0; width: min(500px, 45vw); height: min(555px, 56vh); border: 0; background: transparent; box-shadow: none; }
.is-dragging .release-zone::before { position: fixed; z-index: 0; top: 96px; right: 20px; bottom: 72px; width: 330px; border: 2px dashed rgba(182, 62, 62, .72); background: transparent; box-shadow: none; content: ""; pointer-events: none; }
.is-dragging .release-zone span { position: fixed; z-index: 20; top: 114px; left: calc(100vw - 185px); display: block; color: rgba(177, 48, 48, .74); font-family: Arial, Helvetica, sans-serif; font-size: clamp(19px, 2vw, 32px); font-weight: bold; letter-spacing: .1em; transform: translateX(-50%); }
.is-dragging .release-zone.is-active::before { top: 0; right: 0; bottom: 0; width: 1px; border: 0; background: rgba(185, 46, 46, .45); box-shadow: -45px 0 115px 52px rgba(185, 46, 46, .28); }

/* Pixel-perfect guides and note proportions */
.is-dragging .fortune-board::before { top: var(--keep-top); right: auto; bottom: auto; left: var(--keep-left); width: var(--keep-width); height: var(--keep-height); }
.is-dragging .fortune-board::after { top: calc(var(--keep-top) + 20px); left: var(--keep-center); }
.is-dragging .release-zone::before { top: var(--release-top); right: auto; bottom: auto; left: var(--release-left); width: var(--release-width); height: var(--release-height); }
.is-dragging .release-zone span { top: calc(var(--release-top) + 18px); left: var(--release-center); }
.is-dragging .release-zone.is-active::before { display: block; top: 0; right: 0; bottom: 0; left: auto; width: 1px; height: auto; border: 0; background: rgba(185, 46, 46, .45); box-shadow: -45px 0 115px 52px rgba(185, 46, 46, .28); }
.is-dragging .release-zone.is-active { box-shadow: none; }
.ticket-unit.is-pinned.is-note-card { width: min(160px, 21vw); }
.ticket-unit.is-pinned.is-note-card .fortune-ticket--note { min-height: 110px; padding: 16px 12px 11px; }
.ticket-unit.is-pinned.is-note-card .note-input { min-height: 52px; font-size: 13px; }
.is-dragging .release-zone.is-active { box-shadow: none; }
.is-dragging .release-zone.is-active img { position: absolute; right: 0; bottom: 0; }
.is-dragging .release-zone.is-active span { color: #b43e3e; }
@media (max-width: 700px) { .is-dragging .release-zone { width: min(500px, 45vw); height: min(555px, 56vh); }.is-dragging .release-zone::before { top: 86px; right: 10px; bottom: 62px; width: 202px; }.is-dragging .release-zone span { top: 102px; left: calc(100vw - 111px); font-size: 16px; } }

/* Final drop geometry: the guide and its active area deliberately use one map. */
.ticket-unit.is-pinned { transform: translate(-50%, -50%) rotate(var(--angle)); }
.ticket-unit.is-pinning { animation: pin-bounce-centered .5s ease-out both; }
.ticket-unit.is-note-card .fortune-ticket--note {
  aspect-ratio: 1.46 / 1;
  min-height: 0;
  box-sizing: border-box;
}
.ticket-unit.is-pinned.is-note-card .fortune-ticket--note { min-height: 0; }
@keyframes pin-bounce-centered {
  0% { transform: translate(-50%, -50%) rotate(var(--angle)) scale(1); }
  38% { transform: translate(-50%, -50%) rotate(var(--angle)) scale(.78); }
  100% { transform: translate(-50%, -50%) rotate(var(--angle)) scale(1); }
}

/* The mascot is a real cutout from Keep It Here, rather than a merely decorative overlay. */
.is-dragging .mascot-space {
  border: 2px dashed rgba(117, 96, 70, .46);
  background: rgba(243, 239, 230, .98);
  box-shadow: 0 0 0 14px rgba(243, 239, 230, .98);
}

/* Let It Go has a glow on the screen edge only: never a box around the tree. */
.is-dragging .release-zone::before { display: none; }
.is-dragging .release-zone.is-active::before {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  display: block;
  width: 2px;
  height: 100vh;
  border: 0 !important;
  background: rgba(185, 46, 46, .5);
  box-shadow: -64px 0 135px 62px rgba(185, 46, 46, .3);
  content: "";
  pointer-events: none;
}

/* Pinned cards sit above the static introduction, so they can always be picked up again. */
.topbar { z-index: 0; pointer-events: none; }

/* The inkwell is intentionally a more inviting secondary action. */
.note-button { width: 114px; height: 114px; }

/* A release animation is quiet: no drop guide, glow, or label stays behind it. */
body:not(.is-dragging) .release-zone.is-active { background: transparent !important; box-shadow: none !important; }
body:not(.is-dragging) .release-zone.is-active::before { display: none !important; }
body:not(.is-dragging) .release-zone.is-active span { display: none !important; }

@media (max-width: 560px) {
  .note-button { width: 87px; height: 87px; }
}

/* Social destinations use their supplied artwork while keeping a compact, readable tap target. */
.share-menu { grid-template-columns: repeat(3, 42px); gap: 6px; padding: 6px; }
.share-menu a, .share-menu button { display: flex; width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 0; }
.share-menu img { width: 24px; height: 24px; border-radius: 3px; object-fit: cover; }
.share-menu button > span:first-child { font-size: 21px; line-height: 1; }
#share-trigger::before { content: "↗"; }
#share-copy::before { content: "⧉"; }

/* Mobile composition */
@media (max-width: 700px) {
  .site-shell { min-height: calc(100vh + 360px); padding: 0; }
  .experience { min-height: 100vh; }
  .topbar { position: absolute; z-index: 2; top: 18px; left: 16px; width: calc(100vw - 32px); margin: 0; }
  .brand-column { width: 100%; }
  .brand { font-size: 24px; }
  .cycle-label, .site-intro { position: absolute; left: 0; width: min(290px, calc(100vw - 32px)); }
  .cycle-label { top: calc(100vh + 28px); margin: 0; font-size: 12px; }
  .cycle-label strong { font-size: 12px; }
  .site-intro { top: calc(100vh + 70px); margin: 0; font-size: 12px; line-height: 1.5; }
  footer { position: absolute; z-index: 2; top: calc(100vh + 220px); bottom: auto; left: 16px; width: calc(100vw - 32px); align-items: flex-start; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(83, 102, 88, .34); font-size: 10px; }
  footer p { max-width: none; }

  .mascot-space { position: fixed; z-index: 60; top: auto; bottom: 14px; left: 50%; display: flex; width: 124px; min-height: 0; padding: 0; transform: translateX(-50%); }
  .mascot-wrap { width: 112px; margin: 0 0 5px; }
  .mascot-space::after, .mascot-space.is-available::after, .mascot-space:not(.is-available)::after { bottom: 36px; width: 76px; height: 12px; }
  .mascot-space.is-available, .mascot-space.is-available:hover { border-color: transparent; background: transparent; box-shadow: none; }
  .mascot-space.is-available .mascot-wrap, .mascot-space.is-available:not(:hover) .mascot-wrap { animation: mascot-mobile-invite 1.65s ease-in-out infinite; }
  .mascot-space.is-available:active .mascot-wrap { animation-play-state: paused; transform: scale(1.11); }
  .reveal-button { padding: 0; color: #31513f; background: transparent; box-shadow: none; font-size: 15px; }
  .reveal-button:hover, .reveal-button:active { box-shadow: none; transform: none; }
  .reveal-note { margin-top: 3px; font-size: 10px; }
  .mascot-bubble { top: auto; right: 50%; bottom: calc(100% + 10px); width: min(260px, calc(100vw - 42px)); padding: 11px 13px; transform: translateX(50%); }
  .mascot-bubble::after { right: 50%; bottom: -10px; transform: translateX(50%) rotate(45deg); }
  .mascot-bubble p { font-size: 12px; }
  .mascot-bubble.is-hidden { transform: translateX(50%) translateY(7px); }

  .release-zone { z-index: 8; right: 0; bottom: 0; width: 25vw; height: 170px; }
  .release-zone img { right: -12px; bottom: 0; width: min(220px, 59vw); }
  .release-zone span, .release-zone::after { display: none !important; }
  .note-button { z-index: 61; bottom: 26px; left: 12.5vw; width: 72px; height: 72px; transform: translateX(-50%); }

  .nature-layer { z-index: 900; }
  .revealed-ticket-layer .ticket-unit { width: min(272px, calc(100vw - 96px)); }
  .revealed-ticket-layer .fortune-reaction { right: -34px; bottom: -23px; width: 78px; }
  .scene-hint { top: calc(50% - 160px); width: min(280px, calc(100vw - 52px)); font-size: 13px; }
  .ticket-unit.is-pinned { width: min(130px, 35vw); }
  .ticket-unit.is-pinned .fortune-ticket { min-height: 86px; padding: 16px 11px 10px; }
  .ticket-unit.is-pinned .fortune-ticket p { font-size: 9px; }

  .share-menu { grid-template-columns: repeat(3, 42px); gap: 6px; padding: 6px; }
  .share-menu a, .share-menu button { width: 42px; min-height: 42px; padding: 0; }
  .share-menu img { width: 24px; height: 24px; }
  .share-menu button > span:first-child { font-size: 21px; }
}
@keyframes mascot-mobile-invite { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.075); } }

/* Mobile-only interaction and layout refinements */
.release-confirm { position: fixed; z-index: 1700; inset: 0; display: grid; place-items: center; }
.release-confirm__backdrop { position: absolute; inset: 0; background: rgba(32, 38, 31, .48); backdrop-filter: blur(2px); }
.release-confirm__panel { position: relative; width: min(280px, calc(100vw - 48px)); padding: 22px; border: 1px solid rgba(50, 63, 52, .36); border-radius: 6px; color: #334238; background: #fffdf6; box-shadow: 0 16px 34px rgba(30, 39, 31, .25); text-align: center; }
.release-confirm__panel p { margin: 0 0 17px; font-size: 17px; }
.release-confirm__actions { display: flex; justify-content: center; gap: 10px; }
.release-confirm__actions button { min-width: 76px; padding: 8px 14px; border: 1px solid #71806f; border-radius: 4px; color: #365142; background: #fff; }
.release-confirm__actions #release-confirm-yes { color: #fff; background: #94504c; border-color: #94504c; }

@media (max-width: 700px) {
  .site-shell { min-height: calc(100vh + 520px); }
  .cycle-label { top: calc(100vh + 34px); }
  .site-intro { top: calc(100vh + 80px); }
  footer { top: calc(100vh + 320px); }

  .mascot-space { bottom: 0; width: 136px; height: 148px; }
  .mascot-wrap { position: absolute; bottom: 0; left: 50%; width: 118px; margin: 0; transform: translateX(-50%); }
  .mascot-wrap.is-away { opacity: 0; transform: translateX(-50%); }
  .mascot-space.is-available:active .mascot-wrap { transform: translateX(-50%) scale(1.1); }
  .mascot-space::after, .mascot-space.is-available::after, .mascot-space:not(.is-available)::after { bottom: 3px; }
  .reveal-button { position: absolute; z-index: 2; bottom: 43px; left: 50%; width: 150px; color: #31513f; font-size: 14px; font-weight: bold; text-align: center; text-shadow: 0 1px 2px rgba(255, 253, 246, .9); transform: translateX(-50%); }
  .reveal-note { position: absolute; z-index: 2; bottom: 27px; left: 50%; width: 150px; margin: 0; color: #4e5e52; font-size: 9px; font-weight: bold; text-align: center; text-shadow: 0 1px 2px rgba(255, 253, 246, .9); transform: translateX(-50%); }
  .mascot-bubble { bottom: calc(100% - 3px); }

  .note-button { bottom: 0; width: 72px; height: 72px; }
  .release-zone { height: 205px; }
  .release-zone img { right: -18px; width: min(286px, 76vw); }

  .envelope-stage { width: 100vw; padding: 34px; transform: translateY(110vh); }
  .envelope-stage.is-arriving { animation: envelope-arrive-mobile 1.05s cubic-bezier(.2,.86,.22,1) forwards; }
  .envelope-button { width: min(210px, 56vw); }
  .revealed-ticket-layer .ticket-unit { width: min(260px, calc(100vw - 106px)); }
  .revealed-ticket-layer .fortune-reaction { right: -28px; width: 72px; }

  .share-actions { display: grid; gap: 8px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .share-actions button { width: 42px; min-width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: #375247; box-shadow: 0 3px 8px rgba(35, 49, 40, .22); font-size: 0; }
  .share-actions button:hover { color: #fff; background: #2b4238; }
  .share-actions button span { display: none; }
  #share-trigger::before { content: "↗"; font-size: 21px; }
  #share-copy::before { content: "⧉"; font-size: 20px; }
}
@keyframes envelope-arrive-mobile { to { opacity: 1; transform: translateY(1vh); } }

/* Keep card surfaces above passive copy wherever they overlap. */
footer { z-index: 0; }

@media (max-width: 700px) {
  .site-shell { min-height: calc(100vh + 650px); }
  .topbar { z-index: 0; }
  .site-intro { top: calc(100vh + 80px); }
  footer { top: calc(100vh + 240px); }

  .mascot-space { bottom: -3px; left: 50% !important; transform: translateX(-50%) !important; }
  .mascot-wrap:hover { transform: translateX(-50%) rotate(-2deg) translateY(-5px); }
  .is-dragging .mascot-space { border: 2px dashed rgba(117, 96, 70, .46); background: transparent !important; box-shadow: none !important; }
  .ticket-unit.is-pinned.is-note-card { width: min(117px, 32vw); }
  .ticket-unit.is-pinned.is-note-card .fortune-ticket--note { min-height: 0; padding: 16px 12px 11px; }
  .ticket-unit.is-pinned.is-note-card .note-input { min-height: 52px; font-size: 13px; }

  .note-button { bottom: -14px; left: 64vw; }
  .reveal-button, .reveal-note { display: none !important; }
  .is-dragging .mascot-wrap { animation: mascot-mobile-busy .65s ease-in-out infinite alternate; }
  .release-zone img { transform: translateX(0) !important; scale: 1 !important; filter: brightness(.82) drop-shadow(-14px 11px 12px rgba(33, 40, 33, .18)); }
  .release-zone:hover img, .release-zone.is-active img, .release-zone.is-tip-visible img { animation: none; transform: translateX(-10px) scale(1.03) !important; scale: 1 !important; filter: brightness(1.08) drop-shadow(-16px 11px 13px rgba(33, 40, 33, .23)); }
  .release-zone.is-tip-visible::after {
    display: none !important;
  }

  .share-actions.is-mobile-prompt { grid-template-columns: 1fr; gap: 9px; }
  .share-actions.is-mobile-prompt button { width: 126px; min-width: 126px; height: 42px; padding: 0 13px; border-radius: 21px; color: #fff; background: #2e493d; box-shadow: 0 5px 12px rgba(31, 47, 38, .28); font-size: 12px; }
  .share-actions.is-mobile-prompt button span { display: inline; }
  .share-actions.is-mobile-prompt #share-trigger::before { margin-right: 7px; font-size: 17px; }
  .share-actions.is-mobile-prompt #share-copy::before { margin-right: 7px; font-size: 16px; }
}
@keyframes mascot-mobile-busy { from { transform: translateX(-50%) rotate(-3deg) translateY(0); } to { transform: translateX(-50%) rotate(3deg) translateY(-5px); } }
