.account-page{width:min(1180px,calc(100% - 42px));margin:auto;padding:70px 0 100px}.account-hero{padding:42px;border:1px solid #343d46;border-radius:26px;background:linear-gradient(145deg,#171d23,#101419)}.account-hero>small,.account-history>div>small{color:var(--yellow);font-size:9px;font-weight:900;letter-spacing:1.8px}.account-hero h1{margin:13px 0 10px;font-size:44px;letter-spacing:-2.5px}.account-hero p{color:#a1abb4}.account-login{display:flex;align-items:center;gap:12px;margin-top:25px}.account-login>span{margin-right:auto;color:#c0c9d1;font-size:13px;font-weight:500;line-height:1.55}.account-login button{padding:12px 16px;border:0;border-radius:10px;font-weight:800}.account-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 55px}.account-grid article{padding:22px;border:1px solid #323b44;border-radius:17px;background:#11171c}.account-grid span,.account-grid strong,.account-grid small{display:block}.account-grid span{color:#9ca6af;font-size:11px}.account-grid strong{margin:10px 0;font-size:16px;overflow-wrap:anywhere}.account-grid small{color:#929ca5;font-size:11px;line-height:1.6}.account-history h2{margin:10px 0 22px;font-size:34px}.my-history-list{display:grid;gap:10px}.my-history-row{padding:19px 21px;border:1px solid #303841;border-radius:15px;background:#11171c;display:flex;align-items:center;justify-content:space-between;gap:20px}.my-history-row strong,.my-history-row span{display:block}.my-history-row span{margin-top:5px;color:#9da7af;font-size:12px}.my-history-row b{color:var(--yellow)}.account-cta{display:inline-block;margin-top:24px;padding:14px 20px;border-radius:99px;background:var(--yellow);color:#111;font-weight:800}@media(max-width:850px){.account-grid{grid-template-columns:1fr 1fr}.account-login{align-items:stretch;flex-direction:column}.account-login>span{margin:0}.account-login button{width:100%}}@media(max-width:560px){.account-page{padding-top:35px}.account-hero{padding:26px}.account-hero h1{font-size:34px}.account-grid{grid-template-columns:1fr}.my-history-row{align-items:flex-start;flex-direction:column}}

/* Sprint-U15B-2: keep account status and logout visible on compact screens. */
.mypage-header-actions .kakao-logout-button{align-items:center;justify-content:center;cursor:pointer}
@media(max-width:560px){
  .site-header{padding-inline:12px}
  .mypage-header-actions{margin-left:auto;gap:6px}
  .mypage-header-actions #kakaoLogoutButton:not([hidden]){min-height:38px;padding:0 12px;display:inline-flex!important;border-color:#ffd33575;background:#1a2631;color:#fff;font-size:12px}
  .mypage-header-actions #kakaoLogoutButton[hidden]{display:none!important}
  .mypage-header-actions .outline-button{min-height:38px;padding-inline:10px}
  .account-login{padding:12px 13px;border:1px solid #343e47;border-radius:12px;background:#121920}
  .account-login>span{color:#e3e8ec;font-size:13px;font-weight:700}
}

/* Sprint-U15C-1B: wallet shell only; result calculation stays isolated for U15D-1. */
#wallet,#games,#walletBox{scroll-margin-top:88px}
.wallet-shell.dashboard-section{margin-top:18px;padding:28px;border-color:#5d542f;background:radial-gradient(circle at 88% 8%,#6754182e 0,transparent 30%),linear-gradient(145deg,#17212a,#10161b)}
.wallet-shell .wallet-heading>small{color:#ffd335;font-size:10px;font-weight:900;letter-spacing:1.7px}.wallet-shell .wallet-heading h2{margin:8px 0;font-size:34px;letter-spacing:-1.5px}.wallet-shell .wallet-heading>p{margin:0;color:#b0bac3;font-size:14px;line-height:1.7}
.wallet-summary-grid{margin-top:21px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.wallet-summary-grid article{min-width:0;padding:18px;border:1px solid #3a454e;border-radius:15px;background:#111920}.wallet-summary-grid span,.wallet-summary-grid strong,.wallet-summary-grid small{display:block}.wallet-summary-grid span{color:#9ea9b2;font-size:12px;font-weight:700}.wallet-summary-grid strong{margin-top:9px;color:#fff;font-size:19px;line-height:1.3;overflow-wrap:anywhere}.wallet-summary-grid small{margin-top:8px;color:#89959f;font-size:11px;line-height:1.55}.wallet-summary-grid .wallet-result-total-card{border-color:#a9852870;background:linear-gradient(145deg,#2b2516,#151b1f)}.wallet-summary-grid .wallet-result-total-card strong{color:#ffe06a}
.wallet-result-note{margin:12px 0 0;padding:12px 14px;border:1px solid #514a32;border-radius:12px;background:#171a18;color:#c8c0a4;font-size:12px;line-height:1.6}
.wallet-premium-arrival-shell{margin:10px 0 0;padding:13px 14px;display:grid;grid-template-columns:minmax(160px,.72fr) minmax(240px,1.28fr) auto;align-items:center;gap:12px;border:1px solid #46515b;border-radius:13px;background:#111920}.wallet-premium-arrival-shell>div:first-child small,.wallet-premium-arrival-shell>div:first-child strong{display:block}.wallet-premium-arrival-shell>div:first-child small{color:#a49b74;font-size:8px;font-weight:900;letter-spacing:1.2px}.wallet-premium-arrival-shell>div:first-child strong{margin-top:5px;color:#edf1f4;font-size:13px}.wallet-premium-status-value{display:block;margin-top:5px;color:#d8bf6a;font-size:10px;font-weight:750;line-height:1.4}.wallet-premium-arrival-shell[data-premium-status="CHECK_UNAVAILABLE"] .wallet-premium-status-value{color:#c1c8cd}.wallet-premium-arrival-shell>p{margin:0;color:#9ca8b1;font-size:11px;line-height:1.6}.wallet-type-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.wallet-type-badge{width:max-content;min-height:24px;padding:4px 8px;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #4a5660;border-radius:999px;background:#1b242b;color:#dbe1e5!important;font-size:10px!important;font-weight:850!important;line-height:1.2!important;white-space:nowrap}.wallet-type-badge.is-free{border-color:#68747e;background:#202930;color:#edf1f4!important}.wallet-type-badge.is-top,.wallet-type-badge.is-signal{border-color:#4d91ca;background:#152d40;color:#88cbff!important}.wallet-type-badge.is-free-card{border-color:#9c77c2;background:#2b2038;color:#d9b9f6!important}.wallet-type-badge.is-unknown{border-color:#59636b;background:#20262b;color:#c8d0d6!important}
.wallet-current-section.dashboard-section{margin-top:16px}.wallet-current-state{width:min(100%,860px);margin:18px auto 0;padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;border:1px solid #45412f;border-radius:15px;background:#171a18}.wallet-current-state article{min-width:0;padding:12px;border-radius:11px;background:#20231f}.wallet-current-state span,.wallet-current-state strong{display:block}.wallet-current-state span{color:#a9a48f;font-size:11px}.wallet-current-state strong{margin-top:6px;color:#fff;font-size:15px;line-height:1.35}.wallet-current-state>p{grid-column:1/-1;margin:1px 2px 0;color:#c6c0a8;font-size:12px;line-height:1.6}
.wallet-history-section.dashboard-section{border-color:#394650}.account-history.wallet-history-section>div:first-child>p{display:block}.my-history-row.wallet-history-card{grid-template-columns:minmax(0,1fr) auto}.wallet-history-copy{min-width:0}.wallet-history-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.wallet-history-title-line>strong{min-width:0}.wallet-history-meta{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}.wallet-history-meta span{margin:0;padding:5px 8px;border:1px solid #3d4851;border-radius:999px;background:#151d23;color:#aeb8bf;font-size:11px;line-height:1.3}.wallet-history-placeholder{grid-column:1/-1;margin-top:2px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px dashed #46515b;border-radius:11px;background:#10171c}.wallet-history-placeholder span{margin:0;color:#929da5;font-size:11px}.wallet-history-placeholder strong{color:#d9dfe3;font-size:12px;text-align:right}.wallet-history-card .mypage-history-details{margin-top:2px}
.wallet-official-result-shell{width:min(100%,860px);margin:12px auto 0;padding:15px;border:1px solid #3d4851;border-radius:15px;background:#10171c}.wallet-result-shell-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.wallet-result-shell-heading small{color:#a49b74;font-size:9px;font-weight:850;letter-spacing:1.3px}.wallet-result-shell-heading h3{margin:5px 0 0;color:#f3f5f6;font-size:17px}.wallet-result-shell-heading>strong{padding:7px 10px;border:1px solid #514a32;border-radius:999px;background:#1c1d18;color:#ded4ad;font-size:11px;white-space:nowrap}.wallet-result-slot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}.wallet-result-slot-grid article{min-width:0;padding:10px;border-radius:10px;background:#171f25}.wallet-result-slot-grid span,.wallet-result-slot-grid strong{display:block}.wallet-result-slot-grid span{color:#89959e;font-size:10px}.wallet-result-slot-grid strong{margin-top:5px;color:#dce2e6;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.wallet-result-slot-grid #walletPrizeRank{color:#ffe06a}.wallet-result-slot-grid #walletPrizeAmount{color:#eee3ba}.wallet-official-result-shell>p{margin:10px 1px 0;color:#9ea8af;font-size:11px;line-height:1.55}
.wallet-history-placeholder.wallet-round-result-shell{display:block;padding:0;overflow:hidden}.wallet-round-result-shell>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;cursor:pointer;list-style:none;line-height:1.45}.wallet-round-result-shell>summary span{font-size:12px}.wallet-round-result-shell>summary strong{font-size:13px}.wallet-round-result-shell>summary::-webkit-details-marker{display:none}.wallet-round-result-shell>summary::after{content:"보기";padding:5px 8px;border-radius:999px;background:#29333b;color:#e0e5e8;font-size:10px;font-weight:750}.wallet-round-result-shell[open]>summary::after{content:"닫기"}.wallet-round-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 12px}.wallet-round-result-grid p{margin:0;padding:10px;border-radius:8px;background:#171f25}.wallet-round-result-grid span,.wallet-round-result-grid b{display:block}.wallet-round-result-grid span{color:#a4afb7;font-size:11px;line-height:1.45}.wallet-round-result-grid b{margin-top:5px;color:#e4e9ec;font-size:13px;font-weight:750;line-height:1.5}.wallet-round-result-grid p:nth-child(3) b,.wallet-round-result-grid p:nth-child(4) b{color:#ffe06a}.wallet-round-result-grid p:nth-child(5) b{color:#eee3ba}.wallet-round-result-copy{margin:0 12px 12px;padding-top:10px;border-top:1px solid #303b43;color:#b1bbc2;font-size:12px;font-weight:500;line-height:1.65}
.wallet-result-number-row{min-height:25px;display:flex!important;align-items:center;flex-wrap:wrap;gap:3px}.wallet-result-ball{width:25px;height:25px;display:grid;border:1px solid #ffffff55;border-radius:50%;place-items:center;color:#fff;font-size:10px;font-weight:850;line-height:1;box-shadow:inset -2px -3px 4px #0005}.wallet-result-ball.yellow{background:#f5bd19;color:#111}.wallet-result-ball.blue{background:#2670d4}.wallet-result-ball.red{background:#df3d46}.wallet-result-ball.gray{background:#a5a9ad;color:#111}.wallet-result-ball.green{background:#28a963}.wallet-result-ball.is-bonus{outline:2px solid #ffe06a;outline-offset:1px}.wallet-round-match-list{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 12px}.wallet-round-match-list span{margin:0;padding:7px 9px;border-radius:999px;background:#202a31;color:#dbe1e5;font-size:11px;font-weight:650;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:850px){.wallet-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
  #wallet,#games,#walletBox{scroll-margin-top:72px}
  .wallet-shell.dashboard-section{margin-top:12px;padding:18px 14px;border-radius:18px}.wallet-shell .wallet-heading h2{font-size:28px}.wallet-shell .wallet-heading>p{font-size:12px;line-height:1.6}
  .wallet-summary-grid{margin-top:15px;gap:7px}.wallet-summary-grid article{padding:13px 11px;border-radius:12px}.wallet-summary-grid span{font-size:10px}.wallet-summary-grid strong{margin-top:6px;font-size:16px}.wallet-summary-grid small{margin-top:6px;font-size:10px}.wallet-result-note{font-size:11px}
  .wallet-premium-arrival-shell{padding:11px 12px;grid-template-columns:1fr;gap:7px}.wallet-premium-arrival-shell>p{font-size:10px}.wallet-type-legend{justify-content:flex-start}.wallet-type-badge{min-height:23px;padding:4px 7px;font-size:9px!important}
  .wallet-current-state{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:7px}.wallet-current-state article{padding:10px}.wallet-current-state article:last-of-type{grid-column:1/-1}.wallet-current-state strong{font-size:14px}.wallet-current-state>p{font-size:11px}
  .wallet-official-result-shell{padding:12px}.wallet-result-shell-heading{align-items:flex-start;flex-direction:column;gap:8px}.wallet-result-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-result-slot-grid article{padding:9px}.wallet-result-slot-grid article:nth-child(5),.wallet-result-slot-grid article:nth-child(6){grid-column:1/-1}.wallet-official-result-shell>p{font-size:10px}
  .my-history-row.wallet-history-card{grid-template-columns:1fr}.wallet-history-card>b{justify-self:start}.wallet-history-placeholder{align-items:flex-start;flex-direction:column;gap:4px}.wallet-history-placeholder strong{text-align:left}.wallet-history-placeholder.wallet-round-result-shell{display:block}.wallet-round-result-shell>summary{align-items:center;padding:12px 11px}.wallet-round-result-shell>summary span{font-size:12px}.wallet-round-result-shell>summary strong{font-size:13px;text-align:right}.wallet-round-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 10px 11px}.wallet-round-result-grid p{padding:9px}.wallet-round-result-grid p:nth-child(5),.wallet-round-result-grid p:nth-child(6){grid-column:1/-1}.wallet-round-result-grid span{font-size:11px}.wallet-round-result-grid b{font-size:13px;line-height:1.55}.wallet-round-match-list{padding:0 10px 11px}.wallet-round-match-list span{font-size:12px;line-height:1.45}.wallet-round-result-copy{margin:0 10px 11px;font-size:12px;line-height:1.7}
}
