.loyalty-dashboard { padding-top: 42px; }
.dashboard-layout { display: grid; grid-template-columns: 244px minmax(0,1fr); gap: 26px; align-items: start; }
.dashboard-sidebar { position: sticky; top: 102px; padding: 13px; background: linear-gradient(160deg,#17121a,#090d15); border: 1px solid #c19b4d35; border-radius: 10px; }
.dashboard-sidebar-title { color: #887d6b; font-size: .6rem; letter-spacing: 1.7px; padding: 8px 10px 17px; }
.dashboard-nav { display: flex; width: 100%; align-items: center; gap: 12px; position: relative; padding: 14px 11px; margin-bottom: 9px; text-align: left; background: #0b0e16; border: 1px solid #ffffff0b; border-radius: 6px; color: #a9a6ac; cursor: pointer; transition: border-color .2s,background .2s; }
.dashboard-nav>i { display: grid; place-items: center; width: 32px; height: 35px; flex-shrink: 0; border: 1px solid #b5975e33; border-radius: 5px; font-size: 1rem; color: #cfb583; }
.dashboard-nav strong { display: block; font-family: var(--font-title); font-size: .77rem; line-height: 1.4; }
.dashboard-nav small { display: block; font-family: var(--font-body); font-size: .62rem; color: #8e8996; margin-top: 3px; }
.dashboard-nav.is-selected { background: linear-gradient(110deg,#5c142a66,#c3984020); border-color: #d6ae6a99; color: #f2dba8; }
.dashboard-nav.is-selected>i { border-color: #deb36a66; color: #f1d68f; }
.dashboard-nav:hover { border-color: #cba46c80; background-color: #23151e; }
.dashboard-nav:focus-visible,.dashboard-community:focus-visible,.dashboard-exit:focus-visible { outline: 2px solid #e8c77e; outline-offset: 3px; }
.dashboard-soon { position: absolute; top: 5px; right: 6px; font-family: var(--font-body); font-size: .42rem; letter-spacing: .7px; color: #b89c70; }
.dashboard-community { display: flex; align-items: center; gap: 10px; color: #d8bd86; padding: 15px 9px; font-size: .75rem; text-decoration: none; border-top: 1px solid #ffffff0b; margin-top: 16px; }
.dashboard-community span { margin-left: auto; }
.dashboard-exit { background: none; border: 0; color: #9e919b; font: inherit; font-size: .75rem; padding: 10px; cursor: pointer; }
.dashboard-exit i { margin-right: 9px; }
.dashboard-welcome { position: relative; top: auto; z-index: auto; height: auto; min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px; border: 1px solid #ce9d5866; border-radius: 10px; background: radial-gradient(ellipse at top right,#9c264236,transparent 70%),linear-gradient(110deg,#28141e,#101119); backdrop-filter: none; margin-bottom: 20px; }
.dashboard-welcome .hkick { font-size: .64rem; color: #d0ab65; }
.dashboard-welcome h2 { font-family: var(--font-title); font-size: 2rem; color: #f5ead4; margin: 3px 0 8px; line-height: 1.25; }
.dashboard-welcome h2 em { color: #e0bc76; font-style: normal; }
.dashboard-welcome p { color: #a8a2ae; font-size: .83rem; }
.dashboard-status { display: inline-flex; align-items: center; gap: 7px; color: #e8ce94; background: #d0a0470c; border: 1px solid #b3945055; border-radius: 4px; padding: 7px 10px; font-size: .58rem; letter-spacing: .7px; white-space: nowrap; }
.dashboard-status span { width: 5px; height: 5px; background: #91c39b; border-radius: 50%; }
.dashboard-balances { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.balance-card { display: flex; gap: 18px; min-height: 142px; padding: 22px 20px; border: 1px solid #c19b4d26; border-radius: 7px; background: linear-gradient(150deg,#18151f,#0b1018); }
.balance-card>i {
  color: #e2bf7d;
  border: 0;
  border-radius: 0;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: none;
  transition: color .25s ease;
}
.balance-card:first-child>i { color: #e1bc78; }
.balance-card:nth-child(2)>i { color: #ca627d; }
.balance-card:nth-child(3)>i { color: #c6a783; }
.balance-card:nth-child(6)>i { color: #ecce8b; }
.balance-card:hover>i { border-color: #e1b36d99; color: #f6d99c; }
.balance-card h3 { color: #b1a594; font-family: var(--font-title); font-size: .64rem; line-height: 1.6; }
.balance-card strong { display: block; color: #f3e3bd; font-size: 1.15rem; margin: 5px 0 6px; line-height: 1; }
.balance-card p { color: #85818e; font-size: .66rem; line-height: 1.6; }
.dashboard-integration { color: #8e8494; font-size: .66rem; margin: 12px 2px 20px; }
.dashboard-integration i { color: #b49b6e; margin-right: 5px; }
.dashboard-section { padding: 24px; margin-bottom: 20px; border: 1px solid #c19b4d35; border-radius: 8px; background: #0d1019dd; }
.dashboard-section>.hkick { color: #bd995e; font-size: .61rem; }
.dashboard-section h3 { font-family: var(--font-title); color: #eadfc8; font-size: 1.05rem; margin: 6px 0 18px; }
.dashboard-empty { display: flex; align-items: center; gap: 16px; padding: 19px; border: 1px solid #ffffff0e; border-radius: 6px; background: #070b1399; margin-top: 12px; }
.dashboard-empty>i { color: #a78a57; font-size: 1.5rem; flex-shrink: 0; }
.dashboard-empty strong { color: #bfb6b0; font-size: .8rem; font-weight: 600; }
.dashboard-empty p { color: #878491; font-size: .75rem; margin-top: 5px; line-height: 1.6; }
.dashboard-security-banner { display: flex; align-items: center; gap: 15px; padding: 20px; border: 1px solid #c6a25270; border-radius: 7px; background: linear-gradient(110deg,#302015,#20121b); margin-bottom: 20px; }
.dashboard-security-banner>i { color: #dfba6f; font-size: 1.5rem; }
.dashboard-security-banner>div { flex: 1; }
.dashboard-security-banner h3 { color: #eddbb5; font-family: var(--font-title); font-size: .9rem; }
.dashboard-security-banner p { color: #a7a0a8; font-size: .72rem; margin-top: 4px; }
.dashboard-security-banner .btn { font-size: .7rem; padding: 9px 12px; }
.dashboard-profile { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.dashboard-profile dt { color: #8d8492; font-size: .66rem; margin-bottom: 5px; }
.dashboard-profile dd { color: #c7c0c5; font-size: .77rem; overflow-wrap: anywhere; }
.dashboard-profile .account-active { color: #9dc0a6; }
.dashboard-main .scratch-entry { flex-wrap: wrap; }
.dashboard-main .scratch-entry .btn { font-size: .75rem; }
@media(max-width:1050px) { .dashboard-layout { grid-template-columns: 215px minmax(0,1fr); gap: 18px; } .balance-card { flex-direction: column; } .dashboard-profile { grid-template-columns: 1fr; } }
@media(max-width:760px) {
  .dashboard-layout { grid-template-columns: minmax(0,1fr); }
  .dashboard-sidebar { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .dashboard-sidebar-title { grid-column: 1/-1; padding-bottom: 4px; }
  .dashboard-nav { margin-bottom: 0; }
  .dashboard-community { margin-top: 0; border: 0; font-size: .65rem; }
  .dashboard-welcome { flex-wrap: wrap; padding: 22px; }
  .dashboard-welcome h2 { font-size: 1.7rem; }
  .dashboard-security-banner { flex-wrap: wrap; }
}
@media(max-width:450px) { .dashboard-balances { grid-template-columns: repeat(2,minmax(0,1fr)); } .dashboard-nav { padding: 12px 7px; gap: 7px; } .dashboard-nav strong { font-size: .63rem; } .dashboard-nav small { font-size: .56rem; } .dashboard-section { padding: 18px; } }
@media(prefers-reduced-motion:reduce) { .dashboard-nav,.balance-card>i { transition: none; } }

/* Navegação própria do Loyalty: faixa horizontal com seleção rubi. */
.loyalty-dashboard .dashboard-layout { display: block; }
.loyalty-dashboard .dashboard-sidebar { display: grid; grid-template-columns: 1fr auto; gap: 0; position: static; padding: 0 20px; margin-bottom: 24px; border: 1px solid #b7955a2e; border-radius: 12px; background: linear-gradient(120deg,#1c111c,#0c1018 70%); }
.loyalty-dashboard .dashboard-sidebar-title { display: flex; align-items: center; gap: 9px; grid-column: 1; grid-row: 1; padding: 16px 0; color: #b69d75; font-size: .59rem; letter-spacing: 1.8px; }
.loyalty-menu-crystal { color: #dd3f63; font-size: .9rem; }
.dashboard-utilities { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 18px; }
.loyalty-dashboard .dashboard-community { border: 0; margin: 0; padding: 0; font-size: .7rem; color: #a49aab; }
.loyalty-dashboard .dashboard-exit { font-size: .7rem; padding: 0; color: #a49aab; }
.loyalty-dashboard .dashboard-community:hover,.loyalty-dashboard .dashboard-exit:hover { color: #e6c383; }
.dashboard-tabs { grid-column: 1/-1; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-top: 1px solid #ffffff0a; gap: 8px; padding-top: 8px; }
.loyalty-dashboard .dashboard-nav { margin: 0; padding: 20px 12px 22px; border: 0; border-radius: 7px 7px 0 0; background: none; gap: 11px; color: #aaa4b0; }
.loyalty-dashboard .dashboard-nav>i { width: 33px; height: 38px; border: 0; background: none; color: #9c8770; font-size: 1.15rem; }
.loyalty-dashboard .dashboard-nav strong { font-family: var(--font-ui); font-size: .83rem; font-weight: 600; }
.loyalty-dashboard .dashboard-nav small { font-size: .65rem; color: #797582; }
.loyalty-dashboard .dashboard-nav::after { content: ''; position: absolute; bottom: 0; left: 16px; right: 16px; height: 3px; background: linear-gradient(90deg,#8a1735,#ee6580,#8a1735); transform: scaleX(0); transition: transform .25s ease; border-radius: 3px 3px 0 0; }
.loyalty-dashboard .dashboard-nav.is-selected { background: linear-gradient(0deg,#9a234031,transparent 90%); color: #f3dfb5; }
.loyalty-dashboard .dashboard-nav.is-selected::after { transform: scaleX(1); }
.loyalty-dashboard .dashboard-nav.is-selected>i { color: #eac17e; }
.loyalty-dashboard .dashboard-nav:hover { background-color: #ffffff04; color: #e4cfaa; }
.loyalty-dashboard .dashboard-nav:hover>i { color: #eac17e; }
.loyalty-dashboard .dashboard-soon { top: 6px; right: 10px; font-size: .42rem; color: #9e7f65; letter-spacing: 1px; }
@media(max-width:900px) { .dashboard-tabs { overflow-x: auto; grid-template-columns: repeat(5,minmax(165px,1fr)); } .loyalty-dashboard .dashboard-sidebar { padding-inline: 14px; } }
@media(max-width:500px) { .dashboard-utilities { gap: 12px; } .loyalty-dashboard .dashboard-community { font-size: .6rem; } .loyalty-dashboard .dashboard-exit { font-size: .6rem; } .loyalty-dashboard .dashboard-sidebar-title { font-size: .48rem; letter-spacing: 1px; } }
@media(prefers-reduced-motion:reduce) { .loyalty-dashboard .dashboard-nav::after { transition: none; } }
.gift-intro { color:#a89aaa; font-size:.85rem; margin:-5px 0 25px; }
.gift-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.gift-card { position:relative; isolation:isolate; overflow:hidden; aspect-ratio:1.65; padding:22px; display:flex; flex-direction:column; border:1px solid #e3bd7566; border-radius:13px; background:linear-gradient(120deg,#413020,#1e1720 60%,#5b3927); color:#f1d399; box-shadow:0 12px 25px #0003,inset 0 1px 0 #ffe9af24; }
.gift-card::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(120deg,transparent 60%,#ffffff08 60.2%,transparent 85%); pointer-events:none; }
.gift-card::after { content:'L'; position:absolute; right:15px; top:35px; font-family:var(--font-title); font-size:7rem; line-height:1; opacity:.06; z-index:-1; }
.gift-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.gift-card-top>span { font-family:var(--font-title); font-size:.7rem; letter-spacing:3px; }
.gift-card-top i { font-size:.95rem; opacity:.8; }
.gift-card-type { font-size:.5rem; letter-spacing:2px; opacity:.75; }
.gift-card>strong { display:block; font-family:var(--font-ui); font-size:2.1rem; font-weight:600; line-height:1.3; margin-top:2px; }
.gift-card strong small { font-size:.65rem; font-weight:500; letter-spacing:2px; }
.gift-card-bottom { margin-top:auto; padding-top:16px; display:flex; justify-content:space-between; font-size:.44rem; letter-spacing:1.6px; opacity:.7; }
.gift-silver { background:linear-gradient(120deg,#363a45,#191c27 60%,#45404c); border-color:#c3cbd466; color:#e0e7ec; }
.gift-gold {
  border-color:#f1ce89;
  color:#f9e5b8;
  background:radial-gradient(ellipse at 0 0,#ffe9ab16,transparent 60%),linear-gradient(118deg,#583e22,#261b20 48%,#34201c 72%,#90632a);
  box-shadow:0 12px 25px #0004,inset 0 1px 0 #fff0be80,inset 0 -1px 0 #b2804066;
}
.gift-gold::before {
  inset:7px;
  border:1px solid #e1b66a45;
  border-radius:8px;
  background:repeating-linear-gradient(128deg,transparent 0 6px,#f7d48c04 6px 7px),linear-gradient(120deg,transparent 50%,#fff0bc0b 50.2%,transparent 80%);
}
.gift-gold::after { content:'◆'; right:18px; top:47px; font-size:5.7rem; color:#d5506f; opacity:.12; }
.gift-gold .gift-card-top { margin-bottom:16px; }
.gift-gold .gift-card-top>span { color:#f7dba1; letter-spacing:3.5px; }
.gift-gold .gift-card-top i { padding:7px; border:1px solid #e5bf7644; border-radius:6px; background:#301a2266; color:#eac47d; }
.gift-gold .gift-card-type { color:#e8bc76; opacity:1; letter-spacing:2.4px; }
.gift-gold>strong { background:linear-gradient(170deg,#fff1ce,#edc57f 60%,#ba8747); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; letter-spacing:.5px; }
.gift-gold .gift-card-bottom { color:#e4bf80; opacity:1; }
.gift-gold .gift-card-bottom>span:last-child { color:#ed6c8d; font-size:.85rem; line-height:1; text-shadow:0 0 8px #b3335450; }
.gift-card[data-gift] { cursor:pointer; transform-origin:center; }
.gift-card[data-gift]:focus-visible { outline:2px solid #f3d494; outline-offset:4px; }
.gift-card.is-clicked { animation:giftGoldClick .45s ease; }
.gift-card[aria-pressed="true"] { outline:2px solid #d6b373; outline-offset:4px; }
.gift-option .gift-select-button { cursor:pointer; opacity:1; color:#dbc49e; }
.gift-selection-summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px; margin-top:26px; border:1px solid #cda57033; border-radius:9px; background:#22151e; }
.gift-selection-summary span { display:block; font-size:.64rem; color:#a78da3; }
.gift-selection-summary strong { display:block; font-size:1rem; color:#e7c88f; font-weight:500; margin:6px 0; }
.gift-selection-summary small { color:#938098; font-size:.67rem; }
@media(max-width:550px) { .gift-selection-summary { flex-direction:column; align-items:flex-start; } }
@keyframes giftGoldClick { 0%,100% { transform:scale(1); } 35% { transform:scale(.97); } 70% { transform:scale(1.015); } }
@media(prefers-reduced-motion:reduce) { .gift-card.is-clicked { animation:none; } }
.gift-bronze { background:linear-gradient(120deg,#482d25,#21171c 60%,#633729); border-color:#b8795066; color:#e8b08b; }
.gift-option h4 { color:#d9c5ae; font-family:var(--font-ui); font-size:1rem; margin:18px 0 5px; font-weight:500; }
.gift-option p { color:#9f90a3; font-size:.78rem; margin-bottom:14px; }.gift-option p b { color:#c8b59a; font-weight:500; }
.gift-option .btn { width:100%; font-size:.75rem; padding:10px; opacity:.5; cursor:not-allowed; }
.gift-notice { padding:17px 0 0; margin-top:28px; border-top:1px solid #ffffff0b; color:#928197; font-size:.72rem; line-height:1.7; }.gift-notice i { color:#b89a70; margin-right:6px; }
@media(max-width:1000px) { .gift-cards { gap:16px; }.gift-card { padding:16px; }.gift-card>strong { font-size:1.7rem; }.gift-card-top { margin-bottom:12px; } }
@media(max-width:700px) { .gift-cards { grid-template-columns:1fr; }.gift-card { max-width:390px; aspect-ratio:1.8; padding:24px; }.gift-option .btn { max-width:390px; }.gift-card>strong { font-size:2.2rem; } }
