/* Shared Aurora workbench finish. Card geometry and pitch controls remain intact. */
:root { --muted: #b7a9c7; --panel: #170f23; --line: rgba(209,174,255,.18); --shadow: 0 16px 46px #04010b45; }
body { font-size: 1rem; line-height: 1.5; }
button, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, input, select { max-width: 100%; }
input::placeholder { color: #a190b2; }
.site-header { min-height: 80px; height: auto; padding: 10px max(20px, calc((100vw - 1480px)/2)); gap: 22px; background: #0d0716ed; }
.brand > span > b { font-size: 15px; letter-spacing: .07em; }
.brand small { font-size: 12px; letter-spacing: .04em; }
.site-header nav { align-self: stretch; height: auto; align-items: stretch; }
.site-header nav button { padding-inline: 14px; font-size: 14px; border-radius: 8px; }
.site-header nav button:hover { background: #b276eb0b; }
.nav-search { height: 44px; border-radius: 10px; width: min(250px, 20vw); }
.nav-search input { font-size: 14px; }
.nav-search:focus-within { border-color: #c084fc; box-shadow: 0 0 0 3px #a855f71c; }
.header-status { font-size: 12px; }
main { width: min(1440px, calc(100% - 48px)); }
.page { padding-top: 28px; padding-bottom: 56px; }
.kicker { font-size: 12px; letter-spacing: .1em; color: #cfa6f5; line-height: 1.5; }
.primary, .secondary, .load-more { font-size: 14px; min-height: 46px; }
.secondary { background: #211430; border-color: #614176; }
.hero { min-height: 350px; grid-template-columns: 1.12fr 1fr; gap: 28px; padding: 36px 40px; border-radius: 22px; background: radial-gradient(ellipse at 90% 0%, #763ab22b, transparent 60%), linear-gradient(120deg, #241038, #150b22); }
.hero h1 { font-size: clamp(36px, 3.5vw, 54px); line-height: 1.08; letter-spacing: -.045em; margin: 14px 0 16px; }
.hero-copy > p { color: #c2b3ce; font-size: 16px; line-height: 1.65; }
.hero-actions { margin-top: 22px; flex-wrap: wrap; }
.trust-row { margin-top: 22px; gap: 12px 22px; font-size: 12px; letter-spacing: .025em; text-transform: none; color: #c2acd3; }
.trust-row span:last-child { padding: 6px 10px; color: #a0edc8; border: 1px solid #58e8b62b; background: #58e8b60a; border-radius: 999px; }
.trust-row svg { width: 16px; }
.hero-cards { height: 300px; min-width: 0; }
.hero-cards .fut-card { width: 195px; }
.hero-cards .card-caption { display: none; }
.hero-cards .fut-card:nth-child(1) { transform: translateX(-130px) rotate(-8deg) scale(.92); }
.hero-cards .fut-card:nth-child(3) { transform: translateX(130px) rotate(8deg) scale(.92); }
.hero-cards .fut-card:nth-child(1):hover { transform: translateX(-130px) translateY(-8px) rotate(-5deg) scale(.96); }
.hero-cards .fut-card:nth-child(3):hover { transform: translateX(130px) translateY(-8px) rotate(5deg) scale(.96); }
.metrics { gap: 16px; margin: 20px 0; }
.metric { min-height: 124px; padding: 22px; gap: 16px; border-radius: 16px; }
.metric > svg { width: 42px; height: 42px; padding: 9px; border: 1px solid #b66dea28; }
.metric small { font-size: 12px; color: #b9a6ca; letter-spacing: .04em; }
.metric b { font-size: 32px; color: #f8edff; }
.metric p { font-size: 13px; color: #a998b9; }
.overview-grid { grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; }
.content-panel { padding: 26px; border-radius: 18px; }
.panel-head { margin-bottom: 18px; align-items: center; }
.panel-head h2 { font-size: 26px; line-height: 1.2; }
.text-link { padding: 9px 12px; font-size: 14px; color: #dec1f7; border: 1px solid #9765bb50; border-radius: 8px; background: #a855f70b; white-space: nowrap; }
.text-link:hover { background: #a855f723; border-color: #bc79f3; }
.player-row { display: flex; align-items: start; gap: 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #755091 #100a19; padding: 4px 0 12px; scroll-snap-type: x proximity; }
.player-row .fut-card, .player-row .fut-card:nth-child(n+3) { display: grid; flex: 0 0 174px; scroll-snap-align: start; padding-bottom: 12px; }
.card-caption { padding: 8px 8px 0; }
.card-caption b { font-size: 14px; line-height: 1.4; color: #f5e9ff; }
.card-caption small { font-size: 12px; color: #ad97bf; line-height: 1.4; }
.champs-panel { min-height: 0; padding: 26px; border-radius: 18px; }
.champs-top { font-size: 12px; letter-spacing: .03em; gap: 10px; }
.champs-shield { width: 66px; height: 66px; margin: 20px 0 18px; }
.champs-panel h2 { font-size: 26px; line-height: 1.2; }
.champs-panel > p { font-size: 16px; line-height: 1.55; color: #c3b0d2; }
.countdown { margin: 22px 0; gap: 8px; }
.countdown small { font-size: 12px; color: #b7a0c9; letter-spacing: .05em; }
.countdown b { font-size: 26px; font-variant-numeric: tabular-nums; }
.champs-foot { position: relative; left: auto; right: auto; bottom: auto; padding-top: 16px; gap: 16px; font-size: 12px; color: #b6a2c5; }
.champs-foot b { font-size: 17px; color: #f0e2fb; }
.sbc-strip { margin-top: 20px; }
.sbc-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.database .page-head { padding: 26px 30px; border-radius: 18px; margin-bottom: 20px; background: radial-gradient(ellipse at 100% 0, #9c48dc22, transparent 55%), linear-gradient(105deg, #21132f, #130d1c); border-color: #b97bf52b; }
.database .page-head h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.15; margin: 6px 0 10px; }
.database .page-head p { font-size: 16px; line-height: 1.6; color: #b9a8c8; max-width: 760px; }
.source-chip { font-size: 14px; letter-spacing: 0; padding: 10px 14px; background: #a855f712; }
.chip-row { gap: 8px; padding: 14px; margin: 0 0 16px; border-radius: 12px; }
.filter-chip { font-size: 14px; padding: 9px 14px; min-height: 44px; color: #c0afce; }
.filter-chip span { margin-left: 5px; padding: 2px 7px; border-radius: 999px; font-size: 12px; background: #d8b4fe12; color: #e0c2f4; }
.filter-chip.active { background: #863ac540; border-color: #a75cdf; color: white; }
.sbc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sbc-card, .sbc-preview .sbc-card { grid-template-columns: 68px minmax(0, 1fr); border-radius: 16px; background: linear-gradient(125deg, #221431, #160e21); }
.sbc-art { min-height: 100%; background: radial-gradient(circle at top, #b47fe92e, transparent 60%), linear-gradient(160deg, #502575, #28123f); }
.sbc-art span { width: 38px; height: 42px; border-radius: 10px; clip-path: none; background: #dcb1fa17; color: #dec1f7; }
.sbc-art svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.sbc-art > b { left: 0; bottom: 20px; width: 100%; text-align: center; font-size: 12px; color: #ba93d5; letter-spacing: .09em; }
.sbc-body { padding: 22px; display: flex; flex-direction: column; }
.sbc-label { font-size: 12px; letter-spacing: .035em; flex-wrap: wrap; color: #cba4e4; align-items: center; }
.sbc-label b { font-size: 12px; padding: 3px 7px; border: 1px solid #c99bea30; background: #c99bea0a; border-radius: 5px; color: #d1b5e7; }
.sbc-body h3 { font-size: 22px; line-height: 1.25; margin: 14px 0 10px; }
.sbc-body > p, .sbc-preview .sbc-body > p { display: block; height: auto; overflow: visible; margin-bottom: 20px; color: #b6a5c4; font-size: 16px; line-height: 1.55; }
.sbc-stats, .sbc-preview .sbc-stats { display: flex; gap: 30px; padding: 15px 0; margin-top: auto; }
.sbc-stats small { font-size: 12px; color: #a894ba; text-transform: none; }
.sbc-stats b { font-size: 17px; color: #e8d3f8; line-height: 1.5; }
.reward-block { padding-top: 14px; border-top: 1px solid var(--line); }
.reward-block > small { font-size: 12px; color: #a894ba; }
.rewards { gap: 7px; margin-top: 8px; }
.rewards span, .pack-flags span { font-size: 13px; line-height: 1.4; padding: 6px 9px; color: #d6bde9; border-color: #b77fe32e; background: #9c51d50b; border-radius: 6px; }
.catalogue-toolbar { margin: 0 0 22px; padding: 16px; }
.catalogue-toolbar input[type="search"] { flex: 1; width: auto; min-width: 0; max-width: 540px; height: 46px; font-size: 16px; }
.catalogue-toolbar select { min-height: 44px; }
.pack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 0; }
.pack-row { grid-template-columns: 80px minmax(0, 1fr); align-items: start; column-gap: 22px; row-gap: 24px; padding: 26px; min-height: 250px; border-radius: 18px; background: radial-gradient(ellipse at 0 0, #9c48dc12, transparent 60%), linear-gradient(125deg, #211430, #130c1d); }
.pack-row:hover { transform: translateY(-3px); }
.pack-icon { width: 76px; height: 98px; margin-top: 4px; }
.pack-icon span { display: grid; place-items: center; }
.pack-icon svg { width: 30px; height: 30px; stroke: #241a0a; fill: none; stroke-width: 1.4; }
.pack-copy .kicker { font-size: 12px; letter-spacing: .07em; }
.pack-copy h3 { font-size: 25px; line-height: 1.2; margin-top: 6px; }
.pack-copy p { margin: 14px 0; color: #beadcc; font-size: 16px; line-height: 1.55; }
.pack-flags { gap: 8px; }
.pack-flags b { color: #f2e2ff; }
.pack-price { grid-column: 1 / -1; display: flex; gap: 40px; min-width: 0; border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; text-align: left; align-self: end; }
.pack-price span { gap: 4px; text-transform: none; }
.pack-price small { color: #b9a5c9; font-size: 13px; }
.pack-price b { font-size: 26px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.coin-price b { color: #f3d589; }
.points-price b { color: #b8ecd1; }
.database-filters { border-radius: 14px; gap: 12px; padding: 16px; background: #160f20; overflow: visible; margin-bottom: 14px; }
.database-filters label { padding: 0; background: transparent; }
.database-filters label > span { font-size: 14px; color: #c4b2d3; letter-spacing: .015em; text-transform: none; }
.database-filters input, .database-filters select { height: 46px; padding-inline: 12px; border-radius: 8px; border-color: #493452; }
.database-toolbar { border-radius: 12px; padding: 14px 16px; color: #c7b3d7; }
.database-toolbar select { min-height: 42px; }
.database-card-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.database-card { border: 1px solid #b775e024; border-radius: 16px; background: radial-gradient(ellipse at 50% 20%, #9356d619, transparent 70%), #130c1c; padding: 10px 8px 8px; }
.database-card .fut-card { border-radius: 12px; }
.database-card .card-caption { width: 100%; padding: 4px 8px 0; }
.database-card .card-caption b { font-size: 16px; }
.database-card .card-caption small { font-size: 13px; }
.player-table-wrap { border-radius: 14px; scrollbar-width: thin; scrollbar-color: #755091 #100a19; }
.player-table { font-size: 14px; }
.player-table td { height: 96px; padding: 8px 14px; }
.player-table th { height: 50px; font-size: 12px; letter-spacing: .03em; background: #1c1129; }
.player-table tbody tr:nth-child(even) { background: #b57eeb04; }
.player-table tbody tr:hover { background: #a855f714; }
.player-table-main > span:last-child > b { font-size: 16px; }
.player-table-main > span:last-child > small { color: #b09bbe; }
.player-table-main .player-thumb { flex-basis: 62px; width: 62px; height: 82px; }
.player-table-main .player-thumb > b { font-size: 15px; }
.player-table-main .player-thumb > small { font-size: 8px; }
.rating-cell { width: 38px; height: 38px; font-size: 16px; }
.version-cell { font-size: 13px; }
.stat-cell { min-width: 36px; height: 33px; font-size: 14px; }
.load-more span { font-size: 13px; color: #b29ac4; }
.empty-state { padding: 50px 24px; border: 1px dashed #624176; border-radius: 14px; background: #a855f706; }
dialog { width: min(920px, calc(100% - 32px)); border-radius: 22px; background: radial-gradient(ellipse at top left, #7539b531, transparent 65%), #140c1f; }
.dialog-close { width: 44px; height: 44px; font-size: 28px; top: 14px; right: 14px; border-color: #8960a8; }
.detail-layout { grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); padding: 40px; gap: 40px; }
.detail-copy h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.15; margin: 8px 0; }
.detail-copy > p { font-size: 16px; line-height: 1.6; color: #bea9cf; }
.detail-copy dl { gap: 10px; }
.detail-copy dl div { padding: 14px 10px; background: #a855f709; }
.detail-copy dt { font-size: 12px; color: #b09ac2; }
.detail-copy dd { font-size: 19px; }
.stat-bars { gap: 15px; }
.stat-bars > div { font-size: 14px; grid-template-columns: 36px 1fr 30px; gap: 14px; color: #c1a9d3; }
.stat-bars i { height: 8px; }
.stat-bars strong { font-size: 17px; color: #f0e0ff; }
.detail-builder-actions select { min-height: 44px; }
footer { width: min(1440px, calc(100% - 48px)); gap: 24px; color: #a18ab3; font-size: 12px; }
.footer-brand div b { font-size: 14px; color: #d8c2e8; }
.footer-brand small { font-size: 12px; }
footer p { max-width: 500px; }
@media (max-width: 1380px) { .header-status { display: none; } }
@media (max-width: 1180px) {
  .site-header { gap: 14px; }.brand > span:last-child { display: none; }.nav-search { width: min(240px, 25vw); }
  .hero { padding: 30px; grid-template-columns: 1fr .85fr; gap: 16px; }
  .hero-cards .fut-card { width: 170px; }
  .hero-cards .fut-card:nth-child(1), .hero-cards .fut-card:nth-child(1):hover { transform: translateX(-100px) rotate(-8deg) scale(.92); }
  .hero-cards .fut-card:nth-child(3), .hero-cards .fut-card:nth-child(3):hover { transform: translateX(100px) rotate(8deg) scale(.92); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sbc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-grid { grid-template-columns: minmax(0, 1fr) 330px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }.hero-copy { max-width: 100%; }.hero-cards { height: 285px; }
  .hero-cards .fut-card { width: 190px; }
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
  .champs-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
  .champs-top { grid-column: 1 / -1; }.champs-shield { display: none; }.champs-panel h2, .champs-panel > p { grid-column: 1; margin: 0; }
  .countdown { grid-column: 2; grid-row: 2; margin: 0; align-self: center; }.champs-foot { grid-column: 2; grid-row: 3; }
  .pack-list { grid-template-columns: minmax(0, 1fr); }
  .pack-row { grid-template-columns: 80px minmax(0, 1fr) auto; min-height: 0; }
  .pack-price { grid-column: 3; flex-direction: column; gap: 18px; padding: 0 0 0 22px; border-top: 0; border-left: 1px solid var(--line); align-self: center; }
  .sbc-preview { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; padding: 10px 14px 6px; min-height: 114px; }
  .nav-search { width: 100%; }.site-header nav { gap: 0; }.site-header nav button { min-width: 0; font-size: 13px; padding: 10px 6px; flex: 1 1 auto; }
  main { width: calc(100% - 28px); }.page { padding-top: 18px; }
  .hero { padding: 26px; }.hero h1 { font-size: clamp(32px, 6vw, 44px); }.hero-cards { margin-inline: 0; transform: none; }
  .database .page-head { padding: 22px; gap: 18px; align-items: flex-start; flex-direction: column; }
  .database .page-head h1 { font-size: 32px; }.source-chip { font-size: 13px; }
  .sbc-grid { grid-template-columns: minmax(0, 1fr); }
  .database-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .database-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .database-card { padding: 8px 2px; }.database-card .card-caption b { font-size: 14px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 22px; }
  .detail-layout .fut-card { width: min(290px, 100%); margin-inline: auto; }
  footer { width: calc(100% - 28px); flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 520px) {
  .hero { padding: 22px; }.hero h1 { font-size: 34px; }.hero-actions { flex-direction: column; }.hero-actions button { width: 100%; }
  .hero-cards { height: 240px; }.hero-cards .fut-card { width: 145px; }
  .hero-cards .fut-card:nth-child(1), .hero-cards .fut-card:nth-child(1):hover { transform: translateX(-82px) rotate(-8deg) scale(.86); }
  .hero-cards .fut-card:nth-child(3), .hero-cards .fut-card:nth-child(3):hover { transform: translateX(82px) rotate(8deg) scale(.86); }
  .metrics { gap: 10px; }.metric { padding: 16px; min-height: 126px; gap: 8px; align-items: flex-start; }.metric > svg { display: none; }.metric small { font-size: 12px; }.metric b { font-size: 28px; }
  .content-panel, .champs-panel { padding: 20px; }.panel-head { gap: 10px; align-items: start; flex-wrap: wrap; }.panel-head h2 { font-size: 24px; }
  .champs-panel { display: block; }.champs-top { margin-bottom: 18px; }.champs-panel h2 { margin-bottom: 12px; }.countdown { margin: 22px 0; }
  .sbc-card, .sbc-preview .sbc-card { grid-template-columns: 48px minmax(0, 1fr); }.sbc-body { padding: 18px; }.sbc-art span { width: 32px; height: 38px; }.sbc-body h3 { font-size: 22px; }
  .catalogue-toolbar { align-items: stretch; }.catalogue-toolbar input[type="search"] { flex-basis: 100%; max-width: none; }.catalogue-toolbar > label { flex-wrap: wrap; }
  .pack-row { grid-template-columns: 56px minmax(0, 1fr); padding: 22px 18px; gap: 20px 16px; }.pack-icon { width: 56px; height: 74px; }.pack-copy h3 { font-size: 23px; }
  .pack-price { grid-column: 1 / -1; flex-direction: row; gap: 36px; border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }.pack-price b { font-size: 25px; }
  .database-toolbar > label { flex-wrap: wrap; }.database-toolbar select { max-width: 100%; }
  .detail-copy dl { gap: 6px; }.detail-copy dl div { padding: 12px 8px; }.detail-copy dd { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .pack-row:hover, .sbc-card:hover { transform: none; } }
