/* Visual draft. Strategy, feedback and status colors remain independent. */
html[data-appearance]{
  --bg:#0b0d11;--panel:#17191f;--panel2:#20232c;--ink:#f6f3ef;--muted:#b1b4bf;--line:#343641;
  --appearance-accent:#dc405c;--appearance-bright:#ff8190;--appearance-deep:#9e2941;
  --appearance-rgb:220,64,92;--appearance-tint:#251920;--appearance-on-accent:#fff;
  --appearance-glint:#ffc4ce;--appearance-muted:#b7aab2;--appearance-edge:#62404d;
  --appearance-surface:#171a22;--appearance-raised:#22252f;--appearance-shade:#11141a;
  --appearance-shadow:0 16px 42px #0005,0 2px 5px #0003;
  --wine:var(--appearance-accent);--wine-light:var(--appearance-bright);
  color-scheme:dark;
}
html[data-appearance=amber]{
  --bg:#101114;--panel:#1b1d21;--panel2:#27292d;--ink:#f8f4eb;--muted:#bcbdbf;--line:#3b3c40;
  --appearance-accent:#ffb43f;--appearance-bright:#ffd27d;--appearance-deep:#c77c24;
  --appearance-rgb:255,180,63;--appearance-tint:#2a241c;--appearance-on-accent:#21180c;
  --appearance-glint:#fff0bd;--appearance-muted:#c1b8a9;--appearance-edge:#705735;
  --appearance-surface:#1e2025;--appearance-raised:#2c2e34;--appearance-shade:#15171c;
}
html[data-appearance] body{
  background:radial-gradient(ellipse 80% 580px at 80% 0,rgba(var(--appearance-rgb),.09),transparent 75%),var(--bg);
}
html[data-appearance] .club-header{
  gap:18px;background:linear-gradient(115deg,#11141afa,#16171df7);
  border-bottom:1px solid var(--line);box-shadow:0 7px 30px #0003;
}
html[data-appearance] .club-header .brand{font-size:16px;letter-spacing:.1em;gap:7px}
html[data-appearance] .club-header .brand img{width:62px;height:62px}
html[data-appearance] .club-header nav{gap:22px}
html[data-appearance] .club-header nav a{position:relative;transition:color .18s ease}
html[data-appearance] .club-header nav a:after{
  content:'';position:absolute;inset:auto 0 -1px;height:3px;border-radius:3px 3px 0 0;
  background:var(--appearance-accent);transform:scaleX(0);transition:transform .2s ease;
}
html[data-appearance] .club-header nav a:is(:hover,.active):after{transform:scaleX(1)}
html[data-appearance] .header-discord{
  padding:10px 13px;border-radius:999px;background:linear-gradient(145deg,#2b2d36,#1c1e26);
  border-color:#55525d;box-shadow:inset 0 1px #ffffff0d,0 4px 12px #0003;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
html[data-appearance] .header-discord:hover{background:var(--appearance-tint);border-color:var(--appearance-bright);box-shadow:0 5px 20px #0004}
.appearance-switch{
  display:inline-flex;align-items:center;gap:3px;flex-shrink:0;padding:4px;
  border:1px solid #4b4c56;border-radius:999px;background:#0d1017;box-shadow:inset 0 2px 6px #0005;
}
.appearance-option{
  display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:30px;
  padding:5px 10px;border:1px solid transparent;border-radius:999px;background:transparent;
  color:#bfc1ca;font-size:10px;font-weight:600;line-height:1.4;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.appearance-option[aria-pressed=true]{color:#fff;background:#31333c;border-color:#676973;box-shadow:0 2px 7px #0005,inset 0 1px #ffffff13}
.appearance-option:hover{color:#fff;background:#262932}
.appearance-swatch{width:8px;height:8px;border-radius:50%;box-shadow:0 0 0 2px #ffffff12;flex-shrink:0}
.appearance-swatch-classic{background:#e44966}.appearance-swatch-amber{background:#ffb43f}
html[data-appearance] :is(a,button,input,select,summary):focus-visible{outline:3px solid var(--appearance-bright);outline-offset:4px}
html[data-appearance] .skip-link:focus{background:var(--appearance-accent);color:var(--appearance-on-accent)}
html[data-appearance] .mode-bar{background:linear-gradient(180deg,#181b22,#12151c);border-color:var(--line);box-shadow:0 6px 22px #0002}
html[data-appearance] .school-location [aria-current=page]{color:var(--appearance-glint);background:rgba(var(--appearance-rgb),.12);border-color:rgba(var(--appearance-rgb),.4);border-radius:9px}
html[data-appearance] .mode-bar .school-location a:hover{color:var(--appearance-bright)}
html[data-appearance] .portal-page{
  --portal-wine:var(--appearance-accent);--portal-soft:#c5c8d1;--portal-border:var(--line);--portal-panel:var(--appearance-surface);
  background:transparent;
}
html[data-appearance] :is(.portal-eyebrow,.portal-service-icon,.portal-space-top,.portal-category-icon,.portal-format-card .portal-icon,.portal-card-tag){color:var(--appearance-bright)}
html[data-appearance] .portal-hero{position:relative;isolation:isolate;padding-top:60px;padding-bottom:62px;min-height:590px}
html[data-appearance] .portal-hero:before{
  content:'';position:absolute;z-index:-1;inset:28px -14px 22px;
  border:1px solid #ffffff08;border-radius:28px;
  background:radial-gradient(ellipse at 83% 42%,rgba(var(--appearance-rgb),.16),transparent 54%),linear-gradient(125deg,#171b2480,#11141b18 60%);
  box-shadow:0 30px 65px #0002;pointer-events:none;
}
html[data-appearance] .portal-hero h1{font-weight:650;line-height:1.08;text-wrap:balance}
html[data-appearance] :is(.portal-hero h1 em,.portal-text-link,.portal-category-bottom,.portal-format-bottom){color:var(--appearance-bright)}
html[data-appearance] .portal-lead{color:#bfc3cd}
html[data-appearance] :is(.portal-button,.btn){border-radius:13px;transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease}
html[data-appearance] :is(.portal-button,.btn):not(.portal-button-secondary):not(.secondary):not(.quiet){
  background:linear-gradient(120deg,var(--appearance-accent),var(--appearance-deep));
  border-color:var(--appearance-accent);color:var(--appearance-on-accent);
  box-shadow:0 6px 20px rgba(var(--appearance-rgb),.17),inset 0 1px #ffffff24,0 2px 4px #0004;
}
html[data-appearance=amber] :is(.portal-button,.btn):not(.portal-button-secondary):not(.secondary):not(.quiet){background:linear-gradient(120deg,#ffd078,#ffac36);border-color:#ffc05d}
html[data-appearance] :is(.portal-button-secondary,.btn.secondary,.btn.quiet){background:linear-gradient(140deg,#292c36,#1b1e26);border-color:#51535e;color:#edeef3;box-shadow:inset 0 1px #ffffff0a,0 4px 12px #0003}
html[data-appearance] .btn.quiet{background:transparent;border-color:transparent;color:var(--appearance-bright);box-shadow:none}
html[data-appearance] .portal-brand-art{background:transparent;border-radius:26px}
html[data-appearance] .portal-brand-art:before{width:95%;background:radial-gradient(ellipse,rgba(var(--appearance-rgb),.18),transparent 65%)}
html[data-appearance] .portal-brand-orbit{border-color:rgba(var(--appearance-rgb),.2);box-shadow:0 0 50px rgba(var(--appearance-rgb),.035)}
html[data-appearance] .portal-brand-orbit:before{border-color:rgba(var(--appearance-rgb),.22)}
html[data-appearance] .portal-brand-orbit:after{background:var(--appearance-accent);box-shadow:0 0 16px rgba(var(--appearance-rgb),.45)}
html[data-appearance] .portal-brand-art-suit{color:rgba(var(--appearance-rgb),.32)}
html[data-appearance] .portal-hero-logo{filter:drop-shadow(0 20px 40px #0007)}
html[data-appearance] .portal-services{border-color:var(--line)}
html[data-appearance] .portal-service h2{color:#f2efee}
html[data-appearance] .portal-service p{color:#abb0bd}
html[data-appearance] :is(.portal-space-card,.portal-category-card,.portal-format-card,.portal-contact-card,.tools-card){
  border:1px solid #3c3e49;border-radius:20px;
  background:radial-gradient(ellipse at 100% 0,rgba(var(--appearance-rgb),.1),transparent 65%),linear-gradient(140deg,var(--appearance-raised),var(--appearance-surface) 70%);
  box-shadow:var(--appearance-shadow),inset 0 1px #ffffff0b;
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}
html[data-appearance] :is(.portal-category-live,.portal-format-live,.portal-contact-live){border-color:var(--appearance-edge)}
html[data-appearance] :is(.portal-category-live,.portal-format-live):before{background:linear-gradient(110deg,rgba(var(--appearance-rgb),.14),transparent 70%)}
html[data-appearance] .portal-page :is(.portal-category-card,.portal-format-card) :is(.portal-card-tag,.portal-category-bottom){color:var(--appearance-bright);border-top-color:rgba(var(--appearance-rgb),.17)}
html[data-appearance] :is(.portal-space-card,.portal-category-card,.portal-format-card) p{color:#b0b5c2}
html[data-appearance] :is(.portal-round-arrow,.portal-contact-action){border-color:rgba(var(--appearance-rgb),.35);background:rgba(var(--appearance-rgb),.1);color:var(--appearance-bright)}
html[data-appearance] :is(.portal-community-band,.community-preview){border-color:var(--appearance-edge);background:linear-gradient(135deg,var(--appearance-tint),var(--appearance-surface));border-radius:20px;box-shadow:var(--appearance-shadow)}
html[data-appearance] .portal-community-mark{color:var(--appearance-bright)}
html[data-appearance] :is(.portal-back,.portal-catalog-note,.portal-section-heading>p){color:#adb3c0}
html[data-appearance] .portal-app{border-color:#40434c;background:var(--appearance-surface);border-radius:15px;box-shadow:0 5px 20px #0002}
html[data-appearance] .club-footer{border-color:var(--line);background:linear-gradient(180deg,transparent,#090b1080)}
html[data-appearance] .club-footer :is(a:hover,.footer-socials a:focus-visible){color:var(--appearance-bright)}
html[data-appearance] .agent-contact-link{border-color:var(--appearance-edge);border-left-color:var(--appearance-accent);background:linear-gradient(130deg,var(--appearance-raised),var(--appearance-surface));border-radius:16px;box-shadow:var(--appearance-shadow)}
html[data-appearance] .agent-contact-link:hover{background:var(--appearance-raised);border-color:var(--appearance-bright)}
/* School accents follow the selected skin; quizzes keep their meaning. */
html[data-appearance] .course-home{--wine:var(--appearance-accent);--wine-light:var(--appearance-bright)}
html[data-appearance] :is(.course-home,.m2-home) :is(.eyebrow,h1 em){color:var(--appearance-bright)}
html[data-appearance] .m2-module-nav a{border-radius:13px;border-color:#464853;background:linear-gradient(135deg,#282b35,#1b1e27);box-shadow:0 5px 16px #0003,inset 0 1px #ffffff0b}
html[data-appearance] .m2-module-nav [aria-current=page]{background:linear-gradient(120deg,var(--appearance-tint),var(--appearance-surface));border-color:var(--appearance-accent);color:var(--appearance-glint);box-shadow:0 5px 20px rgba(var(--appearance-rgb),.09),inset 0 1px #ffffff0b}
html[data-appearance] .m2-module-nav a:is(:hover,:focus-visible){border-color:var(--appearance-bright);color:#fff;background:var(--appearance-tint)}
html[data-appearance] :is(.course-hero,.m2-hero) h1 em{color:var(--appearance-bright)}
html[data-appearance] :is(.course-chapter,.m2-chapter,.course-module-card,.m2-module-card){border-radius:20px;box-shadow:var(--appearance-shadow),inset 0 1px #ffffff0b}
html[data-appearance] :is(.course-chapter,.m2-chapter){border-color:#42444f;background:var(--appearance-surface)}
html[data-appearance] :is(.course-chapter,.m2-chapter)>header{background:linear-gradient(125deg,var(--appearance-tint),var(--appearance-raised));border-color:var(--line)}
html[data-appearance] :is(.course-chapter,.m2-chapter)>header>span{color:var(--appearance-bright)}
html[data-appearance] .course-lesson-link{transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}
html[data-appearance] .course-lesson-link:hover{background:rgba(var(--appearance-rgb),.06);border-color:var(--appearance-edge);box-shadow:inset 3px 0 var(--appearance-accent)}
html[data-appearance] .course-progress-track>span{background:linear-gradient(90deg,var(--appearance-deep),var(--appearance-bright))}
html[data-appearance] .course-module-progress strong{color:var(--appearance-bright)}
html[data-appearance] :is(.lesson-sidebar,.m2-sidebar) a[aria-current=page]{background:rgba(var(--appearance-rgb),.1);border-color:var(--appearance-accent);color:var(--appearance-glint)}
html[data-appearance] .course-example{border-color:var(--appearance-edge);border-radius:16px;background:linear-gradient(135deg,var(--appearance-tint),#14171e)}
html[data-appearance] :is(.course-example,.key-line) h3{color:var(--appearance-glint)}
/* Competition retains gold prizes and separate status signals. */
html[data-appearance] .lb-heading{border-color:var(--appearance-edge);border-radius:24px;background:radial-gradient(ellipse at 5% 0,rgba(var(--appearance-rgb),.16),transparent 65%),linear-gradient(120deg,var(--appearance-tint),var(--appearance-surface));box-shadow:var(--appearance-shadow),inset 0 1px #ffffff0a}
html[data-appearance] .lb-heading p{color:#d0c6c9}
html[data-appearance] .lb-heading .eyebrow{color:var(--appearance-bright)}
html[data-appearance] .lb-hero-suit{color:var(--appearance-bright)}
html[data-appearance] :is(.lb-info-card,.lb-card,.lb-freeroll){border-radius:18px;background:var(--appearance-surface);border-color:#45434d;box-shadow:var(--appearance-shadow),inset 0 1px #ffffff0b}
html[data-appearance] :is(.lb-card-header,.lb-info-toggle){background:linear-gradient(130deg,var(--appearance-raised),var(--appearance-surface))}
html[data-appearance] .lb-card-season{border-color:var(--appearance-edge)}
html[data-appearance] :is(.lb-table tbody tr,.lb-prizes-table tbody tr){transition:background .18s ease}
html[data-appearance] .lb-table tbody tr:hover{background:rgba(var(--appearance-rgb),.05)}
/* Study gets the same panel finish, while cell/action colors stay untouched. */
html[data-appearance] :is(.pf-builder,.pf-detail,.pf-result){background:linear-gradient(145deg,var(--appearance-surface),var(--appearance-shade));border-color:#454852;box-shadow:0 10px 25px #0003,inset 0 1px #ffffff06}
html[data-appearance] .pf-builder{border-radius:16px}
html[data-appearance] .pf-detail{border-radius:16px}
html[data-appearance] .pf-result{border-radius:18px}
html[data-appearance] .pf-builder :is(.pf-formats,.pf-positions,.pf-situations,.pf-opponents,.pf-sizings)>button[aria-pressed=true]{border-color:var(--appearance-accent);background:rgba(var(--appearance-rgb),.19);color:#fff}
html[data-appearance] .pf-builder :is(.pf-formats,.pf-positions,.pf-situations,.pf-opponents,.pf-sizings)>button:hover{border-color:var(--appearance-bright)}
html[data-appearance] .pf-builder .pf-stack-segment>button[aria-pressed=true]{border-color:#88b49b;background:#294c3d}
html[data-appearance] .pf-builder :is(.pf-heading,.pf-builder-heading){border-bottom-color:var(--line)}
html[data-appearance] .pf-source-details{background:var(--appearance-shade);border-color:#414650}
@media(hover:hover) and (pointer:fine){
  html[data-appearance] :is(.portal-button,.btn):hover{transform:translateY(-2px);border-color:var(--appearance-bright);box-shadow:0 10px 28px rgba(var(--appearance-rgb),.2),inset 0 1px #ffffff24}
  html[data-appearance] :is(a.portal-space-card,a.portal-category-card,a.portal-format-card,a.portal-contact-card,.tools-card):hover{transform:translateY(-5px);border-color:var(--appearance-accent);box-shadow:0 22px 46px #0006,0 0 0 1px rgba(var(--appearance-rgb),.08),inset 0 1px #ffffff13}
}
@media(min-width:781px) and (max-width:1120px){
  html[data-appearance]{scroll-padding-top:145px}
  html[data-appearance] .club-header{height:130px;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:64px 66px;gap:0 20px;padding-inline:26px}
  html[data-appearance] .club-header .brand{grid-column:1;grid-row:1}
  html[data-appearance] .club-header nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:32px}
  html[data-appearance] .club-header nav a{padding:31px 0 14px}
  .appearance-switch{grid-column:2;grid-row:1;justify-self:end}
  html[data-appearance] .header-discord{grid-column:3;grid-row:1}
}
@media(max-width:780px){
  html[data-appearance]{scroll-padding-top:195px}
  html[data-appearance] .club-header{min-height:152px;grid-template-columns:1fr auto;gap:0 10px;padding:8px 18px 0;grid-template-rows:auto auto auto}
  html[data-appearance] .club-header .brand{grid-column:1;grid-row:1;font-size:15px}
  html[data-appearance] .club-header .brand img{width:50px;height:50px}
  html[data-appearance] .header-discord{grid-column:2;grid-row:1;padding:8px 10px;font-size:10px}
  .appearance-switch{grid-column:1/-1;grid-row:2;justify-self:end;margin-block:5px 2px}
  .appearance-option{min-height:36px;padding:5px 12px;font-size:10px}
  html[data-appearance] .club-header nav{grid-column:1/-1;grid-row:3;gap:0;display:grid}
  html[data-appearance] .club-header nav a{padding:31px 0 12px;font-size:10px}
  html[data-appearance] .portal-hero{min-height:0;padding-top:40px;padding-bottom:40px}
  html[data-appearance] .portal-hero:before{inset:12px -8px 10px;border-radius:22px}
  html[data-appearance] .portal-hero h1{font-size:clamp(36px,8vw,52px)}
  html[data-appearance] .portal-brand-art{min-height:300px}
  html[data-appearance] .portal-hero-logo{width:270px}
  html[data-appearance] :is(.portal-space-card,.portal-category-card,.portal-format-card,.portal-contact-card){border-radius:17px}
  html[data-appearance] .lb-heading{border-radius:19px}
  html[data-appearance] .m2-module-nav a{border-radius:12px}
}
/* Preserve the tool's compact chrome and its original one-screen geometry. */
@media(min-width:980px){
  html[data-appearance] body.preflop-workspace .club-header{display:flex;height:64px;min-height:64px;gap:18px;padding:0 20px}
  html[data-appearance] body.preflop-workspace .club-header .brand{font-size:14px;gap:6px}
  html[data-appearance] body.preflop-workspace .club-header .brand img{width:46px;height:46px}
  html[data-appearance] body.preflop-workspace .club-header nav{display:flex;gap:18px}
  html[data-appearance] body.preflop-workspace .club-header nav a{padding:21px 0;font-size:11px;line-height:20px}
  html[data-appearance] body.preflop-workspace .appearance-switch{margin:0}
  html[data-appearance] body.preflop-workspace .header-discord{padding:7px 10px;font-size:10px}
}
@media(max-width:420px){
  html[data-appearance] .club-header{padding-inline:14px}
  html[data-appearance] .club-header .brand{font-size:13px}
  html[data-appearance] .club-header .brand img{width:45px;height:45px}
  html[data-appearance] .club-header .brand small{font-size:7px}
  html[data-appearance] .header-discord{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  html[data-appearance]{scroll-behavior:auto}
  html[data-appearance] *,html[data-appearance] *:before,html[data-appearance] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  html[data-appearance] :is(.portal-button,.btn,.portal-space-card,.portal-category-card,.portal-format-card,.portal-contact-card,.tools-card):hover{transform:none}
}
