/* VALENDOR Community 1.2.0: accessible controls, profiles and calendar decorations. */
.network-auth{display:flex;align-items:center;gap:8px}
.season-toggle,.network-notification-link{background:#303b46;color:#edf0f3;border:1px solid #64707c;border-radius:3px;padding:7px 9px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer;text-decoration:none}
.season-toggle:hover,.network-notification-link:hover{color:#fff;border-color:#e3e9ef}
.network-notification-link{position:relative;font-size:16px;line-height:1}
.notification-number{position:absolute;right:-6px;top:-8px;border-radius:99px;background:#8B1A1A;color:#fff;font-size:9px;min-width:18px;line-height:18px;text-align:center;padding:0 3px}
.community-notice{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);padding:16px;margin:10px 0;font-size:13px}
.community-notice.is-unread{border-left:4px solid #8B1A1A;background:var(--light-red)}
.community-notice small{display:block;color:var(--quiet);margin-top:6px}
.notification-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
.notification-heading h2{margin:0}
.account-safety .security-form{border-top:1px solid var(--line);padding:16px 0;display:flex;flex-wrap:wrap;align-items:end;gap:14px}
.account-safety .security-form label{flex:1;min-width:230px}
.account-safety .security-form input{display:block;width:100%;margin-top:7px}
.backup-once{border:2px solid #8B1A1A;background:var(--paper);padding:17px;margin:15px 0}
.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.backup-grid code{display:block;letter-spacing:.08em;font-size:13px;padding:10px;background:var(--ground);border:1px solid var(--line);color:var(--ink);overflow-wrap:anywhere}
.totp-secret{display:block;background:var(--ground);color:var(--ink);border:1px solid var(--line);padding:10px;margin:12px 0;overflow-wrap:anywhere}
.auth-reset-pending{border:1px solid var(--line);padding:16px}
.notification-preferences{display:grid;gap:11px;max-width:550px}.notification-preferences label{display:flex;gap:10px;align-items:center}
.legal-copy{max-width:900px;line-height:1.7}.legal-copy h2{margin-top:22px;color:var(--ink)}.legal-copy p{color:var(--ink)}.legal-warning{border-left:4px solid #8B1A1A;padding:15px;background:var(--light-red)}
/* Profile labels remain legible in BOTH color modes. */
.profile-top h1{color:#f9fafb!important;text-shadow:0 1px 3px #000a}
.profile-top small,.profile-top .eyeline{color:#d6dee6!important}
html[data-theme="light"] .profile-content h2,html:not([data-theme="dark"]) .profile-content h2{color:var(--ink)}
html[data-theme="dark"] .profile-content h2{color:#f0f3f8}
/* Seasons never overwrite the core VALENDOR crimson (#8B1A1A) or base theme variables. */
html[data-season="autumn"]{--season-accent:#b27e42;--season-muted:#8b612f}
html[data-season="halloween"]{--season-accent:#e58b30;--season-muted:#985629}
html[data-season="winter"]{--season-accent:#86aecd;--season-muted:#577a9c}
html[data-season="advent"]{--season-accent:#b795ce;--season-muted:#806c9b}
html[data-season="christmas"]{--season-accent:#b0c4a5;--season-muted:#6e946a}
html[data-season="spring"]{--season-accent:#83b993;--season-muted:#508566}
html[data-season="summer"]{--season-accent:#d5b76d;--season-muted:#b28e3e}
html[data-season]:not([data-season="off"]) .world-banner{border-bottom:3px solid var(--season-accent)}
html[data-season]:not([data-season="off"]) .world-banner::after{background:linear-gradient(90deg,#101a26bb,#1c1c22ab,#101923ba),radial-gradient(ellipse at 85% 5%,var(--season-accent),transparent 75%);opacity:1}
html[data-season]:not([data-season="off"]) .network-status-kicker:after{content:" ✦";color:var(--season-accent)}
html[data-season]:not([data-season="off"]) .portal-hero{border-bottom-color:var(--season-muted)}
html[data-season="halloween"] .world-banner{background-image:radial-gradient(ellipse at 85% 0%,#ec8d292e,transparent 60%)}
html[data-season="christmas"] .world-banner,html[data-season="winter"] .world-banner{background-image:radial-gradient(ellipse at 85% 0%,#b8e2fa25,transparent 65%)}
html[data-season="autumn"] .world-banner{background-image:radial-gradient(ellipse at 85% 0%,#d4a16a20,transparent 65%)}
html[data-season="spring"] .world-banner{background-image:radial-gradient(ellipse at 85% 0%,#b1db9f25,transparent 65%)}
html[data-season="summer"] .world-banner{background-image:radial-gradient(ellipse at 85% 0%,#f1d17e20,transparent 65%)}
html[data-season="advent"] .world-banner{background-image:radial-gradient(ellipse at 85% 0%,#bfa4c624,transparent 65%)}
@media(max-width:700px){.season-toggle{font-size:10px;padding:6px 7px}.backup-grid{grid-template-columns:1fr}.network-auth{gap:5px}.network-notification-link{padding:6px}.notification-heading{align-items:flex-start}.community-notice{align-items:flex-start;flex-direction:column}}

.profile-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.profile-stat-grid>div{border:1px solid var(--line);background:var(--ground);padding:14px;text-align:center}.profile-stat-grid strong{display:block;color:var(--ink);font-size:21px}.profile-stat-grid small{display:block;color:var(--quiet);font-size:11px;margin-top:4px}@media(max-width:570px){.profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.2.0: official VALENDOR team insignia, rendered only for authenticated server roles. */
.team-seal{--seal-ink:#fff6e3;--seal-metal:#e4bb72;--seal-core:#661116;isolation:isolate;position:relative;display:inline-flex;align-items:center;gap:10px;width:max-content;max-width:100%;min-height:56px;margin:13px 0 9px;padding:8px 14px 8px 9px;border:1px solid var(--seal-metal);border-radius:7px;color:var(--seal-ink)!important;background:linear-gradient(120deg,#320d13 0%,#7b1625 44%,#3a111c 100%);box-shadow:0 0 0 1px #49121a,0 0 22px #b8264b4a,inset 0 1px #ffffff30;line-height:1.2;vertical-align:middle;text-align:left;overflow:hidden}
.team-seal::before{content:"";position:absolute;inset:2px;z-index:-1;pointer-events:none;border:1px solid #e9c88730;border-radius:4px}
.team-seal::after{content:"";position:absolute;inset:-100% -110%;z-index:-1;pointer-events:none;background:linear-gradient(106deg,transparent 35%,#ffffff09 45%,#ffd7a03a 51%,#ffffff08 57%,transparent 67%);transform:translateX(-48%);animation:teamSealsheen 7s ease-in-out infinite}
.team-seal-emblem{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:8px;border:1px solid #f4c46c95;color:#ffe0a6;background:radial-gradient(circle at 50% 5%,#c63a42 0%,#8b1a1a 55%,#381017 100%);box-shadow:inset 0 1px #fff7,0 2px 8px #0008;font-size:29px;font-weight:800;text-shadow:0 1px #000a}
.team-seal-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.team-seal-title{font-size:12px;font-weight:950;line-height:1.25;letter-spacing:.095em;color:#fff7e7!important;text-shadow:0 1px 2px #000a}.team-seal-caption{font-size:10px;font-weight:600;letter-spacing:.018em;color:#f4d7bd!important}.team-seal-verified{display:grid;place-items:center;flex:none;width:18px;height:18px;border-radius:50%;background:#f8d69a;color:#4d151a;font-size:13px;font-weight:1000;margin-left:auto;box-shadow:0 1px 5px #0006}
.team-seal-support{--seal-metal:#71d2de;--seal-ink:#dffaff;--seal-core:#183e54;background:linear-gradient(117deg,#0d2a3a 0%,#17465b 55%,#0e2b41 100%);box-shadow:0 0 0 1px #0c3143,0 0 12px #35c9d03a,inset 0 1px #ffffff30}
.team-seal-support::before{border-color:#7bcdd64b}.team-seal-support::after{display:none}
.team-seal-support .team-seal-emblem{background:radial-gradient(circle at 40% 0%,#3997b4,#13506a 66%,#0c2839);color:#bbf6fd;border-color:#6ec7d2a8;font-size:24px}
.team-seal-support .team-seal-title{color:#ddfaff!important}.team-seal-support .team-seal-caption{color:#b9dbe7!important}.team-seal-support .team-seal-verified{background:#a6e9ef;color:#113645}
.team-seal-compact{min-height:0;padding:6px 8px;gap:6px;margin:8px auto;width:100%;max-width:190px;border-radius:5px;box-shadow:0 0 11px #b8264b40;justify-content:center}
.team-seal-compact .team-seal-title{font-size:9px;letter-spacing:.035em;text-align:center;line-height:1.35}.team-seal-compact .team-seal-emblem{width:24px;height:24px;min-width:24px;font-size:18px;border-radius:4px}.team-seal-compact .team-seal-verified{width:15px;height:15px;min-width:15px;font-size:10px}
.team-seal-compact.team-seal-support{box-shadow:0 0 8px #35c9d02a}
.profile-top .team-seal,.member-public .team-seal{display:flex;margin-top:12px}.profile-top .team-seal{margin-bottom:0}
@keyframes teamSealsheen{0%,68%,100%{transform:translateX(-48%)}78%{transform:translateX(48%)}}
@media(prefers-reduced-motion:reduce){.team-seal::after{animation:none}}
@media(max-width:580px){.team-seal:not(.team-seal-compact){padding:7px 9px;gap:7px;min-height:49px}.team-seal:not(.team-seal-compact) .team-seal-emblem{width:34px;height:34px;font-size:24px}.team-seal:not(.team-seal-compact) .team-seal-title{font-size:10px;letter-spacing:.045em}.team-seal:not(.team-seal-compact) .team-seal-caption{font-size:9px}.team-seal-compact{max-width:165px}}
