/* Shared Dinosgacha identity. Component sheets own their own content. */
.brand-mark{display:block;width:48px;height:48px;flex:none;overflow:visible}
.brand-wordmark{display:block;font-family:var(--heading,'Manrope',sans-serif);font-size:24px;font-weight:850;line-height:1;letter-spacing:-1.2px;color:#eef1eb;white-space:nowrap}
.brand-wordmark b{color:inherit;font-weight:inherit}
.game-brand{display:flex;align-items:center;gap:9px;padding:0;background:none;border:0}
.game-brand>.brand-wordmark:last-child{display:block;font-size:22px;letter-spacing:-.9px}
.game-brand .brand-mark{width:28px;height:38px}
.game-tabs>button>svg,.text-button>svg,.play-mode-fact>svg,.hud-amber>svg{stroke-width:1.65}
.game-brand:focus-visible{outline:2px solid #f5cd83;outline-offset:5px;border-radius:10px}
.starter-brand{display:flex;align-items:center;justify-content:center;gap:9px;letter-spacing:normal}
.starter-brand .brand-mark{width:42px;height:46px}.starter-brand .brand-wordmark{font-size:24px}
.loading>.brand-mark{width:70px;height:70px}.loading>p{font-family:var(--heading);font-size:20px;color:#f5cd83;font-weight:800;letter-spacing:-.5px}
.hatch-card-back .brand-mark{width:64px;height:64px}.memory-back .brand-mark{width:46px;height:46px;margin:auto}.mosaic-empty .brand-mark{width:40px;height:40px;margin:auto}
.login-brand,.admin-brand{display:flex;gap:9px;align-items:center}.login-brand>.brand-wordmark,.admin-brand>.brand-wordmark{font-size:26px;letter-spacing:-1.3px}.login-brand>.brand-mark,.admin-brand>.brand-mark{width:46px;height:50px}
.team-overview-header{grid-template-columns:minmax(0,1fr) auto}.team-overview-header .team-actions{grid-column:auto;grid-row:auto}
/* Keep each mode's useful content together instead of reserving empty rows. */
.adventure-hub .play-mode-grid{gap:16px}
.adventure-hub .play-mode-card{border-radius:18px;box-shadow:0 6px 18px #020d182b}
.adventure-hub .play-mode-art{aspect-ratio:1.95}
.adventure-hub .play-mode-copy{flex:1;min-height:0;padding:14px 18px 0;gap:0}
.adventure-hub .play-mode-copy strong{font-size:25px;line-height:1.2}
.adventure-hub .play-mode-description{min-height:0;max-width:none;margin:6px 0 0;font-size:13px;line-height:1.5}
.adventure-hub .play-mode-footer{background:none;border:0;min-height:0;padding:8px 18px 14px;gap:10px;flex-wrap:wrap}
.adventure-hub .play-mode-status{margin:0;font-size:12px;flex:1 1 auto;font-weight:650}
.play-mode-link{display:inline-flex;align-items:center;gap:7px;min-height:28px;font-size:12px;color:#f5cd83;font-weight:800;white-space:nowrap}
.play-mode-link svg{width:15px;height:15px}
.adventure-hub .play-mode-fact{font-size:10px;padding:4px 7px;border-radius:7px;background:#0b213352;border-color:#8cbdcc30}
@media(min-width:701px) and (max-width:1120px){.game-header{grid-template-columns:auto minmax(0,1fr) auto}.game-header .hud-wallets{grid-row:1;grid-column:3}}
@media(max-width:700px){.game-brand>.brand-wordmark:last-child{display:block;font-size:19px;letter-spacing:-.8px}.game-brand .brand-mark{width:33px;height:38px}.game-brand{gap:4px}.game-header{gap:8px;padding-inline:12px}.profile-chip span{max-width:72px}.adventure-hub .play-mode-art{aspect-ratio:1.45}.adventure-hub .play-mode-copy{padding:13px 14px 7px}.adventure-hub .play-mode-copy strong{font-size:22px}.adventure-hub .play-mode-description{font-size:12px;margin-top:6px}.adventure-hub .play-mode-footer{padding:8px 14px 13px}.adventure-hub .play-mode-status{font-size:11px}.play-mode-link{font-size:12px}.adventure-hub .play-mode-heading{align-items:center}.team-overview-header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.team-overview-header .team-actions{gap:12px}.starter-brand .brand-wordmark{font-size:22px}}
@media(max-width:360px){.game-brand>.brand-wordmark:last-child{font-size:17px}.game-brand .brand-mark{width:30px}.profile-chip span{max-width:54px}.game-header{gap:5px;padding-inline:9px}.hud-wallets{margin-inline-start:auto}.game-brand{gap:2px}}
@media(max-width:700px){
 .game-header{display:grid;grid-template-columns:minmax(0,1fr) 38px;grid-template-rows:38px 34px;gap:9px 10px;min-height:105px;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px}
 .game-header .game-brand{grid-row:1;grid-column:1;justify-self:start;min-width:0;gap:5px}
 .game-header .game-brand .brand-mark{width:30px;height:32px;margin-inline-start:-5px;margin-inline-end:5px}
 .game-header .game-brand>.brand-wordmark:last-child{font-size:20px}
 .game-header .profile-chip{grid-row:1;grid-column:2;order:0;justify-self:end;margin:0;padding:0;min-height:38px;max-width:38px;gap:0}
 .game-header .profile-chip img{width:36px;height:36px}
 .game-header .profile-chip span{display:none}
 .game-header .hud-wallets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-row:2;grid-column:1/-1;order:0;margin:0;padding:0;border:0;gap:9px;min-width:0}
 .game-header .hud-wallets .hud-wallet,.game-header .hud-wallets .crystal-wallet.is-compact{justify-content:center;min-height:34px;height:34px;font-size:12px;padding:5px 12px;border-radius:10px;border:1px solid #d6ad5540;background:#d6ad5509}
 .game-header .hud-wallets .crystal-wallet.is-compact{border-color:#74cbe53d;background:#74cbe50a}
 .adventure-hub .play-mode-card{grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto auto}
 .adventure-hub .play-mode-art{grid-row:1/3;grid-column:1;aspect-ratio:auto;min-height:132px;height:100%}
 .adventure-hub .play-mode-copy{grid-row:1;grid-column:2;padding:13px 12px 0}
 .adventure-hub .play-mode-heading{flex-wrap:wrap;gap:6px}
 .adventure-hub .play-mode-description{margin:6px 0 0}
 .adventure-hub .play-mode-footer{grid-row:2;grid-column:2;padding:6px 12px 11px;gap:3px}
 .adventure-hub .play-mode-status{flex-basis:100%;font-size:10px}
 .adventure-hub .play-mode-link{min-height:27px}
}
@media(max-width:359px){.game-header{padding-inline:12px;column-gap:7px}.game-header .game-brand>.brand-wordmark:last-child{font-size:18px}}
svg.inline-amber{display:inline-block;width:1em;height:1em;vertical-align:-.13em;flex-shrink:0}

.collection-tier-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0;padding:10px 2px 6px;border-bottom:1px solid color-mix(in srgb,var(--rarity) 35%,transparent);color:var(--rarity);font-size:14px}.collection-tier-heading>span{display:flex;align-items:center;gap:9px}.collection-tier-heading>span>b{display:grid;place-items:center;width:25px;height:25px;border:1px solid currentColor;border-radius:7px;font-size:12px}.collection-tier-heading>small{font-size:12px;color:var(--muted)}
.fusion-modal{max-width:760px}.fusion-workshop{padding:22px}.fusion-scene{position:relative;isolation:isolate;min-height:0}.fusion-inputs{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);align-items:center;gap:12px;max-width:500px;margin:auto}.fusion-parent{min-width:0}.fusion-parent .dino-card,.fusion-result-card .dino-card{width:100%;margin:0;cursor:default}.fusion-parent .dino-card .art,.fusion-result-card .dino-card .art{aspect-ratio:1;min-height:0}.fusion-parent .dino-card .card-body,.fusion-result-card .dino-card .card-body{padding:10px}.fusion-join{display:grid;place-items:center;width:34px;height:34px;border:1px solid #f5cd8355;border-radius:50%;background:#f5cd8310;color:#f5cd83}.fusion-join svg{width:18px;height:18px}.fusion-promotions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:18px 0 14px}.fusion-promotions>span{display:flex;align-items:center;gap:7px;padding:8px 12px;border-radius:9px;background:#081b2c;border:1px solid #c5dbed20;font-size:13px}.fusion-promotions>span:first-child{color:var(--rarity)}.fusion-promotions svg{width:14px;height:14px}.fusion-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.fusion-stat-grid>div{display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 5px;border:1px solid #bbd6e31c;border-radius:11px;background:#081a2a99}.fusion-stat-grid small{font-size:11px;color:var(--muted)}.fusion-stat-grid span{display:flex;align-items:center;gap:5px;font-size:12px}.fusion-stat-grid span svg{width:12px;height:12px;opacity:.6}.fusion-stat-grid strong{color:#80d4b6;font-size:13px}.fusion-workshop>.detail-actions{justify-content:center;margin-top:20px;gap:12px}.fusion-scene.is-complete{min-height:330px;display:grid;place-items:center}.fusion-scene.is-complete>.fusion-inputs{position:absolute;inset:0;width:100%;align-self:start;max-width:500px}.fusion-scene.is-complete .fusion-parent-0{animation:fusion-left 1.2s ease-in both}.fusion-scene.is-complete .fusion-parent-1{animation:fusion-right 1.2s ease-in both}.fusion-scene.is-complete .fusion-join{animation:fusion-away .8s ease-in both}.fusion-flare{position:absolute;inset:10% 12%;z-index:2;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse,#fff4d7 0%,var(--fusion-color) 15%,transparent 65%);animation:fusion-burst 1.8s both}.fusion-result-card{position:relative;z-index:3;width:min(220px,60%);animation:fusion-emerge 1.9s cubic-bezier(.18,.7,.3,1) both}.fusion-result-card .dino-card{box-shadow:0 0 30px color-mix(in srgb,var(--fusion-color) 30%,transparent)}.fusion-outcome.is-complete,.fusion-finish{animation:fusion-rewards 1.9s ease both}
@keyframes fusion-left{0%,20%{opacity:1;transform:translateX(0) rotate(0)}75%{opacity:.9;transform:translateX(55%) rotate(9deg) scale(.85)}100%{opacity:0;transform:translateX(65%) scale(.15);visibility:hidden}}@keyframes fusion-right{0%,20%{opacity:1;transform:translateX(0) rotate(0)}75%{opacity:.9;transform:translateX(-55%) rotate(-9deg) scale(.85)}100%{opacity:0;transform:translateX(-65%) scale(.15);visibility:hidden}}@keyframes fusion-away{0%,60%{opacity:1}100%{opacity:0;visibility:hidden}}@keyframes fusion-burst{0%,45%{opacity:0;transform:scale(.3)}63%{opacity:.9;transform:scale(1.1)}100%{opacity:0;transform:scale(1.25)}}@keyframes fusion-emerge{0%,62%{opacity:0;transform:scale(.5);visibility:hidden}78%{opacity:1;transform:scale(1.07);visibility:visible}100%{opacity:1;transform:scale(1);visibility:visible}}@keyframes fusion-rewards{0%,70%{opacity:0;visibility:hidden;transform:translateY(6px)}100%{opacity:1;visibility:visible;transform:translateY(0)}}
@media(max-width:500px){.fusion-workshop{padding:16px 12px}.fusion-inputs{gap:8px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)}.fusion-join{width:24px;height:24px}.fusion-parent .dino-card .card-body{padding:8px}.fusion-parent .dino-card h3{font-size:11px}.fusion-parent .dino-card .nature-badge{font-size:9px}.fusion-parent .dino-card .power-score{font-size:12px}.fusion-stat-grid{gap:5px}.fusion-stat-grid span{font-size:11px;gap:3px}.fusion-promotions{gap:6px}.fusion-promotions>span{padding:7px 9px;font-size:12px}.fusion-scene.is-complete{min-height:300px}}
@media(prefers-reduced-motion:reduce){.fusion-scene.is-complete .fusion-inputs,.fusion-flare{display:none}.fusion-result-card,.fusion-outcome.is-complete,.fusion-finish{animation:none}.fusion-result-card{opacity:1;transform:none;visibility:visible}}

.fusion-workshop .dino-card{pointer-events:none}.fusion-workshop .dino-card:hover{transform:none}.fusion-workshop .dino-card .card-body{min-height:0}.fusion-workshop .dino-card .card-body h3{min-height:0;margin:0 0 8px;font-size:13px}.fusion-workshop .card-summary{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.fusion-workshop .card-summary .nature-badge{margin:0;font-size:10px}.fusion-workshop .card-summary .power-score{display:inline-flex;align-items:center;gap:4px;margin:0;padding:0;border:0;white-space:nowrap}.fusion-workshop .card-summary .power-score svg{width:14px;height:14px}.fusion-workshop .card-summary .power-score b{font-size:17px;line-height:1}.fusion-workshop .fusion-scene.is-complete{min-height:300px}@media(max-width:500px){.fusion-workshop .fusion-scene.is-complete{min-height:280px}.fusion-workshop .dino-card .card-body h3{font-size:11px}.fusion-workshop .card-summary .nature-badge{font-size:8px}.fusion-workshop .card-summary .power-score b{font-size:13px}}
