* { box-sizing: border-box; }

:root {
  --bg: #17120f;
  --wall1: #55463c;
  --wall2: #6c5b4d;
  --wall3: #45372f;
  --line: rgba(255,255,255,0.16);
  --text: #fff7e8;
  --muted: rgba(255,247,232,0.68);
  --gold: #f7c948;
  --red: #ff625d;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
}

button,
input { font: inherit; }

.app-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.wall-section {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,0.06), transparent 22%),
    radial-gradient(circle at 76% 28%, rgba(0,0,0,0.22), transparent 24%),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.035), transparent 18%),
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.28)),
    linear-gradient(90deg, var(--wall1) 0%, var(--wall2) 18%, #5e4d42 34%, #725f50 50%, #5e4e43 67%, #6b594b 84%, var(--wall3) 100%);
}

.wall-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(29,22,18,0.36) 0 2px, transparent 2px 76px),
    repeating-linear-gradient(90deg, rgba(38,28,23,0.24) 0 2px, transparent 2px 168px),
    linear-gradient(90deg,
      transparent 0 16%, rgba(25,19,15,0.22) 16% 16.7%, transparent 16.7% 33.4%,
      rgba(25,19,15,0.22) 33.4% 34.1%, transparent 34.1% 50.8%,
      rgba(25,19,15,0.22) 50.8% 51.5%, transparent 51.5% 68.2%,
      rgba(25,19,15,0.22) 68.2% 68.9%, transparent 68.9% 85.6%,
      rgba(25,19,15,0.22) 85.6% 86.3%, transparent 86.3% 100%);
  opacity: 0.56;
  mix-blend-mode: multiply;
}

.wall-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 22%, rgba(0,0,0,0.24), transparent 12%),
    radial-gradient(circle at 84% 70%, rgba(0,0,0,0.24), transparent 16%),
    radial-gradient(circle at 62% 36%, rgba(255,255,255,0.04), transparent 9%),
    linear-gradient(135deg, transparent 0 80%, rgba(0,0,0,0.18) 80% 81%, transparent 81% 100%);
  opacity: 0.8;
}

.wall-topbar {
  position: absolute;
  z-index: 5;
  left: 24px;
  top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.34);
}

h1 {
  margin: 0;
  font-size: clamp(24px, 3.8vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-shadow: 0 4px 14px rgba(0,0,0,0.36);
}

h1 span { color: var(--gold); }

.status-pill {
  margin-top: 2px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(16,12,10,0.42);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.status-pill.is-ok { color: #9cff8f; }
.status-pill.is-error { color: var(--red); }

.stat-panel {
  position: absolute;
  z-index: 6;
  right: 22px;
  top: 18px;
  display: grid;
  grid-template-columns: repeat(8, minmax(78px, auto));
  gap: 8px;
  max-width: calc(100vw - 420px);
}

.stat-panel article {
  min-width: 78px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(18,13,10,0.46);
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
}

.stat-panel span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.stat-panel strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.chat-wall {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
}

.wall-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 140px;
  pointer-events: none;
  transform-origin: center center;
}

.wall-card p {
  margin: 0;
  color: rgba(255,248,232,0.94);
  font-size: 22px;
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: -0.055em;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
  max-width: none;
  overflow: visible;
  text-shadow: 0 1px 0 rgba(0,0,0,0.32), 0 3px 10px rgba(0,0,0,0.24);
}

.wall-card.size-sm p { font-size: clamp(13px, 1.3vw, 18px); }
.wall-card.size-md p { font-size: clamp(15px, 1.7vw, 22px); }
.wall-card.size-lg p { font-size: clamp(18px, 2.2vw, 30px); }
.wall-card.size-xl p { font-size: clamp(24px, 3vw, 44px); }
.wall-card.tone-gold p { color: rgba(247,210,116,0.94); }
.wall-card.tone-chalk p { color: rgba(255,250,240,0.96); }
.wall-card.tone-brick p { color: rgba(255,230,200,0.86); }
.wall-card.tone-ash p { color: rgba(245,240,228,0.76); }
.wall-card.tone-red p { color: rgba(255,171,155,0.88); }
.wall-card.is-new p { animation: wallStamp 500ms ease; }

.wall-card.wall-age-fresh p { opacity: 0.98; }
.wall-card.wall-age-mid p { opacity: 0.84; }
.wall-card.wall-age-old p { opacity: 0.64; }
.wall-card.wall-age-faint p { opacity: 0.46; }


.wall-empty {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: rgba(255,247,232,0.52);
  font-weight: 900;
}

.button-dock {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 22px;
  display: grid;
  place-items: center;
  gap: 10px;
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.nin-button {
  pointer-events: auto;
  width: clamp(132px, 18vh, 190px);
  height: clamp(132px, 18vh, 190px);
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #fff6c7 0, #f7c948 20%, #c87516 52%, #5a1c12 100%);
  color: #1a0d05;
  box-shadow:
    inset -16px -18px 42px rgba(0,0,0,0.32),
    inset 10px 12px 30px rgba(255,255,255,0.42),
    0 14px 0 #37110d,
    0 28px 54px rgba(0,0,0,0.52);
  cursor: pointer;
  transform: translateY(-7px);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.nin-button:hover { filter: brightness(1.06); }
.nin-button:active,
.nin-button.is-pressing {
  transform: translateY(5px) scale(0.985);
  box-shadow:
    inset -16px -18px 42px rgba(0,0,0,0.36),
    inset 10px 12px 30px rgba(255,255,255,0.34),
    0 5px 0 #37110d,
    0 18px 38px rgba(0,0,0,0.5);
}

.nin-symbol {
  display: block;
  font-size: clamp(58px, 9vh, 98px);
  font-weight: 900;
  line-height: 0.95;
}

.nin-text {
  display: block;
  margin-top: 4px;
  font-size: clamp(13px, 1.8vh, 18px);
  font-weight: 900;
}

.button-dock p {
  margin: 0;
  max-width: min(520px, calc(100vw - 32px));
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(18,13,10,0.46);
  color: rgba(255,247,232,0.8);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: blur(12px);
}

.chat-box {
  position: absolute;
  z-index: 9;
  left: 22px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(180px, 300px) auto;
  gap: 8px;
  max-width: calc(50vw - 230px);
}

.chat-box input {
  min-width: 0;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0 15px;
  outline: none;
  background: rgba(18,13,10,0.52);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.chat-box input::placeholder { color: rgba(255,247,232,0.46); }
.chat-box input:focus {
  border-color: rgba(247,201,72,0.72);
  box-shadow: 0 0 0 4px rgba(247,201,72,0.12);
}

.chat-box button {
  height: 44px;
  border: 1px solid rgba(247,201,72,0.46);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(247,201,72,0.18);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.chat-box button:disabled { opacity: 0.45; cursor: wait; }

.gps-button {
  min-width: 58px;
}

.gps-button.is-on {
  border-color: rgba(156,255,143,0.5);
  background: rgba(156,255,143,0.14);
  color: #b9ffb1;
}


.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  max-width: min(520px, calc(100% - 32px));
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10,10,10,0.82);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-size: 13px;
  font-weight: 900;
}

.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

.effect-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
  transform: translateZ(0);
}

.effect-layer::before {
  content: '';
  position: absolute;
  inset: -10%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 241, 188, .34), transparent 28%),
    radial-gradient(circle at 52% 78%, rgba(190, 28, 18, .22), transparent 36%);
  transform: scale(.94);
}

.effect-label {
  position: absolute;
  will-change: transform, opacity;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%) scale(0.8);
  color: rgba(255,247,232,0.96);
  font-size: clamp(34px, 8vw, 100px);
  font-weight: 900;
  letter-spacing: -0.07em;
  text-shadow: 0 10px 38px rgba(0,0,0,0.42);
  animation: effectLabel 1200ms ease forwards;
}

