.bone-page { max-width: 1080px; margin: 0 auto; padding: 36px 24px 70px; }
.bone-page > header { max-width: 640px; margin-bottom: 26px; }
.bone-page h1 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(36px, 5vw, 54px); font-weight: 400; }
.bone-page header > p:last-child { color: var(--muted); margin: 0; }
.bone-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 34px; align-items: start; }
.bone-preparation textarea { min-height: 76px; resize: vertical; }
.bone-pool { font-size: 12px; color: var(--muted); margin: 8px 0 22px; }
.bone-offering { padding: 20px; margin-bottom: 24px; background: #eeeade; border: 1px solid #c5aa7870; border-radius: 18px; }
.bone-offering h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.bone-offering > p { font-size: 13px; line-height: 1.6; margin: 0 0 14px; }
.bone-offering .field { margin-bottom: 12px; }
.bone-offering .bone-offering-status { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.bone-offering-token { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); width: 108px; height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px dashed #c5aa7866; border-radius: 50%; padding: 10px; color: #d4c4a2a0; text-align: center; background: #263d3280; }
.bone-offering-token.is-placed { border-style: solid; border-color: #c5aa78a0; color: #f3e6c7; box-shadow: 0 0 26px #dbc58b16; }
.bone-offering-token small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.bone-offering-token strong { font: 17px/1.15 var(--serif); overflow-wrap: anywhere; max-height: 59px; overflow: hidden; }
.bone-body { fill: #f4e6c7; stroke: #c5aa78; stroke-width: 1; }
.bone-sign { fill: none; stroke: #365345; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bone-table { position: relative; height: 336px; overflow: hidden; border-radius: 26px; isolation: isolate; background: radial-gradient(ellipse at 47% 40%, #425a4c, #21372e 75%); box-shadow: inset 0 0 0 1px #a8895355, inset 0 0 70px #10291c65; }
.bone-ring { position: absolute; inset: 25px 32px 43px; border: 1px solid #c4aa7145; border-radius: 50%; transform: rotate(-8deg); }
.bone-ring::after { content: ''; position: absolute; inset: 13px -9px; border: 1px solid #c4aa7126; border-radius: 50%; transform: rotate(19deg); }
.bone-piece { position: absolute; width: 59px; height: 105px; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--turn)); filter: drop-shadow(4px 9px 5px #07170ba0); }
.bone-piece svg { display: block; width: 100%; height: 100%; }
.bone-table__caption { position: absolute; bottom: 13px; width: 100%; text-align: center; font-size: 11px; color: #e7d7b39c; }
.bone-table[data-phase=holding] .bone-piece { animation: bone-gather .65s ease-in-out infinite alternate; animation-delay: var(--delay); }
.bone-table[data-phase=casting] .bone-piece { animation: bone-fall .9s cubic-bezier(.22,.68,.29,1) both; animation-delay: calc(var(--delay) / 3); }
@keyframes bone-gather { to { left: 50%; top: 44%; transform: translate(-50%, -50%) rotate(calc(var(--turn) + 18deg)) scale(.94); } }
@keyframes bone-fall { 0% { left: 50%; top: 40%; transform: translate(-50%, -50%) rotate(calc(var(--turn) - 190deg)) scale(1.22); } 65% { transform: translate(-50%, -50%) rotate(calc(var(--turn) + 10deg)) scale(.96); } 100% { transform: translate(-50%, -50%) rotate(var(--turn)); } }
.bone-throw { width: 100%; margin-top: 16px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.bone-throw[aria-pressed=true] { background: #a4844b; }
.bone-instruction, .bone-status { font-size: 12px; line-height: 1.6; margin: 10px 0 0; color: var(--muted); }
.bone-status { min-height: 20px; color: var(--moss); }
.bone-result { margin-top: 32px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.bone-result h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 43px); margin: 0 0 8px; overflow-wrap: anywhere; }
.bone-result > .eyebrow { margin-top: 0; }
.bone-relation { color: var(--muted); margin: 0 0 18px; }
.bone-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 16px 28px; font-size: 13px; }
.bone-facts > div { min-width: 0; }
.bone-facts dt { font-size: 11px; color: var(--muted); }
.bone-facts dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.bone-lineage { font-size: 12px; color: var(--muted); margin-top: 18px; }
.bone-lineage summary { cursor: pointer; padding: 6px 0; }
.bone-lineage p { line-height: 1.7; overflow-wrap: anywhere; }
.bone-your-question { margin: 22px 0; border-left: 2px solid #c4aa71; padding: 4px 0 4px 18px; font-family: var(--serif); font-size: 23px; overflow-wrap: anywhere; }
.bone-reflection { display: flex; align-items: center; gap: 20px; margin: 24px 0; padding: 22px; background: #eef0e7; border-radius: 16px; }
.bone-reflection__icon { flex: 0 0 55px; }
.bone-reflection svg { width: 55px; height: 95px; }
.bone-reflection h3 { margin: 8px 0; font-size: 21px; line-height: 1.4; font-family: var(--serif); font-weight: 400; }
.bone-reflection p { margin: 0; font-size: 14px; }
.bone-reflection .eyebrow { font-size: 10px; }
.bone-again { margin-top: 18px; font-size: 13px; }
.bone-about { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.bone-about summary { cursor: pointer; padding: 8px 0; }
.bone-about p { line-height: 1.7; }
.bone-invitation { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 22px; margin: 24px 0; border: 1px solid #b99c6955; border-radius: 18px; background: #eeece1; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.bone-invitation__icon { flex: 0 0 36px; }
.bone-invitation svg { display: block; width: 36px; height: 57px; transform: rotate(20deg); }
.bone-invitation strong, .bone-invitation small { display: block; }
.bone-invitation strong { font-family: var(--serif); font-weight: 400; font-size: 25px; }
.bone-invitation small { font-size: 13px; color: var(--muted); margin-top: 3px; }
.bone-invitation > span:last-child { margin-left: auto; font-size: 23px; }
.bone-page button:focus-visible { outline: 3px solid #ad8c50; outline-offset: 3px; }
.bone-page button:disabled { opacity: .55; cursor: default; }
@media (max-width: 680px) { .bone-page { padding: 24px 16px 40px; } .bone-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; } .bone-table { height: 290px; } .bone-piece { width: 50px; height: 87px; } .bone-result { padding: 21px 16px; } .bone-reflection { gap: 12px; padding: 16px 12px; } .bone-reflection__icon { flex-basis: 34px; } .bone-reflection svg { width: 34px; height: 70px; } .bone-result .button-row { align-items: stretch; } .bone-result .button { flex: 1 1 160px; } }
@media (prefers-reduced-motion: reduce) { .bone-table .bone-piece { animation: none !important; } }
