/* Generated by tools/build-assets.php. Edit the source CSS files, not this bundle. */

/* app.css */
:root{--ink:#18251f;--muted:#637068;--paper:#f6f4ed;--card:#fff;--green:#215f45;--line:#d9ddd7;--danger:#9b2c2c}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,-apple-system,sans-serif}a{color:var(--green);font-weight:650;text-decoration:none}header{background:#102a20;color:white}nav{max-width:1080px;margin:auto;padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}nav div{display:flex;gap:1.25rem;align-items:center}nav a{color:white}.brand{font-size:1.08rem}main{max-width:1080px;margin:0 auto;padding:3.25rem 1.25rem 5rem}footer{text-align:center;color:var(--muted);padding:2rem}h1{font:700 clamp(2rem,5vw,3.3rem)/1.05 Georgia,serif;margin:.15rem 0}h2{font-size:1.08rem}.eyebrow{text-transform:uppercase;letter-spacing:.13em;color:var(--green);font-size:.78rem;font-weight:800;margin:0}.lede{color:var(--muted);font-size:1.08rem}.page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:2rem;gap:1rem}.narrow{max-width:720px;margin:auto}.button,button{display:inline-block;border:0;border-radius:.45rem;background:var(--green);color:#fff;padding:.72rem 1rem;font:700 inherit;cursor:pointer}.button.small{padding:.4rem .7rem}.secondary{background:#e5e8e3;color:var(--ink)}form label{display:block;font-weight:750;margin:1.25rem 0}input,textarea{display:block;width:100%;margin-top:.4rem;padding:.8rem;border:1px solid #bfc8c1;border-radius:.4rem;background:white;color:var(--ink);font:inherit}textarea{resize:vertical;font-family:ui-monospace,monospace}label small,.card-row small{display:block;color:var(--muted);font-weight:400;margin-top:.35rem}.alert,.empty{padding:1.15rem 1.3rem;border-radius:.55rem;background:white;margin:1.5rem 0}.alert.error{border-left:4px solid var(--danger);color:#692020}.alert h2{margin-top:0}.table-wrap{overflow-x:auto;background:white;border-radius:.6rem;border:1px solid var(--line)}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.85rem 1rem;border-bottom:1px solid var(--line)}th{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}tr:last-child td{border:0}.category{margin:2rem 0}.category h2{border-bottom:2px solid var(--ink);padding-bottom:.5rem;text-transform:uppercase;letter-spacing:.08em}.category h2 span{float:right;color:var(--muted)}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.card-row{display:flex;align-items:center;gap:.8rem;background:white;border:1px solid var(--line);border-radius:.45rem;padding:.7rem}.card-row img{width:42px;height:58px;object-fit:cover;border-radius:3px}.actions{display:flex;gap:.75rem;margin-top:2.5rem}.actions form{margin:0}.rules-page{max-width:820px;margin:auto}.rules-heading{margin-bottom:2.5rem}.formatted-content{font-size:1.02rem}.formatted-content h2{margin:2.2rem 0 .65rem;padding-bottom:.4rem;border-bottom:1px solid var(--line);font:700 1.45rem/1.25 Georgia,serif}.formatted-content h3{margin:1.6rem 0 .5rem}.formatted-content p{margin:.7rem 0}.formatted-content ul,.formatted-content ol{margin:.65rem 0 1rem;padding-left:1.5rem}.formatted-content li{margin:.28rem 0}@media(max-width:650px){nav,.page-heading{align-items:flex-start}.brand{display:none}.card-grid{grid-template-columns:1fr}main{padding-top:2rem}th,td{padding:.7rem}.page-heading{flex-direction:column}}
.public-rulesets{margin-top:3rem;padding-top:1.25rem;border-top:2px solid var(--ink)}.public-rulesets>h2{margin-top:.35rem}.public-ruleset-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.public-ruleset-index>a{display:grid;gap:.3rem;padding:1rem;border:1px solid var(--line);border-radius:.55rem;background:rgba(255,255,255,.72);color:var(--ink)}.public-ruleset-index>a:hover{border-color:var(--green);box-shadow:0 5px 16px rgba(16,42,32,.1)}.public-ruleset-index strong{font-family:var(--font-heading);font-size:1.15rem}.public-ruleset-index span,.public-ruleset-index small{color:var(--muted);font-weight:400}.rules-breadcrumb{max-width:1080px;margin:1.25rem auto;padding:0;justify-content:flex-start;color:var(--muted);font-size:.85rem}.rules-breadcrumb a{color:var(--green)}.ruleset-public-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:2rem 0}.ruleset-public-summary>div{padding:1.2rem;border:1px solid var(--line);border-radius:.6rem;background:rgba(255,255,255,.72)}.ruleset-public-summary h2,.ruleset-card-section h2{margin:.2rem 0 1rem;font:700 1.45rem/1.2 var(--font-heading)}.ruleset-public-summary dl{display:grid;gap:.6rem;margin:0}.ruleset-public-summary dl div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line)}.ruleset-public-summary dt{color:var(--muted)}.ruleset-public-summary dd{margin:0;text-align:right;font-weight:600}.set-symbol{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}.set-symbol img{display:block;width:1.65rem;height:1.65rem;object-fit:contain}.set-symbol-fallback{display:inline-flex;align-items:center;justify-content:center;min-width:2.2rem;padding:.2rem .4rem;border:1px solid var(--line);border-radius:.3rem;background:#fff;color:var(--ink);font-size:.75rem;font-weight:700;line-height:1}.inline-set-symbol{margin:0 .12em;transform:translateY(.12em)}.formatted-content .inline-set-symbol img{width:1.35em;height:1.35em}.ruleset-set-codes{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem}.ruleset-set-codes .set-symbol{width:3rem;height:3rem;padding:.4rem;border:1px solid var(--line);border-radius:50%;background:#fff}.ruleset-set-codes .set-symbol img{width:100%;height:100%}.ruleset-set-codes .set-symbol-fallback{width:3rem;height:3rem;padding:0;border-radius:50%}.ruleset-card-section{margin:2.5rem 0}.ruleset-points-badge{position:absolute;z-index:2;top:.55rem;right:.55rem;padding:.28rem .5rem;border-radius:99px;background:#102a20;color:#fff;font-size:.75rem;box-shadow:0 2px 5px rgba(0,0,0,.3)}@media(max-width:650px){.public-ruleset-index,.ruleset-public-summary{grid-template-columns:1fr}}


/* featured.css */
.featured-select { margin-top: 3rem; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: .65rem; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: .8rem; }
.featured-grid label { position: relative; margin: 0; border: 3px solid transparent; border-radius: .55rem; overflow: hidden; background: #102a20; color: #fff; cursor: pointer; }
.featured-grid input { position: absolute; z-index: 2; width: auto; top: .55rem; left: .55rem; margin: 0; accent-color: var(--green); }
.featured-grid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .2s ease; }
.featured-grid span { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: block; padding: 2.25rem .7rem .65rem; background: linear-gradient(transparent,rgba(5,12,9,.9)); color: #fff; font-size: .88rem; font-weight: 750; line-height: 1.25; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.featured-grid label:hover img { transform: scale(1.035); }
.featured-grid label:has(input:checked) { border-color: #d3a72f; box-shadow: 0 0 0 1px rgba(211,167,47,.2); }
.featured-grid label:focus-within { outline: 3px solid rgba(33,95,69,.35); outline-offset: 2px; }

.deck-tiles { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1rem; }
.deck-tile { position: relative; min-height: 180px; border-radius: .65rem; overflow: hidden; background: #102a20; color: #fff; }
.deck-tile::after { content: ""; position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: 30%; background: linear-gradient(transparent,rgba(0,0,0,.88)); pointer-events: none; }
.deck-tile img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform .25s ease; }
.deck-tile:hover img,
.deck-tile:focus-visible img { transform: scale(1.1); }
.deck-tile div { position: absolute; z-index: 2; inset: auto 0 0; padding: .75rem 1rem; text-shadow: 0 1px 5px rgba(0,0,0,.9); }
.deck-tile strong,
.deck-tile span { display: block; }
.deck-tile strong { font: 700 1.35rem Georgia,serif; }
.deck-tile span { font-size: .86rem; }
.deck-hero { display: grid; grid-template-columns: minmax(220px,38%) 1fr; gap: 2rem; align-items: center; margin-bottom: 2rem; }
.deck-hero > img { width: 100%; max-height: 300px; object-fit: cover; border-radius: .7rem; }

.edit-changes { margin: 1.25rem 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: .45rem; background: rgba(255,255,255,.62); }
.edit-changes h2 { margin: 0 0 .45rem; font-size: 1.05rem; }
.edit-changes ul { margin: 0; padding-left: 1.25rem; }
.edit-changes p { margin: 0; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .featured-grid img,
  .deck-tile img { transition: none; }
  .deck-tile:hover img,
  .deck-tile:focus-visible img { transform: none; }
}
@media (max-width: 650px) {
  .deck-hero { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}


/* deck-detail.css */
.alert.success{border-left:4px solid var(--green);color:var(--green)}
.deck-tile-title{margin:0;color:#fff;font:700 1.45rem/1.15 Georgia,serif}
.deck-hero-cover{position:relative;display:block;width:100vw;min-height:270px;margin:-3.25rem 0 2rem calc(50% - 50vw);overflow:hidden;border-radius:0;background:#102a20;color:#fff}
.deck-hero.deck-hero-cover>.deck-hero-bg{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0;opacity:1}
.deck-hero-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,12,9,.34),rgba(5,12,9,.03))}
.deck-hero-content{position:relative;z-index:1;width:min(100%,1080px);max-width:none;margin:auto;padding:3.75rem 1.25rem;text-shadow:0 1px 8px rgba(0,0,0,.82)}
.deck-hero-content h1{color:#fff}
.deck-hero-content .eyebrow{color:#eff8f1}
.deck-hero-content .deck-status{display:inline-block;padding:.25rem .55rem;border-radius:.3rem;background:rgba(8,18,13,.72);text-shadow:none}.deck-hero-content .deck-status-public{color:#70e3a2}.deck-hero-content .deck-status-private{color:#ff8b8b}.deck-status-updated{animation:deck-status-pulse .55s ease-in-out 3}@keyframes deck-status-pulse{50%{transform:scale(1.09);filter:brightness(1.5);box-shadow:0 0 0 .35rem rgba(255,255,255,.16)}}@media(prefers-reduced-motion:reduce){.deck-status-updated{animation:none}}
.deck-hero-content p{margin:.4rem 0}
.hero-action-menu{position:absolute;right:1.25rem;bottom:1.1rem}.hero-actions{display:flex;align-items:center;gap:.35rem}.hero-actions form{display:flex}.hero-action,.hero-actions-toggle{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:.4rem;height:38px;margin:0;border:1px solid rgba(255,255,255,.55);border-radius:.38rem;background:rgba(8,18,13,.28);color:#fff;line-height:1;backdrop-filter:blur(4px)}.hero-action{width:38px;padding:0}.hero-actions-toggle{display:none;padding:.45rem .65rem}.hero-action:hover,.hero-actions-toggle:hover{background:rgba(8,18,13,.55)}.hero-action-danger:hover{background:rgba(120,20,20,.7)}.hero-action svg,.hero-actions-toggle svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hero-actions-toggle svg circle{fill:currentColor;stroke:none}.hero-action span{font-size:.78rem}.hero-actions>.hero-action>span,.hero-actions form .hero-action>span{display:none}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.deck-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:2rem;align-items:start}
.deck-list-columns{columns:2;column-gap:2rem}
.deck-list-columns .category{display:inline-block;width:100%;margin:0 0 1rem;break-inside:avoid}
.deck-list-columns .category h2{margin:.2rem 0 .35rem;padding-bottom:.25rem;font-size:.88rem}
.deck-list-columns .card-grid{display:block}
.compact-card{padding:.12rem 0;line-height:1.35;cursor:pointer;border-bottom:1px solid transparent}
.compact-card:focus,.compact-card:hover{color:var(--green);border-bottom-color:var(--line);outline:none}
.card-quantity{display:inline-block;min-width:1.5rem;font-weight:750}
.card-preview{position:sticky;top:1.25rem}
.card-preview-frame{padding:.5rem;border:1px solid var(--line);border-radius:.4rem;background:transparent;color:var(--ink);text-align:center}
.card-preview-frame img{display:block;width:100%;aspect-ratio:488/680;object-fit:contain;border-radius:.25rem;background:transparent}
.card-preview-frame p{margin:.45rem 0 0;font-size:.9rem;font-weight:700}
.danger{background:#9b2c2c}
.delete-dialog{width:min(92vw,440px);padding:1.5rem;border:1px solid var(--line);border-radius:.65rem;color:var(--ink);box-shadow:0 20px 60px rgba(0,0,0,.3)}.delete-dialog::backdrop{background:rgba(5,12,9,.55)}.delete-dialog h2{margin:.1rem 2rem .5rem 0}.dialog-close{position:absolute;right:.7rem;top:.6rem;padding:.2rem .55rem;background:transparent;color:var(--muted);font-size:1.4rem}.dialog-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1.4rem}.dialog-actions form{margin:0}
@media(max-width:800px){.deck-detail-layout{grid-template-columns:minmax(0,1fr) 220px}.deck-list-columns{columns:1}}
@media(max-width:650px){.deck-hero-cover{margin-top:-2rem}}
@media(max-width:600px){.deck-hero-content{padding:2.75rem 1.25rem 5rem}.hero-action-menu{right:1.25rem;bottom:1rem}.hero-actions-toggle{display:flex}.hero-actions-toggle span{font-size:.82rem}.hero-actions{visibility:hidden;position:absolute;right:0;bottom:calc(100% + .5rem);width:210px;align-items:stretch;flex-direction:column;gap:.3rem;padding:.45rem;border:1px solid rgba(255,255,255,.28);border-radius:.5rem;background:rgba(8,18,13,.96);box-shadow:0 10px 28px rgba(0,0,0,.32);opacity:0;transform:translateY(.35rem);transition:opacity .15s ease,transform .15s ease}.hero-action-menu.is-open .hero-actions{visibility:visible;opacity:1;transform:none}.hero-actions form{width:100%}.hero-action{justify-content:flex-start;width:100%;padding:0 .7rem;border-color:transparent;background:transparent}.hero-actions>.hero-action>span,.hero-actions form .hero-action>span{display:inline;font-size:.84rem}.hero-action-menu-anonymous .hero-actions{visibility:visible;position:static;width:auto;padding:0;border:0;background:transparent;box-shadow:none;opacity:1;transform:none}.hero-action-menu-anonymous .hero-action{justify-content:center;width:38px;padding:0;border-color:rgba(255,255,255,.55);background:rgba(8,18,13,.28)}.hero-action-menu-anonymous .hero-action span{display:none}.deck-detail-layout{grid-template-columns:1fr}.card-preview{position:relative;top:auto;max-width:240px;margin:auto}}
.section-hero{min-height:250px;margin-bottom:2.25rem}.section-hero:after{background:linear-gradient(90deg,rgba(5,12,9,.56),rgba(5,12,9,.08))}.section-hero .deck-hero-content{padding:3.5rem 1.25rem}.section-hero .deck-hero-content>p:last-child{max-width:680px;font-size:1.05rem}.section-toolbar{display:flex;justify-content:flex-end;margin:-.75rem 0 1.5rem}@media(max-width:600px){.section-hero{min-height:220px}.section-hero .deck-hero-content{padding:3rem 1.25rem}.section-toolbar{justify-content:stretch}.section-toolbar .button{width:100%;text-align:center}}
.deck-validation{margin:1.5rem 0;padding:1.15rem 1.3rem;border:1px solid var(--line);border-left:4px solid var(--green);border-radius:.55rem;background:#fff}.deck-validation h2{margin:.2rem 0}.deck-validation p:last-child{margin-bottom:0}.deck-validation-invalid{border-left-color:var(--danger)}.deck-validation-casual{border-left-color:#8a6b28}.deck-legality{margin:.2rem 0;font-size:.86rem;font-weight:700}.deck-legality-valid{color:#d9f2e4}.deck-legality-invalid{color:#ffd6d6}.deck-legality-casual{color:#f4e2af}.deck-legality a{color:inherit;text-decoration:underline;text-underline-offset:.16em}.deck-points-summary{margin-top:1rem;padding-top:.8rem;border-top:1px solid var(--line)}.deck-points-summary>strong{font-family:var(--font-heading);font-size:1.15rem}.deck-points-summary ul{margin-bottom:0}


/* account.css */
.auth-panel{margin-top:2rem}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}.account-grid>section{padding:1.25rem;background:#fff;border:1px solid var(--line);border-radius:.55rem}.check-label,.check-label input{width:auto;margin:0}.alert ul{margin:.4rem 0}select{display:block;width:100%;margin-top:.4rem;padding:.8rem;border:1px solid #bfc8c1;border-radius:.4rem;background:#fff;color:var(--ink);font:inherit}.admin-user-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:2rem;align-items:start}.admin-user-grid section{padding:1.25rem;background:#fff;border:1px solid var(--line);border-radius:.55rem}.admin-user-grid h2{margin-top:0}.admin-user-grid>div{display:grid;gap:1.25rem}.danger-zone{border-color:#e0b5b5!important}.danger-zone h2{color:var(--danger)}.table-actions{text-align:right}.secondary.button{background:#e5e8e3;color:var(--ink)}button:disabled{cursor:not-allowed;opacity:.5}.smtp-settings{margin:0 0 2.5rem;padding:1.5rem;border:1px solid var(--line);border-radius:.6rem;background:#fff}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.section-heading h2{margin:0}.section-heading .lede{margin:.3rem 0 1rem}.status-pill{padding:.25rem .6rem;border-radius:99px;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.status-pill.configured{background:#d8f0e2;color:#17603c}.status-pill.pending{background:#eee9dc;color:#756526}.smtp-form{max-width:780px}.form-columns{display:grid;grid-template-columns:2fr 1fr;gap:1rem}.smtp-form .form-columns:nth-of-type(2){grid-template-columns:1fr 2fr}.smtp-test{display:flex;max-width:780px;align-items:flex-end;gap:1rem;margin-top:1.75rem;padding-top:1.25rem;border-top:1px solid var(--line)}.smtp-test label{flex:1;margin:0}.smtp-test button{white-space:nowrap}@media(max-width:760px){nav{flex-wrap:wrap}nav div{gap:.75rem;flex-wrap:wrap}.account-grid,.admin-user-grid,.form-columns,.smtp-form .form-columns:nth-of-type(2){grid-template-columns:1fr}.smtp-test,.section-heading{align-items:stretch;flex-direction:column}}
.registration-settings{margin:0 0 2.5rem;padding:1.5rem;border:1px solid var(--line);border-radius:.6rem;background:#fff}.status-pill.closed{background:#f3dede;color:#8b2929}.registration-settings form{max-width:780px}.registration-settings small{display:block;margin:.45rem 0 0 1.6rem;color:var(--muted)}.registration-submit{margin-top:1.25rem}


/* navigation.css */
.osm-wordmark:has(img){display:flex;align-items:center;flex:0 1 auto;min-width:0}.brand.osm-wordmark img{display:block;width:auto;height:auto;max-width:180px;max-height:44px;object-fit:contain}.main-nav{display:flex;align-items:center}.user-menu{position:relative}.user-menu summary{display:flex;align-items:center;gap:.4rem;color:#fff;font-weight:650;cursor:pointer;list-style:none}.user-menu summary::-webkit-details-marker{display:none}.user-menu summary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.user-dropdown{position:absolute;z-index:20;right:0;top:calc(100% + .7rem);min-width:150px;padding:.35rem;background:#fff;border:1px solid var(--line);border-radius:.45rem;box-shadow:0 12px 30px rgba(0,0,0,.18)}.user-dropdown a,.user-dropdown button{display:block;width:100%;padding:.55rem .7rem;border:0;background:transparent;color:var(--ink);font:650 14px/1.2 system-ui;text-align:left}.user-dropdown a:hover,.user-dropdown button:hover{background:#edf2ee}.user-dropdown form{margin:0}.admin-decks{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line)}.count{color:var(--muted);font-weight:400}@media(max-width:700px){.main-nav{gap:.7rem}.user-menu summary span{display:none}.brand.osm-wordmark img{max-width:130px;max-height:36px}}


/* branding.css */
.osm-wordmark{font-family:"Eagle Lake",Georgia,serif;font-size:2.1rem;line-height:1;font-weight:400;letter-spacing:.03em}.osm-wordmark img{display:block;width:auto;max-width:180px;height:44px;object-fit:contain}.library-cover{position:relative;display:flex;min-height:460px;margin:-3.25rem calc(50% - 50vw) 3rem;align-items:center;justify-content:center;overflow:hidden;background:#102a20;color:#fff;text-align:center}.library-cover-art{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr)}.library-cover-art img{width:100%;height:100%;min-width:0;object-fit:cover}.library-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,17,13,.08),rgba(8,17,13,.34))}.library-cover-content{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;gap:1.35rem;padding:1rem}.library-cover h1{margin:0;color:#fff;font-family:"Eagle Lake",Georgia,serif;font-size:clamp(3.5rem,9vw,7.5rem);font-weight:400;text-shadow:0 3px 20px rgba(0,0,0,.75)}.library-cover-logo{display:block;width:auto;max-width:min(360px,70vw);max-height:120px;object-fit:contain;filter:drop-shadow(0 3px 12px rgba(0,0,0,.55))}.logo-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.55fr);gap:2rem;align-items:center;margin:0 0 2.5rem;padding:1.5rem;border:1px solid var(--line);border-radius:.6rem;background:#fff}.logo-settings h2{margin-top:0}.logo-settings form{max-width:520px}.logo-preview{display:flex;min-height:150px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:.45rem;background:#102a20;color:#fff;padding:1.25rem}.logo-preview img{display:block;max-width:100%;max-height:120px;object-fit:contain}.main-nav .user-dropdown{display:block;flex-direction:unset;gap:0}.main-nav .user-dropdown form{display:block;width:100%}.main-nav .user-dropdown a,.main-nav .user-dropdown button{display:block;width:100%;white-space:nowrap}@media(max-width:650px){.library-cover{margin-top:-2rem;min-height:390px}.osm-wordmark{display:block!important;font-size:1.75rem}.osm-wordmark img{max-width:130px;height:36px}.library-cover h1{font-size:clamp(2.8rem,15vw,5rem)}.library-cover-logo{max-width:min(260px,68vw);max-height:90px}.library-cover-art{grid-template-columns:repeat(3,minmax(45%,1fr));left:-20%;right:-20%}.logo-settings{grid-template-columns:1fr}.logo-preview{min-height:110px}}


/* admin.css */
.admin-tabs{max-width:none;margin:-.5rem 0 2rem;padding:0;border-bottom:1px solid var(--line);justify-content:flex-start;gap:.25rem}.admin-tabs a{position:relative;padding:.8rem 1rem;color:var(--muted);font-weight:750}.admin-tabs a:hover{color:var(--ink)}.admin-tabs a.active{color:var(--green)}.admin-tabs a.active:after{content:"";position:absolute;right:.75rem;bottom:-1px;left:.75rem;height:3px;border-radius:3px 3px 0 0;background:var(--green)}.admin-tabs span{display:inline-block;min-width:1.35rem;margin-left:.3rem;padding:.05rem .35rem;border-radius:99px;background:#e5e8e3;color:var(--muted);font-size:.72rem;text-align:center}.admin-decks{margin-top:0;padding-top:0;border-top:0}.user-editor-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.user-editor-heading h2{margin:.1rem 0;font:700 clamp(1.6rem,4vw,2.25rem)/1.1 Georgia,serif}.export-selection-actions{display:flex;align-items:center;gap:1rem;margin:1rem 0}.export-selection-actions span{color:var(--muted);font-size:.9rem}.deck-export-table input{width:1.1rem;margin:0;accent-color:var(--green)}.export-submit{display:flex;align-items:center;gap:1rem;margin-top:1rem}.export-submit small{color:var(--muted)}.text-settings form{max-width:900px}.text-settings textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.5}.format-help{display:flex;flex-wrap:wrap;gap:.45rem;margin:-.3rem 0 1.25rem;color:var(--muted);font-size:.82rem}.format-help strong{width:100%}.format-help code{padding:.25rem .4rem;border-radius:.25rem;background:#e8ece8}@media(max-width:650px){.admin-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap}.admin-tabs a{white-space:nowrap}.user-editor-heading{align-items:flex-start;flex-direction:column}.export-submit{align-items:flex-start;flex-direction:column}}
.cron-instructions{margin:1.25rem 0 1.75rem;border:1px solid var(--line);border-radius:.55rem;background:rgba(255,255,255,.72)}.cron-instructions summary{padding:1rem 1.15rem;cursor:pointer;font-weight:700;color:var(--green)}.cron-instructions-content{padding:0 1.15rem 1.15rem}.cron-instructions-content>p:first-child{margin-top:0}.cron-instructions ol{display:grid;gap:1rem;padding-left:1.4rem}.cron-instructions li strong{display:block;margin-bottom:.35rem}.cron-instructions li code{display:block;max-width:100%;padding:.65rem .75rem;overflow-x:auto;border:1px solid var(--line);border-radius:.35rem;background:var(--paper);white-space:nowrap}.cron-note{margin-bottom:0;color:var(--muted);font-size:.92rem}
.ruleset-editor{position:relative;margin:1rem 0;border:1px solid var(--line);border-radius:.6rem;background:rgba(255,255,255,.78)}.ruleset-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem;cursor:pointer}.ruleset-editor>form{margin:0;padding:0 1.15rem 1.25rem}.ruleset-editor .ruleset-delete{position:absolute;right:1.15rem;bottom:1.25rem;padding:0}.ruleset-numbers,.ruleset-lists{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.ruleset-lists{grid-template-columns:repeat(2,minmax(0,1fr))}.ruleset-actions{margin-top:1.25rem}.ruleset-editor textarea{font-family:var(--font-body);font-size:.9rem}.ruleset-new{margin-top:2rem}@media(max-width:700px){.ruleset-numbers,.ruleset-lists{grid-template-columns:1fr}.ruleset-editor .ruleset-delete{position:static;padding:0 1.15rem 1.25rem}}
.ruleset-points-config{margin:1.25rem 0;padding:1rem;border:1px solid var(--line);border-radius:.55rem;background:rgba(246,244,237,.72)}.ruleset-points-config>.check-label{margin-top:0}.ruleset-points-fields{display:grid;grid-template-columns:minmax(140px,.35fr) minmax(0,1.65fr);gap:1rem}.ruleset-points-fields label{margin-bottom:0}@media(max-width:700px){.ruleset-points-fields{grid-template-columns:1fr}}


/* statistics.css */
.deck-statistics { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.statistics-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.25rem; }
.statistics-heading h2 { margin: .1rem 0 0; font: 700 clamp(1.7rem,4vw,2.4rem)/1.1 Georgia,serif; }
.statistics-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: .9rem; text-align: right; }
.statistics-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.stat-panel { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.stat-panel h3 { margin: 0 0 1rem; font-size: 1rem; }
.stat-empty, .stat-note { margin: .5rem 0 0; color: var(--muted); font-size: .86rem; }
.mana-bars { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); height: 190px; align-items: end; gap: .45rem; padding-top: 1.5rem; border-bottom: 1px solid var(--line); }
.mana-bar { display: grid; height: 100%; grid-template-rows: 1.5rem 1fr 1.7rem; align-items: end; text-align: center; }
.mana-bar strong { font-size: .8rem; }
.mana-bar i { display: block; width: min(100%,34px); height: max(3px,var(--bar-height)); max-height: 100%; margin: 0 auto; border-radius: .25rem .25rem 0 0; background: var(--green); }
.mana-bar span { align-self: center; color: var(--muted); font-size: .8rem; }
.stat-summary { display: flex; gap: 1.5rem; margin: 1rem 0 0; }
.stat-summary div { display: flex; gap: .4rem; }.stat-summary dt { color: var(--muted); }.stat-summary dd { margin: 0; font-weight: 800; }
.color-breakdown { display: grid; gap: .65rem; }.color-breakdown > div { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: .55rem; }
.mana-dot { width: 14px; height: 14px; border: 1px solid rgba(24,37,31,.22); border-radius: 50%; }
.mana-w { background: #f2ead1; }.mana-u { background: #69a9d3; }.mana-b { background: #504a52; }.mana-r { background: #d86855; }.mana-g { background: #5e9f6f; }.mana-c { background: #b9bfbc; }
.donut-stat { display: grid; grid-template-columns: minmax(150px,.8fr) minmax(140px,1fr); align-items: center; gap: 1.5rem; }
.mana-donut { position: relative; width: min(100%,210px); aspect-ratio: 1; margin: auto; border-radius: 50%; background: var(--donut-segments); box-shadow: inset 0 0 0 1px rgba(24,37,31,.08); }
.mana-donut::after { content: ""; position: absolute; inset: 25%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(24,37,31,.08); }
.mana-donut > span { position: absolute; z-index: 1; inset: 30%; display: flex; align-items: center; justify-content: center; flex-direction: column; line-height: 1.05; text-align: center; }
.mana-donut strong { font: 700 1.5rem/1 Georgia,serif; }.mana-donut small { margin-top: .25rem; color: var(--muted); font-size: .7rem; }
.mana-legend small { color: var(--muted); }
.ranked-stats { display: grid; gap: .65rem; }.ranked-stats > div { display: grid; grid-template-columns: minmax(85px,auto) 1fr 2rem; align-items: center; gap: .65rem; }
.ranked-stats i { height: 7px; overflow: hidden; border-radius: 99px; background: #e7ebe8; }.ranked-stats b { display: block; height: 100%; border-radius: inherit; background: var(--green); }.ranked-stats strong { text-align: right; }
.tag-stats { display: flex; flex-wrap: wrap; gap: .45rem; }.tag-stats > span { padding: .32rem .55rem; border: 1px solid var(--line); border-radius: 99px; background: #f7f8f5; font-size: .83rem; }.tag-stats strong { margin-left: .25rem; color: var(--green); }
.stat-price { grid-column: 1/-1; display: grid; grid-template-columns: minmax(180px,.7fr) minmax(0,1.3fr); grid-template-areas: "summary chart" "note chart"; align-items: center; column-gap: 2rem; }
.stat-price > div:first-child { grid-area: summary; align-self: end; }.stat-price > .stat-note { grid-area: note; align-self: start; }
.stat-price:not(:has(.deck-price-chart)) { grid-template-columns: 1fr; grid-template-areas: "summary" "note"; }
.price-total { display: block; color: var(--green); font: 700 1.65rem/1.1 Georgia,serif; }.stat-price p { margin: .4rem 0 0; font-size: .84rem; }
.deck-price-chart { grid-area: chart; margin: 0; padding-left: 1.5rem; border-left: 1px solid var(--line); }.deck-price-chart svg { display: block; width: 100%; height: 125px; }.deck-price-chart line { stroke: var(--line); }.deck-price-chart polyline { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }.deck-price-chart circle { fill: #fff; stroke: var(--green); stroke-width: 2.5; cursor: help; transition: fill .15s,stroke-width .15s; }.deck-price-chart circle:hover,.deck-price-chart circle:focus { fill: var(--green); stroke-width: 4; outline: none; }
@media (max-width: 700px) { .statistics-heading { align-items: start; flex-direction: column; gap: .5rem; }.statistics-heading > p { text-align: left; }.statistics-grid { grid-template-columns: 1fr; }.stat-price { grid-column: auto; grid-template-columns: 1fr; grid-template-areas: "summary" "note" "chart"; gap: 0; }.deck-price-chart { margin-top: .9rem; padding: .75rem 0 0; border-top: 1px solid var(--line); border-left: 0; } }
@media (max-width: 390px) { .donut-stat { grid-template-columns: 1fr; }.mana-donut { width: 180px; } }


/* price-admin.css */
.price-admin .section-heading { margin-bottom: 1rem; }
.price-status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin: 1rem 0; }
.price-status-grid > div { padding: 1rem; border: 1px solid var(--line); border-radius: .55rem; background: #fff; }
.price-status-grid strong, .price-status-grid span { display: block; }
.price-status-grid strong { color: var(--green); font: 700 1.8rem/1 Georgia,serif; }
.price-status-grid span { margin-top: .3rem; color: var(--muted); font-size: .82rem; }
.price-admin .table-wrap { margin-top: 1.5rem; }
.image-status-grid { margin-top: -.2rem; }.inline-admin-action { display: inline-block; margin: 0 0 0 .3rem; }
.print-batch-form{display:flex;max-width:620px;align-items:end;gap:.8rem;margin:1rem 0 1.5rem;padding:1rem;border:1px solid var(--line);border-radius:.55rem;background:rgba(255,255,255,.72)}.print-batch-form label{flex:1;margin:0}.print-batch-form select{margin-bottom:0}.print-batch-form button{flex:none;margin:0}
.print-settings-panel{margin:1.5rem auto;padding:clamp(1rem,2vw,1.6rem);max-width:1180px;border:1px solid var(--line);border-radius:.75rem;background:rgba(255,255,255,.62)}.print-settings-panel>.section-heading{margin-bottom:1.25rem}.print-settings-layout{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(430px,1.22fr);gap:clamp(1.25rem,3vw,2.5rem);align-items:start}.print-settings-form{display:grid;gap:.8rem}.print-control-group{display:grid;gap:.7rem;margin:0;padding:.85rem;border:1px solid var(--line);border-radius:.6rem;background:rgba(255,255,255,.78)}.print-control-group legend{padding:0 .35rem;color:var(--green);font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.print-settings-form label{margin:0}.print-range-control{display:grid;gap:.2rem}.print-range-control>span{display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:.86rem;font-weight:600}.print-settings-form output{min-width:3.25rem;padding:.08rem .38rem;border-radius:999px;background:var(--paper);color:var(--green);font-size:.8rem;font-variant-numeric:tabular-nums;text-align:center}.print-settings-form input[type="range"]{width:100%;height:1.25rem;margin:0;padding:0;accent-color:var(--green);cursor:pointer}.print-toggle{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem .7rem;border-radius:.45rem;background:var(--paper)}.print-toggle>span{display:grid;gap:.08rem}.print-toggle strong{font-size:.88rem}.print-toggle small{font-size:.72rem}.print-toggle input{width:1.2rem;height:1.2rem;margin:0;accent-color:var(--green)}.print-select-grid,.print-range-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.print-select-grid label,.print-upload{display:grid;gap:.25rem;font-size:.78rem;font-weight:700}.print-select-grid select,.print-upload input{min-height:2.25rem;margin:0;padding:.42rem .55rem;font-size:.84rem}.print-upload{padding:.55rem .65rem;border:1px dashed var(--line);border-radius:.45rem}.print-upload small,.print-settings-note{font-size:.72rem}.print-remove{font-size:.78rem;font-weight:500}.print-form-actions{display:flex;gap:.55rem}.print-form-actions>*{flex:1;margin:0;padding:.65rem .8rem}.print-preview{position:sticky;top:5.5rem;padding:.85rem;border:1px solid var(--line);border-radius:.65rem;background:var(--paper);box-shadow:0 12px 30px rgba(17,29,23,.08)}.print-preview-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:.7rem}.print-preview-heading>div{display:grid;gap:.1rem}.print-preview-heading strong{font-size:.92rem}.print-preview-heading [data-print-preview-summary]{color:var(--muted);font-size:.76rem}.live-indicator{display:inline-flex;align-items:center;gap:.3rem;color:var(--green);font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.live-indicator:before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:currentColor;box-shadow:0 0 0 .2rem rgba(31,107,78,.12)}.print-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.print-preview figure{min-width:0;margin:0}.print-preview-card{position:relative;overflow:hidden;border-radius:4.6%/3.4%;background:#17231d;box-shadow:0 6px 18px rgba(17,29,23,.16)}.print-preview-card>img:first-child{display:block;width:100%;height:auto}.print-preview-watermark{position:absolute;z-index:1;max-width:none;transform:translate(-50%,-50%);pointer-events:none}.print-preview figcaption{margin-top:.4rem;color:var(--muted);font-size:.75rem;text-align:center}.print-preview-note,.print-preview-empty{margin:.6rem 0 0;color:var(--muted);font-size:.72rem;text-align:center}
.admin-card-name { display: flex; min-width: 190px; align-items: center; gap: .7rem; }.admin-card-name img,.admin-card-thumb-placeholder { display: block; flex: 0 0 56px; width: 56px; height: 42px; border-radius: .3rem; }.admin-card-name img { object-fit: cover; background: #e7ebe8; }.admin-card-thumb-placeholder { border: 1px solid var(--line); background: linear-gradient(135deg,#eef1ed,#e2e7e3); }
.card-price-detail { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 2rem; align-items: start; }
.card-price-detail aside { display: grid; gap: .75rem; }.card-price-detail aside img { display: block; width: 100%; border-radius: .6rem; }
.price-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; }
.price-metrics > div { padding: .9rem; border: 1px solid var(--line); border-radius: .55rem; background: #fff; }
.price-metrics span,.price-metrics strong { display: block; }.price-metrics span { color: var(--muted); font-size: .78rem; }.price-metrics strong { margin-top: .25rem; font: 700 1.25rem/1.1 Georgia,serif; }
.price-metrics .positive { color: var(--green); }.price-metrics .negative { color: var(--danger); }
.price-chart { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .6rem; background: #fff; }.price-chart h2 { margin-top: 0; }
.price-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }.price-chart-heading h2 { margin: 0; }.price-chart-heading nav { max-width: none; margin: 0; padding: 0; justify-content: flex-end; gap: .2rem; }.price-chart-heading nav a { padding: .3rem .5rem; border-radius: .3rem; color: var(--muted); font-size: .75rem; }.price-chart-heading nav a.active { background: var(--green); color: #fff; }
.price-chart svg { display: block; width: 100%; height: auto; overflow: visible; }.price-chart line { stroke: var(--line); }.price-chart polyline { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }.price-chart circle { fill: #fff; stroke: var(--green); stroke-width: 3; cursor: help; transition: fill .15s,stroke-width .15s; }.price-chart circle:hover,.price-chart circle:focus { fill: var(--green); stroke-width: 5; outline: none; }
.chart-range { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; }.price-history-table { margin-top: 2.5rem; }
.history-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.history-heading h2,.history-heading p { margin: 0; }.history-heading p,.history-heading > span { color: var(--muted); font-size: .8rem; }.history-heading p { margin-top: .25rem; }
.pagination { display: flex; width: 100%; max-width: none; margin: 1.2rem 0 0; padding: 0; align-items: center; justify-content: center; flex-wrap: wrap; gap: .3rem; }
.pagination a,.pagination-gap { display: inline-flex; min-width: 2.25rem; min-height: 2.25rem; padding: .35rem .65rem; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: .35rem; background: rgba(255,255,255,.65); color: var(--green); font-size: .82rem; }
.pagination a.active { border-color: var(--green); background: var(--green); color: #fff; }.pagination a.disabled { pointer-events: none; color: var(--muted); opacity: .5; }.pagination .pagination-direction { min-width: 5.5rem; }.pagination-gap { border-color: transparent; background: transparent; color: var(--muted); }
@media(max-width:900px){.print-settings-layout{grid-template-columns:1fr}.print-preview{position:static;grid-row:1}.print-settings-form{grid-row:2}}
@media(max-width:600px) { .price-status-grid { grid-template-columns: 1fr; }.print-batch-form{align-items:stretch;flex-direction:column}.print-batch-form button{width:100%}.print-preview-grid{grid-template-columns:1fr 1fr;gap:.5rem}.print-settings-panel{margin:1rem 0;padding:.75rem}.print-select-grid,.print-range-grid{grid-template-columns:1fr}.print-form-actions{flex-direction:column}.print-preview-heading{align-items:center} }
@media(max-width:760px) { .card-price-detail { grid-template-columns: 1fr; }.card-price-detail aside { width: min(100%,220px); }.price-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.price-chart-heading,.history-heading { align-items: flex-start; flex-direction: column; }.price-chart-heading nav { width: 100%; justify-content: flex-start; overflow-x: auto; }.pagination .pagination-direction { min-width: auto; } }


/* home.css */
body { background-color: var(--paper); background-image: url("../images/paper-arabesque.svg"); background-repeat: repeat; font-size: 18px; }

.site-flash-stack { position: fixed; z-index: 100; top: 5.25rem; right: 1rem; width: min(430px,calc(100vw - 2rem)); pointer-events: none; }
.site-flash { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 0 .65rem; border: 1px solid var(--line); border-left-width: 4px; background: rgba(255,255,255,.97); box-shadow: 0 14px 38px rgba(16,42,32,.2); pointer-events: auto; animation: flash-enter .2s ease-out; }
.site-flash span { min-width: 0; }
.site-flash button { flex: 0 0 auto; width: 28px; height: 28px; margin: -.25rem -.35rem 0 0; padding: 0; border-radius: 50%; background: transparent; color: currentColor; font-size: 1.35rem; font-weight: 400; line-height: 1; }
.site-flash button:hover { background: rgba(24,37,31,.08); }
.site-flash.is-leaving { opacity: 0; transform: translateY(-.5rem); transition: opacity .18s ease,transform .18s ease; }
@keyframes flash-enter { from { opacity: 0; transform: translateY(-.5rem); } }

.home-editorial { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); grid-template-rows: auto minmax(0,1fr) auto; column-gap: clamp(2.5rem,6vw,5.5rem); row-gap: 0; align-items: stretch; margin: 4.5rem 0 2rem; }
.home-introduction,
.new-decks-feature { display: grid; grid-row: 1 / span 3; grid-template-rows: subgrid; min-width: 0; }
.home-introduction { grid-column: 1; }
.new-decks-feature { grid-column: 2; }
.home-column-heading,
.home-section-heading { align-self: start; }
.home-column-heading .eyebrow,
.home-section-heading .eyebrow { margin: 0; }
.home-column-heading h2,
.home-section-heading h2 { margin-top: .25rem; }
.home-introduction-copy,
.home-carousel-body { align-self: start; }
.home-introduction h2,
.home-section-heading h2 { margin: .25rem 0 1.15rem; font: 700 clamp(1.8rem,4vw,2.65rem)/1.1 Georgia,serif; }
.home-introduction > p:not(.eyebrow) { color: #3f4e46; font-size: 1.08rem; line-height: 1.75; }
.home-text-link { align-self: end; justify-self: start; display: inline-flex; margin-top: 1rem; border-bottom: 1px solid currentColor; }
.new-decks-feature { min-width: 0; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.carousel-controls { display: flex; gap: .4rem; margin-bottom: 1.15rem; }
.carousel-controls button { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.25rem; }
.carousel-controls button:hover { border-color: var(--green); background: var(--green); color: #fff; }
.deck-carousel { position: relative; min-height: 330px; overflow: hidden; border-radius: .75rem; background: #102a20; box-shadow: 0 18px 45px rgba(16,42,32,.16); }
.deck-carousel-slide { position: absolute; inset: 0; display: block; color: #fff; }
.deck-carousel-slide[hidden] { display: none; }
.deck-carousel-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.deck-carousel-slide:after { content: ""; position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: 30%; background: linear-gradient(transparent,rgba(0,0,0,.88)); pointer-events: none; }
.deck-carousel-slide:hover img,
.deck-carousel-slide:focus-visible img { transform: scale(1.1); }
.deck-carousel-slide > div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 1rem 1.5rem; text-shadow: 0 1px 5px rgba(0,0,0,.9); }
.deck-carousel-slide h3 { margin: .2rem 0; color: #fff; font: 700 clamp(1.55rem,3vw,2.1rem)/1.1 Georgia,serif; }
.deck-carousel-slide p { margin: 0; color: rgba(255,255,255,.9); font-size: .88rem; }
.carousel-position { margin-top: .55rem; color: var(--muted); font-size: .78rem; text-align: right; }
.site-footer .footer-legal { grid-column: 1/-1; margin-top: .5rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.12); color: #9fada5; font-size: .72rem; line-height: 1.5; }
.site-footer .footer-legal p { font-size: inherit; }
.site-footer .footer-legal a { color: #c7d1cb; }

@media (max-width: 760px) {
  .site-flash-stack { top: 4.75rem; right: .75rem; width: calc(100vw - 1.5rem); }
  .home-editorial { display: block; margin-top: 3rem; }
  .home-introduction,
  .new-decks-feature { display: grid; grid-template-rows: auto auto auto; margin-bottom: 3.5rem; }
  .home-introduction,
  .new-decks-feature { grid-column: auto; grid-row: auto; }
  .deck-carousel { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .deck-carousel-slide,
  .deck-carousel-slide img { transition: none; }
  .deck-carousel-slide:hover img,
  .deck-carousel-slide:focus-visible img { transform: none; }
  .site-flash { animation: none; }
  .site-flash.is-leaving { transition: none; }
}


/* typography.css */
:root {
  --font-body: system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-heading: Georgia,"Times New Roman",serif;
  --font-display: "Eagle Lake",Georgia,serif;
  --weight-regular: 400;
  --weight-medium: 600;
  --weight-bold: 700;
}

html,
body { font-family: var(--font-body); font-weight: var(--weight-regular); }

h1,
h2,
h3,
h4,
h5,
h6 { font-family: var(--font-heading); font-weight: var(--weight-bold); }

.library-cover h1,
.osm-wordmark { font-family: var(--font-display); font-weight: var(--weight-regular); }

a,
.main-nav a,
.user-menu summary,
.user-dropdown a,
.user-dropdown button,
.nav-link { font-family: var(--font-body); font-weight: var(--weight-medium); }

button,
.button { font-family: var(--font-body); font-weight: var(--weight-medium); }

form label { font-family: var(--font-body); font-weight: var(--weight-medium); }
input,
textarea,
select,
.text-settings textarea { font-family: var(--font-body); font-weight: var(--weight-regular); }
label small,
input::placeholder,
textarea::placeholder { font-weight: var(--weight-regular); }

.eyebrow,
th,
.admin-tabs a,
.status-pill { font-family: var(--font-body); font-weight: var(--weight-bold); }

.deck-tile-title,
.home-introduction h2,
.home-section-heading h2,
.deck-carousel-slide h3,
.statistics-heading h2,
.mana-donut strong,
.price-total,
.price-status-grid strong,
.price-metrics strong,
.user-editor-heading h2 { font-family: var(--font-heading); font-weight: var(--weight-bold); }

.card-quantity,
.card-preview-frame p { font-weight: var(--weight-medium); }

.featured-grid span,
.stat-summary dd { font-weight: var(--weight-bold); }

strong,
b { font-weight: var(--weight-bold); }

.content-card-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .8rem; margin: 1.25rem 0 1.75rem; }
.content-card { position: relative; overflow: hidden; aspect-ratio: 5 / 7; margin: 0; border: 1px solid rgba(16,42,32,.25); border-radius: .45rem; background: #e8e4d8; box-shadow: 0 5px 14px rgba(16,42,32,.12); }
.content-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.content-card-placeholder { position: relative; display: grid; width: 100%; height: 100%; place-items: center; background: #171b19 url("../images/back.jpg") center / cover no-repeat; color: #fff; }
.content-card-placeholder::after { position: absolute; inset: 0; content: ""; background: rgba(7,19,14,.16); }
.content-card-placeholder span { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(1.1rem,3vw,2rem); text-shadow: 0 2px 5px rgba(0,0,0,.8); }
.content-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: .8rem .55rem .5rem; background: linear-gradient(transparent,rgba(7,19,14,.9)); color: #fff; font-size: .82rem; font-weight: var(--weight-bold); line-height: 1.2; text-align: center; text-shadow: 0 1px 2px #000; }

@media (max-width: 850px) { .content-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 520px) { .content-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; } }


/* responsive.css */

html, body { min-height: 100%; overflow-x: clip; }
body { display: flex; min-height: 100vh; flex-direction: column; }
body > main { width: 100%; flex: 1 0 auto; }

.menu-toggle { display: none; padding: .45rem; border: 1px solid rgba(255,255,255,.45); background: transparent; }
.menu-toggle svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.menu-icon-close { display: none; }
.library-cover-art { inset: 0; grid-template-columns: 1fr; }
.library-cover-art img { display: none; }
.library-cover-art img:nth-child(2) { display: block; }
.hero-actions form { margin: 0; }
.card-preview-close { display: none; }

.site-footer { margin-top: auto; padding: 0; background: #0d2119; color: #c7d1cb; text-align: left; }
.site-footer > div { width: min(100%,1080px); margin: auto; padding: 2rem 1.25rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; }
.site-footer p { margin: 0; font-size: .9rem; }
.site-footer nav { max-width: none; margin: 0; padding: 0; justify-content: flex-end; }
.site-footer nav a { color: #dce7e1; font-size: .9rem; }
.footer-brand { display: flex; align-items: center; color: #fff; }
.footer-brand img { display: block; width: auto; height: auto; max-width: 120px; max-height: 38px; object-fit: contain; }
.footer-brand .osm-wordmark { font-size: 1.65rem; }

@media (min-width: 700px) {
  .library-cover-art { grid-template-columns: repeat(2,1fr); }
  .library-cover-art img:nth-child(3) { display: block; }
}
@media (min-width: 1050px) {
  .library-cover-art { grid-template-columns: repeat(3,1fr); }
  .library-cover-art img:nth-child(1) { display: block; }
}
@media (min-width: 1700px) {
  .library-cover,
  .deck-hero-cover { width: calc(100vw - 6rem); max-width: 1600px; margin-left: 50%; border-radius: 0 0 .8rem .8rem; transform: translateX(-50%); }
}
@media (max-width: 700px) {
  header .brand { display: flex !important; }
  header nav { position: relative; align-items: center; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }
  .main-nav { display: none; position: absolute; z-index: 50; top: 100%; right: 0; left: 0; align-items: stretch; flex-direction: column; gap: 0 !important; padding: .6rem 1.25rem 1rem; background: #102a20; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 24px rgba(0,0,0,.2); }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .main-nav summary { padding: .7rem 0; }
  .main-nav .user-menu summary span { display: inline; }
  .main-nav .user-dropdown { position: static; margin-top: .25rem; box-shadow: none; }
  .site-footer > div { grid-template-columns: 1fr; text-align: center; }
  .site-footer nav { justify-content: center; }
  .footer-brand { justify-content: center; }
}
@media (max-width: 600px) {
  body.preview-open { overflow: hidden; }
  .card-preview { display: none; position: fixed; z-index: 80; inset: 0; max-width: none; margin: 0; padding: 4rem 1.25rem 1.25rem; align-items: center; justify-content: center; background: rgba(5,12,9,.76); backdrop-filter: blur(5px); }
  .card-preview.is-open { display: flex; }
  .card-preview-frame { width: min(82vw,310px); padding: .6rem; background: var(--paper); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
  .card-preview-close { display: block; position: absolute; z-index: 1; top: 1rem; right: 1rem; padding: .15rem .65rem; background: #fff; color: var(--ink); font-size: 1.7rem; }
  .deck-list-columns { width: 100%; }
}

