@font-face{font-family:YujiOmikuji;src:url('/iphone-app/assets/fonts/yuji-syuku-badge-v2.ttf?v=1') format('truetype');font-display:swap}
.guide-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;margin:0 0 24px;font-size:13px;line-height:1.8;color:var(--gold)}.guide-links a{padding:8px 0;text-underline-offset:4px}.public-guide{margin-top:32px;border-top:1px solid var(--line);padding-top:24px;scroll-margin-top:24px}.public-guide h2{font-family:YujiOmikuji,serif;font-size:24px;font-weight:400;line-height:1.6;margin:0 0 16px}.public-guide p,.example-image figcaption{font-size:14px;line-height:1.9;color:var(--muted);overflow-wrap:anywhere}.public-guide a{color:var(--gold);text-underline-offset:3px}.example-image{margin:22px 0}.example-image a{display:block;max-width:440px;margin:auto}.example-image img{display:block;width:100%;height:auto;border-radius:4px}.example-image figcaption{margin:16px 0 0}.omikuji-faq h3{font-size:16px;line-height:1.7;color:var(--paper);margin:26px 0 8px}.omikuji-faq h3+p{margin-top:0}
.post-actions{margin-top:10px}.post-actions>.secondary{width:100%}.post-preview{margin-top:12px;font-size:13px;color:var(--muted)}.post-preview summary{cursor:pointer;padding:10px 0}.post-preview textarea{display:block;width:100%;margin-top:8px;padding:14px;border:1px solid var(--line);border-radius:5px;background:#06251f;color:var(--paper);font:16px/1.7 system-ui,-apple-system,"Noto Sans JP",sans-serif;resize:vertical}.post-preview summary:focus-visible,.post-preview textarea:focus-visible{outline:3px solid #fff;outline-offset:4px}
:root{color-scheme:dark;--bg:#082f29;--paper:#f5f0df;--gold:#e2c47f;--muted:#bed0c5;--line:#d6c18442;font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;color:var(--paper);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 25%,#19524388,transparent 65%),var(--bg);min-width:280px}a{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button,a.primary,a.secondary{touch-action:manipulation}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:4px}[hidden]{display:none!important}.page-header{max-width:1120px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px;border-bottom:1px solid var(--line)}.brand{font-family:YujiOmikuji,serif;font-size:34px;text-decoration:none;white-space:nowrap}.brand span{font-family:system-ui,sans-serif;font-size:11px;margin-left:20px;color:var(--muted)}.play-link{font-size:13px;text-decoration:none;color:var(--gold)}.omikuji-shell{max-width:680px;padding:40px 24px 48px;margin:auto}.intro{text-align:center;margin-bottom:30px}.eyebrow{color:var(--gold);font-size:12px;letter-spacing:.2em;margin:0 0 10px}h1{font-family:YujiOmikuji,serif;font-weight:400;font-size:clamp(38px,7vw,56px);letter-spacing:.08em;margin:8px 0 18px}.intro>p:last-child{font-size:14px;line-height:1.9;color:var(--muted)}.draw-panel{position:relative;display:flex;align-items:center;flex-direction:column;gap:18px;border:1px solid var(--line);padding:30px 22px;background:#06251f80;text-align:center;box-shadow:0 18px 60px #001b1833}.fortune-seal{width:96px;margin:0 0 10px;transform:rotate(-6deg)}.fortune-seal img{display:block;width:100%;height:auto;filter:drop-shadow(0 12px 12px #0003)}.draw-copy h2{font-size:19px;font-weight:500;margin:8px 0}.draw-copy p:last-child{font-size:13px;line-height:1.8;max-width:29em;color:var(--muted);margin:12px 0 0}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;text-align:center;min-height:48px;border-radius:5px;padding:13px 22px;font-size:14px;font-weight:650;text-decoration:none;cursor:pointer;border:1px solid transparent;line-height:1.5}.primary{color:#153d30;background:var(--gold)}.primary:hover{background:#f0d797}.secondary{border-color:#c3cbbf70;background:#ffffff08;color:var(--paper)}.secondary:hover{background:#ffffff14}.draw-panel .primary{width:min(100%,320px)}.developer-note{font-size:12px;color:var(--gold);margin:0}.status{font-size:13px;line-height:1.8;text-align:center;min-height:0}.status:empty{margin:0}.result-panel{margin-top:28px}.result-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.result-heading h2{font-size:17px;margin:0;font-weight:500}.result-heading span{font-size:12px;color:var(--muted)}.result-image{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:3px;box-shadow:0 16px 40px #0003}.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.share-actions button:last-child:nth-child(3){grid-column:1/-1}.share-hint{font-size:12px;color:var(--muted);line-height:1.8;text-align:center;margin:14px 0}.how-it-works{margin-top:32px;border-top:1px solid var(--line);padding-top:24px}.how-it-works h2{font-family:YujiOmikuji,serif;font-size:22px;font-weight:400;letter-spacing:.04em;margin:0 0 16px}.how-it-works ul{padding-left:1.4em;margin:0;color:var(--muted);font-size:12px;line-height:2.1}.how-it-works p{font-size:11px;color:var(--muted);line-height:1.9;margin-top:16px}footer{max-width:1120px;margin:auto;padding:24px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}footer a{text-decoration:none}footer span{font-family:YujiOmikuji,serif}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#challenge{max-width:100%;margin-top:16px}#challengeStatus{text-align:center;font-size:12px}@media(max-width:540px){.page-header{padding:16px 20px}.brand{font-size:29px}.brand span{display:none}.omikuji-shell{padding:30px 18px 36px}.intro{margin-bottom:24px}.draw-panel{padding:24px 16px}.draw-copy h2{font-size:18px}footer{padding:20px;flex-wrap:wrap}footer span{display:none}}@media(prefers-reduced-motion:no-preference){.result-panel{animation:reveal .45s ease-out}@keyframes reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}