.particle {
  position: absolute;
  will-change: transform, opacity;
  transform: translateZ(0);
  contain: layout paint;
  left: var(--x);
  top: var(--y);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  animation: particlePop 1100ms ease var(--d) forwards;
}

.particle-burst { background: var(--gold); box-shadow: 0 0 16px rgba(247,201,72,0.72); }
.particle-wave { background: rgba(255,247,232,0.88); }
.particle-level { background: var(--red); box-shadow: 0 0 18px rgba(255,98,93,0.74); }
.particle-critical { background: #fff1a8; box-shadow: 0 0 24px rgba(255,220,90,0.96), 0 0 48px rgba(255,88,74,0.54); }
.particle-bonus { background: rgba(140,255,184,0.9); box-shadow: 0 0 18px rgba(92,255,154,0.58); }
.particle-combo { background: rgba(132,210,255,0.9); box-shadow: 0 0 18px rgba(78,174,255,0.62); }
.particle-resonance { background: rgba(183,221,255,0.92); box-shadow: 0 0 22px rgba(109,196,255,0.72); }
.particle-calm { background: rgba(197,239,255,0.78); box-shadow: 0 0 18px rgba(186,230,255,0.54); }
.particle-overheat { background: rgba(255,80,42,0.94); box-shadow: 0 0 24px rgba(255,80,42,0.78); }
.particle-stamp { background: rgba(255,236,194,0.94); box-shadow: 0 0 24px rgba(255,46,32,0.62); }
.particle-ninflood { background: rgba(255,241,205,0.96); box-shadow: 0 0 24px rgba(196,49,28,0.52); }
.particle-rage { background: rgba(255,78,66,0.9); box-shadow: 0 0 20px rgba(255,68,52,0.72); }
.particle-steam { background: rgba(255,247,232,0.7); box-shadow: 0 0 14px rgba(255,255,255,0.42); }
.particle-ink,
.particle-tap { background: rgba(12,9,7,0.68); }

body.effect-tap .wall-section { animation: wallTap 260ms ease; }
body.effect-ink .wall-section { animation: inkPulse 1200ms ease; }
body.effect-wave .wall-section { animation: wallWave 1200ms ease; }
body.effect-burst .wall-section { animation: goldBurst 1200ms ease; }
body.effect-level .wall-section { animation: levelBurn 1300ms ease; }
body.effect-rage .wall-section { animation: rageHold 1000ms ease; }
body.effect-steam .wall-section { animation: steamHold 1200ms ease; }
body.effect-critical .wall-section { animation: criticalBurst 1400ms cubic-bezier(.2,.9,.1,1); }
body.effect-bonus .wall-section { animation: bonusPulse 900ms ease; }
body.effect-combo .wall-section { animation: comboPulse 900ms ease; }
body.effect-resonance .wall-section { animation: resonancePulse 1100ms ease; }
body.effect-calm .wall-section { animation: calmPulse 1100ms ease; }
body.effect-overheat .wall-section { animation: overheatPulse 1200ms ease; }
body.effect-stamp .wall-section { animation: stampPulse 1500ms cubic-bezier(.2,.8,.1,1); }
body.effect-ninflood .wall-section { animation: ninFloodPulse 5200ms cubic-bezier(.16,.82,.18,1); }

body.effect-critical .effect-layer::before,
body.effect-fever .effect-layer::before,
body.effect-stamp .effect-layer::before,
body.effect-ninflood .effect-layer::before,
body.effect-overheat .effect-layer::before,
body.effect-resonance .effect-layer::before {
  animation: fullScreenEffectFlash 1200ms ease forwards;
}

body.effect-ninflood .effect-layer::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 232, 182, .42), transparent 26%),
    radial-gradient(circle at 22% 22%, rgba(154, 21, 15, .24), transparent 30%),
    radial-gradient(circle at 78% 76%, rgba(154, 21, 15, .26), transparent 34%);
  animation-duration: 5800ms;
}

body.effect-critical .effect-layer::before {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 241, 165, .46), transparent 26%),
    radial-gradient(circle at 50% 70%, rgba(210, 35, 24, .24), transparent 38%);
}

body.effect-resonance .effect-layer::before {
  background: radial-gradient(circle at 50% 50%, rgba(126, 206, 255, .28), transparent 38%);
}

body.effect-overheat .effect-layer::before {
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 90, 42, .34), transparent 31%),
    radial-gradient(circle at 50% 82%, rgba(255, 42, 18, .22), transparent 40%);
}

body[data-anger-level="2"] .wall-section { filter: saturate(1.05) contrast(1.02); }
body[data-anger-level="3"] .wall-section { filter: saturate(1.12) contrast(1.05); }
body[data-anger-level="4"] .wall-section { filter: saturate(1.2) contrast(1.08); }
body[data-anger-level="5"],
body[data-anger-level="6"],
body[data-anger-level="7"],
body[data-anger-level="8"] { background: #090606; }
body[data-anger-level="5"] .wall-section,
body[data-anger-level="6"] .wall-section { filter: saturate(1.3) contrast(1.12) brightness(0.9); }
body[data-anger-level="7"] .wall-section { filter: saturate(1.42) contrast(1.18) brightness(0.86); }
body[data-anger-level="8"] .wall-section { filter: saturate(1.55) contrast(1.24) brightness(0.82); }

@keyframes wallStamp {
  0% { opacity: 0; transform: scale(0.75) rotate(-4deg); filter: blur(4px); }
  100% { opacity: 1; filter: blur(0); }
}

@keyframes effectLabel {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.72) rotate(-2deg); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -70%) scale(1.15) rotate(3deg); }
}

@keyframes particlePop {
  0% { opacity: 0; transform: translateY(20px) scale(0.4) rotate(var(--r)); }
  20% { opacity: 0.95; }
  100% { opacity: 0; transform: translateY(-90px) scale(1.4) rotate(var(--r)); }
}

@keyframes wallTap {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.006); }
}

@keyframes inkPulse {
  0% { box-shadow: inset 0 0 0 rgba(0,0,0,0); }
  40% { box-shadow: inset 0 0 120px rgba(0,0,0,0.45); }
  100% { box-shadow: inset 0 0 0 rgba(0,0,0,0); }
}

