/* ============================================================
   opaint — dark and neon. Loaded after world.css (which was recolored
   from Scribia's parchment by tools/neonize.py). This file holds the
   tokens and the hand-tuned pieces: the wordmark, chunky buttons with
   hard shadows, and anything the automatic recolor can't judge.
   --acc is the player's accent (Settings), set from app.js.
   ============================================================ */
:root{
  --acc:#3dff8b; --acc-rgb:61,255,139; --acc2:#ff2fa8; --acc-ink:#0b0b0e;
  --bone:#ece6d6; --dim:#9c978a;
  --ink:#ece6d6; --ink-soft:#a8a296;
  --line:rgba(236,230,214,.3); --line-soft:rgba(236,230,214,.14);
  --gold:#ece6d6; --gold-hi:#ffffff;
  --sea:#07070a;
  --paper:#1b1b21; --paper-2:#22222a; --btn:#24242c;
  --bold-blue:#2f6bff; --bold-red:#ff2fa8; --bold-pink:#ff2fa8; --bold-green:#3dff8b;
  --hard:4px 4px 0 #000;
}
html{background:#07070a !important}
body{color:var(--ink)}
::selection{background:var(--acc);color:#0b0b0e}

/* ---- the wordmark: lowercase, bone, the "o" in the accent, hard shadow ---- */
.landing-logo,.book-left-title{text-transform:none !important;letter-spacing:.02em !important;color:var(--bone) !important;
  font-family:"Scribia Hand",sans-serif !important;font-weight:700 !important;text-shadow:3px 3px 0 #000 !important}
.landing-logo{font-size:44px !important}
.book-left-title{font-size:30px !important}
.landing-logo .o,.book-left-title .o{color:var(--acc)}

/* small caps titles are plain hand lettering here */
:root{--head:"Scribia Hand",sans-serif}
.posts-compact-bar,.landing-head,.card-creator h3,.book-left-tab,.book-tab{text-transform:none !important;letter-spacing:0 !important}

/* ---- chunky buttons: black edge, hard shadow, flat neon ---- */
:root .landing-btn.primary,:root .game-btn.confirm,:root .game-btn.rematch,:root .game-btn.claim-confirm,:root .game-btn.ready,:root .pvp-create-btn,
:root .card-btn-generate,:root .card-btn-save,:root .anon-submit,:root .print-done,:root .draw-fullscreen-done,
:root .arena .arena-btn,.practice.arena .practice-go,.seat-go,.coin-btn,.guest-bar-btn,.update-bar-go{
  background:var(--leather-grain,none) 0 0/960px 480px,var(--acc) !important;color:#0b0b0e !important;
  border:2px solid #000 !important;border-radius:0 !important;box-shadow:4px 4px 0 #000 !important;text-shadow:none !important}
:root .landing-btn.primary:hover,:root .card-btn-save:hover,:root .anon-submit:hover,:root .print-done:hover,:root .draw-fullscreen-done:hover,
:root .arena .arena-btn:hover,.practice.arena .practice-go:hover,.seat-go:hover{filter:brightness(1.08);transform:translate(-1px,-1px);box-shadow:5px 5px 0 #000 !important}
:root .landing-btn.primary:active,:root .card-btn-save:active,:root .anon-submit:active,:root .print-done:active,
:root .arena .arena-btn:active,.practice.arena .practice-go:active,.seat-go:active{transform:translate(3px,3px);box-shadow:1px 1px 0 #000 !important}

/* plain buttons: dark vinyl with the same edge */
:root .landing-btn:not(.primary),:root .overlay-btn-cancel,:root .card-btn-cancel,:root .library-back-btn,:root .anon-cancel,
:root .game-btn:not(.confirm):not(.rematch):not(.claim-confirm):not(.ready){
  background:var(--leather-grain,none) 0 0/960px 480px,#26262e !important;color:var(--bone) !important;
  border:2px solid #000 !important;border-radius:0 !important;box-shadow:3px 3px 0 #000 !important;text-shadow:none !important}

/* ---- tabs on the book's spine ---- */
:root .book-left-tab,:root .book-left-tab:not(.active),:root .book-tab{
  background:var(--leather-grain,none) 0 0/960px 480px,#22222a !important;color:var(--bone) !important;
  border:2px solid #000 !important;border-radius:0 !important;box-shadow:2px 2px 0 #000 !important}
:root .book-left-tab.active,:root .book-tab.active{
  background:var(--leather-grain,none) 0 0/960px 480px,var(--acc) !important;color:#0b0b0e !important;box-shadow:3px 3px 0 #000 !important}
:root .book-left-tab:hover:not(.active),:root .book-tab:hover:not(.active){background:var(--leather-grain,none) 0 0/960px 480px,#2e2e38 !important}

/* ---- inputs ---- */
input[type=text],input[type=password],input[type=search],input:not([type]),select,textarea{
  background:#0f0f13 !important;color:var(--bone) !important;border:2px solid #000 !important;border-radius:0 !important;
  box-shadow:inset 0 0 0 1px rgba(236,230,214,.18) !important}
input::placeholder,textarea::placeholder{color:#6f6a60 !important}
input:focus,select:focus,textarea:focus{outline:2px solid var(--acc) !important;outline-offset:1px}

/* ---- matches: your side is your accent, theirs is the fixed second color ---- */
:root{--mine:var(--acc);--theirs:var(--acc2);--mine-soft:rgba(var(--acc-rgb),.18);--theirs-soft:rgba(255,47,168,.18)}
.score-label{color:#0b0b0e !important;border:2px solid #000 !important;box-shadow:3px 3px 0 #000 !important;text-shadow:none !important}
.score-label.is-you::before,.score-label:not(.is-you)::after{background:#0b0b0e !important;color:var(--bone) !important;border:0 !important}

/* sign-up / welcome buttons */
.cx-btn{background:var(--leather-grain,none) 0 0/960px 480px,#26262e !important;color:var(--bone) !important;border:2px solid #000 !important;border-radius:0 !important;box-shadow:3px 3px 0 #000 !important}
.cx-btn.go{background:var(--leather-grain,none) 0 0/960px 480px,var(--acc) !important;color:#0b0b0e !important;box-shadow:4px 4px 0 #000 !important}
.cx-btn:hover{box-shadow:5px 5px 0 #000 !important}.cx-btn:active{box-shadow:1px 1px 0 #000 !important}
.cx-btn:focus-visible,.cx-packbtn:focus-visible,.cx-link:focus-visible{outline-color:var(--acc) !important}

/* the book: bone edge, a hard shadow in your accent */
.book-panel{border:2px solid var(--bone) !important;border-radius:0 !important;box-shadow:7px 7px 0 var(--acc),0 26px 80px rgba(0,0,0,.75) !important}
.book-right-panel,.book-page{border-radius:0 !important}
.landing-logo{opacity:1 !important}
.gw-steps li{border:2px solid #000 !important;box-shadow:3px 3px 0 #000;background:var(--leather-grain,none) 0 0/960px 480px,#202027 !important}
.gw-steps b{color:var(--acc)}
.gw-fan img,.gw-mine img{border-radius:0 !important;border:2px solid #000;box-shadow:5px 5px 0 #000 !important}
.gw-fan .gw-f{box-shadow:6px 6px 0 var(--acc) !important}
.cx-under{color:var(--dim) !important}

/* the guide's two battle halves on charcoal, not pastel */
.guide-half{background:color-mix(in srgb,var(--gc) 16%,#141418) !important}
.guide-half .guide-btn{color:#0b0b0e !important;text-shadow:none !important;border:2px solid #000 !important;box-shadow:3px 3px 0 #000 !important;border-radius:0 !important}
.landing-feed-row.is-match .landing-feed-tag{background:rgba(255,47,168,.2) !important;color:var(--bone) !important}
.landing-feed-row.is-card .landing-feed-tag{background:rgba(31,209,255,.2) !important;color:var(--bone) !important}
.menu-dialog .overlay-msg.error,.card-status.is-error{background:rgba(255,77,77,.14) !important;color:#ffb3b3 !important}
.welcome-chip.hot{background:rgba(var(--acc-rgb),.16) !important;color:var(--bone) !important}
.game-quit-btn:hover{background:rgba(255,77,77,.2) !important}
.guide-pack .slot.u{background:rgba(var(--acc-rgb),.18) !important}
.plate .pfp-profile-header{background:#141418 !important}

/* Settings: the accent picker, 8 flat neon squares */
.theme-books.accent-swatches{display:grid !important;grid-template-columns:repeat(4,44px) !important;gap:10px !important;max-width:none !important;justify-content:center;margin:12px auto 6px}
.accent-swatches .theme-book{width:44px !important;height:44px !important;aspect-ratio:1 !important;border:2px solid #000 !important;border-radius:0 !important;
  box-shadow:3px 3px 0 #000 !important;background-image:none !important;padding:0;cursor:pointer;transform:none !important}
.accent-swatches .theme-book.active{outline:3px solid var(--bone) !important;outline-offset:2px}
.accent-swatches .theme-book:hover{transform:translate(-1px,-1px) !important}
.guide-btn{color:#0b0b0e !important;text-shadow:none !important;border:2px solid #000 !important;box-shadow:3px 3px 0 #000 !important;border-radius:0 !important}
.accent-swatches .theme-book::before,.accent-swatches .theme-book::after{display:none !important}

/* the win seal: a neon sticker, not red wax */
.win-seal{background:var(--leather-grain,none) 0 0/960px 480px,var(--acc) !important;color:#0b0b0e !important;border:2px solid #000 !important;box-shadow:3px 3px 0 #000 !important;text-shadow:none !important}
.win-seal *{color:#0b0b0e !important;text-shadow:none !important}

/* "Skip for now" on a first-time visitor's drawing pad: quiet, beside Done */
.draw-first-skip{font-family:var(--ui) !important;font-weight:700 !important;font-size:18px !important;padding:8px 14px !important;cursor:pointer;
  background:var(--leather-grain,none) 0 0/960px 480px,#26262e !important;color:var(--bone) !important;border:2px solid #000 !important;border-radius:0 !important;box-shadow:3px 3px 0 #000 !important}
.draw-fullscreen-toolbar .draw-first-skip{width:100%;margin:0 !important}
.draw-first-skip:active{transform:translate(2px,2px);box-shadow:1px 1px 0 #000 !important}
@media (max-width:600px){.draw-first-skip{font-size:16px !important;padding:8px 10px !important}}
/* phones: the pad's own top bar, Skip on the left of Done */
.draw-first-skip-m{margin-left:0 !important;font-size:15px !important;padding:6px 12px !important;min-height:38px}
.draw-m-done,.draw-m-btn{border:2px solid #000 !important;border-radius:0 !important;box-shadow:3px 3px 0 #000 !important}
.draw-m-done{background:var(--leather-grain,none) 0 0/960px 480px,var(--acc) !important;color:#0b0b0e !important}
.draw-m-btn{background:var(--leather-grain,none) 0 0/960px 480px,#26262e !important;color:var(--bone) !important}
