:root {
  --ink: #163245;
  --ink-2: #294858;
  --muted: #72808a;
  --soft: #f4f7f6;
  --line: #dfe7e5;
  --cream: #f7f1e6;
  --gold: #cda34d;
  --gold-light: #f4d994;
  --emerald: #17745a;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(26, 56, 67, 0.1);
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7f9f8;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .025; z-index: 99; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: 250px;
  flex-direction: column;
  padding: 34px 22px 24px;
  color: #eef5f4;
  background: #102f42;
  background-image: radial-gradient(circle at 0 0, rgba(63, 122, 119, .34), transparent 38%), linear-gradient(160deg, #153a4e, #0d2939 72%);
}
.sidebar::after { content: ""; position: absolute; inset: auto 0 0; height: 250px; opacity: .16; background: repeating-radial-gradient(ellipse at 10% 110%, transparent 0 28px, #75a39b 29px 30px); pointer-events: none; }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 0 10px 36px; }
.brand-mark { display: grid; width: 36px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 4px 15px 4px 15px; color: var(--gold-light); font-family: "Aptos Display", "Segoe UI", sans-serif; font-size: 24px; font-weight: 800; }
.brand b { display: block; font: 800 21px/1 "Aptos Display", "Segoe UI", sans-serif; letter-spacing: .14em; }
.brand small { display: block; margin-top: 5px; color: #9eb4bc; font-size: 8px; letter-spacing: .18em; }
.main-nav { display: grid; gap: 6px; position: relative; z-index: 1; }
.nav-link { display: flex; align-items: center; gap: 14px; min-height: 49px; padding: 0 14px; border-radius: 13px; color: #adc0c6; font-size: 14px; font-weight: 500; transition: .25s ease; }
.nav-link svg { width: 20px; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); transform: translateX(2px); }
.nav-link.active { color: #fff; background: rgba(255,255,255,.11); box-shadow: inset 3px 0 var(--gold-light); }
.nav-link em { margin-left: auto; padding: 2px 8px; border-radius: 20px; color: #163245; background: var(--gold-light); font-size: 10px; font-style: normal; font-weight: 800; }
.sidebar-bottom { display: grid; gap: 12px; margin-top: auto; position: relative; z-index: 1; }
.profile-mini { display: flex; align-items: center; width: 100%; gap: 10px; padding: 13px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; color: #fff; background: rgba(255,255,255,.06); cursor: pointer; text-align: left; }
.avatar { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border-radius: 50%; color: #213b48; background: linear-gradient(135deg, #f8e7b6, #cfa04b); font-weight: 800; font-size: 12px; }
.profile-mini b, .profile-mini small { display: block; }
.profile-mini b { font-size: 12px; }
.profile-mini small { color: #91a9b2; font-size: 10px; margin-top: 3px; }
.profile-mini svg { width: 16px; margin-left: auto; color: #839ba4; }

.main-content { min-height: 100vh; margin-left: 250px; padding: 34px clamp(30px, 4vw, 70px) 25px; overflow: hidden; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.eyebrow { margin: 0 0 6px; color: #8b999f; font-size: 10px; line-height: 1; letter-spacing: .14em; font-weight: 700; }
h1, h2, h3 { margin: 0; font-family: "Aptos Display", "Segoe UI", sans-serif; }
h1 { font-size: clamp(25px, 2.4vw, 35px); letter-spacing: -.045em; }
h1 span { display: inline-block; font-size: .75em; transform-origin: 70% 70%; animation: wave 2.8s 1s ease-in-out infinite; }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0); } 65% { transform: rotate(18deg); } 75% { transform: rotate(-10deg); } 85% { transform: rotate(12deg); } }
.top-actions { display: flex; align-items: center; gap: 10px; }
.search-box { display: flex; width: min(300px, 28vw); height: 46px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: .25s ease; }
.search-box:focus-within { border-color: #759286; box-shadow: 0 0 0 3px rgba(73, 119, 100, .1); }
.search-box svg { width: 18px; color: #7c898e; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search-box input::placeholder { color: #a0aaae; }
kbd { padding: 3px 6px; border: 1px solid #dde3e2; border-radius: 5px; color: #98a4a8; background: #f7f8f8; font-size: 9px; box-shadow: 0 1px #d4dcda; }
.icon-button { display: grid; position: relative; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; }
.icon-button svg { width: 19px; }
.notification-button span { position: absolute; top: 10px; right: 11px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: #d3835d; }

.welcome-strip { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; padding: 9px 14px 9px 18px; border: 1px solid #dce8df; border-radius: 14px; background: linear-gradient(90deg, #ecf5ef, #f5f8f4); }
.welcome-strip > div { display: flex; align-items: center; gap: 11px; }
.welcome-strip p { margin: 0; color: #536a62; font-size: 12px; }
.welcome-strip p strong { color: #234d3d; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #46a778; box-shadow: 0 0 0 5px rgba(70,167,120,.14); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(70,167,120,0); } }
.text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; color: #315f50; background: none; cursor: pointer; font-size: 11px; font-weight: 700; white-space: nowrap; }
.text-button svg { width: 15px; transition: transform .2s ease; }
.text-button:hover svg { transform: translateX(3px); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .74fr); gap: 22px; align-items: stretch; }
.member-area, .points-card, .mini-stats, .benefits-section, .partners-section, .activity-section { border: 1px solid var(--line); background: #fff; }
.member-area { padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.section-heading h2 { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.035em; }
.ghost-button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 11px; font-weight: 700; transition: .2s ease; }
.ghost-button:hover { border-color: #9db0aa; background: #f6f9f8; }

.card-stage { display: flex; flex-direction: column; align-items: center; padding: 24px 0 12px; perspective: 1200px; }
.membership-card { position: relative; width: min(100%, 520px); aspect-ratio: 1.68 / 1; padding: 27px 30px; overflow: hidden; border-radius: 21px; color: #2b291e; background: linear-gradient(125deg, #e5c579 0%, #f4dda3 40%, #bb8b35 100%); box-shadow: 0 24px 40px rgba(128, 94, 29, .24), inset 0 1px rgba(255,255,255,.6); transform-style: preserve-3d; transition: transform .15s ease-out, background .4s ease, color .4s ease, box-shadow .4s ease; cursor: default; }
.membership-card::before { content: ""; position: absolute; inset: 1px; border: 1px solid rgba(255,255,255,.34); border-radius: 20px; }
.membership-card::after { content: ""; position: absolute; inset: -80% -40%; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.34) 50%, transparent 60%); transform: translateX(-70%) rotate(8deg); animation: shine 5s 1s ease-in-out infinite; }
@keyframes shine { 0%, 18% { transform: translateX(-70%) rotate(8deg); } 50%, 100% { transform: translateX(80%) rotate(8deg); } }
.card-glow { position: absolute; top: var(--mouse-y, 40%); left: var(--mouse-x, 50%); width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.25); filter: blur(65px); transform: translate(-50%, -50%); pointer-events: none; }
.card-top, .card-bottom { display: flex; position: relative; z-index: 2; align-items: flex-start; justify-content: space-between; transform: translateZ(28px); }
.card-logo { display: flex; align-items: center; gap: 7px; font: 800 20px "Aptos Display", "Segoe UI", sans-serif; letter-spacing: .1em; }
.card-logo span { display: grid; width: 27px; height: 29px; place-items: center; border: 1px solid currentColor; border-radius: 3px 10px 3px 10px; font-size: 16px; }
.tier-label { padding: 7px 12px; border: 1px solid rgba(52,44,23,.2); border-radius: 30px; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.card-chip { display: grid; position: relative; z-index: 2; width: 48px; height: 36px; grid-template-columns: repeat(2, 1fr); margin-top: 53px; overflow: hidden; border: 1px solid rgba(68,55,22,.28); border-radius: 9px; background: linear-gradient(145deg, #e8d194, #b58b3d); transform: translateZ(23px); }
.card-chip i { border-right: 1px solid rgba(62,50,25,.18); border-bottom: 1px solid rgba(62,50,25,.18); }
.card-bottom { position: absolute; right: 30px; bottom: 26px; left: 30px; align-items: flex-end; }
.card-bottom small { display: block; margin-bottom: 5px; opacity: .58; font-size: 8px; letter-spacing: .14em; }
.card-bottom strong { font: 700 15px "Aptos Display", "Segoe UI", sans-serif; letter-spacing: .08em; }
.member-number { text-align: right; }
.member-number button { display: flex; align-items: center; gap: 5px; padding: 0; border: 0; color: inherit; background: none; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.member-number svg { width: 13px; }
.card-crown { position: absolute; z-index: 1; right: 24px; bottom: 44px; width: 124px; height: 124px; opacity: .08; stroke-width: .7; transform: rotate(-9deg); }
.card-orbit { position: absolute; border: 1px solid currentColor; border-radius: 50%; opacity: .08; }
.orbit-one { width: 260px; height: 260px; right: -130px; top: -135px; }
.orbit-two { width: 330px; height: 330px; right: -170px; top: -170px; }
.membership-card.tier-white { color: #334753; background: linear-gradient(125deg, #fdfdfc, #eef2f1 48%, #cbd5d6); box-shadow: 0 24px 40px rgba(74, 92, 99, .18); }
.membership-card.tier-silver { color: #273a45; background: linear-gradient(125deg, #c2d0d4, #eef2f2 48%, #91a5ad); box-shadow: 0 24px 40px rgba(60, 80, 88, .22); }
.membership-card.tier-emerald { color: #f4f4df; background: linear-gradient(125deg, #0d4d42, #218267 48%, #0d3b34); box-shadow: 0 24px 40px rgba(13, 74, 61, .27); }
.tilt-hint { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #9aa6a9; font-size: 9px; }
.tilt-hint span { width: 13px; height: 8px; border: 1px solid #aeb8ba; border-radius: 50%; }
.tier-selector { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-width: 0; padding-top: 15px; border-top: 1px solid #edf0ef; }
.tier-option { display: flex; position: relative; min-width: 0; align-items: center; gap: 9px; padding: 10px; border: 1px solid transparent; border-radius: 12px; background: transparent; cursor: pointer; text-align: left; transition: .2s ease; }
.tier-option:hover { background: #f6f8f7; }
.tier-option.active { border-color: #d9e2df; background: #f6f8f7; box-shadow: 0 3px 12px rgba(25,52,62,.05); }
.tier-option > i { flex: 0 0 18px; height: 26px; border-radius: 4px; background: #eee; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.tier-option > span { min-width: 0; }
.tier-option[data-tier="white"] > i { background: linear-gradient(140deg,#fff,#d7dfdf); }
.tier-option[data-tier="silver"] > i { background: linear-gradient(140deg,#d7e0e2,#899da4); }
.tier-option[data-tier="gold"] > i { background: linear-gradient(140deg,#f1d58e,#b68836); }
.tier-option[data-tier="emerald"] > i { background: linear-gradient(140deg,#318c72,#0b4539); }
.tier-option b, .tier-option small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tier-option b { font-size: 10px; }
.tier-option small { margin-top: 3px; color: #9aa5a8; font-size: 8px; }
.tier-option > svg { position: absolute; top: 5px; right: 5px; width: 12px; color: #3e765d; stroke-width: 2.5; }

.account-panel { display: flex; flex-direction: column; gap: 14px; }
.points-card { flex: 1; padding: 24px; border-radius: var(--radius-lg); background: linear-gradient(160deg, #fff, #faf8f2); }
.points-head { display: flex; align-items: center; gap: 11px; }
.icon-orb { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #9b732e; background: #f2e2bc; }
.icon-orb svg { width: 18px; }
.points-head p { margin: 0; font: 800 10px "Aptos Display", "Segoe UI", sans-serif; letter-spacing: .13em; }
.points-head small { color: #93a0a4; font-size: 9px; }
.points-head button { width: 22px; height: 22px; margin-left: auto; border: 1px solid #dce3e1; border-radius: 50%; color: #8b989b; background: transparent; cursor: pointer; font: 700 10px serif; }
.points-value { display: flex; align-items: baseline; gap: 7px; margin: 27px 0 14px; }
.points-value strong { font: 800 clamp(34px, 3.4vw, 48px)/1 "Aptos Display", "Segoe UI", sans-serif; letter-spacing: -.05em; }
.points-value span { color: #89979b; font-size: 12px; }
.progress-track { height: 6px; overflow: hidden; border-radius: 5px; background: #e6e9e7; }
.progress-track i { display: block; width: 82.6%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c3913d, #e5ca82); animation: grow 1.3s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.points-card > p { margin: 9px 0 23px; color: #92a0a3; font-size: 9px; }
.points-card > p strong { color: #546f63; }
.primary-button { display: flex; width: 100%; height: 44px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; color: #fff; background: var(--ink); cursor: pointer; font-size: 11px; font-weight: 700; transition: .2s ease; }
.primary-button:hover { background: #244b5e; transform: translateY(-1px); box-shadow: 0 7px 18px rgba(21,53,69,.18); }
.primary-button svg { width: 15px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-md); overflow: hidden; }
.mini-stats article { display: flex; align-items: center; gap: 9px; padding: 16px; }
.mini-stats article + article { border-left: 1px solid var(--line); }
.mini-stats span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: #9f7a3f; background: #f5ead2; }
.mini-stats svg { width: 15px; }
.mini-stats strong, .mini-stats small { display: block; }
.mini-stats strong { font: 800 16px "Aptos Display", "Segoe UI", sans-serif; }
.mini-stats small { margin-top: 2px; color: #8b989d; font-size: 8px; }

.benefits-section { margin-top: 22px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius-lg); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.benefit-card { min-width: 0; overflow: hidden; border: 1px solid #e5e9e8; border-radius: 16px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; animation: reveal .55s both; }
.benefit-card:nth-child(2) { animation-delay: .08s; }
.benefit-card:nth-child(3) { animation-delay: .16s; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } }
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(27,54,64,.11); }
.benefit-visual { position: relative; height: 132px; overflow: hidden; }
.benefit-tag { position: absolute; z-index: 5; top: 12px; left: 12px; padding: 5px 8px; border-radius: 7px; color: #fff; background: rgba(20,48,64,.76); backdrop-filter: blur(6px); font-size: 7px; letter-spacing: .13em; font-weight: 800; }
.visual-hotel { background: linear-gradient(160deg, #accfc8, #e5ddbd); }
.visual-hotel::before, .visual-hotel::after { content: ""; position: absolute; bottom: -32px; border-radius: 50%; background: #6c9d82; }
.visual-hotel::before { left: -10%; width: 75%; height: 92px; transform: rotate(9deg); }
.visual-hotel::after { right: -15%; width: 70%; height: 105px; background: #3d745e; }
.sun { position: absolute; top: 21px; right: 24px; width: 34px; height: 34px; border-radius: 50%; background: #f5df95; box-shadow: 0 0 0 10px rgba(245,223,149,.2); }
.hotel-shape { display: flex; position: absolute; z-index: 3; right: 15%; bottom: 20px; width: 125px; height: 55px; align-items: flex-end; justify-content: space-around; padding: 12px 12px 0; background: #f5eee1; box-shadow: 0 8px 15px rgba(40,67,56,.15); }
.hotel-shape::before { content: ""; position: absolute; top: -16px; right: 10px; left: 10px; height: 21px; background: #e9e0cf; clip-path: polygon(50% 0,100% 100%,0 100%); }
.hotel-shape i { width: 13px; height: 25px; background: #76988d; }
.visual-food { background: linear-gradient(145deg, #c2683d, #efbd78); }
.visual-food::before { content: ""; position: absolute; inset: 0; opacity: .1; background: repeating-linear-gradient(45deg,transparent 0 9px,#fff 10px 11px); }
.plate { position: absolute; left: 50%; top: 58%; width: 118px; height: 118px; border: 12px solid #f2e8d6; border-radius: 50%; background: #efe0b7; box-shadow: 0 12px 20px rgba(83,39,16,.28); transform: translate(-50%,-50%); }
.plate i { position: absolute; inset: 22px 17px; border-radius: 47% 53% 45% 55%; background: radial-gradient(circle at 30% 30%,#f4d471 0 7px,transparent 8px), radial-gradient(circle at 70% 65%,#669251 0 6px,transparent 7px), #a5482f; }
.leaf { position: absolute; width: 24px; height: 48px; border-radius: 100% 0 100% 0; background: #496e42; }
.leaf-a { left: 20px; bottom: 7px; transform: rotate(22deg); }.leaf-b { right: 18px; top: 21px; transform: rotate(-45deg); }
.visual-spa { background: linear-gradient(145deg, #bccfc4, #e5dcd1); }
.visual-spa::before { content: ""; position: absolute; right: -20px; bottom: -20px; width: 140px; height: 140px; border: 1px solid rgba(45,92,73,.2); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,255,255,.1), 0 0 0 40px rgba(255,255,255,.08); }
.spa-stone { position: absolute; left: 50%; border-radius: 50%; background: #506d64; box-shadow: 0 8px 14px rgba(40,66,58,.25); transform: translateX(-50%); }
.spa-stone.one { bottom: 20px; width: 93px; height: 34px; }.spa-stone.two { bottom: 48px; width: 70px; height: 27px; background: #799288; }
.spa-flower { position: absolute; z-index: 2; left: 57%; bottom: 60px; color: #f2dfb4; font-size: 33px; transform: rotate(13deg); }
.benefit-content { padding: 16px; }
.partner-logo { color: #72817c; font: 800 8px "Aptos Display", "Segoe UI", sans-serif; letter-spacing: .15em; }
.benefit-content h3 { margin-top: 8px; font-size: 14px; line-height: 1.35; }
.benefit-content p { min-height: 34px; margin: 5px 0 13px; color: #7c8a8e; font-size: 10px; line-height: 1.6; }
.benefit-content p strong { color: #a27831; }
.benefit-content button { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; color: #315f50; background: none; cursor: pointer; font-size: 10px; font-weight: 700; }
.benefit-content button svg { width: 13px; transition: .2s ease; }.benefit-content button:hover svg { transform: translateX(3px); }
.empty-state { display: none; margin: 28px 0 10px; color: #879397; text-align: center; font-size: 12px; }

.lower-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; margin-top: 22px; }
.partners-section, .activity-section { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius-lg); }
.round-arrow { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.round-arrow svg { width: 15px; }
.partner-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 20px; }
.partner-list button { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 1px solid #e7ecea; border-radius: 12px; background: #fbfcfc; cursor: pointer; text-align: left; transition: .2s ease; }
.partner-list button:hover { border-color: #cad7d3; background: #f5f8f7; transform: translateY(-1px); }
.partner-list button > span { display: grid; flex: 0 0 35px; height: 35px; place-items: center; border-radius: 10px; color: #9d793d; background: #f3e8d1; }
.partner-list button > span svg { width: 17px; }
.partner-list button > svg { width: 13px; margin-left: auto; color: #9da9ab; }
.partner-list b, .partner-list small { display: block; }
.partner-list b { overflow: hidden; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.partner-list small { margin-top: 3px; color: #8d9a9e; font-size: 8px; }
.activity-list { display: grid; margin-top: 14px; }
.activity-list article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 0; }
.activity-list article + article { border-top: 1px solid #edf0ef; }
.activity-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #9a7044; background: #f5e9da; }
.activity-icon.plus { color: #39745a; background: #e4f1e9; }
.activity-icon svg { width: 16px; }
.activity-list b, .activity-list small { display: block; }
.activity-list b { font-size: 10px; }.activity-list small { margin-top: 3px; color: #9aa5a8; font-size: 8px; }
.activity-list article > strong { color: #3f7d60; font-size: 11px; }.activity-list article > strong.minus { color: #986e46; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 2px 5px; color: #98a3a6; font-size: 9px; }

.mobile-nav { display: none; }
.toast { position: fixed; z-index: 100; right: 25px; bottom: 25px; display: flex; align-items: center; gap: 10px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; color: #fff; background: #15394a; box-shadow: 0 16px 35px rgba(11,38,51,.25); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(20px); transition: .3s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast svg { width: 16px; color: #ead18c; stroke-width: 2.4; }

@media (max-width: 1050px) {
  .sidebar { width: 210px; }
  .main-content { margin-left: 210px; padding-right: 25px; padding-left: 25px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.35fr) 230px; }
  .membership-card { padding: 23px; }
  .card-bottom { right: 23px; bottom: 22px; left: 23px; }
  .tier-option { padding: 8px 5px; gap: 6px; }
  .tier-option > i { flex-basis: 13px; height: 21px; }
  .tier-option small { display: none; }
}

@media (max-width: 820px) {
  body { background: #f5f7f6; }
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 24px 18px 104px; }
  .topbar { margin-bottom: 18px; }
  .topbar .eyebrow { display: none; }
  h1 { font-size: 25px; }
  .search-box { width: 46px; padding: 0; justify-content: center; }
  .search-box input, .search-box kbd { display: none; }
  .search-box:focus-within { position: absolute; z-index: 15; top: 17px; right: 18px; left: 18px; width: auto; padding: 0 14px; justify-content: flex-start; box-shadow: 0 8px 35px rgba(18,47,62,.15); }
  .search-box:focus-within input { display: block; }
  .welcome-strip { align-items: flex-start; padding: 13px 14px; }
  .welcome-strip > div { align-items: flex-start; }
  .welcome-strip p { line-height: 1.45; }
  .welcome-strip .text-button { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .member-area, .points-card, .benefits-section, .partners-section, .activity-section { border-radius: 20px; }
  .account-panel { display: grid; grid-template-columns: 1.2fr .8fr; }
  .mini-stats { grid-template-columns: 1fr; }
  .mini-stats article + article { border-top: 1px solid var(--line); border-left: 0; }
  .benefit-grid { overflow-x: auto; grid-template-columns: repeat(3, minmax(250px, 78vw)); padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .benefit-grid::-webkit-scrollbar { display: none; }
  .benefit-card { scroll-snap-align: start; }
  .lower-grid { grid-template-columns: 1fr; }
  .mobile-nav { display: grid; position: fixed; z-index: 50; right: 12px; bottom: 12px; left: 12px; height: 70px; grid-template-columns: repeat(5, 1fr); align-items: center; border: 1px solid rgba(224,231,229,.9); border-radius: 21px; background: rgba(255,255,255,.94); box-shadow: 0 15px 40px rgba(23,49,61,.2); backdrop-filter: blur(16px); }
  .mobile-nav a { display: flex; align-items: center; flex-direction: column; gap: 4px; color: #91a0a4; font-size: 8px; }
  .mobile-nav a svg { width: 19px; height: 19px; }
  .mobile-nav a.active { color: var(--ink); }
  .mobile-main-action { align-self: flex-start; transform: translateY(-13px); }
  .mobile-main-action > span { display: grid; width: 47px; height: 47px; place-items: center; border: 5px solid #f5f7f6; border-radius: 50%; color: #fff; background: var(--ink); box-shadow: 0 6px 16px rgba(17,48,65,.25); }
  .mobile-main-action small { color: #718086; font-size: 8px; }
}

@media (max-width: 560px) {
  .main-content { padding: 20px 14px 102px; }
  .icon-button, .search-box { width: 42px; height: 42px; }
  .notification-button { display: none; }
  .member-area { padding: 18px 14px; }
  .section-heading h2 { font-size: 18px; }
  .ghost-button { padding: 0 10px; font-size: 9px; }
  .card-stage { padding-top: 18px; }
  .membership-card { aspect-ratio: 1.58 / 1; padding: 20px; border-radius: 17px; }
  .card-logo { font-size: 15px; }.card-logo span { width: 23px; height: 25px; font-size: 13px; }
  .tier-label { padding: 5px 9px; font-size: 7px; }
  .card-chip { width: 39px; height: 29px; margin-top: 34px; border-radius: 7px; }
  .card-bottom { right: 20px; bottom: 18px; left: 20px; }
  .card-bottom strong { font-size: 11px; }.card-bottom small { font-size: 6px; }.member-number button { font-size: 8px; }
  .card-crown { width: 95px; height: 95px; right: 14px; bottom: 32px; }
  .tilt-hint { display: none; }
  .tier-selector { margin-top: 14px; gap: 4px; }
  .tier-option { width: 100%; justify-content: center; padding: 8px 2px; text-align: center; }
  .tier-option > i { display: none; }
  .tier-option b { font-size: 8px; }
  .tier-option > svg { width: 9px; }
  .account-panel { grid-template-columns: 1fr; }
  .points-card { padding: 20px; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .mini-stats article + article { border-top: 0; border-left: 1px solid var(--line); }
  .benefits-section, .partners-section, .activity-section { padding: 20px 16px; }
  .benefit-grid { grid-template-columns: repeat(3, 82vw); margin-right: -16px; }
  .partner-list { grid-template-columns: 1fr; }
  footer { flex-direction: column; padding-bottom: 5px; }
  .toast { right: 18px; bottom: 96px; left: 18px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