@keyframes wallWave {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes goldBurst {
  0%, 100% { filter: brightness(1); }
  35% { filter: brightness(1.34) saturate(1.38); }
}

@keyframes levelBurn {
  0%, 100% { filter: brightness(1) saturate(1); }
  40% { filter: brightness(0.84) saturate(1.55) contrast(1.18); }
}

@keyframes rageHold {
  0%, 100% { filter: brightness(1) saturate(1); transform: translate(0,0); }
  18% { filter: brightness(0.72) saturate(1.9) contrast(1.24); transform: translate(-3px, 1px); }
  36% { transform: translate(3px, -1px); }
  54% { filter: brightness(0.92) saturate(1.45) contrast(1.12); transform: translate(-2px, -1px); }
  72% { transform: translate(2px, 1px); }
}

@keyframes steamHold {
  0%, 100% { filter: blur(0) brightness(1); }
  38% { filter: blur(0.8px) brightness(1.12) saturate(0.82); }
  68% { filter: blur(0.2px) brightness(0.95); }
}

@keyframes criticalBurst {
  0%, 100% { filter: brightness(1) saturate(1); transform: scale(1) rotate(0deg); }
  14% { filter: brightness(1.65) saturate(1.9) contrast(1.32); transform: scale(1.012) rotate(-0.35deg); }
  28% { transform: scale(0.992) rotate(0.35deg); }
  46% { filter: brightness(0.78) saturate(2.15) contrast(1.35); transform: scale(1.009) rotate(-0.2deg); }
  72% { filter: brightness(1.24) saturate(1.45); transform: scale(1.002) rotate(0.12deg); }
}

@media (max-width: 980px) {
  .wall-topbar { left: 16px; top: 14px; }
  .stat-panel {
    left: 16px;
    right: 16px;
    top: 86px;
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .stat-panel article { min-width: 0; padding: 8px 9px; border-radius: 14px; }
  .stat-panel span { font-size: 10px; }
  .stat-panel strong { font-size: 17px; }
  .chat-box {
    left: 12px;
    bottom: 16px;
    max-width: calc(50vw - 90px);
    grid-template-columns: 1fr auto;
  }
  .chat-box input { height: 40px; font-size: 12px; }
  .chat-box button { height: 40px; padding: 0 12px; }
  .button-dock { bottom: 14px; }
  .button-dock p { display: none; }
}

@media (max-width: 620px) {
  .wall-topbar { right: 14px; }
  .status-pill { display: none; }
  .stat-panel {
    top: 72px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }
  .stat-panel article { padding: 7px 5px; }
  .stat-panel span { font-size: 9px; }
  .stat-panel strong { font-size: 14px; }
  .chat-box {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    grid-template-columns: 1fr 54px;
  }
  .button-dock {
    bottom: 58px;
    width: 150px;
  }
  .nin-button { width: 118px; height: 118px; }
  .nin-symbol { font-size: 58px; }
  .nin-text { font-size: 13px; }
}

.crack-layer {
  position: absolute;
  contain: layout paint;
  transform: translateZ(0);
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.crack-mark {
  position: absolute;
  will-change: transform, opacity;
  transform: translateZ(0);
  left: 0;
  top: 0;
  width: var(--crack-size, 220px);
  height: var(--crack-size, 220px);
  transform: translate(-50%, -50%) rotate(var(--crack-rotate, 0deg));
  opacity: var(--crack-opacity, 0.7);
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.08)) drop-shadow(0 5px 10px rgba(0,0,0,0.28));
  mix-blend-mode: multiply;
}

.crack-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.crack-mark path,
.crack-mark line,
.crack-mark polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crack-mark .core {
  stroke: rgba(22, 15, 13, 0.88);
  stroke-width: 2.3;
}

.crack-mark .glow {
  stroke: rgba(255, 248, 238, 0.18);
  stroke-width: 0.8;
}

.crack-mark .dust {
  fill: rgba(0,0,0,0.08);
}

.crack-mark.mode-hairline .core { stroke-width: 1.6; }
.crack-mark.mode-fracture .core { stroke-width: 2.4; }
.crack-mark.mode-shatter .core { stroke-width: 3.2; }

.crack-mark.is-new {
  animation: crackStamp 900ms cubic-bezier(.2,.75,.15,1) forwards;
}

.crack-mark.is-new .core,
.crack-mark.is-new .glow {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: crackDraw 800ms ease forwards;
}

.crack-mark.is-new .glow {
  animation-duration: 900ms;
}

.crack-shake {
  animation: wallShake 380ms ease;
}

@keyframes crackDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes crackStamp {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8) rotate(var(--crack-rotate, 0deg)); }
  50% { opacity: calc(var(--crack-opacity, 0.7) + 0.2); }
  100% { opacity: var(--crack-opacity, 0.7); transform: translate(-50%, -50%) scale(1) rotate(var(--crack-rotate, 0deg)); }
}

@keyframes wallShake {
  0% { transform: translate(0,0); }
  25% { transform: translate(3px, 1px); }
  50% { transform: translate(-3px, -1px); }
  75% { transform: translate(2px, -1px); }
  100% { transform: translate(0,0); }
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(16,12,10,0.42);
  color: rgba(255,247,232,0.86);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7,5,4,0.72);
  backdrop-filter: blur(10px);
}

.modal-backdrop.is-open {
  display: flex;
}

.report-panel {
  width: min(760px, 100%);
  max-height: min(680px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 26px;
  background: rgba(24,18,14,0.96);
  box-shadow: 0 30px 90px rgba(0,0,0,0.46);
  color: var(--text);
}

.report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.report-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.05em;
}

.report-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

.report-head button,
.report-item button {
  border: 1px solid rgba(247,201,72,0.46);
  border-radius: 999px;
  background: rgba(247,201,72,0.14);
  color: var(--gold);
  font-weight: 900;
  cursor: pointer;
}

.report-head button {
  padding: 8px 12px;
}

.report-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 170px);
  overflow: auto;
  padding: 14px 18px 18px;
}

.report-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.055);
}

.report-item p {
  margin: 0;
  font-weight: 900;
  line-height: 1.45;
  word-break: break-word;
}

.report-item span {
  display: block;
  margin-top: 3px;
  color: rgba(255,247,232,0.55);
  font-size: 11px;
  font-weight: 800;
}

.report-item button {
  padding: 8px 12px;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .top-actions { gap: 5px; }
  .link-btn { min-height: 30px; padding: 6px 8px; font-size: 11px; }
  .report-item { grid-template-columns: 1fr; }
}

.crack-mark.is-repairing {
  animation: crackRepair 850ms ease forwards;
}

@keyframes crackRepair {
  0% { opacity: var(--crack-opacity, 0.7); filter: blur(0) drop-shadow(0 5px 10px rgba(0,0,0,.28)); }
  100% { opacity: 0; filter: blur(5px) drop-shadow(0 0 0 rgba(0,0,0,0)); transform: translate(-50%, -50%) scale(0.92) rotate(var(--crack-rotate, 0deg)); }
}

