/* Round, fixed-aspect resource tokens; never stretch into long ovals. */
.personal285 .stances285,.personal285 .elements285{grid-template-columns:repeat(3,minmax(0,66px));justify-content:center;gap:clamp(5px,1.2vw,16px);margin:10px 0}
.personal285 .stances285>span,.personal285 .element-slot285{aspect-ratio:1;width:100%;height:auto;min-height:0;border-radius:50%;padding:5px;box-sizing:border-box;flex-direction:column;gap:1px;box-shadow:inset 0 0 0 3px #171c1926}
.personal285 .stances285 svg,.personal285 .elements285 svg{width:28px;height:28px;max-width:55%;flex-shrink:1}
.personal285 .stances285 b{font-size:16px;line-height:1}.personal285 .stances285 i{top:-3px;right:0;background:var(--panel263,#26291f);border-radius:50%;padding:0 3px}
.personal285 .element-slot285 b{font-size:11px;line-height:1.1}.personal285 .element-slot285.empty b{font-size:22px}
.personal285 .stances285 .complete{box-shadow:inset 0 0 0 3px #d9bd6720,0 0 9px #c0a15a24}
@media(max-width:600px){.personal285 .stances285,.personal285 .elements285{gap:5px}.personal285 .stances285>span,.personal285 .element-slot285{padding:3px}.personal285 .stances285 svg,.personal285 .elements285 svg{width:22px;height:22px}.personal285 header strong{font-size:13px}.personal285 footer{font-size:12px}.personal285 .stances285 b{font-size:13px}.personal285 .element-slot285 b{font-size:10px}}
/* A selected target stays readable in both themes and through turn changes. */
body .queen-target109 button.active109,body.tavern263 #ai-queen109 .queen-target109 button.active109{background:#e4ca88!important;color:#29251b!important;border:2px solid #fff0ba!important;box-shadow:inset 0 1px 0 #fff5d6,0 0 0 1px #8c7543!important;opacity:1!important;text-shadow:none!important;font-weight:800}
.queen-target109 button.active109:before{content:'✓ ';font-weight:900}
.queen-hero-target286{outline:2px solid #e4ca88;outline-offset:3px}
body .queen-swarm-target286,body.tavern263 #ai-queen109 .queen-swarm-target286{border-color:#f5d38a!important;box-shadow:inset 0 0 22px #d6b65b30,0 0 0 1px #c5aa63!important}
/* Status is the material of the card itself, not a floating status icon. */
body .game-card[data-material286]{position:relative;isolation:isolate;opacity:1!important;filter:none!important}
.card-material286{position:absolute;inset:0;display:block;pointer-events:none;z-index:3;border-radius:inherit;overflow:hidden}
.card-material286 svg{display:block;width:100%;height:100%;fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.bound-material286{background:linear-gradient(24deg,transparent 18%,#d7e0dc15 19%,transparent 22%,transparent 70%,#edf2df19 71%,transparent 74%)}
.bound-material286 svg{stroke:#e0e5d6;stroke-width:.85;filter:drop-shadow(0 1px 1px #111d18);opacity:.8}
body .game-card.card-bound286{border-color:#d0d5be!important;box-shadow:inset 0 0 12px #d8dfc83d!important}
body .game-card.card-stone286{background:linear-gradient(140deg,#91958c,#535a55 42%,#71776e 68%,#434c47)!important;border-color:#b4b7a7!important;border-top-color:#b4b7a7!important;box-shadow:inset 2px 2px 1px #c4c6b966,inset -3px -3px 2px #202e2980!important}
body .game-card.card-stone286 .card-art-frame{filter:grayscale(1) contrast(.75) brightness(.9);opacity:.63}
.stone-material286{background:linear-gradient(142deg,#c9ccbb35,transparent 35%,#20322b33),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.76%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22%20opacity%3D%22.24%22%2F%3E%3C%2Fsvg%3E")}
.stone-material286 svg{stroke:#263d32;stroke-width:1.5;filter:drop-shadow(1px 1px 0 #d5d9c29c)}
body .game-card[data-material286] .card-name,body .game-card[data-material286] .card-text,body .game-card[data-material286] .card-topline{position:relative;z-index:4}
body .game-card.card-stone286 .card-name,body .game-card.card-stone286 .card-text{color:#fff9e8!important;text-shadow:0 1px 2px #15231d,0 0 3px #15231d}
body .game-card[data-material286] .petrified-badge{display:none}
body .game-card .card-status286{position:absolute;top:7px;left:6px;right:32px;z-index:6;display:block;width:max-content;max-width:calc(100% - 39px);padding:2px 4px;border:1px solid #c6cdb3;border-radius:3px;background:#26372feb;color:#fff5d6;font-size:10px;font-weight:800;line-height:1.2;pointer-events:none;white-space:normal;text-align:left;text-shadow:none;box-shadow:0 1px 3px #0008}
@media(max-width:600px){body .game-card .card-status286{font-size:9px;padding:2px 3px;top:6px;left:4px;right:29px;max-width:calc(100% - 33px)}}
