/* Account-only dashboard; guest authentication keeps the shared community layout. */
.dashboard-active:not(.homepage) {background:#f5f5ef;color:#233c30;}
.dashboard-active .site-footer {color:#e0e9d8;}
.dashboard-active .community-page {max-width:1240px;padding:30px 32px 64px;}
.dashboard-active .account-layout {max-width:none;}
.dashboard-active #account-app {padding:0;background:none;border:0;box-shadow:none;color:#233c30;}
.dashboard-active #account-app > .auth-message {margin:0 0 14px;min-height:0;}
.dashboard-active #account-app > .auth-message:empty {display:none;}
.dashboard-active #account-app > .auth-message:not(:empty) {padding:12px 16px;background:#e4eddf;border-radius:10px;}
.dashboard {--dash-green:#214e3a;--dash-muted:#637269;--dash-line:#e1e6dc;font-size:14px;}
.dashboard * {box-sizing:border-box;}
.dashboard a {color:var(--dash-green);text-underline-offset:4px;}
.dashboard a:focus-visible,.dashboard button:focus-visible,.dashboard summary:focus-visible {outline:3px solid #ac7b20;outline-offset:5px;}
.dashboard h1,.dashboard h2,.dashboard h3,.dashboard p {margin:0;}
.dashboard h2 {text-align:left;font-size:21px;line-height:1.3;letter-spacing:-.5px;color:#233c30;}
.dashboard .dash-eyebrow {font-size:10px;font-weight:750;letter-spacing:1.5px;line-height:1.6;color:#637269;margin-bottom:8px;}
.dash-topline,.dash-heading,.dash-section-heading,.dash-nav {display:flex;align-items:center;justify-content:space-between;gap:20px;}
.dash-topline {font-size:12px;margin-bottom:28px;}
.dash-home {text-decoration:none;}
.dash-member {color:#66766a;background:#e8ecdf;border-radius:30px;padding:7px 12px;}
.dash-heading {margin-bottom:25px;}
.dashboard .dash-heading h1 {font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,3.5vw,43px);font-weight:400;letter-spacing:-1.5px;line-height:1.2;margin:0 0 10px;overflow-wrap:anywhere;}
.dash-heading > div {min-width:0;}
.dash-heading-dot {color:#ae832c;}
.dash-heading p:not(.dash-eyebrow) {color:var(--dash-muted);font-size:14px;}
.dash-profile-link {display:flex;align-items:center;gap:10px;text-decoration:none;font-size:12px;white-space:nowrap;}
.dash-profile-link .player-avatar {width:45px;}
.dash-nav {justify-content:flex-start;border-bottom:1px solid #d9e0d4;margin-bottom:26px;gap:28px;}
.dash-nav a {padding:13px 0 15px;text-decoration:none;color:#657369;font-weight:600;font-size:12px;}
.dash-nav a[aria-current] {color:#214e3a;border-bottom:3px solid #214e3a;margin-bottom:-1px;}
.dashboard .dash-nav button {margin-left:auto;background:none;color:#657369;padding:10px 0;border:0;font-size:12px;}
.dash-hero-grid {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:22px;}
.dash-hero {position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 90% 0%,#366d4d 0%,#204e37 50%,#163e2e 100%);color:#fffcec;border-radius:16px;padding:32px;min-height:295px;}
.dash-hero::after {content:'';position:absolute;width:310px;height:310px;right:-60px;bottom:-110px;border:1px solid #ffffff12;border-radius:50%;box-shadow:0 0 0 35px #ffffff03,0 0 0 70px #ffffff03;z-index:-1;}
.dash-hero-copy {position:relative;z-index:2;max-width:360px;}
.dashboard .dash-hero .dash-eyebrow {color:#d7e6ca;font-size:9px;letter-spacing:1.2px;}
.dash-live-dot {display:inline-block;width:6px;height:6px;background:#e5c76e;border-radius:50%;margin-right:5px;}
.dashboard .dash-hero h2 {font:400 40px/1.08 Georgia,serif;letter-spacing:-1px;color:#fff9e5;margin:18px 0 14px;}
.dash-hero p:not(.dash-eyebrow) {font-size:12px;line-height:1.8;color:#d4e0cd;}
.dashboard .dash-button {display:inline-flex;align-items:center;justify-content:space-between;gap:24px;background:#214e3a;color:white;border-radius:7px;padding:13px 17px;text-decoration:none;font-size:12px;font-weight:700;transition:transform .15s,background .15s;}
.dashboard .dash-button:hover {background:#326047;transform:translateY(-2px);}
.dashboard .dash-button-gold {background:#ecd48f;color:#273e2d;margin-top:23px;box-shadow:0 3px 10px #0a291a24;}
.dashboard .dash-button-gold:hover {background:#f9e5ac;}
.dash-hero-note {display:block;font-size:10px;color:#becfb7;margin-top:12px;}
.dash-card-art {position:absolute;right:26px;top:70px;width:170px;height:220px;transform:rotate(9deg);}
.dash-playing-card {position:absolute;width:113px;height:165px;border-radius:10px;background:#faf8ee;box-shadow:0 10px 20px #051c2650;border:1px solid #e6e6d7;padding:9px;color:#253e33;font:21px/1 Georgia,serif;}
.dash-playing-card span {display:block;}
.dash-playing-card small {display:block;font-size:18px;margin-top:1px;}
.dash-playing-card span:last-child {position:absolute;bottom:9px;right:9px;transform:rotate(180deg);}
.dash-playing-card b {display:block;text-align:center;font-size:68px;font-weight:400;margin-top:4px;}
.dash-card-back {background:repeating-linear-gradient(45deg,#37614c 0px,#37614c 3px,#31533f 3px,#31533f 6px);border:5px solid #e9e6d5;transform:rotate(-25deg);left:-10px;top:0;}
.dash-card-heart {transform:rotate(-13deg);left:12px;top:11px;color:#a24b3b;}
.dash-card-spade {left:45px;top:28px;transform:rotate(5deg);}
.dash-panel {background:#fffef9;border:1px solid var(--dash-line);border-radius:14px;padding:24px;min-width:0;}
.dash-resume {display:flex;flex-direction:column;}
.dash-resume .dash-section-heading {gap:8px;align-items:baseline;}
.dash-device {color:#68786b;border:1px solid #dfe5d8;border-radius:5px;padding:3px 6px;font-size:9px;white-space:nowrap;}
.dash-resume h2 {margin:3px 0 16px;}
.dash-muted {color:var(--dash-muted);font-size:12px;line-height:1.7;}
.dash-fineprint {color:#737c70;font-size:10px;line-height:1.7;margin-top:auto!important;padding-top:17px;}
.dash-resume-empty {background:#eff2e8;border-radius:10px;padding:17px;margin-bottom:12px;}
.dash-resume-empty strong {display:block;font:24px/1.1 Georgia,serif;color:#3c5a3d;margin-bottom:8px;}
.dash-resume-item {display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--dash-line);padding:12px 0;text-decoration:none;}
.dash-resume-item:first-child {padding-top:0;}
.dash-resume-item:last-child {border-bottom:0;}
.dash-resume-item > span:last-child {margin-left:auto;font-size:17px;}
.dash-resume-item strong {font-size:13px;display:block;}
.dash-resume-item small {font-size:10px;color:var(--dash-muted);display:block;margin-top:4px;}
.dash-mini-suit {display:flex;align-items:center;justify-content:center;width:34px;height:39px;flex-shrink:0;border:1px solid #dfe6d7;border-radius:6px;background:#f1f3e9;font:23px Georgia,serif;}
.dash-stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:22px;}
.dash-stat {position:relative;padding:21px 22px;background:#fffef9;border:1px solid var(--dash-line);border-radius:12px;}
.dash-stat > span:not(.dash-stat-icon) {display:block;font-size:11px;color:#526556;padding-right:22px;line-height:1.5;}
.dash-stat strong {display:block;font-size:34px;font-weight:600;line-height:1.2;letter-spacing:-1px;margin:10px 0 6px;font-variant-numeric:tabular-nums;}
.dash-stat small {font-size:10px;color:#74816f;}
.dash-stat-icon {position:absolute;right:17px;top:17px;color:#7c8d68;font-size:22px;}
.dash-content-grid {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:22px;margin-top:30px;}
.dash-main-column,.dash-side-column {display:grid;gap:24px;align-content:start;min-width:0;}
.dash-section-heading > a {font-size:11px;font-weight:600;white-space:nowrap;text-decoration:none;}
.dash-games {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:17px;}
.dash-game {border:1px solid var(--dash-line);border-radius:11px;overflow:hidden;background:#fffef9;text-decoration:none;transition:transform .15s,box-shadow .15s;}
.dash-game:hover {transform:translateY(-3px);box-shadow:0 8px 20px #304d3212;}
.dash-game-art {height:108px;overflow:hidden;position:relative;display:flex;align-items:flex-end;justify-content:center;background:#e5eadb;}
.dash-art-spider {background:#e3e9e6;}.dash-art-freecell {background:#f0e8d3;}
.dash-game-art > span {display:block;position:relative;top:20px;width:58px;height:92px;border-radius:6px;background:#fffdf4;border:1px solid #d4d9cb;box-shadow:0 4px 10px #30432b15;padding:9px;font:23px Georgia,serif;transform:rotate(-14deg);}
.dash-game-art > span + span {margin-left:-12px;top:28px;transform:rotate(11deg);color:#a65343;}
.dash-art-spider > span + span,.dash-art-freecell > span + span {color:#2d4d3c;}
.dash-art-freecell > span:first-child {color:#a65343;}
.dash-game-art small {display:block;font-size:23px;}
.dash-game > div:last-child {padding:15px 14px;}
.dashboard .dash-game h3 {display:flex;justify-content:space-between;font-size:13px;margin-bottom:5px;}
.dash-game h3 span {font-size:12px;color:#6e7d60;}
.dash-game p {font-size:10px;color:var(--dash-muted);line-height:1.5;}
.dash-activity .dash-section-heading {margin-bottom:15px;}
.dash-result {display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--dash-line);}
.dash-result-info {min-width:0;flex:1;}
.dash-result strong {display:block;font-size:12px;font-weight:600;}
.dash-result small {display:block;color:var(--dash-muted);font-size:10px;margin-top:5px;line-height:1.6;}
.dash-result-end {text-align:right;flex-shrink:0;}
.dash-result-badge {display:inline-block;font-size:10px;font-weight:600;color:#3e673d;background:#ebf0e4;padding:4px 8px;border-radius:5px;}
.dash-result-badge[data-outcome=loss],.dash-result-badge[data-outcome=abandoned] {color:#796953;background:#f1eee6;}
.dash-empty {padding:28px 10px 16px;text-align:center;}
.dash-empty > span {display:inline-flex;font:30px Georgia,serif;color:#6b7d54;background:#eef1e5;border-radius:50%;width:55px;height:55px;align-items:center;justify-content:center;margin-bottom:13px;}
.dash-empty h3 {font-size:15px;margin-bottom:8px;}
.dash-empty p {max-width:310px;margin:auto;color:var(--dash-muted);font-size:12px;line-height:1.8;}
.dash-empty a {display:inline-block;font-size:12px;margin-top:13px;font-weight:600;}
.dash-week > .dash-muted {margin-top:9px;font-size:10px;}
.dash-chart {display:flex;gap:9px;align-items:flex-end;height:125px;margin-top:20px;}
.dash-chart-day {display:flex;flex:1;height:100%;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;min-width:0;font-size:9px;color:#737e6d;}
.dash-chart-day b {font-weight:500;font-size:10px;color:#52624e;}
.dash-chart-bar {width:100%;max-width:25px;min-height:4px;background:#cad8ba;border-radius:4px 4px 0 0;}
.dash-chart-day:last-child .dash-chart-bar {background:#426b47;}
.dash-week-note {border-top:1px solid var(--dash-line);margin-top:16px!important;padding-top:13px;font-size:11px;line-height:1.6;color:#52664d;}
.dash-social {background:#e9eddf;border:1px solid #dfe5d2;padding:24px;border-radius:14px;}
.dash-social-suits {display:block;font-size:28px;letter-spacing:6px;color:#64734e;margin-bottom:16px;}.dash-social-suits i {font-style:normal;color:#a37b48;}
.dashboard .dash-social h2 {font:25px/1.2 Georgia,serif;max-width:230px;}
.dash-social > p:not(.dash-eyebrow) {color:#64725b;font-size:12px;line-height:1.8;margin:12px 0 18px;}
.dash-social .dash-button {width:100%;}
.dash-history-link {display:block;font-size:10px;line-height:1.7;text-align:center;margin-top:13px;}
.dash-settings {margin-top:28px;}
#player-dashboard,#recent-activity,#profile-settings {scroll-margin-top:200px;}
.dash-settings > summary {list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;gap:15px;}
.dash-settings > summary::-webkit-details-marker {display:none;}
.dash-settings > summary .dash-eyebrow {display:block;}
.dash-settings-title {font-size:18px;font-weight:600;}
.dash-settings-toggle {font-size:26px;color:#65765a;}
.dash-settings[open] .dash-settings-toggle {transform:rotate(45deg);}
.dash-settings-content {max-width:540px;border-top:1px solid var(--dash-line);margin-top:22px;padding-top:22px;}
.dash-settings-content h2 {margin-bottom:10px;}
.dash-settings-content .profile-email {margin-bottom:20px;color:var(--dash-muted);}
.dash-settings-content > p {margin:18px 0;}
.dash-load-status:not(:empty) {margin-top:16px;font-size:12px;color:#806139;line-height:1.6;}
.dashboard .dash-retry {font-size:12px;margin-top:10px;}
@media(min-width:1001px) and (max-width:1150px){.dash-card-art {right:0;transform:scale(.83) rotate(9deg);transform-origin:right center;}.dash-hero-copy {max-width:290px;}}
@media(max-width:1000px){.dash-hero-grid,.dash-content-grid {grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;}.dash-card-art {opacity:.24;right:0;}.dash-hero-copy {max-width:none;}.dash-stat {padding:18px 14px;}.dash-stat-icon {display:none;}.dash-stat > span:not(.dash-stat-icon) {padding-right:0;}.dash-panel,.dash-social {padding:20px;}.dashboard h2 {font-size:19px;}}
@media(max-width:720px){.dashboard-active .community-page {padding:24px 18px 40px;}.dash-topline {margin-bottom:24px;}.dash-heading {align-items:flex-start;gap:10px;}.dash-profile-link > span:last-child {display:none;}.dash-profile-link .player-avatar {width:40px;}.dashboard .dash-heading h1 {font-size:32px;}.dash-heading p:not(.dash-eyebrow) {font-size:12px;}.dash-nav {gap:20px;overflow-x:auto;}.dash-nav a,.dashboard .dash-nav button {font-size:11px;white-space:nowrap;}.dash-hero-grid,.dash-content-grid {grid-template-columns:1fr;}.dash-hero {padding:27px;}.dash-card-art {opacity:1;right:20px;}.dash-hero-copy {max-width:310px;}.dash-stats {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.dash-stat {padding:18px;}.dash-stat strong {font-size:30px;}.dash-content-grid {margin-top:24px;}.dash-side-column {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}.dash-social .dash-button {gap:8px;}.dash-resume {min-height:0;}.dash-resume-empty {margin-bottom:0;}.dash-resume h2 {margin-bottom:16px;}}
@media(max-width:480px){.dash-card-art {transform:scale(.8) rotate(9deg);right:-34px;top:79px;opacity:.38;}.dash-hero-copy {max-width:275px;}.dashboard .dash-hero h2 {font-size:37px;}.dash-hero .dash-eyebrow {max-width:220px;}.dash-side-column {grid-template-columns:1fr;}.dash-nav {gap:18px;}.dashboard .dash-nav button {font-size:10px;}.dashboard .dash-nav button span {font-size:14px;}.dash-games {gap:8px;}.dash-game > div:last-child {padding:12px 9px;}.dashboard .dash-game h3 {font-size:12px;}.dash-game p {font-size:9px;}.dash-game-art {height:90px;}.dash-game-art > span {width:45px;height:78px;font-size:19px;padding:7px;}.dash-game-art small {font-size:19px;}.dash-section-heading {gap:10px;}.dash-section-heading > a {font-size:10px;}.dashboard h2 {font-size:18px;}.dash-result {gap:8px;}.dash-result .dash-mini-suit {display:none;}.dash-chart {height:140px;}}
@media(prefers-reduced-motion:reduce){.dashboard * {transition:none!important;}}

@media(prefers-reduced-motion:reduce){html:has(.dashboard-active) {scroll-behavior:auto;}}