/* Wall text quick actions */
.wall-card {
  pointer-events: auto;
  cursor: pointer;
}

.wall-card:hover p {
  text-shadow:
    0 1px 0 rgba(0,0,0,0.32),
    0 4px 13px rgba(0,0,0,0.32),
    0 0 16px rgba(247,201,72,0.24);
  filter: brightness(1.08);
}

.wall-card.is-hidden-local {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75) !important;
  transition: opacity .2s ease, transform .2s ease;
}

.wall-card.is-reported-local p {
  opacity: .52;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.wall-action-menu {
  position: fixed;
  z-index: 120;
  display: none;
  width: 250px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  background: rgba(18,13,10,0.94);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.wall-action-menu.is-open {
  display: block;
  animation: actionPop .16s ease;
}

.wall-action-preview {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  word-break: break-word;
}

.wall-action-meta {
  margin-bottom: 10px;
  color: rgba(255,247,232,0.56);
  font-size: 11px;
  font-weight: 800;
}

.wall-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 6px;
}

.wall-action-buttons button {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.wall-action-buttons button.danger {
  border-color: rgba(255,98,93,0.42);
  background: rgba(255,98,93,0.13);
  color: #ffbbb8;
}

.wall-action-buttons button:disabled {
  opacity: .55;
  cursor: wait;
}

@keyframes actionPop {
  from { opacity: 0; transform: translateY(6px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 620px) {
  .wall-action-menu {
    width: min(250px, calc(100vw - 24px));
  }
}


.main-adfit-area {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--adfit-height, 100px);
  margin: 8px auto 14px;
  padding: 0;
  pointer-events: auto;
}

/* AdFit safe placement: no border, no background, no shadow, fixed area */
.adfit-wrap,
.adfit-wrap ins,
.adfit-wrap iframe {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.adfit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--adfit-width, 320px);
  height: var(--adfit-height, 100px);
  min-width: var(--adfit-width, 320px);
  min-height: var(--adfit-height, 100px);
  padding: 0;
  margin: 0;
  color: transparent;
  pointer-events: auto;
}

.adfit-wrap-main {
  position: relative;
  z-index: 7;
  flex: 0 0 auto;
}

.adfit-wrap-content {
  margin: 28px auto;
}

@media (max-width: 620px) {
  .main-adfit-area {
    min-height: min(var(--adfit-height, 100px), 100px);
    margin: 6px auto 10px;
  }
  .adfit-wrap-main {
    width: min(var(--adfit-width, 320px), calc(100vw - 24px));
    min-width: 0;
  }
}


.particle-fever {
  background: linear-gradient(180deg, rgba(255,248,204,0.98), rgba(255,136,50,0.92));
  box-shadow: 0 0 18px rgba(255,146,57,0.86), 0 0 36px rgba(255,78,30,0.48);
}

body.effect-fever .wall-section {
  animation: feverPulse 1100ms cubic-bezier(.18,.88,.12,1);
}

body.fever-active {
  background: #1b0d08;
}

body.fever-active .wall-section {
  filter: saturate(1.18) contrast(1.06) brightness(1.05);
}

body.fever-active .nin-button {
  filter: brightness(1.12) saturate(1.18);
  box-shadow:
    inset -16px -18px 42px rgba(0,0,0,0.32),
    inset 10px 12px 30px rgba(255,255,255,0.42),
    0 14px 0 #37110d,
    0 28px 54px rgba(0,0,0,0.52),
    0 0 32px rgba(255,133,56,0.68),
    0 0 64px rgba(255,72,24,0.28);
}

body.fever-active .button-dock {
  animation: feverDock 860ms ease-in-out infinite;
}

body.fever-active .stat-panel article,
body.fever-active .button-dock p,
body.fever-active .chat-box input,
body.fever-active .chat-box button {
  border-color: rgba(255,153,67,0.38);
}

#modeText.is-fever {
  color: #ffd36b;
  text-shadow: 0 0 10px rgba(255,157,56,0.48);
}

#modeText.is-cooldown {
  color: #ffba9d;
}

.fever-overlay {
  position: fixed;
  inset: 0;
  z-index: 34;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  overflow: hidden;
}

body.fever-active .fever-overlay {
  opacity: 1;
}

.fever-glow,
.fever-flame {
  position: absolute;
  inset: auto 0 0 0;
}

.fever-glow-top {
  top: 0;
  height: 24vh;
  background: radial-gradient(circle at 50% -10%, rgba(255,186,93,0.28), transparent 58%);
  animation: feverGlowTop 1.8s ease-in-out infinite;
}

.fever-glow-bottom {
  bottom: 0;
  height: 34vh;
  background: radial-gradient(circle at 50% 120%, rgba(255,82,24,0.38), transparent 52%), linear-gradient(180deg, transparent, rgba(255,72,26,0.12));
  animation: feverGlowBottom 1.4s ease-in-out infinite;
}

.fever-flame {
  bottom: -6vh;
  width: 42vw;
  height: 38vh;
  border-radius: 48% 52% 42% 58% / 42% 44% 56% 58%;
  background:
    radial-gradient(circle at 50% 78%, rgba(255,247,184,0.98) 0 10%, rgba(255,170,58,0.95) 18%, rgba(255,95,32,0.72) 43%, rgba(255,60,18,0.0) 72%),
    radial-gradient(circle at 50% 100%, rgba(255,88,28,0.38), rgba(255,60,18,0) 70%);
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: .78;
}

.fever-flame-left { left: -4vw; animation: feverFlame 1.4s ease-in-out infinite; }
.fever-flame-center { left: 29vw; width: 44vw; height: 42vh; animation: feverFlame 1.1s ease-in-out infinite .12s; }
.fever-flame-right { right: -4vw; left: auto; animation: feverFlame 1.32s ease-in-out infinite .28s; }

@keyframes feverPulse {
  0%, 100% { filter: brightness(1) saturate(1) contrast(1); transform: scale(1); }
  20% { filter: brightness(1.18) saturate(1.3) contrast(1.08); transform: scale(1.004); }
  45% { filter: brightness(0.96) saturate(1.48) contrast(1.14); transform: scale(0.998); }
  70% { filter: brightness(1.12) saturate(1.24); transform: scale(1.002); }
}

@keyframes feverDock {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

@keyframes feverGlowTop {
  0%, 100% { opacity: .58; transform: translateY(0); }
  50% { opacity: .9; transform: translateY(6px); }
}

@keyframes feverGlowBottom {
  0%, 100% { opacity: .56; transform: scaleY(1); }
  50% { opacity: .92; transform: scaleY(1.08); }
}

@keyframes feverFlame {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: .68; }
  25% { transform: translateY(-18px) scale(1.02, 1.08) rotate(-1deg); opacity: .92; }
  50% { transform: translateY(-10px) scale(.98, 1.12) rotate(1deg); opacity: .76; }
  75% { transform: translateY(-24px) scale(1.05, 1.16) rotate(-.8deg); opacity: .94; }
}


