.oam {
  --oam-bg: #07060c;
  --oam-panel: #100d16;
  --oam-panel-2: #17111d;
  --oam-line: rgba(227, 197, 137, .2);
  --oam-gold: #e6c27d;
  --oam-gold-2: #ffdc94;
  --oam-violet: #a78bfa;
  --oam-ink: #f7f0e7;
  --oam-muted: #bbb1bf;
  position: relative;
  overflow: hidden;
  margin: 1.25rem 0 2rem;
  border: 1px solid rgba(230, 194, 125, .18);
  border-radius: 28px;
  background: var(--oam-bg);
  color: var(--oam-ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
  isolation: isolate;
}

.oam *, .oam *::before, .oam *::after { box-sizing: border-box; }
.oam button, .oam input { font: inherit; }
.oam button { color: inherit; }
.oam [hidden] { display: none !important; }
.oam .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; }
.oam-kicker { display: block; margin-bottom: .8rem; color: var(--oam-gold); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.oam-hero { position: relative; min-height: 520px; overflow: hidden; background: #07060c; }
.oam-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.oam-hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 3, 8, .96) 0%, rgba(6, 4, 10, .87) 28%, rgba(7, 5, 12, .31) 64%, rgba(7, 5, 12, .08) 100%), linear-gradient(0deg, rgba(6, 4, 10, .72), transparent 42%); }
.oam-hero-copy { position: relative; z-index: 1; display: flex; min-height: 520px; width: min(52%, 650px); padding: clamp(3rem, 7vw, 6rem); flex-direction: column; justify-content: center; align-items: flex-start; }
.oam-hero h2 { max-width: 660px; margin: 0; color: #fff9ef; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.45rem, 5.2vw, 5.1rem); font-weight: 500; line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.oam-hero-copy > p { max-width: 570px; margin: 1.35rem 0 0; color: rgba(248, 240, 231, .82); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.72; }
.oam-hero-points { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.75rem; }
.oam-hero-points span { padding: .52rem .72rem; border: 1px solid rgba(230, 194, 125, .24); border-radius: 999px; background: rgba(8, 6, 12, .55); color: #e9ddc9; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; backdrop-filter: blur(8px); }

.oam-body { padding: clamp(2rem, 5vw, 4.5rem); background: radial-gradient(circle at 50% 12%, rgba(83, 55, 106, .17), transparent 34rem), var(--oam-bg); }
.oam-start { max-width: 900px; margin: 0 auto; text-align: center; }
.oam-intro h2, .oam-ritual h2, .oam-result-head h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 500; line-height: 1.06; letter-spacing: -.03em; }
.oam-intro > p, .oam-result-head > p:last-child { max-width: 670px; margin: 1rem auto 0; color: var(--oam-muted); line-height: 1.7; }
.oam-form { margin-top: 2.2rem; }
.oam-focuses { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: 0; padding: 0; border: 0; }
.oam-focus { position: relative; display: flex; min-height: 112px; padding: 1.05rem; gap: .8rem; align-items: center; border: 1px solid rgba(227, 197, 137, .17); border-radius: 16px; background: rgba(255, 255, 255, .025); text-align: left; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.oam-focus:hover { transform: translateY(-2px); border-color: rgba(230, 194, 125, .47); }
.oam-focus.is-selected { border-color: var(--oam-gold); background: linear-gradient(135deg, rgba(230, 194, 125, .14), rgba(132, 88, 160, .11)); box-shadow: inset 0 0 0 1px rgba(230, 194, 125, .08); }
.oam-focus input { position: absolute; opacity: 0; pointer-events: none; }
.oam-focus-symbol { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--oam-gold); }
.oam-focus strong, .oam-focus small { display: block; }
.oam-focus strong { color: #fff8ee; font-size: .98rem; }
.oam-focus small { margin-top: .2rem; color: #a99fab; font-size: .76rem; line-height: 1.35; }
.oam-focus:focus-within { outline: 2px solid var(--oam-violet); outline-offset: 3px; }
.oam-primary, .oam-share, .oam-again, .oam-change { display: inline-flex; min-height: 50px; padding: .84rem 1.25rem; justify-content: center; align-items: center; gap: .55rem; border-radius: 999px; font-weight: 800; cursor: pointer; transition: transform .2s, filter .2s, border-color .2s; }
.oam-primary { min-width: min(100%, 330px); margin-top: 1.4rem; border: 1px solid #f0cf8c; background: linear-gradient(135deg, #f0ce88, #b98045); color: #171009; box-shadow: 0 14px 36px rgba(180, 121, 58, .2); }
.oam-primary:hover, .oam-share:hover, .oam-again:hover, .oam-change:hover { transform: translateY(-2px); filter: brightness(1.06); }
.oam-primary:disabled { cursor: not-allowed; filter: grayscale(.58); opacity: .48; box-shadow: none; }
.oam-primary:disabled:hover { transform: none; filter: grayscale(.58); }
.oam-privacy, .oam-disclaimer { margin: .85rem 0 0; color: #8f8792; font-size: .73rem; }
.oam-privacy span { margin-right: .35rem; color: var(--oam-gold); }

.oam-ritual { min-height: 430px; padding: 2rem 0; text-align: center; }
.oam-bag-scene { position: relative; width: 360px; height: 230px; max-width: 100%; margin: 1.8rem auto .8rem; }
.oam-bag { position: absolute; left: 50%; bottom: 8px; width: 118px; height: 130px; transform: translateX(-50%); border: 2px solid rgba(230, 194, 125, .5); border-radius: 12px 12px 42px 42px; background: linear-gradient(135deg, #2f1f3b, #100b17 72%); box-shadow: inset 0 0 30px rgba(255, 255, 255, .05), 0 20px 35px rgba(0,0,0,.35); animation: oam-bag-shake .42s ease-in-out infinite alternate; }
.oam-bag::before { content: ''; position: absolute; left: -9px; right: -9px; top: 18px; height: 10px; border: 2px solid var(--oam-gold); border-radius: 50%; }
.oam-bag i { position: absolute; left: 50%; top: -12px; width: 78px; height: 42px; transform: translateX(-50%); border: 2px solid rgba(230, 194, 125, .5); border-bottom: 0; border-radius: 50% 50% 0 0; background: #181020; }
.oam-bag b { position: absolute; inset: 58px 0 auto; color: var(--oam-gold); font-size: 1.5rem; }
.oam-ritual-charms span { --angle: calc(var(--n) * 45deg); position: absolute; left: calc(50% - 20px); top: 32px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #d7ad64; border-radius: 50%; background: linear-gradient(145deg, #d7b369, #6f4927); color: #1b100a; opacity: 0; animation: oam-charm-orbit 1.1s calc(var(--n) * 70ms) ease-in-out infinite; }
.oam-ritual-charms svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.oam-ritual-status { min-height: 1.6rem; margin: .5rem 0; color: #ddd0df; }
.oam-progress { width: min(420px, 90%); height: 3px; margin: 1rem auto 0; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.08); }
.oam-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--oam-violet), var(--oam-gold)); transition: width .6s ease; }

.oam-result { max-width: 1060px; margin: 0 auto; }
.oam-result:focus { outline: none; }
.oam-result-head { margin-bottom: 2rem; text-align: center; }
.oam-result-focus { display: inline-flex; margin: 1rem 0 0; padding: .42rem .72rem; border: 1px solid var(--oam-line); border-radius: 999px; color: var(--oam-gold); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.oam-board { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 1rem; align-items: stretch; }
.oam-mat { position: relative; aspect-ratio: 760 / 620; min-width: 0; border: 1px solid rgba(230, 194, 125, .2); border-radius: 48% 48% 45% 45%; background: radial-gradient(ellipse at center, rgba(77, 53, 94, .45), rgba(10, 8, 14, .94) 67%), repeating-radial-gradient(ellipse at center, rgba(255,255,255,.018) 0 1px, transparent 1px 4px); box-shadow: inset 0 0 80px rgba(0,0,0,.66), 0 25px 50px rgba(0,0,0,.24); color: rgba(230, 194, 125, .4); }
.oam-mat::after { content: ''; position: absolute; inset: 3%; border: 1px dashed rgba(230, 194, 125, .13); border-radius: inherit; pointer-events: none; }
.oam-mat-map, .oam-token-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.oam-mat-labels text { fill: rgba(234, 207, 158, .55); font-size: 12px; font-family: Arial, sans-serif; font-weight: 700; letter-spacing: 1.4px; text-anchor: middle; }
.oam-token { --rot: 0deg; position: absolute; z-index: 2; display: grid; width: clamp(43px, 6vw, 62px); aspect-ratio: 1; padding: 0; place-items: center; transform: translate(-50%, -50%) rotate(var(--rot)) scale(.15); border: 1px solid #e5bd72; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #f1d28b, #a66c35 58%, #49301d 100%); color: #2a170d; box-shadow: 0 10px 16px rgba(0,0,0,.5), inset 0 0 0 3px rgba(51,30,15,.25), inset 0 0 13px rgba(255,240,190,.35); cursor: pointer; opacity: 0; animation: oam-token-land .58s var(--delay, 0ms) cubic-bezier(.17,.89,.32,1.32) forwards; }
.oam-token:nth-child(2n) { border-color: #c9c3ca; background: radial-gradient(circle at 35% 28%, #f1edf0, #9f959f 60%, #3d3740); color: #201b22; }
.oam-token.shape-oval { width: clamp(38px, 5vw, 52px); aspect-ratio: .78; }
.oam-token.shape-teardrop { border-radius: 55% 55% 55% 18%; }
.oam-token.shape-arch { border-radius: 50% 50% 20% 20%; }
.oam-token.shape-eye { width: clamp(49px, 6.6vw, 68px); aspect-ratio: 1.45; }
.oam-token.shape-wing { border-radius: 70% 12% 70% 12%; }
.oam-token.shape-flower { border-radius: 42%; }
.oam-token.shape-mask { border-radius: 45% 45% 52% 52%; }
.oam-token.shape-hand, .oam-token.shape-ladder, .oam-token.shape-tower { border-radius: 14px; }
.oam-token svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.oam-token.is-dominant { z-index: 4; border-color: #fff0b8; box-shadow: 0 0 0 4px rgba(240, 201, 121, .19), 0 0 30px rgba(240, 201, 121, .48), inset 0 0 0 3px rgba(51,30,15,.25); }
.oam-token.is-pair::after { content: ''; position: absolute; inset: -6px; border: 1px dashed rgba(174, 140, 255, .75); border-radius: inherit; }
.oam-token:hover, .oam-token:focus-visible { z-index: 5; outline: 2px solid #fff; outline-offset: 4px; filter: brightness(1.15); }
.oam-inspector { display: flex; min-height: 150px; padding: 1.25rem; gap: .9rem; align-items: flex-start; border: 1px solid var(--oam-line); border-radius: 18px; background: linear-gradient(145deg, rgba(28, 21, 35, .96), rgba(12, 10, 16, .96)); }
.oam-inspector-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid var(--oam-gold); border-radius: 50%; color: var(--oam-gold); }
.oam-inspector-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.oam-inspector strong, .oam-inspector small { display: block; }
.oam-inspector strong { font-family: Georgia, serif; font-size: 1.18rem; }
.oam-inspector small { margin-top: .25rem; color: var(--oam-violet); font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.oam-inspector p { margin: .7rem 0 0; color: #c5bbc7; font-size: .85rem; line-height: 1.55; }

.oam-dominant, .oam-pair { display: grid; margin-top: 1rem; padding: clamp(1.25rem, 3vw, 2rem); gap: 1.1rem; align-items: center; border: 1px solid rgba(230, 194, 125, .27); border-radius: 20px; background: linear-gradient(135deg, rgba(73, 47, 37, .38), rgba(27, 18, 34, .7)); }
.oam-dominant { grid-template-columns: auto auto 1fr; }
.oam-reading-index { align-self: start; color: var(--oam-gold); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.oam-reading-icon, .oam-pair-icons > span, .oam-detail-icon { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(230, 194, 125, .42); border-radius: 50%; background: #130e17; color: var(--oam-gold); }
.oam-reading-icon svg, .oam-pair-icons svg, .oam-detail-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.oam-dominant small, .oam-reading small, .oam-pair small, .oam-final small { display: block; color: var(--oam-gold); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.oam-dominant h3, .oam-reading h3, .oam-pair h3 { margin: .25rem 0 .5rem; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 500; }
.oam-dominant p, .oam-reading p, .oam-pair p { margin: 0; color: #e2d8e2; line-height: 1.62; }
.oam-dominant em, .oam-pair em { display: block; margin-top: .6rem; color: #948a98; font-size: .73rem; font-style: normal; }
.oam-reading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: .75rem; }
.oam-reading { min-width: 0; padding: 1.25rem; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(255,255,255,.025); }
.oam-reading > span { display: block; margin-bottom: 1.7rem; color: #746c78; font-size: .7rem; font-weight: 800; }
.oam-obstacle { border-top-color: rgba(205, 108, 108, .5); }
.oam-support { border-top-color: rgba(230, 194, 125, .55); }
.oam-direction { border-top-color: rgba(167, 139, 250, .58); }
.oam-reading h3 { font-size: 1.32rem; }
.oam-reading p { font-size: .88rem; }
.oam-pair { grid-template-columns: auto 1fr; border-color: rgba(167, 139, 250, .28); background: linear-gradient(135deg, rgba(47, 32, 64, .55), rgba(16, 12, 21, .84)); }
.oam-pair-icons { display: flex; min-width: 92px; }
.oam-pair-icons > span { width: 56px; height: 56px; }
.oam-pair-icons > span + span { margin: 24px 0 0 -20px; border-color: rgba(167, 139, 250, .6); }
.oam-pair-icons svg { width: 29px; height: 29px; }
.oam-final { margin-top: .75rem; padding: clamp(1.4rem, 3vw, 2.1rem); border-left: 3px solid var(--oam-gold); border-radius: 4px 18px 18px 4px; background: linear-gradient(90deg, rgba(230, 194, 125, .1), rgba(255,255,255,.02)); }
.oam-final p { margin: .55rem 0 0; color: #fff7ef; font-family: Georgia, serif; font-size: clamp(1.15rem, 2.3vw, 1.58rem); line-height: 1.55; }
.oam-details { margin-top: .75rem; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(255,255,255,.02); }
.oam-details summary { display: grid; grid-template-columns: 1fr auto; padding: 1.1rem 1.25rem; align-items: center; cursor: pointer; list-style: none; }
.oam-details summary::-webkit-details-marker { display: none; }
.oam-details summary span, .oam-details summary small { display: block; }
.oam-details summary span { font-weight: 800; }
.oam-details summary small { margin-top: .18rem; color: #958b98; font-size: .74rem; }
.oam-details summary b { grid-column: 2; grid-row: 1 / span 2; color: var(--oam-gold); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.oam-details[open] summary b { transform: rotate(45deg); }
.oam-detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; padding: 1px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.07); }
.oam-detail { display: grid; grid-template-columns: auto 1fr; padding: 1.05rem; gap: .8rem; background: #0d0a11; }
.oam-detail-icon { width: 44px; height: 44px; }
.oam-detail-icon svg { width: 25px; height: 25px; }
.oam-detail strong, .oam-detail small { display: block; }
.oam-detail small { margin: .2rem 0 .45rem; color: var(--oam-violet); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.oam-detail p { margin: 0; color: #bdb2c0; font-size: .82rem; line-height: 1.5; }
.oam-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; margin-top: 1.4rem; }
.oam-share { border: 1px solid #f0cf8c; background: linear-gradient(135deg, #f0ce88, #b98045); color: #171009; }
.oam-again { border: 1px solid rgba(167, 139, 250, .54); background: rgba(167, 139, 250, .12); }
.oam-change { border: 1px solid rgba(255,255,255,.14); background: transparent; color: #b9aebb; }
.oam-share-status { min-height: 1.3rem; margin: .7rem 0 0; color: var(--oam-gold); font-size: .8rem; text-align: center; }
.oam-disclaimer { text-align: center; }

.oam-guide { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(2rem, 5vw, 4rem); border-top: 1px solid rgba(230, 194, 125, .14); background: linear-gradient(135deg, #100c15, #08070b); }
.oam-guide h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 500; line-height: 1.08; }
.oam-guide-copy p { margin: 1rem 0 0; color: var(--oam-muted); line-height: 1.65; }
.oam-guide ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.oam-guide li { display: flex; padding: .7rem 0; gap: .65rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.07); }
.oam-guide li i { width: 8px; height: 8px; flex: 0 0 8px; border: 1px solid var(--oam-gold); border-radius: 50%; box-shadow: 0 0 9px rgba(230,194,125,.4); }
.oam-guide li strong, .oam-guide li small { display: block; }
.oam-guide li strong { font-size: .84rem; }
.oam-guide li small { margin-top: .15rem; color: #958c99; font-size: .72rem; }

@keyframes oam-bag-shake { from { transform: translateX(-50%) rotate(-3deg); } to { transform: translateX(-50%) rotate(3deg); } }
@keyframes oam-charm-orbit { 0% { opacity: 0; transform: rotate(var(--angle)) translateX(35px) rotate(calc(-1 * var(--angle))) scale(.4); } 35%, 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--angle)) translateX(125px) rotate(calc(-1 * var(--angle))) scale(1); } }
@keyframes oam-token-land { 0% { opacity: 0; transform: translate(-50%, -120%) rotate(calc(var(--rot) - 80deg)) scale(.2); } 68% { opacity: 1; transform: translate(-50%, -50%) rotate(calc(var(--rot) + 7deg)) scale(1.08); } 100% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--rot)) scale(1); } }

@media (max-width: 900px) {
  .oam-hero-copy { width: 65%; padding: 3.5rem 2.5rem; }
  .oam-focuses { grid-template-columns: repeat(2, 1fr); }
  .oam-board { grid-template-columns: 1fr; }
  .oam-inspector { min-height: 0; }
  .oam-guide { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .oam { margin-inline: -.15rem; border-radius: 20px; }
  .oam-hero { min-height: 600px; }
  .oam-hero > img { object-position: 64% center; }
  .oam-hero-veil { background: linear-gradient(0deg, rgba(4,3,8,.98) 0%, rgba(6,4,10,.88) 39%, rgba(7,5,12,.2) 76%), linear-gradient(90deg, rgba(5,4,9,.55), transparent); }
  .oam-hero-copy { width: 100%; min-height: 600px; padding: 18rem 1.25rem 2.2rem; justify-content: flex-end; }
  .oam-hero h2 { font-size: clamp(2.25rem, 12vw, 3.35rem); }
  .oam-hero-copy > p { line-height: 1.55; }
  .oam-hero-points span { font-size: .63rem; }
  .oam-body { padding: 2rem .8rem; }
  .oam-focuses { gap: .5rem; }
  .oam-focus { min-height: 102px; padding: .8rem .68rem; gap: .55rem; }
  .oam-focus-symbol { width: 30px; height: 30px; flex-basis: 30px; }
  .oam-focus strong { font-size: .85rem; }
  .oam-focus small { font-size: .67rem; }
  .oam-mat-labels text { font-size: 13px; letter-spacing: .6px; }
  .oam-token { width: 38px; }
  .oam-token.shape-oval { width: 34px; }
  .oam-token.shape-eye { width: 44px; }
  .oam-dominant { grid-template-columns: auto 1fr; padding: 1.1rem; }
  .oam-dominant .oam-reading-index { grid-column: 1 / -1; }
  .oam-reading-icon { width: 52px; height: 52px; }
  .oam-reading-grid { grid-template-columns: 1fr; }
  .oam-reading > span { margin-bottom: .65rem; }
  .oam-pair { grid-template-columns: 1fr; }
  .oam-pair-icons { margin-bottom: -.2rem; }
  .oam-detail-list { grid-template-columns: 1fr; }
  .oam-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .oam-share { grid-column: 1 / -1; }
  .oam-guide { padding: 2rem 1rem; }
  .oam-guide ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .oam *, .oam *::before, .oam *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
