.rulebook-app{--rulebook-topbar-height: 92px;--rulebook-footer-height: 104px;--rulebook-stage-bottom-clearance: calc(var(--rulebook-footer-height) + env(safe-area-inset-bottom) + 1rem);min-height:100vh;width:100%;color:#3f3129;background-color:#2c2f29;background-image:radial-gradient(circle at top,rgba(226,194,140,.12),transparent 42%),linear-gradient(180deg,#1d211cf5,#363a31eb),url(/assets/extras/papertexture_tiling.jpg);background-blend-mode:screen,normal,soft-light;background-size:auto,auto,280px 280px;background-repeat:no-repeat,no-repeat,repeat;background-position:center top,center top,center top;overflow:hidden;-webkit-user-select:text;user-select:text}.rulebook-app button:is(.rulebook-icon-button,.rulebook-nav-button,.rulebook-toc__scrim,.rulebook-search-result,.rulebook-toc__section-button,.rulebook-toc__step-button,.rulebook-inline-term,.rulebook-glossary__scrim,.rulebook-glossary__related-button){-webkit-appearance:none;-moz-appearance:none;appearance:none}.rulebook-app button:is(.rulebook-icon-button,.rulebook-nav-button,.rulebook-toc__scrim,.rulebook-search-result,.rulebook-toc__section-button,.rulebook-toc__step-button,.rulebook-inline-term,.rulebook-glossary__scrim,.rulebook-glossary__related-button):before,.rulebook-app button:is(.rulebook-icon-button,.rulebook-nav-button,.rulebook-toc__scrim,.rulebook-search-result,.rulebook-toc__section-button,.rulebook-toc__step-button,.rulebook-inline-term,.rulebook-glossary__scrim,.rulebook-glossary__related-button):after{content:none!important;display:none!important}.rulebook-topbar,.rulebook-navigation,.rulebook-card,.rulebook-toc__panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.rulebook-topbar{position:fixed;top:0;left:0;right:0;z-index:20;min-height:var(--rulebook-topbar-height);display:flex;align-items:center;gap:1rem;padding:calc(env(safe-area-inset-top) + 1rem) 1rem 1rem;background:linear-gradient(180deg,#212b22f5,#2d3b30e6);border-bottom:1px solid rgba(244,228,193,.16);box-shadow:0 18px 30px #0000002e;-webkit-user-select:none;user-select:none}.rulebook-icon-button{width:44px;height:44px;flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#f4ead3;background:#f4e4c114;border:1px solid rgba(244,228,193,.16)!important;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.rulebook-icon-button:hover:not(:disabled){background:#f4e4c129;border-color:#f4e4c147!important;transform:translateY(-1px);box-shadow:0 6px 14px #0000002e}.rulebook-icon-button:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 6px #00000029}.rulebook-icon-button:focus-visible,.rulebook-nav-button:focus-visible,.rulebook-toc__section-button:focus-visible,.rulebook-toc__step-button:focus-visible,.rulebook-inline-link:focus-visible,.rulebook-inline-term:focus-visible,.rulebook-search__input:focus-visible,.rulebook-search-result:focus-visible,.rulebook-glossary__related-button:focus-visible{outline:2px solid #f0d18a;outline-offset:2px}.rulebook-topbar__titles{min-width:0}.rulebook-topbar__action{margin-left:auto;flex:0 0 auto}.rulebook-topbar__eyebrow{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:.35rem;font-size:.78rem;letter-spacing:0;text-transform:uppercase;color:#d8c49a}.rulebook-topbar h1{font-size:clamp(1.05rem,2.6vw,1.5rem);line-height:1.2;color:#f8f2e6}.rulebook-topbar__meta{margin-top:.3rem;font-size:.88rem;color:#f8f2e6c7}.rulebook-stage{height:100vh;overflow-y:auto;scroll-padding-bottom:var(--rulebook-stage-bottom-clearance);padding:calc(var(--rulebook-topbar-height) + env(safe-area-inset-top) + 1rem) 1rem var(--rulebook-stage-bottom-clearance)}.rulebook-stage__inner{width:min(100%,960px);margin:0 auto}.rulebook-card{border-radius:8px;padding:1.25rem;background:linear-gradient(180deg,#fbf7eef0,#f4ecdbfa),url(/assets/extras/papertexture_tiling_strong.png);border:1px solid rgba(107,85,62,.2);box-shadow:0 18px 40px #12110e3d,inset 0 1px #ffffff73}.rulebook-card__header{margin-bottom:1.25rem}.rulebook-card__title{font-size:clamp(1.55rem,4vw,2.4rem);line-height:1.08;color:#2e241d}.rulebook-card__section{color:#5a4939;font-weight:800}.rulebook-card__title-divider{color:#7a6655}.rulebook-card__step-title{color:#2e241d;font-weight:700}.rulebook-card__subtitle{margin-top:.7rem;font-size:1rem;line-height:1.5;color:#7c624e}.rulebook-card__body{display:block}.rulebook-card__content{min-width:0}.rulebook-card__visual{margin-bottom:1rem}.rulebook-visual{padding:1rem;border-radius:8px;background:#485b4014;border:1px solid rgba(92,76,59,.12)}.rulebook-visual--placeholder{background:linear-gradient(180deg,#69523b14,#485b400f),#fffcf5b8}.rulebook-visual__header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.9rem}.rulebook-visual__header h3{font-size:1rem;line-height:1.2;color:#2e241d}.rulebook-visual__tag{flex:0 0 auto;padding:.35rem .55rem;border-radius:999px;background:#2e5e831f;color:#2e5e83;font-size:.76rem;font-weight:700;text-transform:uppercase}.rulebook-visual__tag.is-warning{background:#c67a2a24;color:#a85c17}.rulebook-visual__tag.is-success{background:#4a764724;color:#37653d}.rulebook-visual__tag.is-royal{background:#6e58a024;color:#644896}.rulebook-visual__caption{margin-top:.9rem;font-size:.92rem;line-height:1.5;color:#5e4d40}.rulebook-visual-placeholder__frame{display:grid;gap:.55rem;padding:1rem;border:1px dashed rgba(103,81,58,.45);border-radius:10px;background:linear-gradient(135deg,#ffffff85,#f0e2c457),repeating-linear-gradient(-45deg,#67513a0d 0,#67513a0d 10px,#ffffff1f 10px,#ffffff1f 20px)}.rulebook-visual-placeholder__eyebrow{font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7a6655}.rulebook-visual-placeholder__prompt{margin:0;font-size:.98rem;line-height:1.5;color:#3f3129}.rulebook-visual-placeholder__notes{display:grid;gap:.55rem;margin:.9rem 0 0;padding-left:1.15rem;color:#5e4d40}.rulebook-visual-placeholder__notes li{line-height:1.45}.rulebook-visual-icon{width:28px;height:28px;object-fit:contain}.rulebook-unit-card{display:grid;gap:.9rem}.rulebook-unit-card__hero{display:flex;align-items:center;gap:.9rem}.rulebook-unit-card__icon-wrap{width:56px;height:56px;flex:0 0 56px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#485b401f}.rulebook-unit-card__icon-wrap .rulebook-visual-icon{width:34px;height:34px}.rulebook-unit-card h3{font-size:1rem;color:#2e241d}.rulebook-unit-card__tagline{margin-top:.25rem;font-size:.9rem;line-height:1.45;color:#5e4d40}.rulebook-unit-card__stats{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.rulebook-unit-card__stat{padding:.75rem;border-radius:8px;background:#ffffff7a;border:1px solid rgba(82,66,52,.08)}.rulebook-unit-card__stat dt{font-size:.78rem;text-transform:uppercase;color:#7a6655}.rulebook-unit-card__stat dd{margin-top:.25rem;font-size:.92rem;line-height:1.35;font-weight:700;color:#2e241d}.rulebook-card-anatomy{display:grid;gap:.9rem}.rulebook-card-anatomy__mock{position:relative;min-height:240px;border-radius:12px;background:linear-gradient(180deg,#784c362e,#603a2a14),#ffffff75;border:1px solid rgba(82,66,52,.12);overflow:hidden}.rulebook-card-anatomy__slot{position:absolute;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#f0d18a;color:#3f3129;font-size:.82rem;font-weight:700;box-shadow:0 4px 10px #0000001f}.rulebook-card-anatomy__slot--strength{top:12px;left:12px}.rulebook-card-anatomy__slot--name{top:12px;left:50%;transform:translate(-50%)}.rulebook-card-anatomy__slot--cost{top:12px;right:12px}.rulebook-card-anatomy__slot--ability-name{top:110px;left:16px}.rulebook-card-anatomy__slot--ability-text{top:150px;left:16px}.rulebook-card-anatomy__slot--keyword{bottom:12px;left:16px}.rulebook-card-anatomy__legend{display:grid;gap:.55rem}.rulebook-card-anatomy__legend-item{display:flex;gap:.7rem;padding:.7rem .75rem;border-radius:8px;background:#ffffff7a;border:1px solid rgba(82,66,52,.08)}.rulebook-card-anatomy__legend-index{width:24px;height:24px;flex:0 0 24px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#f0d18ae6;color:#3f3129;font-size:.78rem;font-weight:700}.rulebook-card-anatomy__legend-copy{display:flex;flex-direction:column;gap:.2rem;min-width:0}.rulebook-card-anatomy__legend-copy strong{font-size:.9rem;color:#2e241d}.rulebook-card-anatomy__legend-copy span{font-size:.84rem;line-height:1.4;color:#5e4d40}.rulebook-card-types{display:grid;gap:.7rem}.rulebook-card-types__item{padding:.9rem;border-radius:8px;border:1px solid rgba(82,66,52,.08);background:#ffffff7a;display:flex;flex-direction:column;gap:.3rem}.rulebook-card-types__item.is-action{background:linear-gradient(180deg,#495b692e,#495b6914)}.rulebook-card-types__item.is-battlefield{background:linear-gradient(180deg,#4e61402e,#4e614014)}.rulebook-card-types__item.is-equipment{background:linear-gradient(180deg,#5247662e,#52476614)}.rulebook-card-types__label{font-size:.95rem;font-weight:700;color:#2e241d}.rulebook-card-types__detail{font-size:.86rem;line-height:1.45;color:#5e4d40}.rulebook-draft-flow{display:grid;gap:.85rem}.rulebook-draft-flow__sequence{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem}.rulebook-draft-flow__step,.rulebook-draft-flow__summary-item{border-radius:8px;border:1px solid rgba(82,66,52,.08);background:#ffffff80}.rulebook-draft-flow__step{min-height:118px;display:flex;flex-direction:column;gap:.35rem;padding:.8rem .7rem}.rulebook-draft-flow__step.is-first{background:linear-gradient(180deg,#485b402e,#485b4014)}.rulebook-draft-flow__step.is-second{background:linear-gradient(180deg,#2e5e8329,#2e5e8314)}.rulebook-draft-flow__index{width:1.5rem;height:1.5rem;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f4e4c1e0;color:#3f3129;font-size:.78rem;font-weight:700}.rulebook-draft-flow__picker{font-size:.86rem;font-weight:700;color:#2e241d}.rulebook-draft-flow__detail{font-size:.8rem;line-height:1.4;color:#5e4d40}.rulebook-draft-flow__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}.rulebook-draft-flow__summary-item{min-height:82px;display:flex;flex-direction:column;justify-content:center;gap:.25rem;padding:.8rem}.rulebook-draft-flow__summary-item dt{font-size:.78rem;color:#7b6656}.rulebook-draft-flow__summary-item dd{font-size:.94rem;font-weight:700;color:#2e241d}.rulebook-phase-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.rulebook-setup-diagram{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:.75rem}.rulebook-setup-diagram__sidebar{display:grid;grid-template-columns:1fr;gap:.55rem}.rulebook-setup-zone{min-height:72px;display:flex;flex-direction:column;justify-content:center;gap:.28rem;padding:.75rem .8rem;border-radius:8px;background:#ffffff7a;border:1px solid rgba(82,66,52,.08)}.rulebook-setup-zone.is-highlighted{background:linear-gradient(180deg,#2e5e8324,#2e5e830f);border-color:#2e5e8333}.rulebook-setup-zone--board{min-height:100%;background:linear-gradient(135deg,#485b4024,#485b400f),repeating-linear-gradient(45deg,#ffffff38,#ffffff38 12px,#00000008 12px,#00000008 24px)}.rulebook-setup-zone__title{font-size:.92rem;font-weight:700;color:#2e241d}.rulebook-setup-zone__detail{font-size:.82rem;line-height:1.35;color:#695647}.rulebook-phase-strip__phase{min-height:92px;display:flex;flex-direction:column;justify-content:center;gap:.35rem;padding:.85rem .8rem;border-radius:8px;background:#ffffff7a;border:1px solid rgba(82,66,52,.08)}.rulebook-phase-strip__phase.is-active{background:linear-gradient(180deg,#485b4029,#485b4014);border-color:#485b403d;box-shadow:inset 0 0 0 1px #485b401a}.rulebook-phase-strip__label{font-size:.94rem;font-weight:700;color:#2e241d}.rulebook-phase-strip__detail{font-size:.84rem;line-height:1.35;color:#695647}.rulebook-sigil-loop{position:relative}.rulebook-sigil-loop__track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.rulebook-sigil-loop__stage{position:relative;min-height:114px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;padding:.85rem .65rem;border-radius:8px;background:#ffffff80;border:1px solid rgba(82,66,52,.08);text-align:center}.rulebook-sigil-loop__stage.is-emphasized{background:linear-gradient(180deg,#ccb1662e,#ccb16614);border-color:#a4803a38}.rulebook-sigil-loop__badge{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#485b4014}.rulebook-sigil-loop__badge .rulebook-visual-icon{width:24px;height:24px}.rulebook-sigil-loop__label{font-size:.92rem;font-weight:700;color:#2e241d}.rulebook-sigil-loop__detail{font-size:.8rem;line-height:1.35;color:#695647}.rulebook-sigil-loop__pulse{position:absolute;top:22px;left:0;width:36px;height:36px;border-radius:999px;background:#dbbc6d52;filter:blur(2px);animation:rulebookSigilPulse 6s ease-in-out infinite}.rulebook-sigil-loop.is-reduced-motion .rulebook-sigil-loop__pulse{animation:none;left:calc(50% - 18px);opacity:.45}.rulebook-board-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.28rem;aspect-ratio:1}.rulebook-board-grid__cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:6px;background:#58473514;border:1px solid rgba(82,66,52,.06)}.rulebook-board-grid__cell:nth-child(odd){background:#485b4014}.rulebook-board-grid__cell.is-attack{background:#c67a2a29;border-color:#a85c1733}.rulebook-board-grid__cell.is-move{background:#2e5e8324;border-color:#2e5e832e}.rulebook-board-grid__cell.is-center{background:#485b402e}.rulebook-board-grid__cell.is-center .rulebook-visual-icon{width:32px;height:32px}.rulebook-combat-loop{display:grid;gap:.9rem}.rulebook-combat-loop__lane{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:center;gap:.5rem}.rulebook-combat-loop__piece{min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border-radius:8px;background:#ffffff7a;border:1px solid rgba(82,66,52,.08);font-size:.86rem;font-weight:700;color:#2e241d}.rulebook-combat-loop__piece.is-defender{background:#fff6eec7}.rulebook-combat-loop__piece .rulebook-visual-icon{width:30px;height:30px}.rulebook-combat-loop__arrow{position:relative;height:2px;background:linear-gradient(90deg,#a85c1733,#a85c17c2)}.rulebook-combat-loop__arrow:after{content:"";position:absolute;right:-1px;top:50%;width:10px;height:10px;border-top:2px solid rgba(168,92,23,.76);border-right:2px solid rgba(168,92,23,.76);transform:translateY(-50%) rotate(45deg)}.rulebook-combat-loop__outcome{display:flex;justify-content:center}.rulebook-combat-loop__outcome-chip{padding:.45rem .7rem;border-radius:999px;font-size:.8rem;font-weight:700;text-transform:uppercase}.rulebook-combat-loop__outcome-chip.is-warning{background:#c67a2a24;color:#a85c17}.rulebook-combat-loop__outcome-chip.is-success{background:#4a764724;color:#37653d}.rulebook-combat-loop__outcome-chip.is-royal{background:#6e58a024;color:#644896}.rulebook-visual--combat .rulebook-combat-loop__arrow,.rulebook-visual--combat .rulebook-combat-loop__outcome-chip{animation:rulebookCombatSettle 2.8s ease-in-out infinite}.rulebook-visual--combat.is-reduced-motion .rulebook-combat-loop__arrow,.rulebook-visual--combat.is-reduced-motion .rulebook-combat-loop__outcome-chip{animation:none}.rulebook-paragraph,.rulebook-callout p,.rulebook-list li{font-size:1rem;line-height:1.7}.rulebook-step-content>*+*{margin-top:1rem}.rulebook-paragraph+.rulebook-paragraph,.rulebook-list+.rulebook-paragraph,.rulebook-paragraph+.rulebook-list{margin-top:1rem}.rulebook-paragraph span,.rulebook-paragraph strong,.rulebook-paragraph button,.rulebook-list span,.rulebook-list strong,.rulebook-list button,.rulebook-callout span,.rulebook-callout strong,.rulebook-callout button{white-space:pre-wrap}.rulebook-list{padding-left:1.25rem}.rulebook-list li+li{margin-top:.75rem}.rulebook-inline-link{color:#2e5e83;text-decoration:underline;text-decoration-color:#2e5e8366;text-underline-offset:.14em}.rulebook-inline-term{display:inline;padding:0;border:0!important;background:transparent;font:inherit;color:#6d4f2f;font-weight:700;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:.16em;transition:color .18s ease,text-decoration-color .18s ease}.rulebook-inline-term:hover:not(:disabled){color:#8a6135}.rulebook-inline-icon{display:inline-flex;align-items:center;padding:0 .4rem;margin:0 .1rem;border-radius:999px;background:#5c6d531a;font-size:.88rem}.rulebook-callout{padding:1rem;border-radius:8px;border:1px solid rgba(77,62,46,.14)}.rulebook-callout--tip{background:#e9dcb0bf}.rulebook-callout--warning{background:#f4dcb89e}.rulebook-callout--example{background:#d4ddf48a}.rulebook-callout__title{margin-bottom:.35rem;font-weight:700}.rulebook-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.rulebook-stat-grid__item{padding:.9rem;border-radius:8px;background:#4e604a14;border:1px solid rgba(92,76,59,.12)}.rulebook-stat-grid__item dt{font-size:.82rem;color:#7b6656}.rulebook-stat-grid__item dd{margin-top:.3rem;font-size:1.1rem;font-weight:700;color:#2e241d}.rulebook-navigation{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:.85rem 1rem calc(env(safe-area-inset-bottom) + .85rem);background:linear-gradient(0deg,#212b22fa,#2d3b30eb);border-top:1px solid rgba(244,228,193,.16)}.rulebook-nav-button{min-height:64px;display:inline-flex;align-items:center;gap:.8rem;padding:.95rem 1rem;border-radius:8px;background:#f4e4c114;border:1px solid rgba(244,228,193,.14)!important;color:#f8f2e6;text-align:left;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.rulebook-nav-button:hover:not(:disabled){background:#f4e4c124;border-color:#f4e4c142!important;transform:translateY(-1px);box-shadow:0 8px 16px #00000024}.rulebook-nav-button:active:not(:disabled){transform:translateY(0)}.rulebook-nav-button:disabled{opacity:.42;cursor:var(--cursor-default);box-shadow:none}.rulebook-nav-button--next{justify-content:flex-end}.rulebook-nav-button__content{min-width:0;display:flex;flex-direction:column}.rulebook-nav-button__icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center}.rulebook-nav-button__label{font-size:.78rem;text-transform:uppercase;color:#d8c49a}.rulebook-nav-button__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.96rem}.rulebook-toc{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;pointer-events:none}.rulebook-toc__scrim{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0b0c098f;opacity:0;transition:opacity .2s ease}.rulebook-toc__panel{position:absolute;top:0;left:0;height:100%;width:min(100%,420px);transform:translate(-100%);transition:transform .2s ease;background:linear-gradient(180deg,#f7f1e3fa,#ece1cafa),url(/assets/extras/papertexture_tiling_strong.png);border-right:1px solid rgba(82,66,52,.18);box-shadow:18px 0 32px #0000002e;display:flex;flex-direction:column}.rulebook-toc--open{pointer-events:auto}.rulebook-toc--open .rulebook-toc__scrim{opacity:1}.rulebook-toc--open .rulebook-toc__panel{transform:translate(0)}.rulebook-toc__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:calc(env(safe-area-inset-top) + 1rem) 1rem 1rem;border-bottom:1px solid rgba(82,66,52,.1)}.rulebook-toc__eyebrow{font-size:.76rem;text-transform:uppercase;color:#7a6655}.rulebook-toc__header h2{margin-top:.3rem;font-size:1.5rem;color:#2e241d}.rulebook-toc__header .rulebook-icon-button{color:#2e241d;background:#485b4014;border-color:#5242341f}.rulebook-toc__body{flex:1;overflow-y:auto;padding:.5rem 1rem 1.5rem}.rulebook-search{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:.65rem;margin-bottom:1rem;padding:.85rem .95rem;border-radius:8px;background:#fffbf3e6;border:1px solid rgba(82,66,52,.12)}.rulebook-search__icon{color:#7a6655}.rulebook-search__input{width:100%;border:0;background:transparent;color:#2e241d;font-size:.98rem}.rulebook-search__input::placeholder{color:#8a7664}.rulebook-search-results__summary{margin-bottom:.75rem;font-size:.82rem;text-transform:uppercase;color:#7a6655}.rulebook-search-results__list{display:flex;flex-direction:column;gap:.65rem}.rulebook-search-result{width:100%;display:flex;flex-direction:column;gap:.25rem;padding:.9rem .95rem;border-radius:8px;background:#485b4014;border:1px solid rgba(82,66,52,.08)!important;color:#2e241d;text-align:left;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}.rulebook-search-result:hover:not(:disabled){background:#485b4024;border-color:#52423429!important;transform:translateY(-1px);box-shadow:0 8px 16px #1e191314}.rulebook-search-result__meta{font-size:.76rem;text-transform:uppercase;color:#7a6655}.rulebook-search-result__title{font-size:1rem;font-weight:700}.rulebook-search-result__description,.rulebook-search-results__empty{font-size:.92rem;line-height:1.5;color:#5e4d40}.rulebook-toc__section+.rulebook-toc__section{margin-top:1rem}.rulebook-toc__section-button,.rulebook-toc__step-button{width:100%;text-align:left;border-radius:8px}.rulebook-toc__section-button{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem .95rem;background:#485b4014;border:1px solid rgba(82,66,52,.08)!important;color:#2e241d;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}.rulebook-toc__section-button:hover:not(:disabled){background:#485b4021;border-color:#52423429!important;transform:translateY(-1px);box-shadow:0 8px 16px #1e191314}.rulebook-toc__section-button.is-current{background:#485b4029;border-color:#5242342e!important}.rulebook-toc__steps{margin-top:.45rem;list-style:none}.rulebook-toc__step-button{padding:.72rem .95rem;color:#5d4b3f;background:transparent;border:1px solid transparent!important;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.rulebook-toc__step-button:hover:not(:disabled){background:#485b4014;border-color:#5242341a!important;color:#2e241d;transform:translate(2px)}.rulebook-toc__step-button.is-current{background:#d4b5772e;border-color:#52423424!important;color:#2e241d;font-weight:700}.rulebook-glossary{position:fixed;top:0;right:0;bottom:0;left:0;z-index:31;pointer-events:none}.rulebook-glossary--open{pointer-events:auto}.rulebook-glossary__scrim{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0b0c096b;opacity:0;transition:opacity .2s ease}.rulebook-glossary__scrim--open{opacity:1}.rulebook-glossary__panel{position:absolute;left:0;right:0;bottom:0;max-height:min(78vh,720px);transform:translateY(100%);transition:transform .2s ease;background:linear-gradient(180deg,#f7f1e3fa,#ece1cafa),url(/assets/extras/papertexture_tiling_strong.png);border-top-left-radius:8px;border-top-right-radius:8px;border:1px solid rgba(82,66,52,.14);box-shadow:0 -18px 34px #0000002e;display:flex;flex-direction:column}.rulebook-glossary--open .rulebook-glossary__panel{transform:translateY(0)}.rulebook-glossary__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1rem .9rem;border-bottom:1px solid rgba(82,66,52,.1)}.rulebook-glossary__eyebrow{display:inline-flex;align-items:center;gap:.45rem;font-size:.78rem;text-transform:uppercase;color:#7a6655}.rulebook-glossary__header h2{margin-top:.3rem;font-size:1.7rem;color:#2e241d}.rulebook-glossary__body{overflow-y:auto;padding:1rem}.rulebook-glossary__summary,.rulebook-glossary__detail{font-size:1rem;line-height:1.65}.rulebook-glossary__detail{margin-top:.9rem;color:#5d4b3f}.rulebook-glossary__aliases{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1rem}.rulebook-glossary__alias{padding:.38rem .65rem;border-radius:999px;background:#485b4014;font-size:.82rem;color:#5d4b3f}.rulebook-glossary__related{margin-top:1.25rem}.rulebook-glossary__related h3{margin-bottom:.7rem;font-size:.98rem;color:#2e241d}.rulebook-glossary__related-list{display:flex;flex-direction:column;gap:.65rem}.rulebook-glossary__related-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem .95rem;border-radius:8px;background:#485b4014;border:1px solid rgba(82,66,52,.08)!important;color:#2e241d;text-align:left;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}.rulebook-glossary__related-button:hover:not(:disabled){background:#485b4024;border-color:#52423429!important;transform:translateY(-1px);box-shadow:0 8px 16px #1e191314}.rulebook-glossary__related-copy{min-width:0;display:flex;flex-direction:column;gap:.25rem}.rulebook-glossary__related-section{font-size:.76rem;text-transform:uppercase;color:#7a6655}.rulebook-glossary__related-title{font-size:.96rem;font-weight:700}.rulebook-app--modal{position:relative;min-height:100%;height:100%;display:flex;flex-direction:column;border-radius:inherit}.rulebook-app--modal .rulebook-topbar{position:relative;top:auto;left:auto;right:auto;flex:0 0 auto;padding:1rem}.rulebook-app--modal .rulebook-stage{flex:1 1 auto;min-height:0;height:auto;padding:1rem 1rem var(--rulebook-stage-bottom-clearance)}.rulebook-app--modal .rulebook-navigation{position:relative;left:auto;right:auto;bottom:auto;margin-top:auto;flex:0 0 auto}.rulebook-app--modal .rulebook-toc,.rulebook-app--modal .rulebook-glossary{position:absolute;top:0;right:0;bottom:0;left:0}.rulebook-app--modal .rulebook-toc__header,.rulebook-app--modal .rulebook-glossary__header{padding-top:1rem}@media(min-width:900px){.rulebook-topbar,.rulebook-navigation{padding-left:max(1.5rem,env(safe-area-inset-left));padding-right:max(1.5rem,env(safe-area-inset-right))}.rulebook-stage{padding-top:calc(var(--rulebook-topbar-height) + env(safe-area-inset-top) + 2rem)}.rulebook-card{padding:1.6rem}.rulebook-card__body--with-visual{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:1.25rem;align-items:start}.rulebook-card__visual{margin-bottom:0}.rulebook-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.rulebook-glossary__panel{top:96px;right:1rem;left:auto;bottom:calc(var(--rulebook-footer-height) + 1rem);width:min(420px,calc(100vw - 2rem));max-height:none;transform:translate(110%);border-radius:8px}.rulebook-glossary--open .rulebook-glossary__panel{transform:translate(0)}}@media(max-width:640px){.rulebook-app{--rulebook-topbar-height: 100px;--rulebook-footer-height: 196px}.rulebook-navigation{grid-template-columns:1fr}.rulebook-nav-button{position:relative;justify-content:center}.rulebook-nav-button__content{align-items:center;text-align:center}.rulebook-nav-button__icon{position:absolute;top:50%;transform:translateY(-50%)}.rulebook-nav-button__icon--left{left:1rem}.rulebook-nav-button__icon--right{right:1rem}.rulebook-nav-button__title{white-space:normal}.rulebook-stat-grid,.rulebook-phase-strip,.rulebook-setup-diagram,.rulebook-sigil-loop__track,.rulebook-draft-flow__summary{grid-template-columns:1fr 1fr}.rulebook-draft-flow__sequence{grid-template-columns:1fr}.rulebook-setup-zone--board{min-height:180px;grid-column:1 / -1}.rulebook-sigil-loop__pulse{display:none}.rulebook-combat-loop__lane,.rulebook-unit-card__stats{grid-template-columns:1fr}.rulebook-combat-loop__arrow{width:2px;height:26px;margin:0 auto;background:linear-gradient(180deg,#a85c1733,#a85c17c2)}.rulebook-combat-loop__arrow:after{left:50%;right:auto;top:auto;bottom:-1px;transform:translate(-50%) rotate(135deg)}}@keyframes rulebookSigilPulse{0%,12%{transform:translate(0);opacity:.25}25%,37%{transform:translate(calc(25% + .4rem));opacity:.5}50%,62%{transform:translate(calc(50% + .8rem));opacity:.55}75%,87%{transform:translate(calc(75% + 1.1rem));opacity:.4}to{transform:translate(0);opacity:.25}}@keyframes rulebookCombatSettle{0%,to{transform:translate(0);opacity:1}50%{transform:translate(3px);opacity:.88}}@font-face{font-family:BlackChancery;src:url(/fonts/BlackChancery.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}:root{--font-primary: "Averia Libre", serif;--font-card-name: "BlackChancery", "Palatino Linotype", serif;--font-helper: "Kalam", cursive;--card-type-action-surface: linear-gradient(135deg, #495b69, #3d4d5a);--card-type-battlefield-surface: linear-gradient(135deg, #4e6140, #3d4d32);--card-type-equipment-surface: linear-gradient(135deg, #524766, #423957);--card-type-mercenary-surface: linear-gradient(135deg, #6e3e2b, #5a3223);--scrollbar-size: 10px;--scrollbar-radius: 999px;--scrollbar-track: rgba(44, 57, 47, .16);--scrollbar-thumb: rgba(109, 127, 94, .42);--scrollbar-thumb-hover: rgba(130, 148, 114, .56);--scrollbar-thumb-active: rgba(150, 168, 133, .66);--scrollbar-thumb-border: rgba(244, 228, 193, .08)}*{margin:0;padding:0;box-sizing:border-box}*{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input,textarea,[contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}img{-webkit-user-drag:none;user-drag:none;pointer-events:auto}body{font-family:var(--font-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f9f5e5;color:#493a30}*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}*::-webkit-scrollbar{width:var(--scrollbar-size);height:var(--scrollbar-size)}*::-webkit-scrollbar-track{background:var(--scrollbar-track);border-radius:var(--scrollbar-radius)}*::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:2px solid transparent;border-radius:var(--scrollbar-radius);background-clip:padding-box;box-shadow:inset 0 0 0 1px var(--scrollbar-thumb-border)}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}*::-webkit-scrollbar-thumb:active{background:var(--scrollbar-thumb-active)}*::-webkit-scrollbar-corner{background:transparent}@supports (scrollbar-gutter: stable){.mulligan-content,.selection-content,.riposte-body,.modal-preview-lab-list,.promotion-cards-grid,.pawn-promotion-modal,.discard-pile-content,.right-panel-content:not(.debug-panel-content),.tutorial-select,.debug-panel-content,.debug-card-list.scrollable,.hand-cards-grid,.friend-picker-list{scrollbar-gutter:stable both-edges}}#root{width:100vw;height:100vh;overflow:hidden;display:flex;align-items:center;justify-content:center}button{font-family:inherit;cursor:var(--cursor-pointer);border:none;outline:none}button:disabled{cursor:var(--cursor-not-allowed);opacity:.5}.game-overlay{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:1000;background:#000000b3}.game-modal-shell{background:linear-gradient(135deg,#2d4a3e,#1a2e26);border:3px solid #8b7355;border-radius:12px;box-shadow:0 8px 32px #00000080}.card-choices-grid{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;padding:16px;background:linear-gradient(180deg,#00000024,#0000003d);border:1px solid rgba(139,127,95,.28);border-radius:12px;box-shadow:inset 0 1px #f4e4c10a}.card-choice-item{position:relative;cursor:var(--cursor-pointer);transition:transform .2s ease,box-shadow .2s ease;border-radius:8px}.card-choice-item:hover{transform:translateY(-4px)}.card-choice-fallback{display:flex;align-items:center;justify-content:center;border-radius:8px;color:#f4e4c1;text-align:center}.card-choice-fallback--forest{background:linear-gradient(135deg,#4a5f52,#3a4f42);border:2px solid #6b7f6f;font-weight:600}.card-choice-fallback--transparent{background:#0000004d;border:2px solid rgba(139,127,95,.4)}
