:root {
    --navy: #07142c;
    --navy-2: #0d2145;
    --ink: #101d38;
    --muted: #61708d;
    --line: #dce8f6;
    --blue: #168cf4;
    --blue-2: #0874de;
    --green: #29d768;
    --yellow: #ffd33d;
    --surface: #ffffff;
    --soft: #f4f8fd;
    --radius: 18px;
    --shadow: 0 18px 55px rgba(19, 48, 88, .12);
}

* { box-sizing: border-box; }
.fa-solid, .fas { font-family: "Font Awesome 5 Free"; font-style: normal; font-weight: 900; }
.fa-regular, .far { font-family: "Font Awesome 5 Free"; font-style: normal; font-weight: 400; }
.fab { font-family: "Font Awesome 5 Brands"; font-style: normal; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; color: var(--ink); background: #f7faff; font-family: "Roboto", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; }
.container-xxl { width: 100%; max-width: 1420px; margin-right: auto; margin-left: auto; padding-right: 28px; padding-left: 28px; }

.site-header { background: rgba(7, 20, 44, .97); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.navbar { min-height: 78px; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 210px; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 3px solid #fff3a3; border-radius: 12px 12px 16px 8px; background: linear-gradient(145deg, #ffe76d, #ffac16); box-shadow: inset 0 -5px 0 rgba(150,79,0,.25), 0 0 0 3px rgba(255,211,61,.14); color: #102041; font-family: "Press Start 2P", monospace; font-size: 24px; transform: rotate(-2deg); }
.brand strong { display: block; color: var(--yellow); font-family: "Press Start 2P", monospace; font-size: 16px; line-height: 1.1; letter-spacing: -1px; text-shadow: 2px 2px 0 #9c5d00; }
.brand small { display: block; margin-top: 5px; color: #aebbd0; font-size: 9px; letter-spacing: 1.25px; }
.brand-logo { min-width: auto; }
.brand-logo .logo-full { display: block; width: 221px; height: 36px; object-fit: contain; image-rendering: pixelated; }
.brand-logo .logo-small { display: none; width: 50px; height: 50px; object-fit: contain; image-rendering: pixelated; }
.navbar-nav .nav-link { display: flex; align-items: center; gap: 8px; color: #dce6f6; font-weight: 700; padding: 12px 14px !important; border-radius: 11px; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus, .navbar-nav .nav-link.active { color: #fff; background: rgba(23,141,245,.2); }
.navbar-nav .nav-link.active { background: var(--blue); box-shadow: 0 7px 20px rgba(22,140,244,.35); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 18px; border-radius: 10px; font-weight: 700; }
.user-chip { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; }
.user-chip i { color: var(--yellow); font-size: 24px; }

.btn { border-radius: 11px; font-weight: 700; }
.btn-success { background: linear-gradient(135deg, #35dc72, #12b952); border-color: #20ca5f; box-shadow: 0 8px 22px rgba(26,206,94,.22); }
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-play { color: #06152c; background: linear-gradient(180deg, #55ef7e, #21d462); border: 1px solid #69f88f; box-shadow: 0 8px 0 #119b43, 0 14px 30px rgba(23,210,91,.28); }
.btn-play:hover, .btn-play:focus { color: #06152c; background: linear-gradient(180deg, #6df38f, #2cdb6c); transform: translateY(-1px); }
.btn-play:active { transform: translateY(4px); box-shadow: 0 4px 0 #119b43; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.14); }


.site-modal{position:fixed;z-index:1100;inset:0;display:none;place-items:center;padding:20px}.site-modal.is-open{display:grid}.modal-backdrop{position:absolute;inset:0;background:rgba(2,9,22,.84)}.login-dialog{position:relative;z-index:1;width:min(100%,440px);padding:34px;border:1px solid #dce8f6;border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.35)}.modal-close{position:absolute;right:16px;top:14px;width:38px;height:38px;border:0;border-radius:10px;color:#73819a;background:#f0f4f9}.login-icon,.auth-page-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:18px;border-radius:15px;color:#fff;background:linear-gradient(145deg,#168cf4,#7658df);font-size:22px}.login-dialog h2{margin:0;font-size:27px;font-weight:800}.login-dialog>p{color:var(--muted)}.auth-form{display:grid;gap:9px;margin-top:20px}.auth-form label{font-size:14px;font-weight:700}.input-icon{position:relative}.input-icon>i{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#8a99b0}.input-icon input{width:100%;height:50px;padding:0 44px;border:1px solid #cfdceb;border-radius:11px;outline:0;background:#fafdff}.input-icon input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(22,140,244,.12);background:#fff}.password-toggle{position:absolute;right:7px;top:6px;width:38px;height:38px;border:0;background:transparent;color:#75849b}.auth-form .btn{margin-top:10px;padding:13px}.auth-switch{margin:22px 0 0;text-align:center;font-size:14px}.auth-switch a{color:var(--blue-2);font-weight:700}.body-modal-open{overflow:hidden}

.auth-page{min-height:100vh;background:radial-gradient(circle at 80% 15%,rgba(35,149,246,.2),transparent 30%),#07142c}.auth-shell{display:grid;grid-template-columns:1fr 520px;min-height:100vh}.auth-aside{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:46px clamp(30px,7vw,110px);color:#fff;overflow:hidden}.auth-aside::after{content:"";position:absolute;width:560px;height:560px;right:-150px;bottom:-220px;border:80px solid rgba(255,211,61,.08);border-radius:50%}.auth-message{position:relative;z-index:1;max-width:650px;margin:auto 0}.auth-message h1{font-family:"Press Start 2P",monospace;font-size:clamp(34px,4vw,60px);line-height:1.3}.auth-message h1 span{display:block;color:var(--yellow)}.auth-message p{max-width:540px;color:#b9cae0;font-size:18px}.auth-perks{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.auth-perks span{padding:9px 13px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(255,255,255,.06);font-size:14px}.auth-panel{display:flex;align-items:center;padding:45px;background:#f8fbff}.auth-card{width:100%}.auth-card h2{margin:0;font-size:30px;font-weight:800}.auth-card>p{color:var(--muted)}.auth-card .form-hint{margin-top:-3px;color:#8190a6;font-size:12px}.auth-card .alert{font-size:14px}.auth-card .brand{display:none;margin-bottom:38px}.checkbox-line{display:flex;align-items:flex-start;gap:9px;margin-top:7px;color:#5f6e87;font-size:13px}.checkbox-line input{margin-top:3px}.checkbox-line a{color:var(--blue-2)}

.dashboard-page{min-height:100vh;background:#eef4fb}.dashboard-header{background:#07142c}.dashboard-header .navbar{justify-content:space-between}.dashboard-actions{display:flex;align-items:center;gap:10px}.dashboard-main{padding:42px 0 60px}.welcome-row{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.welcome-row .eyebrow{color:var(--blue-2)}.welcome-row h1{margin:5px 0 0;font-size:34px;font-weight:800}.dashboard-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:20px}.profile-card,.stats-card,.quick-card{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.profile-card{overflow:hidden}.profile-banner{height:105px;background:linear-gradient(110deg,#118ce9,#684bd9);background-image:linear-gradient(45deg,rgba(255,255,255,.07) 25%,transparent 25%,transparent 75%,rgba(255,255,255,.07) 75%);background-size:40px 40px}.profile-content{display:grid;grid-template-columns:auto 1fr;gap:18px;padding:0 28px 28px}.profile-avatar{display:grid;place-items:center;width:94px;height:94px;margin-top:-42px;border:6px solid #fff;border-radius:24px;color:#fff;background:#152440;box-shadow:0 10px 22px rgba(0,0,0,.15);font-size:38px}.profile-copy{padding-top:18px}.profile-copy h2{margin:0;font-size:25px;font-weight:800}.profile-copy p{margin:3px 0;color:var(--muted)}.level-progress{margin-top:18px}.level-meta{display:flex;justify-content:space-between;margin-bottom:7px;font-size:13px;font-weight:700}.progress{height:11px;border-radius:99px;background:#e5edf7}.progress-bar{background:linear-gradient(90deg,#14a2f5,#7253dc)}.stats-card{display:grid;grid-template-columns:repeat(2,1fr);padding:18px}.stat{padding:17px}.stat:nth-child(odd){border-right:1px solid var(--line)}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat i{color:var(--blue);font-size:20px}.stat strong{display:block;margin-top:9px;font-size:25px}.stat span{color:var(--muted);font-size:13px}.quick-card{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;padding:25px 28px}.quick-card h2{margin:0;font-size:21px;font-weight:800}.quick-card p{margin:4px 0 0;color:var(--muted)}.quick-actions{display:flex;gap:10px}.quick-actions .btn{padding:11px 18px}


/* Shared responsive rules (non-home pages) */
@media (max-width: 1199px) {
    .auth-shell { grid-template-columns: 1fr 470px; }
}
@media (max-width: 991px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .quick-card { grid-column: auto; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-aside { min-height: 400px; padding: 32px; }
    .auth-panel { padding: 36px; }
    .auth-panel .brand { display: inline-flex; }
    .auth-aside > .brand { display: none; }
    .auth-message { margin: auto; }
}
@media (max-width: 767px) {
    .container-xxl { padding-right: 18px; padding-left: 18px; }
    .auth-aside { min-height: 350px; }
    .auth-message h1 { font-size: 30px; }
    .auth-panel { padding: 30px 20px; }
    .dashboard-actions .user-chip { display: none; }
    .profile-content { grid-template-columns: 1fr; }
    .profile-avatar { margin-top: -46px; }
    .quick-card { display: flex; align-items: flex-start; flex-direction: column; }
    .quick-actions { width: 100%; flex-direction: column; }
    .quick-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
    .stats-card { grid-template-columns: 1fr; }
    .stat { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
    .stat:last-child { border-bottom: 0 !important; }
}

@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}.btn{transition:none}}

.home-page { background: #fff; }
.home-page main { background-color: #f2f5f6; }
.home-page .site-header { position: fixed; z-index: 1030; top: 0; right: 0; left: 0; padding: 6px 0 8px; border: 0; background: transparent; box-shadow: none; }
.home-page section[id], .home-page footer[id] { scroll-margin-top: 84px; }
.home-page .site-header .container-xxl { width: calc(100% - 32px); max-width: 1840px; }
.home-page .navbar { min-height: 64px; gap: 24px; padding: 0 20px; border: 2px solid #103b52; border-radius: 8px; background: linear-gradient(180deg, #245c78 0%, #174862 100%); box-shadow: inset 0 1px 0 #4b8299, inset 0 -3px 0 rgba(5,38,55,.32), 0 3px 0 #0c3044, 0 7px 16px rgba(24,72,94,.23); }
.home-page .brand { min-width: 221px; }
.home-page .navbar-collapse { position: static; }
.home-page .navbar-nav { position: absolute; left: 50%; flex-shrink: 0; gap: 5px !important; margin: 0 !important; padding: 0; transform: translateX(-50%); }
.home-page .navbar-nav .nav-link { position: relative; gap: 8px; min-height: 38px; padding: 9px 13px !important; border: 1px solid transparent; border-radius: 6px; color: #f0f7fa; background: transparent; font-size: 13px; text-shadow: 0 1px 0 rgba(4,34,48,.7); white-space: nowrap; }
.home-page .navbar-nav .nav-link i { width: 15px; color: #d6e8ee; font-size: 13px; text-align: center; }
.home-page .navbar-nav .nav-pixel-icon { display: block; flex: 0 0 24px; width: 24px; height: 24px; max-width: none; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .navbar-nav .nav-link:hover, .home-page .navbar-nav .nav-link:focus { color: #fff; border-color: #397c9e; background: #2f6f93; box-shadow: inset 0 -2px 0 rgba(13,66,91,.28); }
.home-page .navbar-nav .nav-link:hover i, .home-page .navbar-nav .nav-link:focus i { color: #fff; }
.home-page .navbar-nav .nav-link.active { color: #fff; border-color: #3e94bd; background: linear-gradient(180deg, #398fc0, #2e7fa9); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -3px 0 rgba(15,83,115,.3); }
.home-page .navbar-nav .nav-link.active i { color: #fff; }
.home-page .header-actions { flex-shrink: 0; margin-left: auto; gap: 8px; }
.home-page .header-actions .btn { flex: 0 0 auto; min-height: 38px; padding: 8px 14px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.home-page .header-actions .btn-outline-light { color: #eef8fb; border: 2px solid #789fb1; background: linear-gradient(180deg, #315f76, #244f66); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 3px 0 #0d3449; }
.home-page .header-actions .btn-outline-light:hover, .home-page .header-actions .btn-outline-light:focus { color: #fff; border-color: #91bdcf; background: linear-gradient(180deg, #3a718a, #2b6078); }
.home-page .header-actions .btn-success { color: #3d2d07; border: 2px solid #b98610; background: linear-gradient(180deg, #ffdc65, #efbd32); box-shadow: inset 0 1px 0 #fff0a5, 0 3px 0 #9b6b08; }
.home-page .header-actions .btn-success:hover, .home-page .header-actions .btn-success:focus { color: #2e2104; background: linear-gradient(180deg, #ffe681, #f4c94b); transform: translateY(-1px); }
.home-page .site-header .btn-play { color: #49370f; border-color: #c6a24d; background: #dfc06f; box-shadow: 0 3px 0 #a9873b; }
.home-page .site-header .user-chip { display: grid; grid-template-columns: 28px auto; align-items: center; gap: 7px; min-height: 38px; padding: 4px 10px 4px 5px; border: 1px solid #3e7895; border-radius: 6px; color: #f1f8fa; background: rgba(8,49,69,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); text-decoration: none; }
.home-page .site-header .user-chip:hover, .home-page .site-header .user-chip:focus { color: #fff; border-color: #5898b5; background: rgba(34,100,130,.55); }
.home-page .user-chip-avatar { display: grid; place-items: center; width: 28px; height: 28px; overflow: hidden; border: 2px solid #78bdd6; border-radius: 4px; background: #e4c169; box-shadow: inset 0 -2px 0 rgba(78,57,9,.18), 0 1px 0 rgba(255,255,255,.12); }
.home-page .user-chip-avatar img { display: block; width: 16px; min-width: 16px; max-width: none; height: 16px; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .user-chip-copy { display: grid; gap: 1px; line-height: 1; }
.home-page .user-chip-copy strong { max-width: 100px; overflow: hidden; color: #fff; font-size: 12px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.home-page .user-chip-copy small { color: #a9cbd8; font-size: 8px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.home-page .navbar-toggler { border-color: #79a6b8; background: rgba(255,255,255,.08); }
.home-page .navbar-toggler:focus { outline: 3px solid rgba(80,175,211,.22); }
.home-page .navbar-toggler-icon { background-image: linear-gradient(#edf7fa,#edf7fa), linear-gradient(#edf7fa,#edf7fa), linear-gradient(#edf7fa,#edf7fa); background-position: center 25%, center 50%, center 75%; background-repeat: no-repeat; background-size: 100% 2px; }
.community-peek { display: flex; align-items: center; margin-left: 7px; padding-left: 14px; border-left: 2px solid rgba(139,188,207,.32); color: #dcebf0; font-size: 10px; line-height: 1.25; white-space: nowrap; }
.community-peek span { margin-right: 8px; }
.community-peek strong { color: #fff; font-size: 12px; }
.community-peek b { display: grid; place-items: center; width: 25px; height: 25px; margin-left: -3px; border: 2px solid #17465f; border-radius: 4px; color: #254d62; background: #e1c06d; font-size: 10px; }
.community-peek b:nth-of-type(2) { background: #f1788c; }
.community-peek b:nth-of-type(3) { background: #77d7ca; }
.community-peek b img { display: block; width: 16px; min-width: 16px; max-width: none; height: 16px; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.account-card { padding: 26px; border: 2px solid #b7d2dc; border-radius: 14px; background: rgba(255,255,255,.97); box-shadow: 0 5px 0 rgba(60,116,137,.14); }
.account-card h2 { color: inherit; font-weight: 900; }
.account-settings-grid { margin-top: 28px; }
.account-save-button { min-height: 44px; padding: 10px 18px; border-radius: 7px; font-weight: 900; }
.online-dot { width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: #2cdb6c; box-shadow: 0 0 0 3px rgba(44,219,108,.14); }

.home-page .hero { position: relative; overflow: hidden; min-height: 600px; height: 600px; color: #fff; border-bottom: 8px solid #69c5e7; background: #70c8ef; }
.home-page .hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgba(2,23,43,.24), transparent 30%); background-repeat: no-repeat; background-size: 100% 100%; mask-image: none; }
.home-page .hero-layout { position: relative; display: block; width: 100%; max-width: none; height: 100%; padding: 0; }
.home-page .media-placeholder-hero { position: absolute; inset: 0; z-index: 0; min-height: 0; width: 100%; height: 100%; border: 0; border-radius: 0; background-color: #70c8ef; background-image: url("../images/mid_header/panoramic.png"); background-repeat: no-repeat; background-position: 0 -198px; background-size: 2400px 800px; box-shadow: none; transform: none; image-rendering: pixelated; }
.home-page .hero-copy { position: absolute; z-index: 2; left: 48px; bottom: 25px; width: 430px; padding: 0; }
.home-page .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 0; }
.home-page .hero-actions .btn { min-width: 260px; padding: 11px 20px; font-size: 19px; }
.home-page .hero .btn-play { color: #46350f; border-color: #c7a348; background: linear-gradient(180deg, #ead18a, #dbb85e); box-shadow: 0 5px 0 #a98436, 0 9px 18px rgba(72,57,25,.17); }
.home-page .hero .btn-play:hover, .home-page .hero .btn-play:focus { color: #392b0c; background: linear-gradient(180deg, #efd99b, #e2c475); }
.home-page .hero-benefits { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin-top: 14px; padding: 7px 11px; width: max-content; border: 1px solid #dae3ef; border-radius: 7px; color: #385865; background: #fff; box-shadow: 0 8px 20px rgba(30,61,76,.16); font-size: 12px; }
.home-page .hero-benefits li { display: flex; align-items: center; white-space: nowrap; }
.home-page .hero-benefits i { margin-right: 6px; }
.home-page .hero-benefits li:nth-child(1) i { color: #e0a21b; }
.home-page .hero-benefits li:nth-child(2) i { color: #348fbe; }
.home-page .hero-benefits li:nth-child(3) i { color: #e85d83; }
.home-page .floating-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid #dae3ef; border-radius: 7px; color: #173055; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.22); font-size: 11px; font-weight: 700; }
.home-page .floating-note img { flex: 0 0 11px; width: 11px; min-width: 11px; height: 11px; object-fit: none; image-rendering: pixelated; }
.home-page .note-one { top: 86px; right: 32%; }
.home-page .note-two { left: auto; right: 9%; bottom: 88px; }

.home-page .feature-strip { position: relative; z-index: 2; min-height: 450px; margin-top: 0; padding: 20px 0 34px; border-bottom: 8px solid #69C5E7; background-color: #dff3f8; background-image: url("../images/bg.png"); background-repeat: repeat-x; background-position: center top; background-size: 100px 450px; }
.home-page .feature-heading { position: relative; z-index: 2; width: min(760px, calc(100% - 30px)); margin: 0 auto 24px; text-align: center; }
.home-page .feature-heading::before { content: ""; position: absolute; z-index: -1; top: 27px; right: 0; left: 0; height: 4px; border-top: 1px solid #9bcbdc; border-bottom: 1px solid #fff; background: #bee2ed; }
.home-page .feature-heading h2 { display: flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: 54px; margin: 0 auto; padding: 8px 20px; overflow: hidden; border: 4px solid #a5c7d5; border-radius: 8px; background: #315b71; box-shadow: inset 0 -4px 0 rgba(12,48,66,.28), 0 4px 0 #244657; }
.home-page .feature-heading h2 img { display: block; flex: 0 0 auto; width: 549px; max-width: 100%; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .feature-heading p { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 7px 16px; border: 1px solid #bfdbe5; border-radius: 999px; color: #31566a; background: rgba(255,255,255,.94); box-shadow: 0 3px 0 rgba(84,145,167,.18); font-size: 13px; font-weight: 700; }
.home-page .feature-heading p::before, .home-page .feature-heading p::after { content: "◆"; color: #e7af22; font-size: 8px; text-shadow: 1px 1px 0 #fff0ae; }
.home-page .feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.home-page .feature-card { display: flex; flex-direction: column; align-items: center; min-width: 0; min-height: 0; padding: 0 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: center; transition: transform .16s ease; }
.home-page .feature-card:hover { transform: translateY(-3px); box-shadow: none; }
.home-page .feature-art { position: relative; z-index: 1; left: auto; top: auto; display: block; width: 240px; max-width: 100%; height: auto; margin: 0 auto; object-fit: contain; transform: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .feature-card h3 { position: relative; z-index: 2; width: 88%; margin: -13px auto 9px; padding: 8px 8px 7px; border: 1px solid #c49025; border-radius: 8px; color: #392a0b; background: linear-gradient(#f4d46f, #e1b646); box-shadow: 0 4px 0 #a77a1d; font-size: 15px; font-weight: 800; }
.home-page .feature-card p {
    max-width: 220px;
    margin: 10px auto 0;
    padding: 7px 10px;

    color: #315264;
    background: rgba(255,255,255,.90);
    border: 1px solid #b9d6df;
    border-radius: 6px;

    font-size: 12px;
    line-height: 1.35;
}

.home-page .showcase-section { padding: 14px 0 7px; background: #dff3f8; }
.home-page .showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 650px)); justify-content: center; gap: 14px; }
.home-page .showcase-card { position: relative; min-height: 300px; height: 300px; overflow: hidden; border: 2px solid #9dc8d8; border-radius: 14px; box-shadow: 0 6px 0 rgba(46,102,124,.22); }
.home-page .avatar-card { display: block; padding: 27px 28px; border-color: #c9b4df; background: linear-gradient(135deg, #ffe8f6, #e8e5ff 58%, #dceaf8); }
.home-page .showcase-copy { position: relative; z-index: 3; width: 44%; }
.home-page .section-kicker { color: #328cad; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }

.home-page .showcase-copy .btn, .home-page .room-copy .btn { margin-top: 14px; padding: 9px 16px; border-color: #c48f24; border-radius: 9px; color: #372807; background: linear-gradient(#f5d772, #e4b947); box-shadow: 0 4px 0 #a5781d; font-size: 13px; }
.home-page .avatar-scene { position: absolute; z-index: 1; right: -3px; bottom: -60px; width: 500px; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .closet-ui { position: absolute; z-index: 4; left: 22px; bottom: 17px; display: flex; gap: 7px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.home-page .closet-ui i { display: grid; place-items: center; width: 38px; height: 36px; border: 2px solid #c8d8f4; border-radius: 7px; color: #205fbc; background: #f8fbff; box-shadow: 0 3px 0 #aebfdf; font-size: 17px; }
.home-page .rooms-card { padding: 0; border-color: #82bfd1; background: linear-gradient(135deg, #e1f8fd 0%, #c6edf7 58%, #afe2f0 100%); }
.home-page .room-scene { position: absolute; z-index: 1; right: 0; bottom: -66px; width: 600px; height: 400px; max-width: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .rooms-card::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(221,247,252,.98) 0%, rgba(221,247,252,.9) 31%, rgba(221,247,252,.18) 55%, transparent 72%); pointer-events: none; }
.home-page .room-copy { position: absolute; z-index: 3; left: 28px; right: auto; bottom: auto; top: 26px; width: 43%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.home-page .room-copy a { color: #372807; text-decoration: none; }

.home-page .community-section { position: relative; padding: 7px 0 28px; border-top: 0; background: #dff3f8; }
.home-page .community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 650px)); justify-content: center; gap: 14px; align-items: stretch; }
.home-page .story-stage { position: relative; min-width: 0; height: 330px; overflow: hidden; border: 2px solid #8bbfd1; border-radius: 14px; background: #ccecf4; box-shadow: 0 6px 0 rgba(46,102,124,.22); }
.home-page .ranking-stage { border-color: #dfbd69; background: #fff1bd; }
.home-page .social-stage { border-color: #78bd9e; background: linear-gradient(135deg, #e5faef 0%, #ccefdc 58%, #b8e5d0 100%); }
.home-page .story-heading { position: absolute; z-index: 6; top: 0; left: 0; width: 48%; min-height: 0; padding: 25px 0 0 28px; border: 0; color: #173f59; background: none; box-shadow: none; }
.home-page .social-stage::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(229,250,239,.99) 0%, rgba(229,250,239,.92) 31%, rgba(229,250,239,.2) 57%, transparent 76%); pointer-events: none; }
.home-page .showcase-copy h2,
.home-page .room-copy h2,
.home-page .story-heading h2 {
    margin: 6px 0 8px;
    color: #183b55;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.08;
    text-transform: none;
    text-shadow: none;
}

.home-page .showcase-copy p,
.home-page .room-copy p,
.home-page .story-heading p {
    max-width: 430px;
    margin: 0;
    color: #466376;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42;
}
.home-page .story-heading a { display: inline-block; margin-top: 14px; padding: 9px 16px; border: 1px solid #c48f24; border-radius: 9px; color: #372807; background: linear-gradient(#f5d772, #e4b947); box-shadow: 0 4px 0 #a5781d; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.home-page .story-heading a:hover, .home-page .story-heading a:focus { color: #372807; background: linear-gradient(#f8df8a, #eac35a); transform: translateY(-1px); }
.home-page .story-link-button { display:inline-block; margin-top:14px; padding:9px 16px; border:1px solid #c48f24; border-radius:9px; color:#372807; background:linear-gradient(#f5d772,#e4b947); box-shadow:0 4px 0 #a5781d; font-size:13px; font-weight:800; white-space:nowrap; }
.home-page .story-link-button:hover,.home-page .story-link-button:focus { background:linear-gradient(#f8df8a,#eac35a); transform:translateY(-1px); }
.showcase-modal-card { position:relative; z-index:1; width:min(100%,760px); max-height:88vh; overflow:auto; padding:30px; border:3px solid #73bfd9; border-radius:18px; background:#f7fcff; box-shadow:0 12px 0 #235e77,0 35px 90px rgba(0,0,0,.4); }
.showcase-modal-card>header { padding-right:45px; margin-bottom:20px; }
.showcase-modal-card>header h2 { margin:4px 0; color:#173b55; font-size:30px; font-weight:900; }
.showcase-modal-card>header p { margin:0; color:#67808c; }
.showcase-modal-close { position:absolute; top:16px; right:16px; width:40px; height:40px; border:2px solid #9fc9d8; border-radius:9px; color:#17445c; background:#fff; }
.full-ranking,.featured-room-list { display:grid; gap:8px; }
.ranking-row,.featured-room-list article { display:grid; grid-template-columns:42px 34px 1fr auto; align-items:center; gap:10px; padding:10px 13px; border:1px solid #bed8e2; border-radius:10px; background:#fff; }
.ranking-row[data-page]:not([data-page="1"]) { display:none; }
.ranking-position { color:#b17c13; font-size:17px; }
.ranking-head { display:grid; place-items:center; width:30px; height:30px; border:2px solid #73b9d2; border-radius:6px; background:#eed074; }
.ranking-head img { width:16px; height:16px; image-rendering:pixelated; }
.ranking-row div,.featured-room-list article div { display:grid; }
.ranking-row small,.featured-room-list small { color:#69818c; }
.ranking-row>span:last-child,.featured-room-list article>span { color:#2b7593; font-weight:800; }
.ranking-pages { display:flex; justify-content:center; gap:7px; margin-top:18px; }
.ranking-pages button { width:34px; height:34px; border:1px solid #83bdd2; border-radius:7px; color:#245b70; background:#fff; font-weight:900; }
.ranking-pages button.active { color:#fff; background:#247f9f; }
.featured-room-list article { grid-template-columns:35px 28px 1fr auto; }
.featured-room-list article>i { color:#d3a226; font-size:18px; }
.comment-delete-form { margin-left:2px; }
.comment-delete-form button { display:grid; place-items:center; width:27px; height:27px; border:1px solid #efb7c0; border-radius:6px; color:#b5485d; background:#fff3f5; }
.comment-delete-form button:hover,.comment-delete-form button:focus { color:#fff; background:#c84d64; }
@media(max-width:620px){.ranking-row,.featured-room-list article{grid-template-columns:34px 28px 1fr}.ranking-row>span:last-child,.featured-room-list article>span{grid-column:3}.showcase-modal-card{padding:22px 15px}}
.home-page .podium-stage { position: absolute; inset: 48px 0 0; width: auto; height: auto; margin: 0; background-image: url("../images/ranking/podium.png"); background-repeat: no-repeat; background-position: center bottom; background-size: 480px 220px; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .podium-players { position: absolute; left: 50%; bottom: 0; width: 480px; height: 220px; margin: 0; padding: 0; transform: translateX(-50%); list-style: none; }
.home-page .podium-players li { position: absolute; display: grid; justify-items: center; gap: 1px; width: 120px; color: #173b54; text-align: center; }
.home-page .podium-players .rank-position-1 { --rank-color: #8b6100; --rank-shadow: #b98200; z-index: 3; left: 246px; top: 39px; transform: translateX(-50%); }
.home-page .podium-players .rank-position-2 { --rank-color: #49677f; --rank-shadow: #314a5e; z-index: 2; left: 184px; top: 78px; transform: translateX(-50%); }
.home-page .podium-players .rank-position-3 { --rank-color: #a6532c; --rank-shadow: #71351d; z-index: 2; left: 312px; top: 77px; transform: translateX(-50%); }
.home-page .podium-players .rank-avatar { display: block; width: 50px; height: 92px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.home-page .podium-players .rank-avatar img { display: block; width: 50px; height: 92px; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .podium-players li::before { content: ""; position: absolute; z-index: 1; top: -13px; left: 50%; width: 7px; height: 7px; border-right: 2px solid var(--rank-color); border-bottom: 2px solid var(--rank-color); background: #fff; transform: translateX(-50%) rotate(45deg); }
.home-page .podium-players strong { position: absolute; z-index: 2; top: -34px; left: 50%; max-width: 115px; padding: 4px 9px; overflow: hidden; border: 2px solid var(--rank-color); border-radius: 6px; color: var(--rank-color); background: rgba(255,255,255,.97); box-shadow: 0 3px 0 rgba(36,64,82,.18); font-size: 12px; font-weight: 900; line-height: 1; text-overflow: ellipsis; text-shadow: none; transform: translateX(-50%); white-space: nowrap; }
.home-page .podium-players small { margin-top: 18px; padding: 2px 6px; border-radius: 3px; color: #fff; background: var(--rank-color); box-shadow: 0 2px 0 var(--rank-shadow); font-size: 10px; line-height: 1.1; font-weight: 800; }
.home-page .community-scene-wrap { position: absolute; inset: 0; height: auto; overflow: hidden; background-image: url("../images/community/community_scene.png"); background-repeat: no-repeat; background-position: center bottom; background-size: 650px 360px; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .community-stats { position: absolute; z-index: 3; right: 16px; bottom: 20px; display: grid; gap: 7px; width: 140px; padding: 12px; border: 2px solid #aad1df; border-radius: 10px; background: rgba(255,255,255,.95); box-shadow: 0 5px 0 rgba(51,110,132,.25); }
.home-page .community-stats p { display: grid; grid-template-columns: 22px auto 1fr; align-items: center; gap: 4px; margin: 0; color: #456576; font-size: 10px; }
.home-page .community-stats i { color: #2797bd; font-size: 16px; }
.home-page .community-stats strong { color: #173b54; font-size: 12px; }

.site-footer { min-height: 236px; padding: 0; border-top: 6px solid #53bddd; color: #c8d9e0; background: #073552; }
.footer-scene { min-height: 200px; background-color: #075077; background-image: url("../images/footer/footer_bg.png"); background-repeat: no-repeat; background-position: center bottom; background-size: 2000px 200px; image-rendering: pixelated; image-rendering: crisp-edges; }
.footer-grid { display: grid; height: 200px; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 32px; padding-top: 70px; padding-bottom: 17px; }
.footer-identity { align-self: end; }
.footer-brand .logo-full { width: 221px; height: 36px; max-width: none; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.footer-identity p { margin: 7px 0 0; color: #eef6f8; font-size: 12px; font-style: italic; line-height: 1.25; }
.footer-identity p strong { color: #f2cf57; }
.footer-grid nav { align-self: end; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.footer-grid nav a { padding: 6px 8px; border-radius: 6px; color: #e0edf2; font-size: 11px; font-weight: 700; text-decoration: none; }
.footer-grid nav a:hover, .footer-grid nav a:focus { color: #fff; background: rgba(255,255,255,.12); }
.footer-social { align-self: end; display: flex; justify-content: flex-end; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; color: #eaf5f8; background: rgba(4,41,65,.58); text-decoration: none; }
.footer-social a:hover, .footer-social a:focus { color: #fff; background: #247c9e; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; min-height: 36px; margin-top: 0; padding-top: 10px; padding-bottom: 9px; border-top: 1px solid rgba(255,255,255,.12); color: #b9d1db; font-size: 10px; }


@media (max-width: 1599px) {
    .community-peek { display: none; }
    .home-page .navbar { gap: 18px; }
    .home-page .navbar-nav { gap: 2px !important; }
    .home-page .navbar-nav .nav-link { padding-right: 10px !important; padding-left: 10px !important; }
}
@media (max-width: 1319px) {
    .home-page .feature-grid { grid-template-columns: repeat(3, 240px); justify-content: center; gap: 24px 48px; }
    .home-page .showcase-grid, .home-page .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .home-page .showcase-grid, .home-page .community-grid { grid-template-columns: 1fr; }
    .home-page .showcase-card { width: min(100%, 760px); margin-right: auto; margin-left: auto; }
    .home-page .story-stage { width: min(100%, 760px); margin-right: auto; margin-left: auto; }
}
@media (max-width: 991px) {
    .home-page .hero { height: 520px; }
    .home-page .navbar { padding-top: 8px; padding-bottom: 8px; }
    .home-page .navbar-collapse { position: relative; }
    .home-page .navbar-nav { position: static; align-items: stretch; gap: 2px !important; padding-top: 10px; transform: none; }
    .home-page .navbar-nav .nav-link { width: 100%; padding: 9px 8px !important; }
    .home-page .media-placeholder-hero { background-position: 0 -140px; }
    .home-page .hero-copy { width: min(100%, 450px); }
    .home-page .feature-grid { grid-template-columns: repeat(2, 240px); }
    .home-page .feature-card { min-height: 0; }
    .home-page .showcase-card { min-height: 360px; }
    .home-page .story-stage { min-height: 390px; }
}
@media (max-width: 767px) {
    .home-page .hero { height: 515px; }
    .home-page .hero::before { background: linear-gradient(180deg, rgba(3,26,56,.93), rgba(3,31,64,.55)); }
    .home-page .hero-copy { left: 28px; right: 28px; bottom: 24px; width: auto; padding: 0; }
    .home-page .hero-actions .btn { width: 100%; min-width: 0; }
    .home-page .hero-benefits { justify-content: space-between; width: 100%; gap: 8px; }
    .home-page .note-one { left: 32px; right: auto; top: 82px; }
    .home-page .note-two { right: 18px; bottom: 150px; }
    .home-page .feature-heading h2 { padding: 10px 15px; font-size: 15px; }
    .home-page .feature-grid { grid-template-columns: repeat(2, minmax(0, 240px)); gap: 24px 12px; }
    .home-page .avatar-card { height: 500px; padding: 27px 24px; }
    .home-page .showcase-copy { width: 100%; max-width: 390px; }
    .home-page .avatar-scene { right: 50%; transform: translateX(50%); }
    .home-page .closet-ui { left: 50%; transform: translateX(-50%); }
    .home-page .rooms-card { height: 440px; }
    .home-page .room-copy { top: 25px; width: calc(100% - 50px); }
    .home-page .rooms-card::after { background: linear-gradient(180deg, rgba(221,247,252,.98) 0%, rgba(221,247,252,.88) 38%, rgba(221,247,252,.12) 68%, transparent 82%); }
    .home-page .story-heading { width: 100%; padding: 24px; }
    .footer-scene { min-height: 300px; background-position: center bottom; }
    .footer-grid { height: 300px; grid-template-columns: 1fr; align-content: end; justify-items: center; gap: 13px; padding-top: 70px; text-align: center; }
    .footer-identity { display: grid; justify-items: center; }
    .footer-social { justify-content: center; }
}
@media (max-width: 460px) {
    .home-page .hero { height: 540px; }
    .home-page .hero h1 { font-size: 31px; }
    .home-page .feature-grid { grid-template-columns: 240px; }
    .home-page .hero-benefits { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 3px; padding: 6px 7px; font-size: 9px; white-space: nowrap; }
    .brand-logo .logo-full { display: none; }
    .brand-logo .logo-small { display: block; }
    .home-page .brand { min-width: 50px; }
    .home-page .footer-brand .logo-small { width: 42px; height: 42px; }
    .home-page .community-stats { right: 8px; bottom: 10px; }
}

/* Shared public portal */
.site-header .nav-pixel-icon { display: block; flex: 0 0 24px; width: 24px; height: 24px; max-width: none; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.site-footer .footer-bottom a { color: inherit; text-decoration: none; }
.site-footer .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.portal-page { min-height: 100vh; color: #173b55; background: linear-gradient(180deg, #f3fbfd 0%, #e8f4f7 54%, #f7fbfc 100%); font-size: 14px; }
.portal-page .site-header { position: fixed; z-index: 1030; top: 0; right: 0; left: 0; padding: 6px 0 8px; border: 0; background: transparent; box-shadow: none; }
.portal-page .site-header .container-xxl { width: calc(100% - 32px); max-width: 1840px; }
.portal-page .navbar { min-height: 64px; gap: 24px; padding: 0 20px; border: 2px solid #103b52; border-radius: 8px; background: linear-gradient(180deg, #245c78, #174862); box-shadow: inset 0 1px 0 #4b8299, inset 0 -3px 0 rgba(5,38,55,.32), 0 3px 0 #0c3044; }
.portal-page .brand { min-width: 221px; }
.portal-page .navbar-collapse { position: static; }
.portal-page .navbar-nav { position: absolute; left: 50%; gap: 5px !important; margin: 0 !important; transform: translateX(-50%); }
.portal-page .navbar-nav .nav-link { min-height: 40px; padding: 7px 12px !important; border: 1px solid transparent; border-radius: 6px; color: #edf7fa; background: transparent; font-size: 13px; font-weight: 800; text-shadow: 0 1px #08334a; white-space: nowrap; }
.portal-page .navbar-nav .nav-link:hover, .portal-page .navbar-nav .nav-link:focus { border-color: #397c9e; background: #2f6f93; }
.portal-page .navbar-nav .nav-link.active { border-color: #3e94bd; background: linear-gradient(180deg, #398fc0, #2e7fa9); box-shadow: inset 0 1px rgba(255,255,255,.2), inset 0 -3px rgba(15,83,115,.3); }
.portal-page .header-actions { flex-shrink: 0; margin-left: auto; gap: 8px; }
.portal-page .header-actions .btn { min-height: 38px; padding: 8px 13px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.portal-page .header-actions .btn-outline-light { border: 2px solid #789fb1; background: #244f66; box-shadow: 0 3px #0d3449; }
.portal-page .header-actions .btn-success, .portal-page .site-header .btn-play { color: #49370f; border: 2px solid #b98610; background: linear-gradient(180deg, #ffdc65, #efbd32); box-shadow: 0 3px #9b6b08; }
.header-logout { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border: 1px solid #789fb1; border-radius: 6px; color: #eaf5f8; background: #284f64; box-shadow: 0 2px 0 #0d3449; text-decoration: none; }.header-logout:hover, .header-logout:focus { color: #fff; background: #376b84; }
.portal-page .site-header .user-chip { display: grid; grid-template-columns: 28px auto; align-items: center; gap: 7px; min-height: 38px; padding: 4px 10px 4px 5px; border: 1px solid #3e7895; border-radius: 6px; background: rgba(8,49,69,.28); }
.portal-page .user-chip-avatar { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #78bdd6; border-radius: 4px; background: #e4c169; }
.portal-page .user-chip-avatar img { width: 16px; max-width: none; height: 16px; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.portal-page .user-chip-copy { display: grid; line-height: 1; }.portal-page .user-chip-copy strong { color: #fff; font-size: 12px; }.portal-page .user-chip-copy small { margin-top: 2px; color: #a9cbd8; font-size: 8px; text-transform: uppercase; }
.portal-page main { min-height: 60vh; }
.portal-hero { position: relative; overflow: hidden; min-height: 310px; border-bottom: 5px solid #74c9e4; background: #8fd8f0 url("../images/mid_header/panoramic.png") no-repeat 0 -268px / 2400px 800px; image-rendering: pixelated; image-rendering: crisp-edges; }
.portal-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(234,250,253,.98), rgba(229,248,252,.82) 45%, rgba(229,248,252,.1) 76%); }
.portal-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 310px; padding-top: 112px; padding-bottom: 42px; }
.portal-hero-inner > div:first-child { max-width: 680px; }
.portal-kicker { color: #2686a9; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.portal-hero h1 { margin: 8px 0 10px; color: #153c56; font-size: clamp(35px, 4.2vw, 58px); font-weight: 900; line-height: 1.02; letter-spacing: -1.7px; }
.portal-hero p { max-width: 620px; margin: 0; color: #456979; font-size: 16px; line-height: 1.55; }
.portal-pixel-art { display: block; flex: 0 0 auto; max-width: none; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; filter: drop-shadow(0 7px 0 rgba(36,94,116,.16)) drop-shadow(0 14px 18px rgba(39,95,115,.15)); }
.loks-hero-image { width: 60px; height: 68px; margin-right: 72px; }.community-hero-image { width: 80px; height: 68px; margin-right: 64px; }.security-hero-image { width: 80px; height: 94px; margin-right: 64px; }
.portal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; padding-top: 36px; padding-bottom: 42px; }
.portal-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.portal-section-heading h2 { margin: 5px 0 0; color: #173b55; font-size: 27px; font-weight: 900; }.portal-section-heading p { margin: 7px 0 0; color: #69818d; }.portal-section-heading > span { color: #6c8792; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.news-list { display: grid; gap: 12px; }
.news-card { position: relative; display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 17px; padding: 20px 52px 20px 20px; border: 2px solid #b8d5df; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 4px 0 rgba(70,129,149,.14); }
.news-card.is-selected { border-color: #69b8d2; background: #f8fdff; }.news-card-date { display: grid; align-content: center; width: 54px; height: 58px; border: 1px solid #d0a323; border-radius: 7px; color: #674b06; text-align: center; background: #f8d565; box-shadow: 0 3px #ad8016; line-height: 1; }.news-card-date strong { font-size: 23px; }.news-card-date span { margin-top: 3px; font-size: 9px; font-weight: 900; }
.news-meta { display: flex; align-items: center; gap: 7px; color: #3287a6; font-size: 9px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }.news-meta b { padding: 2px 6px; border-radius: 3px; color: #fff; background: #da6b83; }
.news-card h3 { margin: 5px 0 4px; font-size: 19px; font-weight: 900; }.news-card p { margin: 0; color: #587483; font-size: 13px; }.news-card a { display: inline-block; margin-top: 9px; color: #237c9e; font-size: 11px; font-weight: 900; text-decoration: none; }.news-comments { position: absolute; top: 17px; right: 17px; color: #78909b; font-size: 10px; }
.community-aside { display: grid; align-content: start; gap: 13px; }.aside-card { padding: 21px; border: 2px solid #9dc9d8; border-radius: 12px; background: #eafbff; box-shadow: 0 4px rgba(56,119,142,.14); }.aside-card h2 { margin: 6px 0; font-size: 21px; font-weight: 900; }.aside-card p { color: #5b7886; font-size: 12px; }.pixel-action { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 13px; border: 1px solid #b88918; border-radius: 6px; color: #493608; background: linear-gradient(#f9da70,#e8b93f); box-shadow: 0 3px #9f7413; font-size: 11px; font-weight: 900; text-decoration: none; }.pixel-action:hover { color: #2f2204; }.aside-rules { display: flex; gap: 13px; border-color: #9fcfb9; background: #effbf5; }.aside-rules > i { color: #3c9b70; font-size: 26px; }.aside-rules strong { font-size: 13px; }.aside-rules p { margin: 5px 0; }.aside-rules a { color: #237754; font-size: 10px; font-weight: 900; }
.article-section { padding: 42px 0 55px; border-top: 4px solid #b9e1eb; background: linear-gradient(180deg,rgba(255,255,255,.72),rgba(235,247,250,.82)); }.article-shell { max-width: 1050px; }.article-card { position: relative; overflow: hidden; border: 2px solid #8fc4d6; border-radius: 15px; background: #fff; box-shadow: 0 7px 0 rgba(57,119,142,.17), 0 20px 38px rgba(47,99,118,.11); }.article-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 6px; background: linear-gradient(90deg,#45aacb 0 34%,#f2c84f 34% 59%,#e36983 59% 77%,#65b991 77%); }.article-pixel-mark { position: absolute; top: 22px; right: 24px; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #73b2c9; border-radius: 8px; color: #fff; background: #318cac; box-shadow: 0 4px 0 #1d6680; font-size: 20px; transform: rotate(2deg); }.article-header { padding: 30px 90px 25px 30px; border-bottom: 1px solid #c9dfe6; background: linear-gradient(135deg,#f6fcfe,#e8f7fb); }.article-labels { display: flex; align-items: center; gap: 7px; }.article-labels span, .article-labels b { padding: 4px 7px; border-radius: 4px; font-size: 9px; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; }.article-labels span { color: #1f7798; background: #d8eff7; }.article-labels span i { margin-right: 4px; }.article-labels b { color: #fff; background: #df6680; }.article-header h2 { max-width: 780px; margin: 10px 0 7px; color: #153d57; font-size: 35px; font-weight: 900; line-height: 1.08; letter-spacing: -.6px; }.article-header > p { max-width: 780px; margin: 0; color: #587583; font-size: 15px; line-height: 1.5; }.article-meta { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 17px; color: #718a95; font-size: 9px; font-weight: 800; text-transform: uppercase; }.article-meta i { margin-right: 4px; color: #3d93b1; }.article-body { position: relative; min-height: 125px; padding: 30px 35px 30px 82px; color: #365d6e; background: #fff; font-size: 15px; line-height: 1.78; }.article-body p { max-width: 830px; margin: 0; }.article-opening { position: absolute; top: 31px; left: 31px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; color: #328dac; background: #e1f3f8; font-size: 14px; }.article-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 30px; border-top: 1px solid #d4e4e9; color: #78909a; background: #f5fafb; font-size: 9px; font-weight: 800; text-transform: uppercase; }.article-footer span i { margin-right: 5px; color: #dd9f1e; }.article-footer a { color: #277d9c; text-decoration: none; }.article-footer a i { margin-left: 4px; }
.comments-section { margin-top: 38px; }.comments-section > header h3 { margin: 5px 0 14px; font-size: 23px; font-weight: 900; }.portal-alert { display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 13px; border-radius: 7px; font-size: 12px; }.portal-alert.success { color: #216244; background: #def5e9; }.portal-alert.error { color: #8c3043; background: #fde6eb; }
.comment-form { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 17px; padding: 17px; border: 2px solid #9dc9d9; border-radius: 11px; background: linear-gradient(135deg,#f7fcfe,#fff); box-shadow: 0 4px 0 rgba(66,126,148,.12); }.comment-author { display: flex; align-items: center; align-self: start; gap: 10px; min-height: 48px; padding: 7px; border: 1px solid #c3dbe3; border-radius: 8px; background: #edf7fa; }.comment-form-avatar { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; overflow: hidden; border: 2px solid #72afc4; border-radius: 6px; background: #e6c568; box-shadow: inset 0 -2px 0 rgba(84,63,15,.15); }.comment-form-avatar img, .comment-avatar img { display: block; width: 16px; min-width: 16px; max-width: none; height: 16px; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }.comment-author > span:last-child { display: grid; min-width: 0; line-height: 1.05; }.comment-author small { color: #78909b; font-size: 8px; text-transform: uppercase; }.comment-author strong { max-width: 75px; margin-top: 3px; overflow: hidden; color: #214d62; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.comment-author b { width: max-content; margin-top: 4px; padding: 2px 5px; border-radius: 3px; color: #fff; background: #388cab; font-size: 7px; text-transform: uppercase; }.comment-compose { min-width: 0; }.comment-form textarea { display: block; width: 100%; min-height: 96px; padding: 12px 13px; resize: vertical; border: 1px solid #b6d2dc; border-radius: 8px; color: #365a6b; outline: 0; background: #fff; font: inherit; line-height: 1.5; }.comment-form textarea::placeholder { color: #8da0a8; }.comment-form textarea:focus { border-color: #52aaca; box-shadow: 0 0 0 3px rgba(82,170,202,.13); }.comment-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }.comment-form-footer small { color: #78909b; font-size: 9px; }.comment-form-footer small i { margin-right: 4px; color: #479776; }.comment-form-footer .pixel-action { border: 1px solid #ad7d11; cursor: pointer; }
.comments-login { display: flex; align-items: center; gap: 13px; padding: 16px; border: 2px solid #bfd5dd; border-radius: 10px; background: #fff; }.comments-login > i { color: #508ba3; font-size: 22px; }.comments-login p { margin: 2px 0 0; color: #718994; font-size: 11px; }.comments-login a { margin-left: auto; color: #247d9e; font-weight: 900; }.comment-list { display: grid; gap: 9px; margin-top: 13px; }.comment { display: grid; grid-template-columns: 40px 1fr; gap: 11px; padding: 14px; border: 1px solid #c8dce3; border-radius: 9px; background: rgba(255,255,255,.86); }.comment-avatar { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid #8fc3d5; border-radius: 5px; background: #e8c86f; }.comment header { display: flex; align-items: center; gap: 7px; }.comment header strong { font-size: 12px; }.comment header b { padding: 2px 5px; border-radius: 3px; color: #fff; background: #368dac; font-size: 8px; }.comment time { margin-left: auto; color: #82969f; font-size: 9px; }.comment p { margin: 5px 0 0; color: #456675; font-size: 12px; white-space: normal; }.empty-comments { padding: 18px; border: 1px dashed #a8c9d5; border-radius: 8px; color: #69838e; text-align: center; }
.shop-hero::before { background: linear-gradient(90deg, rgba(255,248,216,.98), rgba(241,251,248,.83) 48%, rgba(227,248,251,.14)); }
.store-section { padding-top: 38px; padding-bottom: 42px; }.store-status { padding: 6px 9px; border-radius: 5px; color: #896715 !important; background: #fff0b9; }.store-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }.store-card { position: relative; padding: 26px; overflow: hidden; border: 2px solid #b7d2dc; border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: 0 5px rgba(60,116,137,.14); }.store-card.featured { border-color: #d7a829; background: linear-gradient(145deg,#fffdf4,#fff4c8); }.store-ribbon { position: absolute; top: 15px; right: -30px; width: 126px; padding: 4px; color: #fff; text-align: center; background: #d7647c; font-size: 8px; font-weight: 900; transform: rotate(38deg); }.store-offer-image { display: block; width: 48px; min-width: 48px; max-width: none; height: 48px; margin-bottom: 10px; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; filter: drop-shadow(0 4px 0 rgba(83,71,31,.12)); }.store-card h2 { margin: 7px 0; color: #173b55; font-size: 31px; font-weight: 900; }.store-card h2 small { font-size: 12px; text-transform: uppercase; }.store-card p { min-height: 42px; color: #67808c; }.store-price { display: block; margin: 17px 0 11px; color: #244e62; font-size: 19px; }.store-card button { width: 100%; min-height: 40px; border: 1px solid #bfcdd2; border-radius: 6px; color: #819097; background: #e8edef; font-size: 11px; font-weight: 900; }.store-explainer { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }.store-explainer article { display: flex; gap: 12px; padding: 17px; border: 1px solid #bdd6df; border-radius: 10px; background: rgba(255,255,255,.75); }.store-explainer i { color: #368eae; font-size: 22px; }.store-explainer strong { font-size: 12px; }.store-explainer p { margin: 4px 0 0; color: #657f8a; font-size: 10px; }
.store-ready { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin-bottom: 55px; padding-top: 28px; padding-bottom: 28px; border-top: 2px solid #9dc6d5; border-bottom: 2px solid #9dc6d5; }.store-ready h2 { margin: 6px 0; font-size: 26px; font-weight: 900; }.store-ready p { color: #5f7b88; }.store-ready ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }.store-ready li { padding: 11px; border-radius: 7px; color: #316650; background: #e3f6ec; font-size: 12px; font-weight: 800; }.store-ready li i { margin-right: 7px; }
.security-hero::before { background: linear-gradient(90deg, rgba(228,250,243,.98), rgba(226,249,245,.84) 48%, rgba(226,248,250,.12)); }.safety-nav { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: -18px; position: relative; z-index: 2; }.safety-nav a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 2px solid #a9ccd7; border-radius: 8px; color: #315c6f; background: #fff; box-shadow: 0 4px rgba(57,112,133,.14); font-size: 11px; font-weight: 900; text-decoration: none; }.safety-nav a:hover { border-color: #62acc6; color: #1c718f; }
.safety-priorities, .conduct-section, .terms-section, .faq-section { padding-top: 48px; padding-bottom: 52px; }.safety-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }.safety-grid article { position: relative; padding: 23px; border: 2px solid #b5d3dd; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 5px rgba(57,112,133,.13); }.safety-grid article > span { position: absolute; top: 13px; right: 15px; color: #c7dce3; font-size: 22px; font-weight: 900; }.safety-grid article > i { color: #3a91af; font-size: 27px; }.safety-grid h3 { margin: 12px 0 5px; font-size: 17px; font-weight: 900; }.safety-grid p { margin: 0; color: #5d7884; font-size: 12px; }.safety-contact { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 17px 20px; border: 2px solid #e1b84e; border-radius: 10px; background: #fff6d8; }.safety-contact > i { color: #c49319; font-size: 24px; }.safety-contact strong { font-size: 13px; }.safety-contact p { margin: 2px 0 0; color: #766936; font-size: 10px; }.safety-contact a { margin-left: auto; color: #785806; font-weight: 900; }
.safety-band { padding: 48px 0; border-top: 4px solid #addbd0; border-bottom: 4px solid #addbd0; background: rgba(233,250,244,.9); }.family-layout { display: grid; grid-template-columns: 1fr 330px; gap: 45px; align-items: center; }.family-layout h2, .legal-layout h2 { margin: 7px 0; font-size: 30px; font-weight: 900; }.family-layout p, .family-layout li { color: #527469; }.family-layout li { margin: 7px 0; }.family-layout aside { padding: 23px; border: 2px solid #84c5aa; border-radius: 12px; background: #fff; box-shadow: 0 5px rgba(47,124,91,.14); }.family-layout aside i { color: #d99e24; font-size: 27px; }.family-layout aside strong { display: block; margin: 10px 0 4px; font-size: 17px; }.family-layout aside p { margin: 0; font-size: 12px; }
.conduct-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 11px; }.conduct-list article { padding: 19px; border: 1px solid #b8d4de; border-radius: 9px; background: #fff; }.conduct-list b { color: #277f9e; font-size: 15px; }.conduct-list p { margin: 6px 0 0; color: #627c87; font-size: 11px; }.conduct-note { margin: 17px 0 0; padding: 14px; border-left: 4px solid #d39f25; color: #735f2c; background: #fff5d5; font-size: 11px; }
.legal-band { border-color: #a9cede; background: rgba(239,248,252,.93); }.legal-layout { display: grid; grid-template-columns: 340px 1fr; gap: 45px; align-items: start; }.legal-layout aside > p { color: #5a7886; }.legal-copy { display: grid; gap: 8px; }.legal-copy details, .faq-grid details { border: 1px solid #b9d3dd; border-radius: 8px; background: #fff; }.legal-copy summary, .faq-grid summary { padding: 14px 16px; cursor: pointer; color: #234f63; font-weight: 900; }.legal-copy details p, .faq-grid details p { margin: 0; padding: 0 16px 16px; color: #5d7884; font-size: 12px; line-height: 1.6; }
.terms-section { scroll-margin-top: 15px; }.terms-columns { display: grid; grid-template-columns: repeat(2,1fr); gap: 36px; }.terms-columns h3 { margin: 20px 0 5px; color: #285e75; font-size: 15px; }.terms-columns p { margin: 0; color: #5a7480; font-size: 12px; line-height: 1.65; }.legal-warning { display: flex; gap: 13px; margin-top: 24px; padding: 16px; border: 2px solid #e0bc5a; border-radius: 9px; color: #755d20; background: #fff6d9; }.legal-warning i { font-size: 22px; }.legal-warning p { margin: 0; font-size: 11px; }.faq-section { padding-top: 0; }.faq-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }

@media (max-width: 1200px) {
    .portal-page .community-peek { display: none; }
    .portal-page .navbar-nav { position: static; margin-left: auto !important; transform: none; }
}
@media (max-width: 991px) {
    .portal-page .navbar-collapse { position: absolute; top: 67px; right: 0; left: 0; padding: 12px; border: 2px solid #103b52; border-radius: 8px; background: #174862; box-shadow: 0 6px 15px rgba(12,48,68,.25); }
    .portal-page .navbar-nav { align-items: stretch; }.portal-page .navbar-nav .nav-link { width: 100%; }.portal-page .header-actions { margin-top: 10px; }
    .portal-layout, .store-ready, .family-layout, .legal-layout { grid-template-columns: 1fr; }.community-aside { grid-template-columns: repeat(2,1fr); }.store-grid, .safety-grid { grid-template-columns: 1fr 1fr; }.store-explainer, .conduct-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .portal-page .site-header { padding: 5px 0; }.portal-page .site-header .container-xxl { width: calc(100% - 18px); }.portal-page .navbar { min-height: 58px; padding: 0 11px; }.portal-page .brand { min-width: auto; }.portal-page .brand-logo .logo-full { width: 174px; height: 29px; object-fit: contain; }.portal-page .header-actions { flex-wrap: wrap; }
    .portal-hero, .portal-hero-inner { min-height: 370px; }.portal-hero-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 22px; }.portal-pixel-art { margin-right: 0; margin-left: 18px; }.portal-hero h1 { font-size: 36px; }.portal-hero p { font-size: 14px; }
    .portal-layout { padding-top: 27px; }.community-aside, .store-grid, .store-explainer, .safety-grid, .conduct-list, .terms-columns, .faq-grid { grid-template-columns: 1fr; }.news-card { grid-template-columns: 48px 1fr; padding: 16px 42px 16px 14px; }.news-card-date { width: 45px; height: 51px; }.article-pixel-mark { display: none; }.article-header { padding: 27px 22px 21px; }.article-header h2 { font-size: 27px; }.article-meta { gap: 9px; }.article-body { padding: 23px 22px 23px 64px; }.article-opening { top: 24px; left: 18px; }.article-footer { align-items: flex-start; flex-direction: column; padding: 13px 22px; }.comment-form { grid-template-columns: 1fr; }.comment-author { width: max-content; min-width: 150px; }.comment-form-footer { align-items: stretch; flex-direction: column; }.comment-form-footer .pixel-action { align-self: flex-end; }.comment time { display: none; }.safety-nav { grid-template-columns: repeat(2,1fr); margin-top: 12px; }.safety-contact { align-items: flex-start; flex-wrap: wrap; }.safety-contact a { width: 100%; margin: 3px 0 0 38px; }.store-ready { margin-right: 18px; margin-left: 18px; }.family-layout, .legal-layout { gap: 22px; }
}

/* Home login overlay */
.home-page .site-modal .modal-backdrop { z-index: 0; opacity: 1 !important; background: rgba(13, 31, 42, .72); backdrop-filter: blur(3px); }
.home-page .modal-close:hover, .home-page .modal-close:focus { color: #294d5f; border-color: #b9ced6; background: #e1ecef; }

/* Home: login modal */
.home-page .login-dialog { width: min(calc(100% - 24px), 460px); padding: 0; border: 1px solid #8eb9ca; border-top: 0; border-radius: 18px; background: #f8fbfc; box-shadow: 0 28px 80px rgba(8,31,43,.42), 0 6px 0 rgba(39,94,116,.28); }
.home-page .login-visual { position: relative; display: grid; place-content: center; justify-items: center; gap: 7px; height: 112px; overflow: hidden; border-bottom: 6px solid #69c5e7; background-color: #70c8ef; background-image: linear-gradient(180deg, rgba(22,72,92,.08), rgba(19,65,84,.72)), url("../images/mid_header/panoramic.png"); background-repeat: no-repeat; background-position: center, 0 -205px; background-size: 100% 100%, 2400px 800px; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .login-visual img { position: relative; z-index: 1; display: block; width: 221px; min-width: 221px; max-width: none; height: 36px; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.home-page .login-visual span { position: relative; z-index: 1; padding: 4px 8px; border: 1px solid rgba(255,255,255,.5); border-radius: 4px; color: #fff; background: rgba(18,64,82,.72); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.home-page .login-dialog .modal-close { z-index: 4; color: #31576a; background: rgba(255,255,255,.94); box-shadow: 0 2px 0 rgba(34,78,96,.2); }
.home-page .login-content { padding: 27px 32px 25px; }
.home-page .login-kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #328cad; font-size: 11px; font-weight: 900; letter-spacing: 1.3px; text-transform: uppercase; }
.home-page .login-kicker i { color: #d49a13; }
.home-page .login-dialog .login-content h2 { margin: 0; color: #183b55; font-size: 26px; line-height: 1.12; }
.home-page .login-dialog .login-content > p { margin: 7px 0 0; color: #587383; font-size: 14px; }
.home-page .login-dialog .alert { margin: 17px 0 0; border-radius: 8px; font-size: 13px; }
.home-page .login-dialog .login-content .auth-form { gap: 8px; margin-top: 21px; }
.home-page .login-dialog .login-content .auth-form label { margin-top: 3px; color: #294d5f; font-size: 13px; font-weight: 800; }
.home-page .login-dialog .login-content .input-icon input { height: 49px; padding-left: 43px; border: 2px solid #c5d9e1; border-radius: 9px; color: #183b55; background: #fff; }
.home-page .login-dialog .login-content .input-icon input:focus { border-color: #69b4cf; box-shadow: 0 0 0 4px rgba(105,180,207,.16); }
.home-page .login-dialog .login-content .auth-form .btn-play { margin-top: 13px; padding: 13px 18px; border-color: #c79421; color: #3f300c; background: linear-gradient(180deg, #f5d772, #e4b947); box-shadow: 0 4px 0 #a5781d; font-weight: 900; }
.home-page .login-dialog .login-content .auth-form .btn-play i { margin-right: 6px; }
.home-page .login-dialog > .auth-switch { margin: 0; padding: 17px 24px 19px; border-top: 1px solid #d5e4e9; color: #607b88; background: #edf5f7; font-size: 13px; text-align: center; }
.home-page .login-dialog > .auth-switch a { color: #237f9f; font-weight: 900; }

/* Registration page */
.auth-page.register-page { min-height: 100vh; padding: 30px; color: #183b55; background: #dff3f8; }
.register-page .auth-shell { width: min(1180px, 100%); min-height: calc(100vh - 60px); margin: 0 auto; grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr); gap: 18px; }
.register-page .auth-aside { position: relative; min-height: 680px; padding: 32px; overflow: hidden; border: 2px solid #78b6ce; border-radius: 20px; color: #fff; background-color: #70c8ef; background-image: url("../images/mid_header/panoramic.png"); background-repeat: no-repeat; background-position: left bottom; background-size: 2400px 800px; box-shadow: 0 8px 0 rgba(59,128,153,.25), 0 22px 55px rgba(50,105,126,.2); image-rendering: pixelated; image-rendering: crisp-edges; }
.register-page .auth-aside::before { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(27,78,98,.18) 0%, rgba(22,66,84,.05) 42%, rgba(15,53,69,.8) 100%); }
.register-page .auth-aside::after { content: none; }
.register-page .auth-aside > * { position: relative; z-index: 1; }
.register-page .auth-aside > .brand { align-self: flex-start; min-width: 0; padding: 8px 11px; border: 1px solid rgba(255,255,255,.38); border-radius: 10px; background: rgba(18,66,84,.62); box-shadow: 0 3px 0 rgba(10,42,55,.3); }
.register-page .auth-aside .logo-full { width: 221px; min-width: 221px; max-width: none; height: 36px; object-fit: none; }
.register-page .auth-message { max-width: 510px; margin: auto 0 18px; padding: 28px; border: 1px solid rgba(255,255,255,.42); border-radius: 16px; background: rgba(20,67,85,.82); box-shadow: 0 10px 32px rgba(8,38,51,.24); }
.register-page .auth-message .eyebrow { color: #83ddf3; font-size: 11px; font-weight: 900; letter-spacing: 1.5px; }
.register-page .auth-message .eyebrow i { color: #f2c84e; }
.register-page .auth-message h1 { margin: 11px 0 10px; color: #fff; font-family: inherit; font-size: clamp(28px, 2.4vw, 38px); font-weight: 900; line-height: 1.05; letter-spacing: -.8px; text-shadow: 0 3px 0 rgba(7,37,49,.32); white-space: nowrap; }
.register-page .auth-message p { max-width: 450px; margin: 0; color: #e4f2f6; font-size: 15px; line-height: 1.5; }
.register-page .auth-perks { display: flex; gap: 8px; margin-top: 20px; }
.register-page .auth-perks span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.42); border-radius: 6px; color: #244d5e; background: rgba(255,255,255,.92); font-size: 11px; font-weight: 800; }
.register-page .auth-perks i { color: #d49a13; }
.register-page .auth-home-link { align-self: flex-start; padding: 7px 10px; border-radius: 6px; color: #fff; background: rgba(18,66,84,.72); font-size: 12px; font-weight: 800; text-decoration: none; }
.register-page .auth-home-link:hover, .register-page .auth-home-link:focus { color: #fff; background: rgba(18,66,84,.92); }
.register-page .auth-panel { display: flex; align-items: center; padding: 28px; border: 2px solid #b7d5df; border-top: 7px solid #69c5e7; border-radius: 20px; background: rgba(248,252,253,.96); box-shadow: 0 8px 0 rgba(80,137,158,.18), 0 22px 55px rgba(50,105,126,.16); }
.register-page .auth-card { width: 100%; max-width: 510px; margin: auto; }
.register-page .auth-card > .brand { display: none; }
.register-page .auth-card > .section-kicker { color: #328cad; font-size: 11px; font-weight: 900; letter-spacing: 1.5px; }
.register-page .auth-card h2 { margin: 7px 0 4px; color: #183b55; font-size: 31px; font-weight: 900; line-height: 1.1; }
.register-page .auth-card > p:not(.auth-switch) { margin: 0; color: #607b88; font-size: 14px; }
.register-page .auth-card .alert { margin: 18px 0 0; border-radius: 8px; font-size: 13px; }
.register-page .auth-form { gap: 14px; margin-top: 23px; }
.register-page .auth-field { display: grid; gap: 6px; min-width: 0; }
.register-page .auth-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.register-page .auth-form label { margin: 0; color: #294d5f; font-size: 13px; font-weight: 800; }
.register-page .input-icon input { width: 100%; height: 49px; padding: 0 43px; border: 2px solid #c5d9e1; border-radius: 9px; outline: 0; color: #183b55; background: #fff; }
.register-page .input-icon input:focus { border-color: #69b4cf; box-shadow: 0 0 0 4px rgba(105,180,207,.16); }
.register-page .input-icon > i, .register-page .password-toggle { color: #658493; }
.register-page .auth-card .form-hint { margin: -1px 0 0; color: #78909b; font-size: 11px; }
.register-page input[type="date"] { padding-right: 42px; color-scheme: light; }
.register-page .input-icon > i { z-index: 2; pointer-events: none; }
.register-page .captcha-row { display: grid; grid-template-columns: 178px 38px minmax(0, 1fr); gap: 9px; }
.register-page .pixel-captcha { width: 178px; height: 49px; overflow: hidden; border: 2px solid #72b6cd; border-radius: 8px; background: #2e657c; box-shadow: 0 3px 0 #a9ccd8; user-select: none; }
.register-page .pixel-captcha img { display: block; width: 178px; min-width: 178px; max-width: none; height: 49px; object-fit: none; pointer-events: none; user-select: none; -webkit-user-drag: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.register-page .captcha-refresh { display: grid; place-items: center; width: 38px; height: 49px; padding: 0; border: 2px solid #c5d9e1; border-radius: 8px; color: #337f9b; background: #fff; box-shadow: 0 3px 0 #bdd3db; }
.register-page .captcha-refresh:hover, .register-page .captcha-refresh:focus { color: #fff; border-color: #408da8; background: #408da8; }
.register-page .captcha-field input { height: 49px; font-weight: 900; letter-spacing: 4px; text-align: center; text-transform: uppercase; }
.register-page .checkbox-line { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 9px; margin: 1px 0 0; padding: 11px 12px; border: 1px solid #d6e5ea; border-radius: 8px; color: #58717e; background: #eef5f7; font-size: 12px; line-height: 1.4; }
.register-page .checkbox-line input { margin-top: 2px; accent-color: #3c9ebf; }
.register-page .auth-form .btn-play { margin-top: 1px; padding: 13px 18px; border-color: #c79421; color: #3f300c; background: linear-gradient(180deg, #f5d772, #e4b947); box-shadow: 0 4px 0 #a5781d; font-weight: 900; }
.register-page .auth-form .btn-play i { margin-right: 6px; }
.register-page .auth-switch { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #d6e5ea; color: #607b88; font-size: 13px; text-align: center; }
.register-page .auth-switch a { color: #237f9f; font-weight: 900; }

@media (max-width: 980px) {
    .auth-page.register-page { padding: 16px; }
    .register-page .auth-shell { min-height: 0; grid-template-columns: 1fr; }
    .register-page .auth-aside { min-height: 390px; }
    .register-page .auth-message { margin-top: 80px; }
    .register-page .auth-panel { padding: 34px; }
}
@media (max-width: 620px) {
    .home-page .login-content { padding: 24px 22px 22px; }
    .home-page .login-dialog .login-content h2 { font-size: 23px; }
    .auth-page.register-page { padding: 0; }
    .register-page .auth-shell { width: 100%; gap: 0; }
    .register-page .auth-aside { min-height: 350px; padding: 22px; border: 0; border-radius: 0; }
    .register-page .auth-aside > .brand { padding: 6px 9px; }
    .register-page .auth-message { margin-top: 70px; padding: 21px; }
    .register-page .auth-message h1 { font-size: 25px; }
    .register-page .auth-perks { flex-wrap: wrap; }
    .register-page .auth-home-link { display: none; }
    .register-page .auth-panel { padding: 28px 18px 34px; border-right: 0; border-left: 0; border-radius: 0; }
    .register-page .auth-card > .brand { display: inline-flex; margin-bottom: 28px; }
    .register-page .auth-card > .brand .logo-full { width: 221px; min-width: 221px; max-width: none; height: 36px; object-fit: none; }
    .register-page .auth-field-row { grid-template-columns: 1fr; }
    .register-page .captcha-row { grid-template-columns: 178px 38px; justify-content: start; }
    .register-page .captcha-row .input-icon { grid-column: 1 / -1; }
}

/* Resident dashboard */
.dashboard-page { min-height: 100vh; color: #183b55; background: linear-gradient(180deg, #eef9fb 0%, #e2f2f6 55%, #f5fafb 100%); }
.dashboard-header { position: sticky; z-index: 1030; top: 0; padding: 6px 0 8px; background: rgba(223,243,248,.94); box-shadow: 0 3px 12px rgba(48,104,124,.12); }
.dashboard-navbar { display: flex; align-items: center; gap: 24px; width: calc(100% - 32px); max-width: 1400px; min-height: 62px; padding: 0 18px; border: 2px solid #103b52; border-radius: 8px; background: linear-gradient(180deg, #245c78 0%, #174862 100%); box-shadow: inset 0 1px 0 #4b8299, inset 0 -3px 0 rgba(5,38,55,.32), 0 3px 0 #0c3044; }
.dashboard-navbar .brand { min-width: 221px; }
.dashboard-nav-links { display: flex; align-items: center; gap: 5px; }
.dashboard-nav-links a { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 5px; color: #e6f2f6; font-size: 12px; font-weight: 800; text-decoration: none; }
.dashboard-nav-links a i { color: #acd2df; }
.dashboard-nav-links a:hover, .dashboard-nav-links a:focus { color: #fff; background: #2f6f93; }
.dashboard-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.dashboard-user { display: grid; grid-template-columns: 28px auto; align-items: center; gap: 7px; min-height: 38px; padding: 4px 10px 4px 5px; border: 1px solid #3e7895; border-radius: 6px; color: #fff; background: rgba(8,49,69,.28); }
.dashboard-user > span { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #78bdd6; border-radius: 4px; background: #e4c169; }
.dashboard-user img { display: block; width: 16px; min-width: 16px; max-width: none; height: 16px; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.dashboard-user strong { max-width: 110px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-logout { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #789fb1; border-radius: 6px; color: #eaf5f8; background: #284f64; box-shadow: 0 2px 0 #0d3449; text-decoration: none; }
.dashboard-logout:hover, .dashboard-logout:focus { color: #fff; background: #376b84; }
.dashboard-main { padding: 96px 0 52px; }
.dashboard-shell { max-width: 1220px; }
.dashboard-welcome-alert { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; padding: 12px 15px; border: 1px solid #6dbb95; border-radius: 9px; color: #245f46; background: #e5f8ee; box-shadow: 0 3px 0 rgba(55,135,94,.18); font-size: 13px; }
.dashboard-welcome-alert i { color: #32a66d; font-size: 18px; }
.dashboard-hero { position: relative; height: 225px; overflow: hidden; border: 2px solid #79b7cf; border-radius: 15px; background-color: #70c8ef; background-image: url("../images/mid_header/panoramic.png"); background-repeat: no-repeat; background-position: 0 -198px; background-size: 2400px 800px; box-shadow: 0 6px 0 rgba(62,130,155,.24), 0 16px 34px rgba(50,105,126,.16); image-rendering: pixelated; image-rendering: crisp-edges; }
.dashboard-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(239,251,253,.98) 0%, rgba(232,249,252,.92) 37%, rgba(232,249,252,.2) 66%, transparent 80%); }
.dashboard-hero-copy { position: relative; z-index: 2; width: 570px; padding: 29px 32px; }
.dashboard-kicker { color: #328cad; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.dashboard-kicker i { margin-right: 5px; color: #d89d15; }
.dashboard-hero h1 { margin: 8px 0 7px; color: #173b55; font-size: 34px; font-weight: 900; line-height: 1.05; }
.dashboard-hero-copy > p { max-width: 500px; margin: 0; color: #496979; font-size: 14px; line-height: 1.45; }
.dashboard-hero-actions { display: flex; gap: 9px; margin-top: 20px; }
.dashboard-hero-actions a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 7px; font-size: 12px; font-weight: 900; text-decoration: none; }
.dashboard-play { border: 1px solid #bd8b1b; color: #3e2e08; background: linear-gradient(180deg, #f8db73, #e5b945); box-shadow: 0 3px 0 #9d7418; }
.dashboard-play:hover, .dashboard-play:focus { color: #302305; background: linear-gradient(180deg, #ffe58f, #edc65d); }
.dashboard-secondary { border: 1px solid #9fc2cf; color: #315c70; background: rgba(255,255,255,.86); box-shadow: 0 3px 0 rgba(75,128,148,.18); }
.dashboard-secondary:hover, .dashboard-secondary:focus { color: #21495c; background: #fff; }
.dashboard-resident { position: absolute; z-index: 2; right: 48px; bottom: 20px; display: grid; justify-items: center; width: 170px; padding: 12px 13px 11px; border: 2px solid rgba(111,167,189,.8); border-radius: 11px; background: rgba(255,255,255,.94); box-shadow: 0 5px 0 rgba(54,113,135,.24); }
.dashboard-resident-label { margin-top: 3px; color: #65808c; font-size: 8px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.dashboard-resident img { display: block; width: 50px; min-width: 50px; max-width: none; height: 92px; object-fit: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.dashboard-resident strong { margin-top: -2px; color: #173b55; font-size: 13px; font-weight: 900; }
.dashboard-resident small { margin-top: 2px; padding: 2px 6px; border-radius: 3px; color: #fff; background: #3187aa; font-size: 9px; font-weight: 800; box-shadow: 0 2px 0 #1e607b; }
.dashboard-overview { display: grid; grid-template-columns: 1.14fr .86fr; gap: 16px; margin-top: 20px; }
.dashboard-panel { min-width: 0; padding: 23px; border: 2px solid #b6d4df; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 5px 0 rgba(74,132,153,.17); }
.dashboard-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dashboard-panel h2 { margin: 5px 0 0; color: #173b55; font-size: 21px; font-weight: 900; }
.dashboard-level { display: grid; place-items: center; min-width: 52px; height: 34px; border: 1px solid #c39020; border-radius: 7px; color: #4c3809; background: #f4ce60; box-shadow: 0 3px 0 #a87b18; font-size: 12px; font-weight: 900; }
.dashboard-level-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 22px; color: #607b88; font-size: 12px; }
.dashboard-level-meta strong { color: #23566f; font-size: 15px; }
.dashboard-progress { height: 15px; margin-top: 7px; padding: 3px; overflow: hidden; border: 1px solid #aacbd7; border-radius: 5px; background: #e0eef2; box-shadow: inset 0 2px 0 rgba(60,111,130,.12); }
.dashboard-progress span { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #43b9dc, #2c8eb4); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.dashboard-wallet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 19px; }
.dashboard-wallet > div { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 11px; border: 1px solid #d3e1e6; border-radius: 8px; background: #f6fafb; }
.dashboard-wallet i { font-size: 18px; }
.dashboard-wallet span { display: grid; min-width: 0; line-height: 1.05; }
.dashboard-wallet strong { color: #173b55; font-size: 15px; }
.dashboard-wallet small { margin-top: 3px; color: #6c838e; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.wallet-gold i { color: #d7a014; }.wallet-blue i { color: #368fb5; }.wallet-pink i { color: #dd6380; }
.activity-panel { border-color: #a9d6c5; background: linear-gradient(135deg, rgba(246,255,251,.98), rgba(232,249,244,.98)); }
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 19px; }
.activity-grid > div { position: relative; min-height: 82px; padding: 13px 13px 11px 48px; overflow: hidden; border: 1px solid #c3dfd5; border-radius: 8px; background: rgba(255,255,255,.78); }
.activity-grid i { position: absolute; top: 15px; left: 13px; color: #3e9b7a; font-size: 21px; }
.activity-grid strong { display: block; color: #173b55; font-size: 24px; line-height: 1; }
.activity-grid span { display: block; margin-top: 7px; color: #5c7a70; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.dashboard-quick { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 20px 22px; border: 2px solid #b6d4df; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 5px 0 rgba(74,132,153,.17); }
.dashboard-quick h2 { margin: 5px 0 0; color: #173b55; font-size: 20px; font-weight: 900; }
.dashboard-quick nav { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 9px; }
.dashboard-quick nav a { display: grid; grid-template-columns: 34px auto; align-items: center; gap: 9px; min-width: 0; padding: 10px 12px; border: 1px solid #c1d8e0; border-radius: 8px; color: #31586b; background: #f2f8fa; text-decoration: none; }
.dashboard-quick nav a:hover, .dashboard-quick nav a:focus { border-color: #79b6cc; background: #e5f4f8; }
.dashboard-quick nav i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; color: #fff; background: #368eaf; box-shadow: 0 2px 0 #246984; }
.dashboard-quick nav span { display: grid; min-width: 0; line-height: 1.1; }
.dashboard-quick nav strong { overflow: hidden; color: #214d62; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-quick nav small { margin-top: 4px; color: #6b848f; font-size: 9px; }

@media (max-width: 980px) {
    .dashboard-nav-links { display: none; }
    .dashboard-overview { grid-template-columns: 1fr; }
    .dashboard-quick { align-items: flex-start; flex-direction: column; }
    .dashboard-quick nav { width: 100%; }
}
@media (max-width: 700px) {
    .dashboard-navbar { width: calc(100% - 20px); padding: 0 12px; }
    .dashboard-navbar .brand { min-width: 0; }
    .dashboard-user strong { display: none; }
    .dashboard-user { grid-template-columns: 28px; padding-right: 5px; }
    .dashboard-main { padding-top: 82px; }
    .dashboard-shell { padding-right: 12px; padding-left: 12px; }
    .dashboard-hero { height: 415px; }
    .dashboard-hero::before { background: linear-gradient(180deg, rgba(239,251,253,.98) 0%, rgba(232,249,252,.9) 48%, rgba(232,249,252,.2) 78%, transparent 100%); }
    .dashboard-hero-copy { width: 100%; padding: 25px 23px; }
    .dashboard-hero h1 { font-size: 29px; }
    .dashboard-hero-actions { flex-wrap: wrap; }
    .dashboard-resident { right: 22px; bottom: 18px; }
    .dashboard-wallet { grid-template-columns: 1fr; }
    .dashboard-quick nav { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
    .dashboard-header { padding-top: 5px; }
    .dashboard-navbar { min-height: 58px; }
    .dashboard-navbar .logo-full { display: none; }
    .dashboard-navbar .logo-small { display: block; }
    .dashboard-actions { gap: 5px; }
    .dashboard-panel { padding: 19px; }
    .activity-grid { grid-template-columns: 1fr; }
}

/* Legal centre */
.legal-page { color: #183b55; background: linear-gradient(180deg, #eef9fb 0%, #f8fbfc 48%, #e8f5f7 100%); }
.legal-hero { padding: 116px 0 42px; border-bottom: 4px solid #84d2e5; background: linear-gradient(135deg, #dff6fb 0%, #f7fcfd 55%, #e9f8f4 100%); }
.legal-hero h1 { margin: 7px 0 4px; color: #143c56; font-size: clamp(32px, 4vw, 48px); font-weight: 900; letter-spacing: -.8px; }
.legal-hero p { max-width: 720px; margin: 0; color: #547382; font-size: 15px; }
.privacy-legal-hero { background: linear-gradient(135deg, #e2f5fc, #f8fcfd 55%, #edf1ff); }
.cookies-legal-hero { background: linear-gradient(135deg, #fff6d8, #fbfdfd 58%, #e6f7fb); }
.terms-legal-hero { background: linear-gradient(135deg, #e5f4fb, #fbfdfd 55%, #f0ebff); }
.rules-legal-hero { background: linear-gradient(135deg, #e5faf2, #fbfdfd 55%, #fff4dd); }
.moderation-legal-hero { background: linear-gradient(135deg, #ebf5ff, #fbfdfd 55%, #e7f8f1); }
.legal-document-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 24px; padding-top: 28px; padding-bottom: 54px; }
.legal-document-nav { position: sticky; top: 92px; display: grid; gap: 5px; padding: 10px; border: 1px solid #bdd8e1; border-radius: 11px; background: rgba(255,255,255,.88); box-shadow: 0 4px 0 rgba(76,132,151,.12); }
.legal-document-nav a { padding: 9px 11px; border-radius: 6px; color: #456978; font-size: 12px; font-weight: 800; text-decoration: none; }
.legal-document-nav a:hover, .legal-document-nav a:focus { color: #174e69; background: #e7f5f8; }
.legal-document-nav a.active { color: #fff; background: #287fa2; box-shadow: 0 2px 0 #195e79; }
.legal-document { min-width: 0; padding: 32px 38px; border: 1px solid #bed8e1; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 6px 0 rgba(74,132,153,.14), 0 18px 45px rgba(45,99,119,.08); }
.legal-document > header { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid #dce9ed; }
.legal-document > header span { color: #3188a8; font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.legal-document > header h2 { margin: 6px 0 0; color: #153d56; font-size: 28px; font-weight: 900; }
.legal-document section { scroll-margin-top: 105px; margin-top: 27px; }
.legal-document h3 { margin: 0 0 8px; color: #1d536b; font-size: 18px; font-weight: 900; }
.legal-document p, .legal-document li, .legal-document dd { color: #506f7d; font-size: 13px; line-height: 1.72; }
.legal-document li + li { margin-top: 5px; }
.legal-document a { color: #197ea4; font-weight: 800; }
.legal-document > footer { margin-top: 30px; padding: 15px 17px; border-left: 4px solid #5eb9d3; border-radius: 0 7px 7px 0; color: #496b7a; background: #edf8fb; font-size: 12px; }
.legal-identity { padding: 18px; border: 1px solid #c5dde5; border-radius: 10px; background: #f5fafb; }
.legal-identity dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; margin: 0 0 13px; }
.legal-identity dl div { min-width: 0; }
.legal-identity dt { color: #66818d; font-size: 9px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.legal-identity dd { margin: 2px 0 0; color: #183f57; font-weight: 800; overflow-wrap: anywhere; }
.legal-identity > p { margin: 0; }
.legal-table { display: grid; gap: 1px; overflow: hidden; border: 1px solid #c9dfe6; border-radius: 9px; background: #c9dfe6; }
.legal-table > div { display: grid; grid-template-columns: minmax(145px, .36fr) 1fr; gap: 18px; padding: 12px 14px; background: #f9fcfd; }
.legal-table strong { color: #285a70; font-size: 12px; }
.legal-table span { color: #53717e; font-size: 12px; line-height: 1.55; }
.cookie-table { display: grid; gap: 1px; overflow: hidden; border: 1px solid #c9dfe6; border-radius: 9px; background: #c9dfe6; }
.cookie-row { display: grid; grid-template-columns: .8fr 1.7fr .8fr; gap: 12px; padding: 11px 13px; color: #52717f; background: #fff; font-size: 11px; line-height: 1.45; }
.cookie-row.heading { color: #fff; background: #276c88; font-weight: 900; }
.rules-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 6px; }
.rules-cards > div { padding: 17px; border: 1px solid #c4dce4; border-radius: 9px; background: #f6fbfc; }
.rules-cards i { color: #2d91b3; font-size: 21px; }
.rules-cards strong { display: block; margin: 9px 0 3px; color: #214e63; font-size: 13px; }
.rules-cards p { margin: 0; font-size: 11px; }

/* Security centre additions */
.security-links.container-xxl { position: relative; z-index: 4; display: flex; justify-content: center; gap: 4px; width: max-content; max-width: calc(100% - 28px); margin: -18px auto 34px; padding: 7px; border: 1px solid #b9d9e3; border-radius: 10px; background: rgba(255,255,255,.97); box-shadow: 0 4px 0 rgba(70,131,153,.14), 0 10px 24px rgba(45,102,123,.08); }
.security-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 6px; color: #315e71; font-size: 12px; font-weight: 900; line-height: 1; text-decoration: none; white-space: nowrap; }
.security-links a:hover, .security-links a:focus { color: #fff; background: #2d89aa; }
.security-page #cuenta, .security-page #menores, .security-page #denunciar, .security-page #fraude { scroll-margin-top: 96px; }
.minor-safety-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.minor-safety-layout > div { padding: 21px; border: 1px solid #bedbe3; border-radius: 10px; background: #fff; box-shadow: 0 4px 0 rgba(74,132,153,.11); }
.minor-safety-layout h3 { color: #235b72; font-size: 17px; font-weight: 900; }
.minor-safety-layout li { margin: 7px 0; color: #557480; font-size: 12px; line-height: 1.55; }
.fraud-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 35px; align-items: center; }
.fraud-layout h2 { margin: 7px 0; color: #173f57; font-size: 30px; font-weight: 900; }
.fraud-layout p { color: #527469; }
.fraud-signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.fraud-signs article { padding: 16px; border: 1px solid #a7d2bd; border-radius: 9px; background: rgba(255,255,255,.9); }
.fraud-signs i { color: #d39b21; font-size: 20px; }
.fraud-signs strong, .fraud-signs span { display: block; }
.fraud-signs strong { margin: 9px 0 4px; color: #235a49; font-size: 12px; }
.fraud-signs span { color: #607d72; font-size: 10px; line-height: 1.45; }
.serious-safety { padding: 21px 23px; border: 2px solid #e0ba58; border-radius: 10px; background: #fff8df; box-shadow: 0 4px 0 rgba(159,115,19,.13); }
.serious-safety p { margin: 0; color: #6b5a2e; font-size: 12px; line-height: 1.65; }
.serious-safety p + p { margin-top: 8px; }
.safety-documents { padding: 44px 0; border-top: 4px solid #a6d4e3; border-bottom: 4px solid #a6d4e3; background: rgba(235,247,251,.94); }
.safety-document-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.safety-document-grid a { display: grid; grid-template-columns: 37px 1fr; gap: 2px 10px; padding: 16px; border: 1px solid #bdd7e0; border-radius: 9px; color: #315b6d; background: #fff; box-shadow: 0 3px 0 rgba(72,127,147,.12); text-decoration: none; }
.safety-document-grid i { grid-row: 1 / 3; display: grid; place-items: center; width: 37px; height: 37px; border-radius: 7px; color: #fff; background: #328daf; }
.safety-document-grid strong { color: #224f63; font-size: 12px; }
.safety-document-grid span { color: #68818c; font-size: 10px; line-height: 1.4; }
.safety-document-grid a:hover, .safety-document-grid a:focus { transform: translateY(-1px); border-color: #73b7ce; }

@media (max-width: 980px) {
    .legal-document-layout { grid-template-columns: 1fr; }
    .legal-document-nav { position: static; display: flex; flex-wrap: wrap; }
    .security-links.container-xxl { justify-content: flex-start; width: auto; margin-right: 14px; margin-left: 14px; overflow-x: auto; }
    .security-links a { flex: 0 0 auto; }
    .fraud-layout { grid-template-columns: 1fr; }
    .safety-document-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .legal-hero { padding-top: 96px; }
    .legal-document-layout { padding-right: 12px; padding-left: 12px; }
    .legal-document { padding: 24px 19px; }
    .legal-identity dl, .minor-safety-layout, .rules-cards, .fraud-signs, .safety-document-grid { grid-template-columns: 1fr; }
    .legal-table > div { grid-template-columns: 1fr; gap: 3px; }
    .cookie-table { overflow-x: auto; }
    .cookie-row { min-width: 620px; }
}
/* Store actions are active buttons; keep only unavailable packs muted. */
.store-card form button { color: #fff; border-color: #0d668d; background: #0d668d; cursor: pointer; box-shadow: 0 3px 0 rgba(13,102,141,.18); }
.store-card form button:hover, .store-card form button:focus-visible { color: #fff; border-color: #095572; background: #095572; }
.store-card form button:active { transform: translateY(1px); box-shadow: none; }