#comboText.is-hot,
#wallStatusText[data-status="overheat"],
#wallStatusText[data-status="collapse_warn"],
#wallStatusText[data-status="recovery_wait"] {
  color: #ffd36b;
  text-shadow: 0 0 10px rgba(255,157,56,0.48);
}

.daily-quote {
  position: absolute;
  z-index: 7;
  right: 22px;
  bottom: 156px;
  width: min(360px, calc(100vw - 44px));
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  background: rgba(18,13,10,0.48);
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.daily-quote span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

.daily-quote strong {
  display: block;
  color: rgba(255,247,232,.92);
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nin-stamp-effect {
  position: absolute;
  left: 50%;
  top: 45%;
  width: clamp(170px, 27vw, 340px);
  height: clamp(170px, 27vw, 340px);
  display: grid;
  place-items: center;
  border: clamp(8px, 1.4vw, 18px) solid rgba(178, 28, 20, .9);
  border-radius: 28px;
  color: rgba(178, 28, 20, .94);
  font-size: clamp(92px, 16vw, 210px);
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(-12deg) scale(.45);
  opacity: 0;
  text-shadow: none;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.28));
  animation: ninStamp 1700ms cubic-bezier(.16,.82,.18,1) forwards;
}

.nin-stamp-effect::before,
.nin-stamp-effect::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 3px solid rgba(178, 28, 20, .62);
  border-radius: 18px;
}

.nin-stamp-effect::after {
  inset: -18px;
  border-width: 2px;
  opacity: .24;
}

@keyframes bonusPulse {
  0%, 100% { filter: brightness(1) saturate(1); }
  45% { filter: brightness(1.18) saturate(1.28); }
}

@keyframes comboPulse {
  0%, 100% { filter: brightness(1) saturate(1); transform: scale(1); }
  35% { filter: brightness(1.16) saturate(1.32); transform: scale(1.004); }
}

@keyframes resonancePulse {
  0%, 100% { filter: brightness(1) saturate(1); transform: translateX(0); }
  20% { transform: translateX(-5px); filter: brightness(1.14) saturate(1.28); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

@keyframes calmPulse {
  0%, 100% { filter: brightness(1) saturate(1); }
  45% { filter: brightness(1.08) saturate(.74) contrast(.92); }
}

@keyframes overheatPulse {
  0%, 100% { filter: brightness(1) saturate(1); }
  30% { filter: brightness(.82) saturate(1.85) contrast(1.24); }
  62% { filter: brightness(1.24) saturate(1.52); }
}

@keyframes stampPulse {
  0%, 100% { filter: brightness(1) saturate(1); transform: scale(1); }
  18% { filter: brightness(1.32) saturate(1.68) contrast(1.16); transform: scale(1.012) rotate(-.18deg); }
  44% { filter: brightness(.88) saturate(1.44); transform: scale(.996) rotate(.16deg); }
}

@keyframes ninStamp {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-18deg) scale(.42); }
  18% { opacity: .96; transform: translate(-50%, -50%) rotate(-9deg) scale(1.08); }
  30% { transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
  72% { opacity: .86; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(.96); }
}

@media (max-width: 980px) {
  .daily-quote {
    right: 16px;
    bottom: 148px;
    width: min(320px, calc(100vw - 32px));
  }
}

@media (max-width: 620px) {
  .stat-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .daily-quote {
    display: none;
  }
}



.nin-flood-effect {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
  transform: translateZ(0);
}

.nin-flood-effect::after {
  content: '';
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 238, 192, .2), transparent 30%),
    radial-gradient(circle at 30% 70%, rgba(143, 19, 15, .16), transparent 32%),
    radial-gradient(circle at 74% 28%, rgba(143, 19, 15, .14), transparent 30%);
  animation: ninFloodAura 6.4s ease forwards;
}

.nin-flood-pattern {
  position: absolute;
  inset: -14%;
  opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54' viewBox='0 0 54 54'%3E%3Ctext x='27' y='37' text-anchor='middle' font-size='31' font-weight='900' fill='%23851d16' fill-opacity='.48' font-family='Arial, sans-serif'%3E%E5%BF%8D%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: multiply;
  will-change: transform, opacity;
  transform: translateZ(0);
  animation: ninFloodPattern 6.45s ease forwards;
}

.nin-flood-pattern.pattern-a {
  background-size: 42px 42px;
  transform: rotate(-5deg) scale(1.08);
}

.nin-flood-pattern.pattern-b {
  background-size: 34px 34px;
  opacity: 0;
  transform: rotate(8deg) scale(1.04);
  animation-delay: .14s;
  filter: blur(.1px);
}

.nin-flood-pattern.pattern-c {
  background-size: 62px 62px;
  transform: rotate(-13deg) scale(1.12);
  animation-delay: .26s;
  filter: blur(.25px);
}

.nin-flood-effect span {
  position: absolute;
  z-index: 2;
  color: rgba(126, 22, 18, 0.9);
  font-weight: 900;
  line-height: 1;
  mix-blend-mode: multiply;
  text-shadow: 0 2px 10px rgba(0,0,0,.18), 0 0 18px rgba(126,22,18,.16);
  opacity: 0;
  will-change: transform, opacity;
  transform: translateZ(0);
  animation: ninFloodGlyph 5.85s ease forwards;
}

@keyframes ninFloodGlyph {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(var(--flood-rotate, 0deg)); }
  10% { opacity: var(--flood-alpha, .9); transform: translate(-50%, -50%) scale(1.28) rotate(var(--flood-rotate, 0deg)); }
  54% { opacity: var(--flood-alpha, .9); transform: translate(-50%, -50%) scale(1.02) rotate(var(--flood-rotate, 0deg)); }
  84% { opacity: .52; transform: translate(-50%, -50%) scale(.96) rotate(var(--flood-rotate, 0deg)); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(.78) rotate(var(--flood-rotate, 0deg)); }
}

@keyframes ninFloodPattern {
  0% { opacity: 0; transform: translate3d(-2%, -2%, 0) rotate(-5deg) scale(.98); }
  12% { opacity: .82; }
  48% { opacity: .72; transform: translate3d(2%, 1%, 0) rotate(4deg) scale(1.06); }
  82% { opacity: .52; }
  100% { opacity: 0; transform: translate3d(0, 3%, 0) rotate(-2deg) scale(1.02); }
}

@keyframes ninFloodAura {
  0%, 100% { opacity: 0; transform: scale(.96); }
  18% { opacity: .72; transform: scale(1.04); }
  70% { opacity: .46; }
}

@keyframes ninFloodPulse {
  0%, 100% { filter: brightness(1) saturate(1); }
  18% { filter: brightness(1.22) saturate(1.28) contrast(1.06); }
  42% { filter: brightness(1.1) saturate(1.16) contrast(1.03); }
  70% { filter: brightness(1.17) saturate(1.23); }
}

