body { background: #f7f7f8; color: #1f2328; }
.container { max-width: 1180px; }
.panel, .metric { background: #fff; border: 1px solid #e4e7ec; border-radius: 8px; padding: 16px; }
.metric span { display: block; color: #667085; font-size: 0.9rem; }
.metric strong { display: block; font-size: 1.45rem; margin-top: 4px; }
.login-box { max-width: 420px; margin: 40px auto; background: #fff; border: 1px solid #e4e7ec; border-radius: 8px; padding: 24px; }
.actions { min-width: 280px; }
.progress { height: 24px; background: #e9edf3; }
.level-progress-bar {
  background: linear-gradient(90deg, #f97316 0%, #ec4899 48%, #9d174d 100%);
}
.ranking-public-main {
  min-height: 100vh;
  padding: 0;
}
.ranking-public-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 34px 22px 54px;
}
.ranking-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #d9dde5;
  padding: 10px 0 24px;
}
.ranking-brand {
  color: #ef277b;
  font-size: 13px;
  font-weight: 900;
}
.ranking-header h1 {
  margin: 5px 0 0;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
}
.ranking-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 750;
}
.ranking-total-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  min-width: 340px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
}
.ranking-total-strip > div {
  padding: 14px 18px;
}
.ranking-total-strip > div + div {
  border-left: 1px solid #e5e7eb;
}
.ranking-total-strip span,
.ranking-total-strip strong {
  display: block;
}
.ranking-total-strip span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}
.ranking-total-strip strong {
  margin-top: 3px;
  font-size: 22px;
}
.ranking-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.ranking-board {
  min-width: 0;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.ranking-board-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 18px;
}
.ranking-board-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.ranking-board-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
}
.ranking-board-mark.likes { background: #ef277b; }
.ranking-board-mark.coins { background: #f59e0b; }
.ranking-table { margin: 0; }
.ranking-table th {
  border-bottom-color: #e5e7eb;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}
.ranking-table td { border-bottom-color: #eef0f3; }
.ranking-position {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #eceff3;
  color: #4b5563;
  font-weight: 900;
}
.ranking-position.rank-1 { background: #f8d45c; color: #4c3500; }
.ranking-position.rank-2 { background: #d8dde5; color: #374151; }
.ranking-position.rank-3 { background: #dca66f; color: #4a2b10; }
.ranking-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ranking-person img,
.ranking-avatar-fallback {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.ranking-avatar-fallback {
  display: grid;
  place-items: center;
  background: #eef1f6;
  color: #667085;
  font-weight: 900;
}
.ranking-person div { min-width: 0; }
.ranking-person strong,
.ranking-person span {
  display: block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ranking-person span {
  color: #7a8494;
  font-size: 12px;
}
.ranking-value {
  color: #111827;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .ranking-header { align-items: stretch; flex-direction: column; }
  .ranking-total-strip { min-width: 0; width: 100%; }
  .ranking-columns { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .ranking-public-shell { padding: 24px 12px 42px; }
  .ranking-header h1 { font-size: 30px; }
  .ranking-total-strip { grid-template-columns: 1fr 1fr; }
  .ranking-total-strip > div { padding: 12px; }
  .ranking-person strong,
  .ranking-person span { max-width: 150px; }
}
.home-shell {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  padding: 28px 0;
}
.portal-main,
.listener-public-main {
  min-height: 100vh;
  padding: 0 18px;
}
.portal-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 0;
}
.portal-login-card {
  width: min(100%, 460px);
  border: 1px solid #ece3da;
  border-radius: 8px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 18px 46px rgba(31, 35, 40, .08);
}
.portal-login-card h1 {
  margin: 7px 0 0;
  font-size: 32px;
  font-weight: 900;
}
.portal-lead {
  margin: 10px 0 0;
  color: #667085;
  font-size: 14px;
}
.portal-login-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.portal-login-submit {
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: #ef277b;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}
.admin-fan-header {
  margin-bottom: 26px;
  border-bottom: 1px solid #e4e7ec;
  padding: 4px 0 22px;
}
.admin-fan-header h1 {
  margin: 5px 0 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
}
.admin-fan-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 700;
}
.listener-public-main .home-shell {
  min-height: 100vh;
}
.home-card,
.streamer-dashboard {
  width: min(100%, 720px);
  border: 1px solid #ece3da;
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(31, 35, 40, .08);
}
.home-kicker {
  color: #ef277b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-card h1,
.streamer-header h1 {
  margin: 6px 0 0;
  font-size: 34px;
  font-weight: 900;
}
.home-actions,
.streamer-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.home-action,
.streamer-action {
  display: grid;
  gap: 6px;
  min-height: 108px;
  align-content: center;
  border: 1px solid #f0d7c1;
  border-radius: 8px;
  background: #fffaf3;
  padding: 18px;
  color: #211113;
  text-decoration: none;
}
.home-action.primary,
.streamer-action.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #ff8c1a 0%, #ef277b 100%);
  color: #fff;
}
.home-action span,
.streamer-action span {
  font-size: 13px;
  font-weight: 850;
  opacity: .78;
}
.home-action strong,
.streamer-action strong {
  font-size: 22px;
  line-height: 1.15;
}
.home-action.lookup {
  grid-column: 1 / -1;
}
.share-card {
  width: min(100%, 620px);
}
@media (max-width: 575px) {
  .portal-main,
  .listener-public-main {
    padding: 0 12px;
  }
  .portal-login-card,
  .home-card.share-card {
    padding: 22px;
  }
  .portal-login-card h1 {
    font-size: 28px;
  }
}
.share-entry-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.share-entry-action {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 104px;
  border: 1px solid #efddcf;
  border-radius: 8px;
  background: #fffaf6;
  padding: 16px;
  color: #2a1712;
  text-decoration: none;
}
.share-entry-action.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #ff8c1a 0%, #ef277b 100%);
  color: #fff;
}
.share-entry-action span {
  font-size: 13px;
  font-weight: 800;
  opacity: .78;
}
.share-entry-action strong {
  font-size: 22px;
  line-height: 1.2;
}
.share-logout-form {
  margin-top: 18px;
  text-align: center;
}
.share-logout-form button {
  border: 0;
  background: transparent;
  color: #805e50;
  font-weight: 800;
  text-decoration: underline;
}
.share-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: #7a4a21;
  font-weight: 800;
  text-decoration: none;
}
.share-search-form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.share-auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.share-auth-field {
  display: grid;
  gap: 8px;
}
.share-password-input {
  width: 100%;
  height: 52px;
  border: 1px solid #e7cdb9;
  border-radius: 8px;
  outline: 0;
  padding: 0 14px;
  color: #211113;
  font-size: 17px;
  font-weight: 800;
}
.share-password-input:focus {
  border-color: #ef277b;
  box-shadow: 0 0 0 4px rgba(239, 39, 123, .12);
}
.share-auth-submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff8c1a 0%, #ef277b 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}
.share-auth-switch {
  display: block;
  margin-top: 18px;
  color: #7a4a21;
  font-weight: 800;
  text-align: center;
}
.share-search-label {
  color: #542f20;
  font-size: 14px;
  font-weight: 900;
}
.share-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.share-id-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  height: 52px;
  border: 1px solid #e7cdb9;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  color: #9a5f35;
  font-weight: 900;
}
.share-id-field:focus-within {
  border-color: #ef277b;
  box-shadow: 0 0 0 4px rgba(239, 39, 123, .12);
}
.share-id-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 4px;
  color: #211113;
  font-size: 17px;
  font-weight: 800;
}
.share-search-button {
  min-width: 90px;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff8c1a 0%, #ef277b 100%);
  color: #fff;
  font-weight: 900;
}
.share-notice {
  margin-top: 18px;
  border-left: 4px solid #ef277b;
  background: #fff4f8;
  padding: 12px 14px;
  color: #713047;
  font-weight: 800;
}
.share-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.share-results-heading {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
}
.share-result {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #efddcf;
  border-radius: 8px;
  background: #fffaf6;
  padding: 12px;
  color: #211113;
  text-decoration: none;
}
.share-result-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f7e8ed;
  object-fit: cover;
}
.share-result-avatar-fallback {
  display: grid;
  place-items: center;
  color: #ef277b;
  font-size: 20px;
  font-weight: 900;
}
.share-result-main {
  min-width: 0;
}
.share-result-name,
.share-result-streamer {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.share-result-name {
  font-weight: 900;
}
.share-result-streamer {
  margin-top: 2px;
  color: #8b6556;
  font-size: 13px;
  font-weight: 750;
}
.share-result-arrow {
  color: #ef277b;
  font-size: 24px;
  font-weight: 900;
}
.streamer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.streamer-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 800;
}
.streamer-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.streamer-action.muted {
  color: #667085;
  background: #f7f7f8;
  border-color: #eaecf0;
}
@media (max-width: 640px) {
  .home-card,
  .streamer-dashboard {
    padding: 22px;
  }
  .home-card h1,
  .streamer-header h1 {
    font-size: 28px;
  }
  .home-actions,
  .streamer-action-grid {
    grid-template-columns: 1fr;
  }
  .share-search-row {
    grid-template-columns: 1fr;
  }
  .share-entry-actions {
    grid-template-columns: 1fr;
  }
  .share-search-button {
    width: 100%;
  }
  .streamer-header {
    display: grid;
  }
}
.member-main {
  min-height: 100vh;
  background: #f1f1f1;
  padding: 0;
}
.member-phone {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f1f1f1;
  color: #211113;
  overflow: hidden;
}
.member-hero {
  position: relative;
  padding: 28px 18px 34px;
  background: linear-gradient(180deg, #ff9f13 0%, #ff9812 72%, #f1f1f1 72%);
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}
.hero-name {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
}
.hero-heart {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 168px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background: transparent;
  filter: drop-shadow(0 12px 18px rgba(154, 77, 0, .22));
  pointer-events: none;
}
.hero-heart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.member-alert {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  border-radius: 18px;
  padding: 10px 14px;
  font-weight: 700;
}
.member-alert.danger { background: #ffe4e6; color: #b42318; }
.member-alert.warning { background: #fff3cd; color: #7a4b00; }
.point-pill-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 95px 1fr 100px;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}
.lap-pill,
.point-pill-input,
.point-pill-button {
  height: 58px;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(181, 90, 0, .16);
}
.lap-pill {
  display: grid;
  place-items: center;
  background: #fff;
  color: #f22188;
  font-size: 30px;
  font-weight: 900;
}
.point-pill-input {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  text-align: center;
  color: #f22188;
  font-size: 30px;
  font-weight: 900;
  outline: none;
}
.point-pill-button {
  background: linear-gradient(90deg, #ff3f93, #ef277b);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.point-pill-button:disabled,
.point-pill-input:disabled {
  opacity: .62;
}
.level-show-card,
.member-card {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 20px rgba(27, 19, 18, .05);
}
.level-show-card {
  padding: 28px 16px 26px;
}
.journey-badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-1px);
  max-width: 156px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 0 28px 0 24px;
  background: #fff1d8;
  color: #72430a;
  padding: 8px 14px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.journey-badge::-webkit-details-marker {
  display: none;
}
.sub-account-panel[open] .journey-badge {
  background: linear-gradient(90deg, #ff8c1a, #ff7a1a);
  color: #fff;
}
.sub-account-form {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: #fff8ee;
  padding: 38px 12px 12px;
}
.sub-account-base {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #72430a;
  font-size: 13px;
  font-weight: 950;
}
.sub-account-base input,
.sub-account-row input {
  min-width: 0;
  height: 42px;
  border: 1px solid #f2d8bc;
  border-radius: 14px;
  background: #fff;
  padding: 0 11px;
  color: #211113;
  font-weight: 850;
  outline: none;
}
.sub-account-base input:focus,
.sub-account-row input:focus {
  border-color: #ff8c1a;
  box-shadow: 0 0 0 4px rgba(255, 140, 26, .14);
}
.sub-account-rows {
  display: grid;
  gap: 8px;
}
.sub-account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.sub-account-row span {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  padding: 10px 11px;
  color: #72430a;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sub-account-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: #7a4b00;
  font-size: 13px;
  font-weight: 900;
}
.sub-account-total strong {
  color: #ef277b;
  font-size: 22px;
  line-height: 1;
}
.sub-account-save {
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3f93, #ef277b);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}
.sub-account-disabled {
  padding-top: 34px;
}
.sub-account-disabled-text {
  border-radius: 18px;
  background: #fff;
  padding: 12px 14px;
  color: #7a4b00;
  font-size: 13px;
  font-weight: 900;
}
.level-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.profile-orb {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  flex: 0 0 78px;
  border: 3px solid #e3ecff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe8f4, #d9edff);
  color: #ef277b;
  font-weight: 900;
  font-size: 32px;
  overflow: hidden;
}
.profile-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.level-title {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0;
}
.level-heart {
  font-size: 22px;
}
.level-subtitle {
  color: #8d8787;
  font-size: 20px;
  font-weight: 700;
}
.journey-progress {
  height: 15px;
  margin-top: 28px;
  border-radius: 999px;
  background: #f0f0f0;
  overflow: hidden;
}
.journey-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7a1a 0%, #fa477f 52%, #9d174d 100%);
}
.progress-number {
  margin-top: -22px;
  text-align: right;
  color: #918b8b;
  font-size: 14px;
  font-weight: 700;
}
.icon-edit-panel {
  margin-top: 6px;
  max-width: 100%;
}
.icon-edit-panel summary {
  width: fit-content;
  cursor: pointer;
  color: #ef277b;
  font-size: 16px;
  font-weight: 900;
}
.icon-edit-form {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 10px;
  margin-top: 12px;
  width: min(100%, 430px);
}
.icon-url-input,
.icon-save-button {
  height: 42px;
  border-radius: 999px;
}
.icon-url-input {
  min-width: 0;
  border: 1px solid #f1d2df;
  padding: 0 14px;
  color: #211113;
  font-weight: 700;
  outline: none;
}
.icon-url-input:focus {
  border-color: #ef277b;
  box-shadow: 0 0 0 4px rgba(239, 39, 123, .12);
}
.icon-save-button {
  border: 0;
  background: linear-gradient(90deg, #ff3f93, #ef277b);
  color: #fff;
  font-weight: 900;
}
.member-card {
  margin: 22px 18px 0;
  padding: 24px 16px;
}
.member-lock-bridge {
  position: relative;
  z-index: 7;
  height: 132px;
  margin: -132px 18px 0;
  border-radius: 0 0 28px 28px;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02) 0%, rgba(241, 241, 241, .58) 50%, rgba(241, 241, 241, .94) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .72) 36%, rgba(0, 0, 0, 1) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .72) 36%, rgba(0, 0, 0, 1) 100%);
}
.member-locked-area {
  position: relative;
}
.member-locked-area.is-locked {
  height: 190px;
  min-height: 0;
  margin-top: -34px;
  padding-top: 34px;
  overflow: hidden;
}
.member-locked-area.is-locked > :not(.member-lock-overlay) {
  filter: blur(6px);
  opacity: .28;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .54) 28%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .06) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .54) 28%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .06) 100%);
}
.member-locked-area.is-locked::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: linear-gradient(180deg, rgba(241, 241, 241, .16) 0%, rgba(241, 241, 241, .48) 28%, rgba(241, 241, 241, .82) 70%, rgba(241, 241, 241, .96) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .52) 20%, rgba(0, 0, 0, .88) 58%, rgba(0, 0, 0, 1) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .52) 20%, rgba(0, 0, 0, .88) 58%, rgba(0, 0, 0, 1) 100%);
}
.member-lock-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 9;
  height: 190px;
  min-height: 0;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 42px 22px 10px;
  background: linear-gradient(180deg, rgba(241, 241, 241, .10) 0%, rgba(241, 241, 241, .38) 34%, rgba(241, 241, 241, .78) 100%);
}
.member-lock-message {
  display: grid;
  gap: 6px;
  max-width: 330px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 30px rgba(27, 19, 18, .12);
  color: #ef277b;
  padding: 17px 22px;
  text-align: center;
}
.member-lock-message strong {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 950;
}
.member-lock-message span {
  color: #7a4b00;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
}
.member-locked-area.is-locked + .memory-section {
  margin-top: 0;
}
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 8px 0 8px 12px;
  border-radius: 999px;
  background: #fff7ef;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 950;
}
.section-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
}
.soft-toggle {
  display: grid;
  place-items: center;
  min-width: 86px;
  height: 48px;
  margin-right: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8c1a, #ff7a1a);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.soft-toggle-link,
.soft-toggle-link:hover {
  color: #fff;
  text-decoration: none;
}
.gift-detail-phone {
  padding-bottom: 34px;
}
.gift-detail-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 18px 4px;
}
.gift-back-link {
  display: grid;
  place-items: center;
  width: 64px;
  height: 42px;
  border-radius: 999px;
  background: #fff;
  color: #ef277b;
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(181, 90, 0, .10);
}
.gift-detail-title {
  font-size: 32px;
  font-weight: 950;
}
.gift-detail-subtitle {
  color: #7d7777;
  font-size: 14px;
  font-weight: 800;
}
.gift-detail-card {
  margin-top: 18px;
}
.gift-fold {
  padding: 0;
}
.gift-fold-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 18px 16px;
  color: #2b191b;
  font-size: 18px;
  font-weight: 950;
  list-style: none;
}
.gift-fold-summary::-webkit-details-marker {
  display: none;
}
.gift-fold-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 64px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8c1a, #ff7a1a);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}
.gift-fold-body {
  padding: 0 16px 18px;
}
.gift-fold:not([open]) .gift-fold-button {
  background: linear-gradient(90deg, #ff3f93, #ef277b);
}
.detail-weekly-list {
  max-height: none;
  overflow: visible;
}
.gift-stack {
  display: grid;
  gap: 14px;
}
.like-summary-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(90deg, #fff3d8, #ffe5f0);
  color: #211113;
  text-decoration: none;
}
.like-summary-card:hover {
  color: #211113;
  text-decoration: none;
}
.roulette-summary-card,
.roulette-summary-card:hover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: center;
  gap: 14px;
  min-height: 126px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff9e8 0%, #fff 52%, #ffe8f1 100%);
  color: #211113;
  text-decoration: none;
}
.active-ranking-list {
  display: grid;
  gap: 12px;
}
.active-ranking-list .active-ranking-card {
  display: grid;
  gap: 10px;
  overflow: hidden;
  border: 1px solid #f1d2df;
  border-radius: 8px;
  background: #fff;
}
.active-ranking-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.active-ranking-copy {
  min-width: 0;
}
.active-ranking-kicker {
  color: #7a4b00;
  font-size: 12px;
  font-weight: 950;
}
.active-ranking-title {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #211113;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
}
.active-ranking-link {
  flex: 0 0 auto;
  color: #ef277b;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}
.active-ranking-link:hover {
  color: #c81863;
}
.active-ranking-period {
  color: #7d7777;
  font-size: 12px;
  font-weight: 800;
}
.active-ranking-own {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #f4e5ea;
  padding-top: 12px;
  color: #7a4b00;
  font-size: 13px;
  font-weight: 950;
}
.active-ranking-own strong {
  color: #ef277b;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  text-align: right;
}
.active-ranking-own em {
  margin-left: 4px;
  color: #7a4b00;
  font-size: 12px;
  font-style: normal;
}
.roulette-summary-copy {
  min-width: 0;
  padding-right: 8px;
}
.roulette-summary-kicker {
  color: #7a4b00;
  font-size: 14px;
  font-weight: 950;
}
.roulette-summary-result {
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #ef277b;
  font-size: 25px;
  font-weight: 950;
  line-height: 1.15;
}
.roulette-summary-meta,
.roulette-summary-empty {
  margin-top: 8px;
  color: #7d7777;
  font-size: 12px;
  font-weight: 800;
}
.roulette-summary-meta span {
  display: inline-block;
  margin-left: 6px;
  border-radius: 999px;
  background: #fff1d8;
  color: #7a4b00;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 950;
}
.roulette-summary-image {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-top: 22px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.roulette-summary-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.roulette-summary-open {
  position: absolute;
  top: 14px;
  right: 16px;
  color: #ef277b;
  font-size: 13px;
  font-weight: 950;
}
.heartme-start-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(100%, 250px);
  margin-top: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #211113;
  box-shadow: 0 6px 16px rgba(80, 38, 0, .10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.heartme-start-card span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #7a4b00;
  font-size: 11px;
  font-weight: 900;
}
.heartme-start-card em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 63, 147, .13);
  padding: 3px 7px;
  color: #ef277b;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}
.like-summary-label {
  color: #7a4b00;
  font-size: 14px;
  font-weight: 950;
}
.like-summary-total {
  margin-top: 2px;
  color: #ef277b;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}
.like-summary-total span {
  margin-left: 5px;
  color: #7a4b00;
  font-size: 14px;
}
.like-summary-meta {
  color: #7d7777;
  font-size: 12px;
  font-weight: 800;
}
.like-total-panel {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  border-radius: 20px;
  background: linear-gradient(90deg, #fff3d8, #ffe5f0);
  padding: 16px;
  color: #7a4b00;
  font-weight: 950;
}
.like-total-panel strong {
  color: #ef277b;
  font-size: 34px;
  line-height: 1;
}
.like-total-panel em {
  font-style: normal;
}
.like-log-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: #f7f7f7;
  padding: 12px 14px;
}
.like-log-name {
  color: #211113;
  font-size: 16px;
  font-weight: 950;
}
.like-log-count {
  color: #ef277b;
  font-size: 22px;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}
.like-log-count span {
  display: block;
  color: #8a7f82;
  font-size: 10px;
  line-height: 1;
}
.gift-log-block + .gift-log-block {
  margin-top: 22px;
}
.gift-block-title {
  margin: 2px 0 12px;
  color: #2b191b;
  font-size: 18px;
  font-weight: 950;
}
.weekly-gift-list {
  display: grid;
  gap: 16px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}
.gift-day-heading {
  position: sticky;
  top: 0;
  z-index: 1;
  width: fit-content;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #fff1d8;
  color: #72430a;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 900;
}
.gift-day-items {
  display: grid;
  gap: 8px;
}
.gift-log-entry {
  border-radius: 20px;
  background: #f7f7f7;
  overflow: hidden;
}
.gift-log-row,
.gift-ranking-row {
  display: grid;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: #f7f7f7;
}
.gift-log-row {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  padding: 10px 12px;
}
.gift-log-thumb,
.gift-ranking-thumb {
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.gift-log-thumb {
  width: 52px;
  height: 52px;
}
.gift-log-thumb img,
.gift-ranking-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gift-log-name,
.gift-ranking-name {
  overflow: hidden;
  color: #211113;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gift-log-name {
  font-size: 17px;
}
.gift-log-meta {
  margin-top: 3px;
  color: #8a7f82;
  font-size: 12px;
  font-weight: 800;
}
.viewer-level-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}
.viewer-level-meta span {
  border-radius: 999px;
  background: #fff1d8;
  color: #72430a;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 950;
}
.gift-log-coin {
  color: #ef277b;
  font-size: 18px;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}
.gift-log-coin span {
  display: block;
  color: #8a7f82;
  font-size: 10px;
  line-height: 1;
}
.memory-save-panel {
  border-top: 1px solid #eee2e6;
  padding: 0 12px 10px;
}
.memory-save-panel summary {
  width: fit-content;
  cursor: pointer;
  color: #ef277b;
  font-size: 13px;
  font-weight: 950;
  list-style: none;
}
.memory-save-panel summary::-webkit-details-marker {
  display: none;
}
.ranking-memory-panel {
  grid-column: 1 / -1;
  margin-top: -4px;
  padding-top: 8px;
}
.memory-save-form {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  margin-top: 8px;
}
.memory-save-form textarea {
  min-width: 0;
  resize: vertical;
  border: 1px solid #f1d2df;
  border-radius: 16px;
  padding: 9px 11px;
  color: #211113;
  font-weight: 700;
  outline: none;
}
.memory-save-form textarea:focus {
  border-color: #ef277b;
  box-shadow: 0 0 0 4px rgba(239, 39, 123, .12);
}
.memory-save-form button {
  align-self: stretch;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #ff3f93, #ef277b);
  color: #fff;
  font-weight: 950;
}
.memory-registered-badge,
.memory-registered-row {
  color: #8a7f82;
  font-size: 13px;
  font-weight: 950;
}
.memory-registered-badge {
  grid-column: 1 / -1;
  padding-left: 70px;
}
.memory-registered-row {
  border-top: 1px solid #eee2e6;
  padding: 8px 12px 10px;
}
.gift-ranking-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gift-ranking-row {
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 10px 12px;
}
.gift-ranking-thumb {
  width: 52px;
  height: 52px;
}
.gift-ranking-name {
  font-size: 16px;
  white-space: normal;
}
.gift-ranking-coin {
  margin-top: 2px;
  color: #9d174d;
  font-size: 18px;
  font-weight: 950;
}
.gift-empty-panel {
  border-radius: 20px;
  background: #f7f7f7;
  padding: 18px;
  color: #766d70;
  font-weight: 800;
}
.roulette-detail-card {
  padding: 16px;
}
.roulette-log-list {
  display: grid;
  gap: 12px;
}
.roulette-log-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 104px;
  border: 1px solid #f3e8dc;
  border-radius: 20px;
  background: linear-gradient(135deg, #fffaf0, #fff 58%, #fff0f5);
  padding: 15px;
}
.roulette-log-item.has-image {
  grid-template-columns: 88px minmax(0, 1fr);
}
.roulette-log-image {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.roulette-log-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.roulette-log-copy {
  min-width: 0;
  padding-right: 42px;
}
.roulette-log-kicker {
  color: #7a4b00;
  font-size: 12px;
  font-weight: 900;
}
.roulette-log-result {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #211113;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.18;
}
.roulette-log-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin-top: 8px;
  color: #8a7f82;
  font-size: 11px;
  font-weight: 800;
}
.roulette-rarity {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  background: #fff1d8;
  color: #9d174d;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 950;
}
.roulette-empty-panel {
  text-align: center;
}
.gift-summary-card {
  display: grid;
  grid-template-columns: 1fr 92px;
  align-items: center;
  gap: 12px;
  min-height: 94px;
  padding: 14px 16px;
  border-radius: 24px;
  background: #f7f7f7;
}
.gift-summary-link,
.gift-summary-link:hover {
  color: inherit;
  text-decoration: none;
}
.gift-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #211113;
  font-size: 14px;
  font-weight: 900;
}
.gift-name {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}
.gift-count {
  margin-top: 6px;
  color: #8a7f82;
  font-size: 13px;
  font-weight: 700;
}
.gift-empty-text {
  color: #766d70;
  font-size: 19px;
  line-height: 1.25;
}
.gift-image-box,
.memory-image {
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #261517;
  font-weight: 950;
}
.gift-image-box {
  width: 92px;
  height: 70px;
  font-size: 26px;
}
.gift-image-box img,
.memory-image img,
.admin-gift-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.memory-heading {
  color: #363030;
  font-size: 18px;
  font-weight: 900;
}
.memory-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.memory-open-link {
  min-width: 72px;
  height: 40px;
  margin-right: 0;
  font-size: 16px;
  text-decoration: none;
}
.memory-open-link:hover {
  color: #fff;
}
.memory-list {
  display: grid;
  gap: 10px;
}
.memory-item {
  display: grid;
  grid-template-columns: 1fr 74px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #f8f8f8;
}
.memory-title {
  font-size: 20px;
  font-weight: 950;
}
.memory-note {
  margin-top: 3px;
  color: #211113;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.memory-edit-panel {
  margin-top: 8px;
}
.memory-edit-panel summary {
  width: fit-content;
  cursor: pointer;
  color: #ef277b;
  font-size: 13px;
  font-weight: 950;
  list-style: none;
}
.memory-edit-panel summary::-webkit-details-marker {
  display: none;
}
.memory-meta,
.empty-memory {
  color: #7d7777;
  font-size: 13px;
  font-weight: 700;
}
.memory-image {
  width: 74px;
  height: 58px;
}
.memory-all-section {
  margin-top: 18px;
}
.memory-all-list {
  gap: 12px;
}
.member-footer-links {
  display: grid;
  gap: 8px;
  padding: 22px 18px 34px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.member-footer-links a {
  color: #ef277b;
}
.admin-gift-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
@media (max-width: 390px) {
  .roulette-log-item.has-image {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .roulette-log-image {
    width: 72px;
    height: 72px;
  }
  .roulette-log-result {
    font-size: 19px;
  }
  .hero-title { font-size: 36px; }
  .hero-heart { width: 138px; height: 108px; }
  .point-pill-row { grid-template-columns: 82px 1fr 84px; gap: 8px; }
  .lap-pill, .point-pill-input, .point-pill-button { height: 52px; }
  .lap-pill, .point-pill-input { font-size: 24px; }
  .point-pill-button { font-size: 19px; }
  .level-title { font-size: 30px; }
  .profile-orb { width: 70px; height: 70px; flex-basis: 70px; font-size: 28px; }
  .gift-name { font-size: 29px; }
}
@media (min-width: 900px) {
  .member-main {
    padding: 34px 24px;
    background:
      linear-gradient(180deg, rgba(255, 159, 19, .10), rgba(241, 241, 241, 0) 320px),
      #f6f6f7;
  }
  .member-phone {
    max-width: 1040px;
    min-height: auto;
    border-radius: 34px;
    box-shadow: 0 24px 70px rgba(48, 28, 24, .12);
  }
  .member-hero {
    display: block;
    padding: 42px 40px 38px;
    background: linear-gradient(180deg, #ff9f13 0%, #ff9812 48%, #f1f1f1 48%);
  }
  .hero-title {
    font-size: 54px;
  }
  .hero-name {
    font-size: 26px;
  }
  .hero-heart {
    top: 22px;
    right: 40px;
    width: 300px;
    height: 205px;
  }
  .point-pill-row {
    width: 100%;
    grid-template-columns: 128px minmax(0, 1fr) 140px;
    margin-top: 96px;
  }
  .level-show-card {
    width: 100%;
    margin-top: 22px;
    padding: 34px 24px 28px;
  }
  .member-card {
    margin-left: 40px;
    margin-right: 40px;
  }
  .gift-section {
    margin-top: 28px;
  }
  .gift-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .weekly-gift-list {
    max-height: 620px;
  }
  .gift-log-row {
    grid-template-columns: 58px minmax(0, 1fr) 118px;
  }
  .gift-log-thumb,
  .gift-ranking-thumb {
    width: 58px;
    height: 58px;
  }
  .gift-ranking-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .gift-summary-card {
    grid-template-columns: 1fr;
    min-height: 210px;
    align-content: space-between;
  }
  .gift-meta {
    display: grid;
    gap: 4px;
  }
  .gift-name {
    font-size: 30px;
  }
  .gift-image-box {
    justify-self: end;
    width: 118px;
    height: 86px;
  }
  .memory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-footer-links {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
  }
}
td, th { white-space: nowrap; }

.ranking-phone {
  padding-bottom: 28px;
}
.ranking-hero-card {
  display: grid;
  gap: 8px;
  padding: 22px;
}
.ranking-kicker {
  color: #7a4b00;
  font-size: 13px;
  font-weight: 900;
}
.ranking-main-value {
  margin-top: 4px;
  color: #ef277b;
  font-size: 38px;
  line-height: 1;
  font-weight: 950;
}
.ranking-subline {
  margin-top: 8px;
  color: #6a5b58;
  font-size: 13px;
  font-weight: 800;
}
.ranking-subline span {
  display: block;
  margin-top: 3px;
  color: #9b8b86;
}
.ranking-import-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #8a7b75;
  font-size: 12px;
  font-weight: 800;
}
.member-ranking-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member-ranking-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: #f7f7f7;
  padding: 12px;
}
.member-ranking-row.is-current {
  background: #fff3df;
  box-shadow: inset 0 0 0 2px rgba(255, 145, 31, .22);
}
.member-ranking-rank {
  color: #ef277b;
  font-size: 20px;
  font-weight: 950;
  text-align: center;
}
.member-ranking-main {
  min-width: 0;
}
.member-ranking-name {
  overflow: hidden;
  color: #211113;
  font-size: 16px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-ranking-meta {
  overflow: hidden;
  margin-top: 2px;
  color: #8a7b75;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-ranking-value {
  color: #211113;
  font-size: 15px;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}
.member-ranking-value span {
  display: block;
  color: #8a7b75;
  font-size: 10px;
  font-weight: 900;
}
.ranking-like-total {
  margin-bottom: 14px;
}
