.fortune-mo,.mo-journal-detail{padding:clamp(12px,2vw,24px);border:1px solid #cfe3d7;border-radius:16px;background:#fbfffd;font-size:16px}.fortune-mo [hidden]{display:none!important}.mo-inputs{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:12px;margin-bottom:12px}.mo-inputs label{display:grid;gap:6px}.fortune-mo :is(input,select,button),.mo-reading :is(button,select){font:inherit;min-height:44px;box-sizing:border-box}.mo-inputs :is(input,select){width:100%;min-width:0}.mo-toolbar,.mo-pages{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}.mo-audio summary{min-height:44px;align-content:center;cursor:pointer}.mo-audio>div{display:grid;grid-template-columns:auto minmax(4rem,7rem);gap:8px}.mo-audio>div label:last-of-type,.mo-audio p{grid-column:1/-1}.mo-audio input{width:100%;min-width:0}.mo-reading{max-width:68rem;margin:auto;overflow-wrap:anywhere}.mo-result-layout{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.3fr);gap:20px;margin-top:16px}.mo-reader{min-width:0}.mo-section-label{display:flex;align-items:center;gap:10px}.mo-section-label select{flex:1;min-width:0;max-width:100%}.mo-page{height:220px;margin:12px 0;box-sizing:border-box}.mo-page :is(h4,p){font-size:16px;line-height:1.7;margin:0 0 12px}.mo-page-panel{display:flow-root}.mo-pages button{min-width:72px}.fortune-mo :is(#mo-error,#journal-note,#fortune-audio-notice,#mo-progress):empty{display:none}#mo-error{color:#932e28}.mo-reading :focus-visible{outline:2px solid #245e91;outline-offset:2px}.mo-reading [aria-pressed=true]{outline:2px solid #39795f;background:#d8ecdf}.mo-reading [data-highlight=true]{background:#edf4d4}.mo-symbols{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.mo-symbols button{display:grid;gap:6px;min-width:72px;padding:12px;border:1px solid #b7d2c2;border-radius:8px;background:#f3faf5;color:#245b48}.mo-symbols strong{font-size:28px}.mo-ritual{min-height:110px;display:grid;place-content:center;text-align:center}.mo-ritual span{font-size:28px}.fortune-frame[data-mo-reading]{height:auto!important;min-height:0;overflow:visible}.fortune-frame[data-mo-reading] :is(#fortune-canvas,#canvas-access,#fortune-state){display:none}@media(max-width:760px){.mo-inputs{grid-template-columns:1fr}.mo-result-layout{grid-template-columns:1fr;gap:16px}.mo-page{height:280px}}@media(max-height:500px) and (min-width:600px){.mo-result-layout{grid-template-columns:minmax(220px,.9fr) minmax(0,1.3fr)}.mo-page{height:210px}.mo-ritual{min-height:70px}}
.mo-dice{display:flex;justify-content:center;gap:24px;margin:12px}.mo-dice .mo-die{display:grid;place-items:center;width:64px;height:64px;border:2px solid #5c806b;border-radius:12px;background:#fff;font-size:36px;color:#245b48}.mo-ritual #mo-rolls{font-size:16px;line-height:1.6}@media(prefers-reduced-motion:no-preference){#mo-ritual[data-active="1"] #mo-die-1,#mo-ritual[data-active="2"] #mo-die-2{animation:mo-roll .15s alternate infinite}@keyframes mo-roll{to{transform:translateY(-8px) rotate(22deg)}}}