@keyframes fullScreenEffectFlash {
  0% { opacity: 0; transform: scale(.94); }
  18% { opacity: 1; transform: scale(1.02); }
  70% { opacity: .35; }
  100% { opacity: 0; transform: scale(1.06); }
}

.event-preview-panel {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100vw - 36px));
  z-index: 130;
  display: none;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.event-preview-panel.is-open {
  display: flex;
}

.event-preview-card {
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(24,18,14,.9);
  box-shadow: 0 22px 70px rgba(0,0,0,.36);
  color: var(--text);
  pointer-events: auto;
  backdrop-filter: blur(12px);
}

.event-preview-panel.is-collapsed {
  width: auto;
  bottom: auto;
}

.event-preview-panel.is-collapsed .event-preview-card {
  display: none;
}

.event-preview-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(247,201,72,.46);
  border-radius: 999px;
  background: rgba(24,18,14,.9);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
  pointer-events: auto;
  backdrop-filter: blur(12px);
}

.event-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.event-preview-head strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.event-preview-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.event-preview-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.event-preview-head button {
  border: 1px solid rgba(247,201,72,.46);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(247,201,72,.14);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.event-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: calc(100vh - 122px);
  overflow: auto;
  padding: 12px 14px 16px;
}

.event-preview-btn {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  padding: 11px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.event-preview-btn:hover {
  border-color: rgba(247,201,72,.44);
  background: rgba(247,201,72,.11);
}

.event-preview-btn span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.event-preview-btn em {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.24);
  color: rgba(255,247,232,.72);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .event-preview-panel {
    top: 10px;
    right: 10px;
    bottom: 74px;
    width: min(310px, calc(100vw - 20px));
  }
  .event-preview-head {
    padding: 13px;
  }
  .event-preview-head p {
    display: none;
  }
  .event-preview-grid {
    max-height: calc(100vh - 150px);
    padding: 10px;
  }
}


/* Today ranking panel */
.rank-panel {
  position: absolute;
  z-index: 8;
  right: 22px;
  top: 98px;
  width: min(280px, calc(100vw - 44px));
  pointer-events: auto;
}

.rank-toggle,
.rank-head button {
  border: 1px solid rgba(247,201,72,.46);
  border-radius: 999px;
  background: rgba(24,18,14,.72);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.rank-toggle {
  min-height: 38px;
  padding: 0 13px;
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
}

.rank-card {
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(18,13,10,.66);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.rank-panel.is-collapsed .rank-card { display: none; }
.rank-panel:not(.is-collapsed) .rank-toggle { display: none; }

.rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.rank-head strong { font-size: 14px; font-weight: 900; letter-spacing: -.04em; }
.rank-head button { padding: 6px 9px; }

.rank-list {
  list-style: none;
  margin: 0;
  padding: 10px 12px 4px;
  display: grid;
  gap: 7px;
}

.rank-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: rgba(255,247,232,.86);
  font-size: 12px;
  font-weight: 900;
}

.rank-list span { color: var(--gold); }
.my-rank {
  margin: 0;
  padding: 10px 12px 12px;
  color: rgba(255,247,232,.68);
  font-size: 12px;
  font-weight: 900;
}

/* Local codex drawer */
.codex-backdrop {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: none;
  justify-content: flex-end;
  padding: 18px;
  pointer-events: none;
}

.codex-backdrop.is-open { display: flex; }

.codex-drawer {
  width: min(430px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(24,18,14,.94);
  color: var(--text);
  box-shadow: 0 26px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(16px);
  overflow: hidden;
  pointer-events: auto;
}

.codex-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.codex-head strong { display: block; font-size: 21px; font-weight: 900; letter-spacing: -.06em; }
.codex-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; font-weight: 800; }
.codex-head button,
.codex-tabs button {
  border: 1px solid rgba(247,201,72,.42);
  border-radius: 999px;
  background: rgba(247,201,72,.13);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.codex-head button { padding: 8px 11px; }

.codex-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.codex-tabs button { padding: 8px 10px; background: rgba(255,255,255,.06); color: rgba(255,247,232,.72); }
.codex-tabs button.is-active { background: rgba(247,201,72,.18); color: var(--gold); }

.codex-body {
  display: grid;
  gap: 8px;
  padding: 14px;
  overflow: auto;
}

.codex-summary {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(247,201,72,.12);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.codex-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}

.codex-item.is-done { border-color: rgba(247,201,72,.34); background: rgba(247,201,72,.1); }
.codex-item strong { font-size: 14px; font-weight: 900; }
.codex-item p { grid-column: 1 / -1; margin: 0; color: rgba(255,247,232,.62); font-size: 12px; line-height: 1.45; font-weight: 800; }
.codex-item span { padding: 5px 8px; border-radius: 999px; background: rgba(0,0,0,.22); color: rgba(255,247,232,.68); font-size: 11px; font-weight: 900; }
.codex-item.is-done span { color: var(--gold); }

.codex-level {
  gap: 8px;
}

.codex-level-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.codex-level-head span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(247,201,72,.13);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.codex-progress {
  grid-column: 1 / -1;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0,0,0,.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.codex-progress i {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(247,201,72,.72), rgba(255,242,187,.96));
  box-shadow: 0 0 16px rgba(247,201,72,.36);
}

.codex-item small {
  grid-column: 1 / -1;
  color: rgba(255,247,232,.58);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.codex-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.codex-report-grid article {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}
.codex-report-grid span { display: block; color: var(--muted); font-size: 11px; font-weight: 900; }
.codex-report-grid strong { display: block; margin-top: 4px; font-size: 20px; font-weight: 900; letter-spacing: -.05em; }

.codex-rank-block {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}
.codex-rank-block > strong { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 900; }
.codex-rank-block ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.codex-rank-block li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 12px; background: rgba(0,0,0,.18); font-weight: 900; }
.codex-rank-block em { font-style: normal; color: var(--gold); }
.codex-rank-block p { margin: 12px 0 0; color: rgba(255,247,232,.72); font-size: 13px; font-weight: 900; }

.codex-notice {
  margin: 0;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,247,232,.62);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 800;
}

@media (max-width: 980px) {
  .rank-panel { top: 190px; right: 16px; width: min(260px, calc(100vw - 32px)); }
}

@media (max-width: 620px) {
  .rank-panel { top: 160px; right: 10px; width: min(220px, calc(100vw - 20px)); }
  .codex-backdrop { padding: 10px; }
  .codex-drawer { width: min(360px, calc(100vw - 20px)); max-height: calc(100vh - 20px); }
  .codex-head p { display: none; }
  .codex-report-grid { grid-template-columns: 1fr; }
}


/* Click and responsive layout hotfix */
.main-adfit-area {
  pointer-events: none;
  min-height: 0;
  max-height: var(--adfit-height, 100px);
  overflow: hidden;
}
.main-adfit-area .adfit-wrap,
.main-adfit-area ins,
.main-adfit-area iframe {
  pointer-events: auto;
}

.wall-topbar {
  right: 24px;
  justify-content: space-between;
  max-width: calc(100vw - 48px);
}
.top-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(620px, 56vw);
}

