.btn-hot, .btn-hot:hover { box-shadow: none; }
.btn-hot { background: #e8192f; border-color: #e8192f; }
.btn-hot:hover { background: var(--hot); border-color: var(--hot); }

.tile, .tile:hover {
  background: var(--ink-2); border-color: var(--rule);
  box-shadow: none; transform: none;
}
.tile:hover { border-color: #5a3040; }
.tile::before, .tile::after { content: none; }
.tile .art { border-color: var(--rule); background: var(--ink-3); }
.tile .art .mark { text-shadow: none; }
.tile .flag { box-shadow: none; font-family: var(--body); letter-spacing: 0; font-weight: 700; }

.hero::after { content: none; }

.hero { padding-top: 56px; padding-bottom: 56px; }
.hero .inner { max-width: 500px; }
.hcard {
  padding: 26px 26px 22px;
  background: rgba(22, 18, 30, .9); border: 1px solid #3a3150; border-radius: 22px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hc-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hc-brand img { width: 58px; height: auto; flex: none; }
.hc-brand b { display: block; font-size: 1.3rem; line-height: 1.25; }
.hc-brand small { display: block; margin-top: 2px; font: .72rem var(--mono); letter-spacing: .18em; color: var(--muted); }
.hcard h1 {
  font-family: var(--body); font-weight: 900;
  font-size: clamp(1.9rem, 7vw, 2.5rem); line-height: 1.2; letter-spacing: 0; text-shadow: none;
}
.hcard h1 u { text-shadow: none; }
.hcard .lede { margin: 12px 0 20px; font-size: .92rem; line-height: 1.75; }

.hc-member { min-height: 76px; margin-bottom: 14px; }
.hc-me {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 10px 0 10px 14px;
  background: url('/img/member-card.webp') center / 100% 100% no-repeat, #140d10;
  border-radius: 14px; color: var(--text); text-decoration: none;
}
.hc-ring {
  position: relative; display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; padding: 1.5px; border-radius: 50%;
  background: linear-gradient(150deg, #ffc2c8 0%, #ff4a5c 28%, #c4142a 55%, #6e0a16 75%, #ff5566 100%);
  box-shadow: 0 0 4px rgba(255, 60, 80, .7), 0 0 12px rgba(255, 32, 56, .28);
}
.hc-ring::after {
  content: ''; position: absolute; inset: 1.5px; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 0 6px rgba(255, 40, 60, .35);
}
.hc-ring img, .hc-av {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
}
.hc-av { display: grid; place-items: center; background: #221a24; font-weight: 700; font-size: 1.15rem; }
.hc-me-t { flex: 1; min-width: 0; }
.hc-me-t small {
  display: flex; align-items: center; gap: 10px; font-size: .74rem; color: #a99aa6; white-space: nowrap;
}
.hc-me-t small::after {
  content: ''; flex: 0 1 70px; min-width: 0; height: 2px;
  background: linear-gradient(90deg, #ff2038 0 14px, rgba(255, 32, 56, .55) 14px, transparent);
}
.hc-me-t b { display: block; font-size: 1.12rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-me-t b em { font-style: normal; color: #ff4a5c; text-shadow: 0 0 10px rgba(255, 32, 56, .5); }
.hc-me.is-guest .hc-me-t small::after { content: none; }
.hc-me.is-guest .hc-me-t b { font-size: 1rem; }
.hc-me.is-guest .hc-me-t small { margin-top: 2px; }
.hc-me-e {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  flex: none; width: 25%; align-self: stretch; padding-right: 12px;
  font-size: .8rem; font-weight: 700; color: #f2d6c8;
}
.hc-crown { width: 26px; height: auto; margin-bottom: 3px; filter: drop-shadow(0 0 5px rgba(255, 90, 100, .55)); }
.hc-me-e span { position: relative; }
.hc-me-e span::after { content: '›'; position: absolute; left: 100%; margin-left: 4px; }
.hc-me .btn { flex: none; margin-right: 14px; box-shadow: none; }

.hc-go {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 58px; margin-bottom: 10px; padding: 0 20px 0 18px; overflow: hidden;
  background: linear-gradient(180deg, #17121a, #0e0b0f);
  border: 1px solid #2c2530; border-radius: 12px;
  box-shadow: inset 3px 0 0 #d9192d, inset 0 1px 0 rgba(255, 255, 255, .04);
  color: #ece4ea; font-size: 1rem; font-weight: 700; text-decoration: none;
}
.hc-go > span { flex: 1; }
.hc-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; font-style: normal; color: #ece4ea; }
.hc-ic svg { width: 30px; height: 30px; }
img.hc-ic { width: 40px; height: auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.hc-arr { font-style: normal; font-size: 1.2rem; transition: transform .15s; }
.hc-go:hover .hc-arr { transform: translateX(3px); }
.hc-go.is-main {
  min-height: 62px; border-color: #c4202f; color: #fff; font-size: 1.05rem;
  background:
    linear-gradient(118deg, transparent 66%, rgba(255, 70, 90, .22) 66% 74%, transparent 74% 78%, rgba(255, 70, 90, .14) 78% 82%, transparent 82%),
    radial-gradient(60% 120% at 62% 100%, rgba(30, 0, 4, .55), transparent 70%),
    linear-gradient(90deg, #8e0f1f, #6a0a16 45%, #a3121f);
  box-shadow: inset 0 1px 0 rgba(255, 140, 150, .35), inset 0 -1px 0 rgba(0, 0, 0, .35), 0 6px 18px rgba(200, 16, 36, .25);
}
.hc-go.is-main:hover { filter: brightness(1.08); }

.hc-status {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  margin-top: 16px; padding: 12px 16px 12px 12px;
  background: linear-gradient(90deg, #1a0d11, #100b0e 60%);
  border: 1px solid #2a1c22; border-radius: 12px; font-size: .86rem; font-weight: 700;
}
.hc-clock {
  grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: #ff3347; background: radial-gradient(circle, rgba(255, 32, 56, .16), transparent 70%);
  box-shadow: 0 0 0 1px rgba(255, 51, 71, .18);
}
.hc-clock svg { width: 30px; height: 30px; filter: drop-shadow(0 0 4px rgba(255, 51, 71, .6)); }
.hc-status.is-open .hc-clock { color: #22d46b; background: radial-gradient(circle, rgba(6, 199, 85, .16), transparent 70%); box-shadow: 0 0 0 1px rgba(6, 199, 85, .2); }
.hc-status.is-open .hc-clock svg { filter: drop-shadow(0 0 4px rgba(6, 199, 85, .55)); }
.hc-status small { grid-column: 2; margin-top: 2px; font-size: .74rem; font-weight: 400; color: var(--muted); }

.plain-list {
  margin: 0; padding: 4px 18px;
  background: var(--ink-2); border: 1px solid var(--rule); border-radius: 10px;
}
.plain-list > div { padding: 13px 0; }
.plain-list > div + div { border-top: 1px solid var(--rule); }
.plain-list dt { font-weight: 700; font-size: .95rem; margin-bottom: 3px; }
.plain-list dd { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }

@media (max-width: 780px) {
  .hero { padding-top: 132px; padding-bottom: 28px; }
  .hero .figure { height: 220px; }
  .hcard { padding: 22px 18px 18px; border-radius: 18px; }
  .hc-brand { margin-bottom: 18px; }
  .hc-brand img { width: 50px; }
  .hc-brand b { font-size: 1.15rem; }
  body:has(.mc-card) .helpdesk, body:has(.mc-sub-h) .helpdesk { display: none; }
}

@media (max-width: 400px) {
  .receipt { padding: 15px 14px; }
  .receipt .ln { grid-template-columns: 6.6em minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 780px) {
  nav.main {
    padding: 12px 16px 16px; gap: 0;
    background: var(--ink); box-shadow: 0 18px 30px rgba(0, 0, 0, .55);
    max-height: calc(100dvh - 56px - env(safe-area-inset-top)); overflow-y: auto;
  }
  nav.main .user-box {
    order: -1; margin-bottom: 12px; padding: 12px 14px;
    background: var(--ink-2); border: 1px solid var(--rule); border-radius: 10px;
  }
  nav.main .user-box img { width: 40px; height: 40px; }
  nav.main .user-box .btn { min-height: 36px; padding: 6px 14px; background: none; }
  nav.main > a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 52px; padding: 0 16px; font-size: .95rem; color: var(--text);
    background: var(--ink-2); border: 1px solid var(--rule); border-bottom: 0;
  }
  nav.main > a:first-of-type { border-radius: 10px 10px 0 0; }
  nav.main > a:last-of-type { border-bottom: 1px solid var(--rule); border-radius: 0 0 10px 10px; }
  nav.main > a::after, nav.main > a[aria-current="page"]::after {
    content: '›'; position: static; height: auto; background: none;
    color: var(--muted); font-size: 1.15rem; line-height: 1;
  }
  nav.main > a + a { box-shadow: inset 0 1px 0 var(--rule); border-top: 0; }
  nav.main > a[aria-current="page"] { color: var(--hot); }
}

.receipt .ln.item { display: flex; justify-content: space-between; gap: 12px; }
.receipt .ln.item span:first-child { white-space: normal; min-width: 0; }
.receipt .ln.item span:last-child { flex: none; text-align: right; }

@media (max-width: 359px) {
  .hcard { padding: 20px 14px 16px; }
  .hc-go { gap: 10px; padding: 0 14px; font-size: .95rem; }
  .hc-me { gap: 10px; padding-left: 10px; }
  .hc-ring { width: 48px; height: 48px; }
  .hc-me-e { font-size: .74rem; padding-right: 16px; }
  .hc-status { column-gap: 10px; padding: 10px 12px 10px 10px; font-size: .8rem; }
  .hc-clock { width: 36px; height: 36px; }
  .hc-clock svg { width: 26px; height: 26px; }
  .hc-status small { font-size: .7rem; }
}

.hero, .hero::before { background: none; }
.hero { padding-top: 40px; border-bottom: 0; }
.hero .inner { margin-inline: auto; }
.hcard {
  position: relative; isolation: isolate;
  background: #18141f; border: 1.5px solid #4a1420;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  animation: hcBreath 3.2s ease-in-out infinite;
}
@keyframes hcBreath {
  0%, 100% { border-color: #4a1420; box-shadow: 0 0 0 rgba(255, 32, 56, 0); }
  50% { border-color: #ff2038; box-shadow: 0 0 26px rgba(255, 32, 56, .38), inset 0 0 14px rgba(255, 32, 56, .08); }
}
.hcard > * { position: relative; z-index: 1; }
.hcard h1, .hcard .lede { text-shadow: 0 1px 10px rgba(14, 10, 18, .85); }
.hcard > .hc-art {
  position: absolute; z-index: 0; top: 0; right: 0; width: 72%; height: 330px; margin: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent), linear-gradient(180deg, #000 50%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(270deg, #000 45%, transparent), linear-gradient(180deg, #000 50%, transparent);
  mask-composite: intersect;
}
.hc-art img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 18%; }
@media (max-width: 780px) {
  .hero { padding-top: 16px; }
  .hcard > .hc-art { width: 78%; height: 290px; }
}
@media (max-width: 359px) {
  .hcard > .hc-art { height: 260px; }
}
.hcard { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .hcard { animation: none; } }

.hc-todo { display: grid; gap: 8px; margin: -4px 0 14px; }
.hc-task {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: #140f13; border: 1px solid #2a1c22; border-radius: 12px;
  color: var(--text); text-decoration: none; animation: riseIn .35s var(--ease-out, ease-out) both;
}
.hc-task::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #6b8cff; box-shadow: 0 0 8px rgba(107, 140, 255, .6); }
.hc-task::after { content: '›'; flex: none; margin-left: auto; font-size: 1.2rem; color: var(--muted); }
.hc-task > span { min-width: 0; }
.hc-task b { display: block; font-size: .88rem; overflow-wrap: anywhere; }
.hc-task small { display: block; margin-top: 1px; font-size: .74rem; color: var(--muted); }
.hc-task code { font-family: var(--mono); color: #ffb020; letter-spacing: .04em; }
.hc-task.is-pay { border-color: #4a3412; background: linear-gradient(90deg, #1e1608, #140f13 70%); }
.hc-task.is-pay::before { background: #ffb020; box-shadow: 0 0 8px rgba(255, 176, 32, .6); }
