:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#f8fbff;background:#111a2e}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#5c8fd0 #0b1425}*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-track{border:2px solid #0a1220;border-radius:999px;background:#0b1425;box-shadow:inset 0 1px 3px #000b}*::-webkit-scrollbar-thumb{min-height:2.5rem;border:2px solid #0b1425;border-radius:999px;background:linear-gradient(90deg,#8fc3ff,#3975ba);box-shadow:inset 0 1px #d5edff,0 1px 2px #0008}*::-webkit-scrollbar-thumb:hover{background:linear-gradient(90deg,#ffe778,#e9ae24)}*::-webkit-scrollbar-corner{background:#0b1425}body{min-width:320px;margin:0}button{font:inherit;font-weight:800;cursor:pointer;border-radius:.35rem;padding:.8rem 1.15rem;border:2px solid #fff1a2;background:linear-gradient(#ffd743,#eb9d12);box-shadow:0 4px #9d5e0b;color:#252035}.button{font-weight:800;border-radius:.75rem;padding:.8rem 1.15rem;border:2px solid #fff1a2;background:linear-gradient(#ffd743,#eb9d12);box-shadow:0 4px #9d5e0b;color:#252035;text-decoration:none}.landing{min-height:100vh;display:grid;place-content:center;gap:1rem;padding:1.5rem;text-align:center;background:radial-gradient(circle at 50% 15%,#376ac3 0,#172b55 40%,#111a2e)}.app-footer{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:1rem;padding:1.1rem max(1rem,calc((100vw - 72rem)/2));border-top:1px solid #38517d;color:#b9d7ff;background:#0c162a;font-size:.82rem;text-align:center}.app-footer>div{display:grid;gap:.18rem;text-align:left}.app-footer strong{color:#ffe878}.app-footer p{margin:0;white-space:nowrap}.app-footer small{text-align:right;color:#8096bd}.footer-heart{display:inline-block;margin:0 .12rem;color:#ff7586;font-size:1.1em;filter:drop-shadow(0 1px #701f31)}@media(max-width:700px){.app-footer{grid-template-columns:1fr;gap:.45rem;padding:1rem}.app-footer>div,.app-footer small{text-align:center}.app-footer p{white-space:normal}}.landing h1{margin:0;font-size:clamp(2.5rem,10vw,5rem);text-shadow:0 4px #0a1328}.landing p{justify-self:center;margin:0;font-size:clamp(1rem,3vw,1.25rem);max-width:35rem;text-align:center}.eyebrow{color:#ffe878;font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:.75rem!important}.actions{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap;margin-top:.75rem}button.secondary,.button.secondary{background:linear-gradient(#6d9bd5,#386ba7);border-color:#c2e5ff;box-shadow:0 4px #1c4678;color:#fff}.auth-page{min-height:100vh;display:grid;place-items:center;padding:1.25rem;background:radial-gradient(circle at 50% 15%,#376ac3,#111a2e 70%)}.auth-card{width:min(100%,29rem);padding:1.5rem;border:1px solid #5574ad;border-radius:1rem;background:#17233d;box-shadow:0 1.25rem 3rem #080d1b99}.auth-card h1{margin:.25rem 0}.auth-card form{display:grid;gap:.7rem;margin:1.5rem 0;text-align:left}.auth-card label{display:grid;gap:.3rem;font-weight:700}.auth-card input{width:100%;padding:.75rem;color:inherit;background:#0e1729;border:1px solid #7290c6;border-radius:.55rem}.auth-card small,.form-error{color:#ffb4aa;margin:0}.auth-card a{color:#ffe878}.form-help{margin:0;color:#c8d7f1;font-size:.875rem}.form-help code{color:#ffe878}.collection-page{max-width:78rem;margin:auto}.collection-hero{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.collection-hero h1{margin:.2rem 0}.collection-hero p{max-width:48rem;margin:.4rem 0;color:#c8d7f1}.event-select{display:grid;min-width:min(100%,15rem);gap:.35rem;color:#b9d7ff;font-size:.8rem;font-weight:800}.event-select select{width:100%}.collection-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:stretch;gap:.75rem;margin:1.25rem 0;padding:1rem;border:1px solid #5574ad;border-radius:.85rem;background:#17233d}.collection-guide div{display:grid;gap:.25rem;padding:.25rem .5rem;border-left:3px solid #ffe878}.collection-guide strong{color:#ffe878}.collection-guide span{color:#c8d7f1;font-size:.85rem}.collection-match-link{display:grid;place-items:center;text-align:center;white-space:nowrap}.collection-status{display:grid;gap:.35rem;margin:.7rem 0;min-height:3.3rem}.owned-badge,.trade-badge,.trade-muted{width:max-content;max-width:100%;padding:.25rem .5rem;border-radius:999px;font-size:.78rem;font-weight:800}.owned-badge{color:#d8eaff;background:#284a78}.trade-badge{color:#19330e;background:#aee672}.trade-muted{color:#b7c9e8;background:#253957}.collection-card.is-wanted{border-color:#ffe878}.collection-card .counter{margin:.55rem 0 .85rem}.collection-card .counter strong{font-size:1.3rem}.collection-card .counter button:disabled{cursor:not-allowed;opacity:.5}.page{min-height:100vh;padding:1.25rem;background:#111a2e}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:1rem}.collection-card,.admin-form{padding:1rem;border-radius:.8rem;background:#17233d;border:1px solid #5574ad}.collection-card h2{margin:.5rem 0 0;font-size:1.1rem}.collection-card img,.card-placeholder{width:100%;aspect-ratio:1;object-fit:cover;border-radius:.55rem;background:#2d426c}.counter{display:flex;align-items:center;justify-content:space-between;margin:.75rem 0}.counter button{padding:.25rem .65rem}.admin-form{display:grid;gap:.65rem;max-width:32rem;margin-block:1rem}.admin-form input,.admin-form select,.page select{padding:.7rem;border-radius:.5rem;border:1px solid #7290c6;background:#0e1729;color:#fff}.match-list{display:grid;gap:1rem}.match-card{padding:1rem;border-radius:.8rem;background:#17233d;border:1px solid #5574ad}.match-card header{display:flex;justify-content:space-between;align-items:center}.match-card h2,.match-card h3{margin:.1rem 0}.match-score{font-size:1.5rem;color:#ffe878}.match-type{display:inline-block;margin:.8rem 0;font-weight:800;color:#ffe878}.match-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem;border-top:1px solid #38517d;margin-bottom:1rem}.match-columns h3{margin-top:.8rem;font-size:.75rem;color:#9fc2ff}.admin-page{display:grid;place-items:start center;text-align:center}.admin-shell{width:min(100%,68rem)}.admin-page h1{margin:.25rem 0}.admin-form{width:min(100%,32rem);margin:1.25rem auto;text-align:left}.admin-form h2{text-align:center;margin:.1rem 0 .5rem}.admin-message{color:#bce8b0;font-weight:700}.admin-slug{margin:.25rem 0 1rem;color:#9fc2ff}.admin-section-title{margin:2rem 0 1rem}.event-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;text-align:left}.event-item{display:grid;gap:.3rem;width:100%;padding:1rem;text-align:left;background:linear-gradient(#315f9e,#22416f);border-color:#8cc3ff;box-shadow:0 4px #142b4d;color:#fff}.event-item span{font-size:1.1rem}.event-item small{color:#d8eaff;font-weight:600}.event-item strong{color:#ffe878;margin-top:.35rem}.back-button{display:inline-block;margin-bottom:1.5rem}.admin-card-grid{text-align:left}.empty-state{color:#c8d7f1}.analytics-summary{margin:1.25rem 0;padding:1rem;border:1px solid #5574ad;border-radius:.85rem;background:#17233d;text-align:left}.analytics-summary header{display:flex;align-items:start;justify-content:space-between;gap:1rem}.analytics-summary h2,.analytics-summary h3{margin:.1rem 0 .35rem}.analytics-summary header p{margin:0;color:#c8d7f1}.analytics-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1rem 0}.analytics-metrics article{display:grid;gap:.25rem;padding:.8rem;border-radius:.6rem;background:#0e1729;border:1px solid #355587}.analytics-metrics strong{color:#ffe878;font-size:1.5rem}.analytics-metrics span{color:#c8d7f1;font-size:.8rem}.analytics-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.analytics-lists div{padding:.7rem;border-radius:.6rem;background:#0e1729}.analytics-lists p{display:flex;justify-content:space-between;gap:.75rem;margin:.45rem 0;color:#d8eaff}.analytics-lists p span{overflow-wrap:anywhere}.analytics-lists p strong{color:#ffe878}@media(max-width:480px){.page{padding:1rem}.event-list{grid-template-columns:1fr}.match-columns{grid-template-columns:1fr;gap:0}.admin-form{margin-inline:0}.admin-page h1{font-size:clamp(1.8rem,9vw,2.4rem)}.analytics-summary header{flex-direction:column}.analytics-summary header button{width:100%}.analytics-metrics,.analytics-lists{grid-template-columns:1fr}}.player-link-card{text-align:center}.player-link-card form{text-align:left}.player-preview{display:grid;gap:.3rem;padding:1rem;margin:1.25rem 0;border:1px solid #6ba2dd;border-radius:.75rem;background:#102746}.player-preview strong{color:#ffe878;font-size:1.3rem}.player-preview span,.linked-players span{color:#b9d7ff;font-weight:700}.player-preview small{color:#d8eaff}.linked-players{margin-top:1.5rem;text-align:left}.linked-players h2{text-align:center;font-size:1.1rem}.linked-players article{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 0;border-bottom:1px solid #38517d}.linked-players article div{display:grid;gap:.15rem}.linked-players small{color:#b7c9e8}.linked-players b{color:#ffe878}.linked-players button{padding:.45rem .65rem;font-size:.8rem;white-space:nowrap}.continue-button{display:inline-block;margin-top:1.5rem}.text-button{display:block;margin:1rem auto 0;padding:0;border:0;background:none;box-shadow:none;color:#b9d7ff}.account-header{position:sticky;top:0;z-index:50;min-height:4rem;display:flex;align-items:center;justify-content:flex-end;gap:.8rem;padding:.65rem max(1rem,calc((100vw - 72rem)/2));background:#0c162a;border-bottom:1px solid #38517d}.account-header a{color:#ffe878;font-weight:800;text-decoration:none}.account-header-brand{margin-right:auto}.account-header-home{padding:.45rem .7rem;border:1px solid #5574ad;border-radius:.5rem;background:#172b4d}.account-header label{display:grid;gap:.15rem;font-size:.7rem;color:#b9d7ff;font-weight:800;text-transform:uppercase}.account-header select{min-width:12rem;padding:.45rem;border-radius:.45rem;color:#fff;background:#172b4d;border:1px solid #7290c6}.account-actions{display:flex!important;align-items:center;gap:.4rem}.danger-button{background:linear-gradient(#e76a5e,#b53d35);border-color:#ffc0b8;box-shadow:0 3px #74251f;color:#fff}.header-icon-button{display:grid;place-items:center;width:2.8rem;height:2.8rem;padding:.45rem;color:#fff;background:linear-gradient(#6d9bd5,#386ba7);border-color:#c2e5ff;box-shadow:0 3px #1c4678}.header-icon-button svg{width:1.45rem;height:1.45rem}.cards-modal-backdrop{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:1rem;background:#07101dcc}.cards-modal{width:min(100%,48rem);max-height:min(80vh,44rem);overflow:auto;padding:1.25rem;border:1px solid #7290c6;border-radius:1rem;background:#17233d;box-shadow:0 1rem 4rem #000a}.cards-modal header{display:flex;justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1rem}.cards-modal h2{margin:.2rem 0}.modal-close{padding:.15rem .6rem;font-size:1.5rem;line-height:1}.modal-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.75rem}.modal-card-grid article{display:grid;gap:.35rem;padding:.5rem;border:1px solid #38517d;border-radius:.5rem;text-align:center;background:#10213d}.modal-card-grid img,.modal-card-grid article>span{width:100%;aspect-ratio:1;object-fit:cover;border-radius:.35rem;background:#2d426c}.modal-card-grid small{color:#b9d7ff}@media(max-width:560px){.account-header{min-height:auto;flex-wrap:wrap;justify-content:center;gap:.5rem}.account-header-brand{width:100%;margin:0;text-align:center}.account-header label{width:min(100%,17rem)}.account-header select{width:100%}.linked-players article{align-items:flex-start}.account-actions{flex-direction:column;align-items:stretch!important}.account-actions button{width:100%}}.matcher-page{max-width:78rem;margin:auto}.matcher-hero{text-align:center;padding:1.5rem 1rem}.matcher-hero h1{margin:.25rem 0}.matcher-hero p{color:#c8d7f1}.matcher-panel{padding:1.25rem;border:1px solid #5574ad;border-radius:1rem;background:#17233d}.matcher-toolbar{display:grid;grid-template-columns:minmax(11rem,.7fr) 2fr;gap:1rem}.matcher-toolbar label{display:grid;gap:.35rem;font-size:.8rem;font-weight:800;color:#b9d7ff}.matcher-toolbar input,.matcher-toolbar select{width:100%;padding:.7rem;border:1px solid #7290c6;border-radius:.5rem;background:#0e1729;color:#fff}.matcher-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:1.5rem 0 .75rem}.matcher-heading h2,.matcher-heading p{margin:.15rem 0}.matcher-heading p{color:#b7c9e8}.matcher-heading strong{color:#ffe878;white-space:nowrap}.search-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.7rem;max-height:25rem;overflow:auto;padding:.2rem}.search-card{display:grid;gap:.4rem;padding:.5rem;text-align:center;color:#fff;background:#10213d;border:2px solid #38517d;box-shadow:none}.search-card.selected{border-color:#ffe878;background:#315f9e;box-shadow:0 3px #17355e}.search-card img,.search-card-image{width:100%;aspect-ratio:1;object-fit:cover;border-radius:.4rem;background:#2d426c}.search-card small{color:#ffe878}.matcher-actions,.result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:1.25rem}.results-section{margin-top:2rem}.results-section>h2,.results-section>p{text-align:center}.results-section>p{color:#c8d7f1}.search-result{border-color:#6ba2dd}.result-actions .button{display:inline-flex;align-items:center}.deck-preview{margin-top:1rem;padding:.8rem;border-radius:.55rem;background:#102746;color:#d8eaff}.deck-preview p{margin:.4rem 0 0}@media(max-width:560px){.matcher-toolbar{grid-template-columns:1fr}.matcher-heading{align-items:start;flex-direction:column}.search-card-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.card-grid,.modal-card-grid,.trade-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.collection-card,.modal-card-grid article{padding:.7rem}.collection-card h2{font-size:1rem}.collection-card .counter button{padding:.2rem .5rem}.collection-card .counter strong{font-size:1.1rem}}.exchange-guide-modal{width:min(100%,38rem)}.exchange-steps{display:grid;gap:.8rem;margin:1rem 0 1.25rem;padding-left:1.5rem}.exchange-steps li{padding-left:.25rem}.exchange-steps strong,.exchange-steps span{display:block}.exchange-steps strong{color:#ffe878}.exchange-steps span{margin-top:.2rem;color:#c8d7f1;font-size:.9rem}.guide-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}@media(max-width:700px){.collection-hero{align-items:stretch;flex-direction:column}.event-select{width:100%}.collection-guide{grid-template-columns:1fr}.collection-match-link{width:100%}.guide-actions{flex-direction:column}.guide-actions .button{text-align:center}}.collection-card img,.modal-card-grid img,.search-card img{object-fit:contain}.replace-image-form{display:grid;gap:.5rem;margin-top:.9rem}.replace-image-form label{display:grid;gap:.25rem;color:#c8d7f1;font-size:.8rem;font-weight:700}.replace-image-form input{width:100%;color:#c8d7f1;font-size:.75rem}.replace-image-form button{width:100%;font-size:.82rem;padding:.5rem}.replace-image-form button:disabled{cursor:not-allowed;opacity:.55}.collection-progress{margin:1rem 0;padding:1rem;border:1px solid #799fd8;border-radius:1rem;background:linear-gradient(145deg,#253f69,#14243f);box-shadow:inset 0 1px #93c2ff}.collection-progress header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.collection-progress header .eyebrow{margin:0}.collection-progress h2{margin:.15rem 0 0}.collection-progress header>strong{color:#fff7bd;font-size:clamp(1.7rem,5vw,2.5rem);text-shadow:0 3px #593b16}.collection-progress header>strong small{color:#d8eaff;font-size:.55em}.collection-progress-bar,.type-progress i{display:block;overflow:hidden;background:#0d1728;border:2px solid #0a1220;border-radius:999px;box-shadow:inset 0 2px 4px #0008}.collection-progress-bar{height:1rem;margin:1rem 0}.collection-progress-bar span,.type-progress i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(#fff06b,#efae19);box-shadow:inset 0 -2px #bd7008;transition:width .2s ease}.collection-type-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.type-progress{display:grid;grid-template-columns:1fr auto;gap:.3rem .5rem;padding:.6rem;border-radius:.65rem;color:#fff;background:#314a76}.type-progress span{font-size:.76rem;font-weight:800;line-height:1.1}.type-progress strong{color:#fff6a5}.type-progress i{grid-column:1 / -1;height:.55rem}.type-progress-dark_elixir{background:#4d3476}.type-progress-builder_base{background:#2d6892}.type-progress-super_troops{background:#9a4827}@media(max-width:640px){.collection-type-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-progress{padding:.8rem}}.account-header-desktop{display:flex;align-items:center;justify-content:flex-end;gap:1rem}.mobile-menu-toggle,.mobile-sidebar-backdrop{display:none}.sidebar-cards-button{width:100%;text-align:left}@media(max-width:560px){.account-header{min-height:4rem;flex-wrap:nowrap;justify-content:space-between}.account-header-brand{width:auto;margin:0;text-align:left}.account-header-desktop{display:none}.mobile-menu-toggle{display:grid;place-items:center;width:2.8rem;height:2.8rem;padding:0;font-size:1.5rem;line-height:1;color:#fff;background:linear-gradient(#6d9bd5,#386ba7);border:1px solid #c2e5ff;border-radius:.55rem;box-shadow:0 3px #1c4678}.mobile-sidebar-backdrop{position:fixed;z-index:90;top:0;right:0;bottom:0;left:0;display:block;background:#07101dcc}.mobile-sidebar{position:absolute;top:0;right:0;width:min(86vw,22rem);min-height:100%;padding:1rem;border-left:1px solid #7290c6;background:#14233e;box-shadow:-.5rem 0 2rem #0009}.mobile-sidebar header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:1px solid #38517d}.mobile-sidebar-brand{color:#ffe878;font-size:1.15rem;font-weight:900;text-decoration:none}.mobile-sidebar header button{padding:.15rem .65rem;font-size:1.6rem;line-height:1}.mobile-sidebar nav{display:grid;gap:.85rem;padding-top:1rem}.mobile-sidebar nav>a,.mobile-sidebar nav>button{width:100%;padding:.8rem;border:1px solid #5574ad;border-radius:.55rem;color:#fff;background:#1f3963;font-weight:800;text-decoration:none}.mobile-sidebar nav>label{display:grid;gap:.35rem;color:#b9d7ff;font-size:.75rem;font-weight:800;text-transform:uppercase}.mobile-sidebar nav>label select{width:100%;min-width:0;padding:.75rem;border-radius:.55rem;color:#fff;background:#0e1729;border:1px solid #7290c6}.mobile-sidebar .account-header-home{color:#ffe878}}.own-account-badge{display:inline-block;margin-top:.4rem;padding:.2rem .45rem;border-radius:999px;color:#17260c;background:#b7e978;font-size:.72rem}.search-card>span:not(.search-card-image),.collection-card h2,.modal-card-grid strong{min-width:0;overflow-wrap:anywhere;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.trade-modal{width:min(100%,58rem)}.trade-modal h3{margin:1rem 0 .5rem}.trade-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.75rem}.trade-card-grid button{display:grid;gap:.35rem;padding:.5rem;color:#fff;background:#10213d;border:2px solid #38517d;box-shadow:none}.trade-card-grid button.selected{border-color:#ffe878;background:#315f9e}.trade-card-grid img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:.4rem;background:#2d426c}.trade-card-grid span{overflow-wrap:anywhere;font-weight:800}.trade-card-grid small{color:#ffe878}.trade-drawer-toggle{position:static;display:flex;flex:0 0 auto;align-items:center;gap:.45rem;height:33px;padding:.35rem .85rem;font-size:.88rem}.trade-drawer-toggle>span:first-child{font-size:1.25rem}.trade-drawer-toggle b{display:grid;place-items:center;min-width:1.35rem;height:1.35rem;padding:0 .25rem;border-radius:999px;color:#fff;background:#b73531}.trade-drawer-backdrop{position:fixed;z-index:110;top:0;right:0;bottom:0;left:0;background:#07101dcc}.trade-drawer{position:absolute;top:0;right:0;width:min(100%,31rem);height:100%;overflow:auto;padding:1.1rem;border-left:1px solid #7290c6;background:#14233e;box-shadow:-.5rem 0 2rem #0009}.trade-drawer>header{display:flex;align-items:start;justify-content:space-between;gap:.75rem;padding-bottom:1rem;border-bottom:1px solid #38517d}.trade-drawer>header h2,.trade-drawer>header p{margin:.15rem 0}.trade-drawer>header>div>p:last-child{color:#b9d7ff;font-size:.85rem}.trade-drawer-help{margin:.85rem 0;color:#c8d7f1;font-size:.88rem}.trade-drawer-message{padding:.6rem;border-radius:.5rem;color:#d8eaff;background:#21436e}.trade-drawer-section{margin-top:1.2rem}.trade-drawer-section>h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 .65rem;color:#ffe878;font-size:1rem}.trade-drawer-section>h3 span{display:grid;place-items:center;min-width:1.5rem;height:1.5rem;border-radius:999px;color:#d8eaff;background:#29466f;font-size:.78rem}.trade-item{display:grid;gap:.7rem;padding:.8rem;margin-bottom:.75rem;border:1px solid #5574ad;border-radius:.7rem;background:#10213d}.trade-item>header{display:flex;align-items:start;justify-content:space-between;gap:.5rem}.trade-item>header div{display:grid;gap:.1rem;min-width:0}.trade-item>header strong{overflow-wrap:anywhere}.trade-item>header small{color:#b9d7ff}.trade-item>header>span{padding:.2rem .4rem;border-radius:999px;color:#fff6a5;background:#4b3c17;font-size:.68rem;font-weight:800;text-align:center}.trade-accepted{border-color:#e4c961}.trade-completed{border-color:#79b85e}.trade-completed>header>span{color:#17340e;background:#aee672}.trade-rejected>header>span,.trade-cancelled>header>span{color:#d8eaff;background:#344963}.trade-card-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.35rem}.trade-card-pair>span{color:#ffe878;font-size:1.3rem;font-weight:900}.trade-mini-card{display:grid;grid-template-columns:3.3rem minmax(0,1fr);align-items:center;gap:.1rem .45rem;min-width:0}.trade-mini-card small{grid-column:1 / -1;color:#b9d7ff;font-size:.65rem;font-weight:800;text-transform:uppercase}.trade-mini-card img,.trade-mini-placeholder{grid-row:2;width:3.3rem;height:3.3rem;object-fit:contain;border-radius:.35rem;background:#2d426c}.trade-mini-card strong{overflow-wrap:anywhere;font-size:.78rem;line-height:1.1}.trade-item-note{margin:0;color:#c8d7f1;font-size:.82rem}.trade-item-actions{display:flex;flex-wrap:wrap;gap:.5rem}.trade-item-actions button{flex:1 1 8rem;padding:.55rem .65rem;font-size:.8rem}@media(max-width:560px){.trade-drawer-toggle{min-width:33px;height:33px;padding:.3rem;gap:.25rem}.trade-toggle-label{display:none}.trade-drawer{width:min(92vw,31rem);padding:1rem}.trade-card-pair{gap:.2rem}.trade-mini-card{grid-template-columns:2.85rem minmax(0,1fr)}.trade-mini-card img,.trade-mini-placeholder{width:2.85rem;height:2.85rem}}@media(max-width:560px){.account-header{justify-content:flex-start;gap:.25rem;padding:.5rem .4rem}.account-header-brand{margin-right:auto;font-size:.9rem}.mobile-menu-toggle{width:33px;height:33px;font-size:1.2rem}.trade-drawer-toggle{min-width:0;height:33px;padding:.25rem .4rem;gap:.25rem;font-size:.72rem}.trade-toggle-label{display:inline}}.header-logout-button{background:linear-gradient(#5f7fa9,#365476);border-color:#a6c9e8;box-shadow:0 3px #203a57}@media(max-width:560px){.header-logout-button{width:33px;height:33px;padding:.3rem}}.account-header-desktop>a{display:inline-flex;align-items:center;height:33px;padding:.35rem .7rem}.account-header .header-icon-button{width:33px;height:33px;padding:.3rem}.account-header-desktop>a{border:1px solid transparent;border-radius:.5rem;transition:background .15s ease,border-color .15s ease,transform .15s ease}.account-header-desktop>a:hover,.account-header-desktop>a:focus-visible{border-color:#9bcaff;background:#264b7c;transform:translateY(-1px);outline:none}.account-profile{position:relative;flex:0 0 auto}.account-profile-toggle,.account-profile-avatar{display:grid;place-items:center;width:33px;height:33px;border:1px solid #d8ecff;border-radius:50%;color:#12233e;padding:0;background:linear-gradient(#f9fdff,#b9d9fa);box-shadow:0 2px #365b8a;font-size:.72rem;font-weight:900;letter-spacing:.03em}.account-profile-toggle:hover,.account-profile-toggle:focus-visible{border-color:#ffe878;background:linear-gradient(#fff5a6,#efbc35);outline:none}.account-profile-popover{position:absolute;z-index:120;top:calc(100% + .6rem);right:0;width:min(90vw,18rem);padding:.8rem;border:1px solid #7290c6;border-radius:.75rem;color:#eaf3ff;background:#14233e;box-shadow:0 .75rem 2rem #000b}.account-profile-popover header{display:flex;align-items:center;gap:.65rem;padding-bottom:.65rem;border-bottom:1px solid #38517d}.account-profile-avatar{flex:0 0 auto}.account-profile-popover header div{display:grid;gap:.08rem;min-width:0}.account-profile-popover header strong,.account-profile-popover header small{overflow-wrap:anywhere}.account-profile-popover header small{color:#b9d7ff;font-size:.72rem}.account-profile-popover>p{margin:.7rem 0 .4rem;color:#ffe878;font-size:.72rem;font-weight:900;text-transform:uppercase}.account-profile-popover>div:last-child{display:grid;gap:.35rem}.account-profile-popover>div:last-child button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.15rem .5rem;width:100%;padding:.55rem .6rem;border:1px solid #38517d;border-radius:.5rem;color:#eaf3ff;background:#0e1a2f;text-align:left;box-shadow:none}.account-profile-popover>div:last-child button small{color:#b9d7ff}.account-profile-popover>div:last-child button.is-active{border-color:#ffe878;background:#30415b}.account-profile-popover>div:last-child button:hover,.account-profile-popover>div:last-child button:focus-visible{border-color:#a8d5ff;background:#24476f;outline:none}.admin-header-selector{position:relative;flex:0 1 15rem}.admin-header-target{width:100%;height:33px;padding:.3rem .6rem;overflow:hidden;border-color:#7290c6;background:#1f3963;color:#fff;font-size:.78rem;text-align:left;text-overflow:ellipsis;white-space:nowrap}.admin-header-popover{position:absolute;z-index:125;top:calc(100% + .55rem);right:0;display:grid;gap:.55rem;width:min(92vw,20rem);padding:.8rem;border:1px solid #7290c6;border-radius:.75rem;background:#14233e;box-shadow:0 .75rem 2rem #000b}.admin-header-popover>strong{color:#ffe878}.admin-header-popover form{display:flex;gap:.4rem}.admin-header-popover input{min-width:0;flex:1;padding:.5rem;border:1px solid #7290c6;border-radius:.4rem;background:#0e1729;color:#fff}.admin-header-popover button{padding:.45rem .55rem;box-shadow:none}.admin-header-popover>button,.admin-header-results button{width:100%;text-align:left}.admin-header-results{display:grid;max-height:15rem;gap:.35rem;overflow:auto}.admin-header-results button{display:grid;gap:.1rem;border-color:#38517d;background:#0e1a2f;color:#eaf3ff}.admin-header-results small{color:#b9d7ff;overflow-wrap:anywhere}.admin-header-popover .is-active{border-color:#ffe878;background:#30415b}@media(max-width:560px){.account-profile-desktop{display:none}.account-profile-mobile{width:100%}.account-profile-mobile .account-profile-toggle{display:flex;width:100%;height:auto;min-height:2.8rem;gap:.55rem;padding:.55rem .75rem;border-radius:.55rem;color:#fff;background:#1f3963;box-shadow:none;text-align:left}.account-profile-mobile .account-profile-initials{display:grid;flex:0 0 auto;place-items:center;width:1.55rem;height:1.55rem;border:1px solid #cce6ff;border-radius:50%;color:#14233e;background:#cce6ff;font-size:.68rem}.account-profile-mobile-label{min-width:0;overflow-wrap:anywhere;font-weight:900}.account-profile-mobile .account-profile-popover{position:static;width:100%;margin-top:.5rem}.account-profile-mobile .account-profile-avatar{color:#12233e}}@media(max-width:560px){.admin-header-selector{width:100%}.admin-header-selector-mobile .admin-header-target{height:auto;min-height:2.8rem;padding:.55rem .75rem;text-align:left}.admin-header-selector-mobile .admin-header-popover{position:static;width:100%;margin-top:.5rem}}.public-home{min-height:100vh;background:radial-gradient(circle at 50% 0,#294f8e 0,#152a4b 28rem,#111a2e 52rem)}.public-header{position:sticky;z-index:50;top:0;display:flex;align-items:center;gap:1rem;min-height:4rem;padding:.65rem max(1rem,calc((100vw - 72rem)/2));border-bottom:1px solid #38517d;background:#0c162af2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.public-brand{margin-right:auto;color:#ffe878;font-size:1.1rem;font-weight:900;text-decoration:none}.public-header nav,.public-header>div{display:flex;align-items:center;gap:.7rem}.public-header nav a,.public-login{display:inline-flex;align-items:center;height:33px;padding:.35rem .65rem;border:1px solid transparent;border-radius:.5rem;color:#dceaff;font-weight:800;text-decoration:none;transition:.15s ease}.public-header nav a:hover,.public-header nav a:focus-visible,.public-login:hover,.public-login:focus-visible{border-color:#9bcaff;background:#264b7c;outline:none}.public-register{display:inline-flex;align-items:center;height:33px;padding:.35rem .75rem;border:1px solid #fff1a2;border-radius:.5rem;color:#252035;background:linear-gradient(#ffd743,#eb9d12);box-shadow:0 3px #9d5e0b;font-weight:900;text-decoration:none}.public-hero{display:grid;justify-items:center;gap:1rem;padding:clamp(3rem,9vw,7rem) 1rem 4rem;text-align:center}.public-hero h1{max-width:55rem;margin:0;font-size:clamp(2.25rem,7vw,4.8rem);line-height:1;text-shadow:0 4px #0a1328}.public-hero>p:not(.eyebrow){max-width:44rem;margin:0;color:#d6e5fb;font-size:clamp(1rem,2.5vw,1.2rem)}.public-section{width:min(100% - 2rem,72rem);margin:0 auto 2rem;padding:clamp(1rem,3vw,1.5rem);border:1px solid #496b9f;border-radius:1rem;background:#10213de8;box-shadow:inset 0 1px #6b96d2,0 .75rem 2rem #0004}.public-section>header{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.public-section h2{margin:.1rem 0 .35rem;font-size:clamp(1.5rem,4vw,2.2rem)}.public-section header p:not(.eyebrow){margin:0;color:#c8d7f1}.public-section label{display:grid;gap:.3rem;color:#c8d7f1;font-size:.8rem;font-weight:800}.public-section input,.public-section select{min-width:0;padding:.65rem .75rem;border:1px solid #7290c6;border-radius:.5rem;color:#f8fbff;background:#0e1729;font:inherit}.public-filters{display:flex;flex-wrap:wrap;gap:.75rem;padding:.85rem;margin-bottom:1rem;border-radius:.65rem;background:#192f53}.public-filters label{flex:1 1 13rem}.public-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(8.5rem,1fr));gap:.75rem}.public-card-grid article{display:grid;gap:.35rem;padding:.55rem;border:1px solid #38517d;border-radius:.65rem;background:#0d1b31;text-align:center}.public-card-grid article>div{aspect-ratio:.78;overflow:hidden;border-radius:.45rem;background:#29466f}.public-card-grid img{width:100%;height:100%;object-fit:cover}.public-card-grid h3{margin:0;overflow-wrap:anywhere;font-size:.88rem}.public-card-grid small{color:#ffe878;font-size:.7rem}.public-players-section{margin-bottom:4rem}.public-player-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(17rem,1fr));gap:.75rem}.public-player-grid article{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.25rem .7rem;padding:.8rem;border:1px solid #38517d;border-radius:.7rem;background:#0d1b31}.public-player-avatar{grid-row:1 / span 2;display:grid;place-items:center;width:2.8rem;height:2.8rem;border:1px solid #d8ecff;border-radius:50%;color:#14233e;background:linear-gradient(#f9fdff,#b9d9fa);font-weight:900}.public-player-grid h3,.public-player-grid p,.public-player-grid small{margin:0;overflow-wrap:anywhere}.public-player-grid p{color:#ffe878;font-size:.76rem}.public-player-grid small{color:#b9d7ff;font-size:.72rem}.public-player-grid a{grid-column:1 / -1;margin-top:.25rem;color:#cde6ff;font-size:.78rem;font-weight:800;text-align:right}.public-player-grid a:hover{color:#ffe878}.public-guide{scroll-margin-top:5rem}.public-guide-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;padding:0;margin:0;list-style:none;counter-reset:guide}.public-guide-steps li{display:grid;gap:.4rem;min-width:0;padding:.85rem;border:1px solid #38517d;border-radius:.65rem;background:#0d1b31;counter-increment:guide}.public-guide-steps strong:before{content:counter(guide);display:inline-grid;place-items:center;width:1.5rem;height:1.5rem;margin-right:.4rem;border-radius:50%;color:#17233d;background:#ffe878}.public-guide-steps span{color:#c8d7f1;font-size:.85rem}@media(max-width:700px){.public-guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.public-guide-steps{grid-template-columns:1fr}}@media(max-width:650px){.public-header{gap:.45rem;padding:.5rem .65rem}.public-brand{font-size:.9rem}.public-header nav{display:none}.public-header>div{gap:.35rem}.public-login,.public-register{padding:.3rem .5rem;font-size:.75rem}.public-section{width:min(100% - 1rem,72rem)}.public-section>header{align-items:start;flex-direction:column}.public-section>header>label{width:100%}.public-section>header select{width:100%}.public-card-grid{grid-template-columns:repeat(auto-fill,minmax(6.9rem,1fr));gap:.5rem}.public-player-grid{grid-template-columns:1fr}}.trade-needs_review{border-color:#e08c4d}.trade-needs_review>header>span{color:#3b210f;background:#f2af60}.trade-message-badge,.trade-chat-unread{display:inline-grid;place-items:center;min-width:1.25rem;height:1.25rem;padding:0 .3rem;border-radius:999px;color:#fff;background:#c84b40;font-size:.72rem;line-height:1}.trade-message-badge{margin-left:.3rem;background:#2a80c9}.trade-chat-unread{margin-left:.3rem}.trade-toast{position:fixed;z-index:130;right:1rem;bottom:1rem;width:min(calc(100vw - 2rem),25rem);margin:0;padding:.8rem 1rem;border:1px solid #ffb4aa;border-radius:.65rem;color:#fff4f1;background:#8e302a;box-shadow:0 .5rem 1.5rem #0008;font-weight:800}.trade-chat-modal{display:grid;grid-template-rows:auto auto minmax(12rem,1fr) auto auto;width:min(100%,42rem);max-height:min(88vh,48rem)}.trade-chat-messages{display:grid;align-content:start;gap:.6rem;min-height:12rem;overflow:auto;margin:1rem 0;padding:.75rem;border:1px solid #38517d;border-radius:.65rem;background:#0d182b}.trade-chat-messages article{max-width:82%;justify-self:start;padding:.55rem .65rem;border-radius:.65rem .65rem .65rem .1rem;color:#eaf3ff;background:#28476f}.trade-chat-messages article.mine{justify-self:end;border-radius:.65rem .65rem .1rem;color:#1e2534;background:#ffe878}.trade-chat-messages article small,.trade-chat-messages article time{display:block;font-size:.68rem;font-weight:800;opacity:.75}.trade-chat-messages article p{margin:.2rem 0;overflow-wrap:anywhere;white-space:pre-wrap}.trade-chat-form,.trade-report-form{display:grid;gap:.5rem}.trade-chat-form label,.trade-report-form label{display:grid;gap:.3rem;color:#c8d7f1;font-weight:800;font-size:.85rem}.trade-chat-form textarea,.trade-report-form textarea{min-height:4.5rem;resize:vertical;padding:.65rem;border:1px solid #7290c6;border-radius:.5rem;color:#f8fbff;background:#0e1729;font:inherit}.trade-chat-form>small{justify-self:end;color:#b9d7ff}.trade-chat-actions{display:flex;flex-wrap:wrap;gap:.5rem}.trade-chat-actions button{flex:1 1 10rem}.trade-report-form{margin-top:.75rem;padding:.75rem;border:1px solid #d5964e;border-radius:.65rem;background:#2a2631}.trade-report-form button{justify-self:start;padding:.55rem .8rem;font-size:.85rem}.trade-chat-backdrop{z-index:120}