.button-dock {
  z-index: 90;
}
.nin-button {
  position: relative;
  z-index: 91;
  touch-action: manipulation;
}
.stat-panel,
.rank-panel {
  z-index: 12;
}
.chat-box {
  z-index: 20;
}

@media (max-width: 980px) {
  .wall-topbar {
    left: 14px;
    right: 14px;
    top: 12px;
    gap: 10px;
  }
  .top-actions {
    max-width: 58vw;
  }
  .stat-panel {
    top: 98px;
    left: 14px;
    right: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }
  .rank-panel {
    top: 190px;
  }
}

@media (max-width: 700px) {
  .wall-topbar {
    align-items: flex-start;
  }
  .top-actions {
    max-width: min(240px, 58vw);
    gap: 5px;
  }
  .link-btn,
  .status-pill {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 10px;
  }
  .stat-panel {
    top: 110px;
    display: grid;
    grid-template-columns: repeat(8, minmax(72px, 1fr));
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .stat-panel::-webkit-scrollbar { display: none; }
  .stat-panel article {
    min-width: 72px;
    padding: 7px 7px;
    border-radius: 14px;
  }
  .stat-panel strong {
    font-size: 14px;
  }
  .rank-panel {
    top: 164px;
    right: 10px;
    width: min(220px, calc(100vw - 20px));
  }
  .button-dock {
    bottom: 62px;
    width: 144px;
  }
  .nin-button {
    width: 116px;
    height: 116px;
  }
  .nin-symbol { font-size: 56px; }
  .nin-text { font-size: 12px; }
  .chat-box {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    grid-template-columns: 1fr 54px;
  }
}

@media (max-width: 420px) {
  h1 { font-size: 23px; }
  .eyebrow { font-size: 10px; }
  .top-actions { max-width: 210px; }
  .stat-panel {
    top: 104px;
    grid-template-columns: repeat(8, minmax(66px, 1fr));
  }
  .stat-panel article { min-width: 66px; }
  .rank-panel { top: 154px; }
}

@media (max-width: 820px) and (max-height: 560px) {
  .wall-topbar { top: 8px; }
  .top-actions .link-btn:nth-last-child(-n+2) { display: none; }
  .stat-panel {
    top: 58px;
    left: 10px;
    right: 10px;
    grid-template-columns: repeat(8, minmax(68px, 1fr));
  }
  .stat-panel article {
    padding: 5px 6px;
    min-width: 68px;
  }
  .stat-panel span { font-size: 9px; }
  .stat-panel strong { font-size: 13px; }
  .rank-panel {
    top: 104px;
    width: 204px;
  }
  .button-dock {
    bottom: 48px;
    width: 104px;
  }
  .nin-button {
    width: 92px;
    height: 92px;
  }
  .nin-symbol { font-size: 44px; }
  .nin-text { font-size: 10px; }
  .chat-box {
    bottom: 8px;
  }
  .chat-box input,
  .chat-box button {
    height: 36px;
  }
}


/* Top menu and dashboard separation fix */
.wall-topbar {
  z-index: 40;
  display: block;
  pointer-events: none;
}

.wall-topbar > div:first-child {
  display: inline-block;
  max-width: min(360px, calc(100vw - 48px));
}

.top-actions {
  position: absolute;
  left: 0;
  top: 74px;
  z-index: 41;
  justify-content: flex-start;
  align-items: center;
  max-width: min(560px, calc(100vw - 48px));
  pointer-events: auto;
}

.stat-panel {
  z-index: 30;
}

@media (max-width: 980px) {
  .top-actions {
    top: 70px;
    max-width: calc(100vw - 28px);
    justify-content: flex-start;
  }

  .stat-panel {
    top: 112px;
  }

  .rank-panel {
    top: 204px;
  }
}

@media (max-width: 700px) {
  .top-actions {
    top: 58px;
    max-width: calc(100vw - 28px);
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .top-actions::-webkit-scrollbar {
    display: none;
  }

  .top-actions .link-btn,
  .top-actions .status-pill {
    flex: 0 0 auto;
  }

  .stat-panel {
    top: 104px;
  }

  .rank-panel {
    top: 158px;
  }
}

@media (max-width: 420px) {
  .top-actions {
    top: 54px;
    max-width: calc(100vw - 28px);
  }

  .stat-panel {
    top: 98px;
  }

  .rank-panel {
    top: 150px;
  }
}

@media (max-width: 820px) and (max-height: 560px) {
  .top-actions {
    top: 42px;
    max-width: calc(100vw - 20px);
  }

  .stat-panel {
    top: 82px;
  }

  .rank-panel {
    top: 128px;
  }
}


/* AdFit placement additions: daily quote, report modal, codex drawer */
.daily-quote-stack {
  position: absolute;
  z-index: 7;
  right: 22px;
  bottom: 156px;
  width: min(360px, calc(100vw - 44px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.daily-quote-stack .daily-quote {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  pointer-events: none;
}

.daily-quote-adfit-area,
.modal-adfit-area,
.codex-adfit-area {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: auto;
}

.daily-quote-adfit-area .adfit-wrap,
.modal-adfit-area .adfit-wrap,
.codex-adfit-area .adfit-wrap {
  margin: 0 auto;
}

.modal-adfit-area {
  flex: 0 0 auto;
  padding: 0 18px 18px;
}

.codex-adfit-area {
  flex: 0 0 auto;
  padding: 0 14px 14px;
}

.report-panel {
  display: flex;
  flex-direction: column;
}

.report-list {
  flex: 1 1 auto;
  min-height: 0;
}

@media (max-width: 980px) {
  .daily-quote-stack {
    right: 16px;
    bottom: 148px;
    width: min(320px, calc(100vw - 32px));
  }
}

@media (max-width: 620px) {
  .daily-quote-stack {
    display: none;
  }
}

/* AdFit bottom placement normalization */
.content-adfit-area-bottom,
.codex-adfit-area,
.modal-adfit-area,
.daily-quote-adfit-area {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.content-adfit-area-bottom {
  margin-top: 34px !important;
}


/* Mobile dashboard layout fix: no horizontal scroll, no content/menu overlap */
.stat-mobile-toggle {
  display: none;
}

@media (max-width: 700px) {
  .wall-topbar {
    left: 10px !important;
    right: 10px !important;
    top: 8px !important;
    max-width: calc(100vw - 20px) !important;
  }

  .wall-topbar > div:first-child {
    max-width: calc(100vw - 20px) !important;
  }

  .wall-topbar h1,
  h1 {
    font-size: 22px !important;
    line-height: .98 !important;
  }

  .eyebrow {
    margin-bottom: 2px !important;
    font-size: 10px !important;
  }

  .top-actions {
    left: 0 !important;
    right: 0 !important;
    top: 48px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .top-actions .status-pill {
    display: none !important;
  }

  .top-actions .link-btn {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 30px !important;
    padding: 5px 4px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .main-adfit-area {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 86px !important;
    z-index: 16 !important;
    width: 100% !important;
    min-height: var(--adfit-height, 100px) !important;
    max-height: var(--adfit-height, 100px) !important;
    margin: 0 !important;
    pointer-events: none !important;
  }

  .main-adfit-area .adfit-wrap,
  .main-adfit-area ins,
  .main-adfit-area iframe {
    pointer-events: auto !important;
  }

  .stat-mobile-toggle {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 196px;
    z-index: 36;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(18,13,10,.72);
    color: var(--text);
    box-shadow: 0 14px 34px rgba(0,0,0,.24);
    backdrop-filter: blur(12px);
    cursor: pointer;
    touch-action: manipulation;
  }

  .stat-mobile-toggle span {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
  }

  .stat-mobile-toggle strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255,247,232,.9);
    font-size: 12px;
    font-weight: 900;
    text-align: right;
  }

  .stat-panel {
    left: 10px !important;
    right: 10px !important;
    top: 242px !important;
    z-index: 35 !important;
    display: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    max-width: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body.stat-panel-open .stat-panel {
    display: grid !important;
  }

  .stat-panel article {
    min-width: 0 !important;
    padding: 8px 9px !important;
    border-radius: 14px !important;
  }

  .stat-panel span {
    font-size: 10px !important;
  }

  .stat-panel strong {
    font-size: 18px !important;
  }

  .rank-panel {
    top: 244px !important;
    right: 10px !important;
    width: min(220px, calc(100vw - 20px)) !important;
    z-index: 34 !important;
  }

  body.stat-panel-open .rank-panel {
    top: 540px !important;
  }

  .rank-card {
    max-height: min(260px, calc(100vh - 285px));
    overflow: auto;
  }

  body.stat-panel-open .rank-card {
    max-height: min(220px, calc(100vh - 570px));
  }

  .chat-wall,
  .crack-layer {
    clip-path: inset(230px 0 82px 0);
  }

  body.stat-panel-open .chat-wall,
  body.stat-panel-open .crack-layer {
    clip-path: inset(510px 0 82px 0);
  }

  .wall-empty {
    top: 58% !important;
  }

  .button-dock {
    bottom: 58px !important;
    width: 138px !important;
  }

  .nin-button {
    width: 112px !important;
    height: 112px !important;
  }

  .nin-symbol { font-size: 54px !important; }
  .nin-text { font-size: 12px !important; }

  .chat-box {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    max-width: none !important;
    grid-template-columns: 1fr 56px !important;
    z-index: 45 !important;
  }

  .chat-box input,
  .chat-box button {
    height: 40px !important;
  }
}

@media (max-width: 700px) and (max-height: 760px) {
  .main-adfit-area {
    transform: scale(.92);
    transform-origin: top center;
  }

  .stat-mobile-toggle {
    top: 184px;
  }

  .stat-panel {
    top: 228px !important;
  }

  .stat-panel article {
    padding: 6px 8px !important;
  }

  .stat-panel strong {
    font-size: 16px !important;
  }

  .rank-panel {
    top: 230px !important;
  }

  body.stat-panel-open .rank-panel {
    top: 500px !important;
  }

  .chat-wall,
  .crack-layer {
    clip-path: inset(218px 0 78px 0);
  }

  body.stat-panel-open .chat-wall,
  body.stat-panel-open .crack-layer {
    clip-path: inset(474px 0 78px 0);
  }

  .button-dock {
    bottom: 55px !important;
  }

  .nin-button {
    width: 104px !important;
    height: 104px !important;
  }

  .nin-symbol { font-size: 50px !important; }
}

@media (max-width: 700px) and (max-height: 620px) {
  .main-adfit-area {
    display: none !important;
  }

  .stat-mobile-toggle {
    top: 88px;
  }

  .stat-panel {
    top: 134px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .stat-panel article {
    padding: 5px 5px !important;
  }

  .stat-panel strong {
    font-size: 13px !important;
  }

  .rank-panel {
    top: 136px !important;
    width: min(200px, calc(100vw - 20px)) !important;
  }

  body.stat-panel-open .rank-panel {
    top: 222px !important;
  }

  .chat-wall,
  .crack-layer {
    clip-path: inset(128px 0 70px 0);
  }

  body.stat-panel-open .chat-wall,
  body.stat-panel-open .crack-layer {
    clip-path: inset(215px 0 70px 0);
  }

  .button-dock {
    bottom: 50px !important;
  }

  .nin-button {
    width: 88px !important;
    height: 88px !important;
  }

  .nin-symbol { font-size: 42px !important; }
  .nin-text { font-size: 10px !important; }
}

/* Main top AdFit removed */
.main-adfit-area{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}


/* Final mobile header order fix: menu -> dashboard toggle -> content, no unused ad gap */
@media (max-width: 700px) {
  .wall-topbar {
    top: 8px !important;
  }

  .top-actions {
    top: 48px !important;
    z-index: 50 !important;
  }

  .stat-mobile-toggle {
    top: 86px !important;
    z-index: 49 !important;
  }

  .stat-panel {
    top: 132px !important;
    z-index: 48 !important;
  }

  .rank-panel {
    top: 136px !important;
    z-index: 38 !important;
  }

  body.stat-panel-open .rank-panel {
    top: 392px !important;
  }

  .rank-card {
    max-height: min(260px, calc(100vh - 180px)) !important;
  }

  body.stat-panel-open .rank-card {
    max-height: min(220px, calc(100vh - 430px)) !important;
  }

  .chat-wall,
  .crack-layer {
    clip-path: inset(128px 0 82px 0) !important;
  }

  body.stat-panel-open .chat-wall,
  body.stat-panel-open .crack-layer {
    clip-path: inset(382px 0 82px 0) !important;
  }
}

@media (max-width: 700px) and (max-height: 760px) {
  .stat-mobile-toggle {
    top: 84px !important;
  }

  .stat-panel {
    top: 128px !important;
  }

  .rank-panel {
    top: 132px !important;
  }

  body.stat-panel-open .rank-panel {
    top: 368px !important;
  }

  .chat-wall,
  .crack-layer {
    clip-path: inset(124px 0 78px 0) !important;
  }

  body.stat-panel-open .chat-wall,
  body.stat-panel-open .crack-layer {
    clip-path: inset(356px 0 78px 0) !important;
  }
}

@media (max-width: 700px) and (max-height: 620px) {
  .wall-topbar {
    top: 6px !important;
  }

  .top-actions {
    top: 42px !important;
  }

  .stat-mobile-toggle {
    top: 78px !important;
    min-height: 36px !important;
  }

  .stat-panel {
    top: 118px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .rank-panel {
    top: 122px !important;
  }

  body.stat-panel-open .rank-panel {
    top: 208px !important;
  }

  .chat-wall,
  .crack-layer {
    clip-path: inset(114px 0 70px 0) !important;
  }

  body.stat-panel-open .chat-wall,
  body.stat-panel-open .crack-layer {
    clip-path: inset(202px 0 70px 0) !important;
  }
}
