/* AKURO — design tokens */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&family=Noto+Sans+JP:wght@500;700;900&display=swap');

:root {
  --bg: #07050a;
  --bg-deep: #050306;
  --surface: #110a0c;
  --elevated: #1a0d11;
  --elevated-2: #221317;
  /* Translucent variants — used when the live wallpaper should show through */
  --bg-translucent:       rgba(7, 5, 10, 0.55);
  --bg-deep-translucent:  rgba(5, 3, 6, 0.55);
  --surface-translucent:  rgba(17, 10, 12, 0.55);
  --elevated-translucent: rgba(26, 13, 17, 0.6);
  --sidebar-translucent:  rgba(5, 3, 6, 0.5);
  --border: rgba(255, 80, 90, 0.08);
  --border-strong: rgba(255, 80, 90, 0.18);
  --accent: #e6232a;
  --accent-deep: #8e1318;
  --accent-glow: rgba(230, 35, 42, 0.35);
  --accent-soft: rgba(230, 35, 42, 0.12);
  --gold: #d4a248;
  --text: #f5ecea;
  --muted: #8a7676;
  --dim: #5a4a4c;
  --ok: #5db78a;

  --display: 'Anton', 'Oswald', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  --jp: 'Noto Sans JP', sans-serif;
}

/* base app frame style — used in window content */
.akuro {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv01';
  font-size: calc(14px * var(--akuro-density-scale, 1));
}

.akuro *::selection { background: var(--accent); color: white; }

body[data-akuro-theme="contrast"] .akuro {
  --bg: #09080d;
  --bg-deep: #030306;
  --surface: #181018;
  --elevated: #221725;
  --elevated-2: #2c2030;
  --bg-translucent: rgba(9, 8, 13, 0.72);
  --bg-deep-translucent: rgba(3, 3, 6, 0.72);
  --surface-translucent: rgba(24, 16, 24, 0.76);
  --elevated-translucent: rgba(34, 23, 37, 0.8);
  --sidebar-translucent: rgba(3, 3, 6, 0.72);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.28);
  --text: #fffaf7;
  --muted: #c6b6b8;
  --dim: #837477;
}

body[data-akuro-theme="amoled"],
body[data-akuro-theme="amoled"] .akuro {
  background: #000;
}

body[data-akuro-theme="amoled"] .akuro {
  --bg: #000;
  --bg-deep: #000;
  --surface: #050505;
  --elevated: #0b0b0b;
  --elevated-2: #121212;
  --bg-translucent: rgba(0, 0, 0, 0.72);
  --bg-deep-translucent: rgba(0, 0, 0, 0.72);
  --surface-translucent: rgba(5, 5, 5, 0.74);
  --elevated-translucent: rgba(11, 11, 11, 0.78);
  --sidebar-translucent: rgba(0, 0, 0, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f8f8f8;
  --muted: #9c9c9c;
  --dim: #636363;
}

body[data-akuro-density="compact"] .akuro button,
body[data-akuro-density="compact"] .akuro input,
body[data-akuro-density="compact"] .akuro select {
  min-height: 0;
}

body[data-akuro-density="spacious"] .akuro button,
body[data-akuro-density="spacious"] .akuro input,
body[data-akuro-density="spacious"] .akuro select {
  min-height: 34px;
}

body[data-akuro-animations="off"] .akuro *,
body[data-akuro-animations="off"] .akuro *::before,
body[data-akuro-animations="off"] .akuro *::after {
  transition-duration: 0.001ms !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
}

/* Scrollbars within the prototype */
.akuro ::-webkit-scrollbar { width: 6px; height: 6px; }
.akuro ::-webkit-scrollbar-track { background: transparent; }
.akuro ::-webkit-scrollbar-thumb { background: rgba(255,80,90,0.15); border-radius: 3px; }
.akuro ::-webkit-scrollbar-thumb:hover { background: rgba(255,80,90,0.3); }

/* poster placeholder — diagonal stripes with anime kanji wash */
.akuro-poster {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0d11 0%, #2a1217 50%, #1a0d11 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.akuro-poster::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0px, transparent 8px,
    rgba(230, 35, 42, 0.06) 8px, rgba(230, 35, 42, 0.06) 9px
  );
}
.akuro-poster-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 8px;
}
.akuro-poster-kanji {
  font-family: var(--jp);
  font-weight: 900;
  color: rgba(230, 35, 42, 0.4);
  line-height: 1;
}
.akuro-poster-text {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(245, 236, 234, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* slim caps-display utility */
.akuro-display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

/* mono utility */
.akuro-mono {
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* kanji watermark used as decorative oversize element */
.akuro-kanji-wash {
  font-family: var(--jp);
  font-weight: 900;
  color: var(--accent);
  opacity: 0.04;
  user-select: none;
  pointer-events: none;
  line-height: 0.85;
}

/* slim card */
.akuro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* button reset */
.akuro button { font-family: inherit; cursor: pointer; }

/* Auth screens: fill the full viewport instead of shrink-wrapping the form. */
.akuro-auth-shell {
  width: 100%;
  min-width: 0;
  height: 100%;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(480px, 540px) minmax(300px, 0.78fr);
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.akuro-auth-brand-panel {
  min-width: 0;
  padding: clamp(34px, 3.4vw, 64px) clamp(38px, 4vw, 78px);
}

.akuro-auth-form-panel {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(5,3,6,0.99), rgba(9,5,8,0.99)),
    radial-gradient(ellipse at 50% 8%, rgba(230,35,42,0.12), transparent 42%);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  box-shadow: 0 0 70px rgba(0,0,0,0.45);
  z-index: 1;
}

.akuro-auth-form-panel > div {
  min-height: 0;
}

.akuro-auth-ambient-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 22% 18%, rgba(230,35,42,0.17), transparent 34%),
    radial-gradient(ellipse at 78% 78%, rgba(212,162,72,0.11), transparent 38%),
    linear-gradient(140deg, #080407 0%, #050306 48%, #13070a 100%);
}

.akuro-auth-ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,80,90,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,80,90,0.04) 1px, transparent 1px),
    repeating-linear-gradient(-45deg, transparent 0, transparent 18px, rgba(230,35,42,0.035) 18px, rgba(230,35,42,0.035) 19px);
  background-size: 96px 96px, 96px 96px, auto;
  opacity: 0.5;
}

.akuro-auth-ambient-kanji {
  position: absolute;
  right: -0.2em;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(260px, 23vw, 520px);
  opacity: 0.055;
}

.akuro-auth-ambient-top,
.akuro-auth-ambient-bottom {
  position: absolute;
  left: clamp(28px, 3vw, 52px);
  right: clamp(28px, 3vw, 52px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
}

.akuro-auth-ambient-top { top: clamp(32px, 4vw, 66px); }
.akuro-auth-ambient-bottom { bottom: clamp(30px, 4vw, 64px); }

.akuro-auth-ambient-mark {
  position: absolute;
  left: clamp(30px, 4vw, 76px);
  bottom: clamp(104px, 13vh, 178px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
}

.akuro-auth-ambient-jp {
  font-family: var(--jp);
  font-size: clamp(48px, 5vw, 92px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--accent);
  text-shadow: 0 0 42px rgba(230,35,42,0.45);
}

@media (max-width: 1260px) {
  .akuro-auth-shell {
    grid-template-columns: minmax(420px, 1fr) minmax(460px, 520px);
  }

  .akuro-auth-ambient-panel {
    display: none;
  }
}

@media (max-width: 900px) {
  .akuro-auth-shell {
    grid-template-columns: 1fr;
  }

  .akuro-auth-brand-panel {
    display: none !important;
  }

  .akuro-auth-form-panel {
    border: 0;
  }

  .akuro-auth-form-panel > div {
    padding: 28px !important;
  }
}

@media (max-height: 760px) {
  .akuro-auth-brand-panel {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .akuro-auth-form-panel > div {
    overflow-y: auto;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

/* keyframes */
@keyframes akuro-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes akuro-spin {
  to { transform: rotate(360deg); }
}
@keyframes akuro-glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
}
/* Soft glow pulse for the HLS-available chip on anime cards.
   Kept small (opacity + box-shadow only — no transform) so it never
   competes with hover-scale on the poster itself. */
@keyframes akuro-hls-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(7,5,10,0.85), 0 2px 8px rgba(44,194,123,0.45), 0 0 14px rgba(44,194,123,0.32);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(7,5,10,0.85), 0 2px 10px rgba(44,194,123,0.7), 0 0 22px rgba(44,194,123,0.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  @keyframes akuro-hls-pulse { 0%, 100% {} }
}

/* ═══════════════════════════════════════════════════════════════
   AKURO CARDS — premium visual effects
   ═══════════════════════════════════════════════════════════════ */

/* Diagonal light sweep across a card (holographic shine). Driven by a
   moving background-position on a transparent → white → transparent band. */
@keyframes akuro-card-shine {
  0%   { transform: translateX(-120%) rotate(8deg); opacity: 0; }
  18%  { opacity: 0.55; }
  50%  { opacity: 0.55; }
  100% { transform: translateX(220%) rotate(8deg); opacity: 0; }
}

/* Slow hue-rotating foil gradient used on legendary+ cards. */
@keyframes akuro-foil-drift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Holographic rainbow shimmer for secret / akuro tier. */
@keyframes akuro-holo-shift {
  0%   { background-position: 0% 0%;   filter: hue-rotate(0deg); }
  50%  { background-position: 100% 100%; filter: hue-rotate(40deg); }
  100% { background-position: 0% 0%;   filter: hue-rotate(0deg); }
}

/* Gentle floating particle drift (used for mythic+ embers). */
@keyframes akuro-particle-float {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  15%  { opacity: 0.9; }
  85%  { opacity: 0.7; }
  100% { transform: translateY(-46px) scale(0.4); opacity: 0; }
}

/* Rarity border breathing glow. The colour comes from --rar-glow set inline. */
@keyframes akuro-rarity-breathe {
  0%, 100% { box-shadow: 0 0 0 1px var(--rar, transparent), 0 0 14px var(--rar-glow, transparent); }
  50%      { box-shadow: 0 0 0 1px var(--rar, transparent), 0 0 30px var(--rar-glow, transparent); }
}

/* Twinkle for upgrade stars. */
@keyframes akuro-star-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.82); }
}

/* Rotating conic sheen behind legendary/mythic cards. */
@keyframes akuro-conic-spin {
  to { transform: rotate(360deg); }
}

/* Entry pop for revealed cards. */
@keyframes akuro-card-pop {
  0%   { transform: translateY(18px) scale(0.82) rotateX(18deg); opacity: 0; }
  60%  { transform: translateY(-4px) scale(1.04) rotateX(0deg); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Full-screen colour wash flash when a rare card drops. */
@keyframes akuro-screen-flash {
  0%   { opacity: 0; }
  20%  { opacity: 0.6; }
  100% { opacity: 0; }
}

/* NEW card highlight — pulsing green glow ring + badge shimmer. */
@keyframes akuro-new-glow {
  0%, 100% { box-shadow: 0 0 0 1px var(--ok), 0 0 14px rgba(93,183,138,0.45); }
  50%      { box-shadow: 0 0 0 2px var(--ok), 0 0 26px rgba(93,183,138,0.85); }
}
@keyframes akuro-new-badge {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 10px rgba(93,183,138,0.7); }
  50%      { transform: translateY(-1px); box-shadow: 0 0 18px rgba(93,183,138,1); }
}
.akuro-new-ring {
  position: absolute; inset: 0;
  border-radius: 6px;
  pointer-events: none;
  z-index: 5;
  animation: akuro-new-glow 1.6s ease-in-out infinite;
}
.akuro-new-badge {
  position: absolute; top: 8px; left: -3px;
  z-index: 7;
  padding: 3px 10px 3px 8px;
  background: linear-gradient(90deg, var(--ok), #7fe0ad);
  color: #03140c;
  font-family: var(--mono);
  font-size: 9px; font-weight: 800; letter-spacing: 0.18em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  animation: akuro-new-badge 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .akuro-new-ring, .akuro-new-badge { animation: none !important; }
}
body[data-akuro-animations="off"] .akuro-new-ring,
body[data-akuro-animations="off"] .akuro-new-badge { animation: none !important; }

/* Title gradient sweep. */
@keyframes akuro-title-sweep {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── Reusable element classes ─────────────────────────────────── */

/* Wrapper that clips children — put shine/foil layers inside. */
.akuro-card-fx {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Diagonal light band. Hidden until parent is hovered (or .is-revealing). */
.akuro-card-shine {
  position: absolute;
  top: -40%;
  left: 0;
  width: 55%;
  height: 180%;
  background: linear-gradient(
    100deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.0) 35%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.0) 65%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-120%) rotate(8deg);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
}
.akuro-card-fx:hover .akuro-card-shine,
.akuro-card-shine.is-active {
  animation: akuro-card-shine 0.9s ease-out;
}

/* Foil tier — animated colourful gradient overlay (screen blend). */
.akuro-foil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(
    115deg,
    rgba(255,0,128,0.12),
    rgba(0,200,255,0.12),
    rgba(180,120,255,0.14),
    rgba(255,200,80,0.12),
    rgba(255,0,128,0.12)
  );
  background-size: 300% 300%;
  animation: akuro-foil-drift 6s ease-in-out infinite;
  opacity: 0.5;
  z-index: 2;
}

/* Holographic tier (secret / akuro) — stronger rainbow + hue rotation. */
.akuro-holo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: color-dodge;
  background: linear-gradient(
    125deg,
    rgba(255,0,170,0.22),
    rgba(0,225,255,0.20),
    rgba(120,90,255,0.22),
    rgba(0,255,170,0.20),
    rgba(255,210,60,0.22),
    rgba(255,0,170,0.22)
  );
  background-size: 320% 320%;
  animation: akuro-holo-shift 5s linear infinite;
  opacity: 0.55;
  z-index: 2;
}

/* Conic sheen disc — sits behind content, masked by the card bounds. */
.akuro-conic {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--rar-glow, rgba(255,255,255,0.25)) 60deg,
    transparent 140deg,
    transparent 220deg,
    var(--rar-glow, rgba(255,255,255,0.25)) 300deg,
    transparent 360deg
  );
  animation: akuro-conic-spin 7s linear infinite;
  opacity: 0.25;
  z-index: 0;
}

/* Floating ember particle. Position + delay set inline. */
.akuro-particle {
  position: absolute;
  bottom: 8%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rar, #fff);
  box-shadow: 0 0 6px var(--rar, #fff);
  pointer-events: none;
  z-index: 3;
  animation: akuro-particle-float 2.6s ease-in-out infinite;
}

.akuro-twinkle { animation: akuro-star-twinkle 1.8s ease-in-out infinite; }

.akuro-rarity-breathe { animation: akuro-rarity-breathe 2.4s ease-in-out infinite; }

/* VS intro — sliding panels + glitchy clash text. */
@keyframes akuro-vs-left {
  0%   { transform: translateX(-120%) skewX(-8deg); opacity: 0; }
  60%  { transform: translateX(4%) skewX(-8deg); opacity: 1; }
  100% { transform: translateX(0) skewX(-8deg); opacity: 1; }
}
@keyframes akuro-vs-right {
  0%   { transform: translateX(120%) skewX(-8deg); opacity: 0; }
  60%  { transform: translateX(-4%) skewX(-8deg); opacity: 1; }
  100% { transform: translateX(0) skewX(-8deg); opacity: 1; }
}
@keyframes akuro-vs-clash {
  0%   { transform: scale(0.2) rotate(-12deg); opacity: 0; }
  45%  { transform: scale(1.35) rotate(4deg); opacity: 1; }
  60%  { transform: scale(0.95) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes akuro-vs-fadeout {
  0%, 70% { opacity: 1; }
  100%    { opacity: 0; }
}

/* Scanline sweep used over the boss zone. */
@keyframes akuro-scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(2000%); }
}

/* Slow orbiting particle for boss aura. */
@keyframes akuro-orbit {
  0%   { transform: rotate(0deg) translateX(var(--orbit-r, 120px)) rotate(0deg); opacity: 0.7; }
  50%  { opacity: 0.35; }
  100% { transform: rotate(360deg) translateX(var(--orbit-r, 120px)) rotate(-360deg); opacity: 0.7; }
}

/* Boss death dissolve. */
@keyframes akuro-boss-dissolve {
  0%   { opacity: 1; filter: brightness(1) saturate(1); }
  100% { opacity: 0.12; filter: brightness(0.3) saturate(0) blur(3px); }
}

/* Scanline element. */
.akuro-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 2;
  opacity: 0.5;
}
.akuro-scanline-sweep {
  position: absolute;
  left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
  z-index: 2;
  animation: akuro-scanline 3.5s linear infinite;
}

.akuro-orbit-particle {
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rar, #fff);
  box-shadow: 0 0 10px var(--rar, #fff);
  pointer-events: none;
  z-index: 1;
  animation: akuro-orbit 9s linear infinite;
}

@keyframes akuro-battle-hit {
  0% { transform: translateX(0); filter: brightness(1); }
  22% { transform: translateX(-7px) rotate(-0.7deg); filter: brightness(1.7); }
  48% { transform: translateX(5px) rotate(0.5deg); }
  100% { transform: translateX(0); filter: brightness(1); }
}

@keyframes akuro-battle-critical {
  0% { transform: scale(1); filter: brightness(1); }
  18% { transform: scale(1.055) rotate(-1deg); filter: brightness(2) saturate(1.7); }
  45% { transform: scale(0.985) rotate(0.7deg); }
  100% { transform: scale(1); filter: brightness(1); }
}

@keyframes akuro-battle-shield-impact {
  0% { opacity: 0; transform: scale(0.72); }
  28% { opacity: 0.9; transform: scale(1.04); }
  100% { opacity: 0.28; transform: scale(1); }
}

@keyframes akuro-battle-heal {
  0% { filter: brightness(1); }
  42% { filter: brightness(1.55) saturate(1.35); box-shadow: 0 0 52px rgba(105,230,166,0.65); }
  100% { filter: brightness(1); }
}

@keyframes akuro-battle-burn {
  0%, 100% { filter: brightness(1); }
  35% { filter: brightness(1.45) saturate(1.7) sepia(0.28); }
  60% { filter: brightness(0.9) saturate(1.25); }
}

@keyframes akuro-battle-bleed {
  0% { clip-path: inset(0 0 0 0); filter: brightness(1); }
  35% { clip-path: inset(2% 0 0 0); filter: brightness(1.45) saturate(1.8); }
  100% { clip-path: inset(0 0 0 0); filter: brightness(1); }
}

@keyframes akuro-battle-stun {
  0%, 100% { transform: translateX(0); filter: brightness(1); }
  20% { transform: translateX(-4px); filter: brightness(1.8) saturate(0.65); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); filter: brightness(1.35); }
}

@keyframes akuro-battle-screen-flash {
  0% { opacity: 0; }
  18% { opacity: 0.55; }
  100% { opacity: 0; }
}

.akuro-battle-card.is-attack,
.akuro-battle-boss.is-attack,
.akuro-battle-card.is-ultimate,
.akuro-battle-boss.is-ultimate {
  animation: akuro-battle-hit 0.42s ease-out !important;
}

.akuro-battle-card.is-critical,
.akuro-battle-boss.is-critical {
  animation: akuro-battle-critical 0.58s cubic-bezier(.2,.8,.3,1) !important;
}

.akuro-battle-card.is-heal {
  animation: akuro-battle-heal 0.7s ease-out !important;
}

.akuro-battle-card.is-shield {
  animation: akuro-battle-shield-impact 0.65s ease-out !important;
}

.akuro-battle-card.is-burn,
.akuro-battle-boss.is-burn {
  animation: akuro-battle-burn 0.68s ease-out !important;
}

.akuro-battle-card.is-bleed,
.akuro-battle-boss.is-bleed {
  animation: akuro-battle-bleed 0.62s ease-out !important;
}

.akuro-battle-card.is-stun,
.akuro-battle-boss.is-stun {
  animation: akuro-battle-stun 0.65s ease-out !important;
}

.akuro-battle-shield {
  position: absolute;
  inset: 4px;
  z-index: 4;
  pointer-events: none;
  border: 2px solid rgba(102,217,255,0.78);
  box-shadow:
    inset 0 0 24px rgba(102,217,255,0.24),
    0 0 18px rgba(102,217,255,0.48);
  background:
    linear-gradient(120deg, transparent 15%, rgba(102,217,255,0.14) 45%, transparent 72%);
  clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
  animation: akuro-battle-shield-impact 0.7s ease-out;
}

.akuro-battle-shield-value {
  position: absolute;
  top: 30px;
  right: 6px;
  z-index: 5;
  padding: 3px 6px;
  color: #b9efff;
  background: rgba(4,13,20,0.78);
  border: 1px solid rgba(102,217,255,0.7);
  box-shadow: 0 0 12px rgba(102,217,255,0.38);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.akuro-battle-wound {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 44%, rgba(255,35,64,0.52) 47%, transparent 50%),
    radial-gradient(circle at 50% 70%, transparent 35%, rgba(120,0,18,0.38) 100%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.akuro-battle-card.is-wounded {
  outline: 1px solid rgba(255,35,64,0.52);
  outline-offset: -2px;
}

.akuro-battle-screen-fx {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  animation: akuro-battle-screen-flash 0.65s ease-out;
}

.akuro-battle-screen-fx.is-critical,
.akuro-battle-screen-fx.is-bleed {
  background: linear-gradient(108deg, transparent 36%, rgba(255,35,64,0.38) 49%, transparent 52%);
}

.akuro-battle-screen-fx.is-shield {
  background: radial-gradient(circle at center, rgba(102,217,255,0.25), transparent 58%);
}

.akuro-battle-screen-fx.is-heal {
  background: radial-gradient(circle at center, rgba(105,230,166,0.24), transparent 62%);
}

.akuro-battle-screen-fx.is-burn {
  background: linear-gradient(to top, rgba(255,93,30,0.32), transparent 54%);
}

.akuro-battle-screen-fx.is-stun {
  background: repeating-linear-gradient(112deg, transparent 0 42px, rgba(139,220,255,0.2) 44px 47px);
}

/* Animated gradient title text. */
.akuro-title-glow {
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    #ff8a5c 25%,
    var(--gold) 50%,
    #ff8a5c 75%,
    var(--accent) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: akuro-title-sweep 6s linear infinite;
}

/* Reduced-motion: stop every card animation, leave static visuals. */
@media (prefers-reduced-motion: reduce) {
  .akuro-card-shine,
  .akuro-foil,
  .akuro-holo,
  .akuro-conic,
  .akuro-particle,
  .akuro-twinkle,
  .akuro-rarity-breathe,
  .akuro-title-glow,
  .akuro-scanline-sweep,
  .akuro-orbit-particle,
  .akuro-battle-card,
  .akuro-battle-boss,
  .akuro-battle-shield,
  .akuro-battle-screen-fx {
    animation: none !important;
  }
}
body[data-akuro-animations="off"] .akuro-card-shine,
body[data-akuro-animations="off"] .akuro-foil,
body[data-akuro-animations="off"] .akuro-holo,
body[data-akuro-animations="off"] .akuro-conic,
body[data-akuro-animations="off"] .akuro-particle,
body[data-akuro-animations="off"] .akuro-twinkle,
body[data-akuro-animations="off"] .akuro-rarity-breathe,
body[data-akuro-animations="off"] .akuro-title-glow,
body[data-akuro-animations="off"] .akuro-scanline-sweep,
body[data-akuro-animations="off"] .akuro-orbit-particle,
body[data-akuro-animations="off"] .akuro-battle-card,
body[data-akuro-animations="off"] .akuro-battle-boss,
body[data-akuro-animations="off"] .akuro-battle-shield,
body[data-akuro-animations="off"] .akuro-battle-screen-fx {
  animation: none !important;
}

/* ── Battle UX: tactical controls + cinematics ─────────────────── */

/* Pulsing golden ring on a card whose ultimate is charged and waiting
   for the player's click (manual mode). Armed cards switch to a steady
   ring via inline style. */
@keyframes akuro-ult-ready {
  0%, 100% { box-shadow: 0 0 0 2px #ffd86b, 0 0 16px rgba(255, 216, 107, 0.45); }
  50%      { box-shadow: 0 0 0 3px #ffd86b, 0 0 34px rgba(255, 216, 107, 0.9); }
}
.akuro-ult-ready { animation: akuro-ult-ready 1.1s ease-in-out infinite !important; }

/* Round banner — "РАУНД N" slides in, holds a beat, slides out. */
@keyframes akuro-round-sweep {
  0%   { opacity: 0; transform: translateX(-44px) skewX(-8deg); }
  18%  { opacity: 1; transform: translateX(0) skewX(-8deg); }
  78%  { opacity: 1; transform: translateX(0) skewX(-8deg); }
  100% { opacity: 0; transform: translateX(38px) skewX(-8deg); }
}
.akuro-round-sweep { animation: akuro-round-sweep 0.95s cubic-bezier(.2, .7, .3, 1) forwards; }

/* Ultimate cinematic banner — pops in and settles. */
@keyframes akuro-ult-banner {
  0%   { opacity: 0; transform: translateY(16px) scale(0.94); }
  16%  { opacity: 1; transform: translateY(0) scale(1); }
  82%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-10px) scale(1.02); }
}
.akuro-ult-banner { animation: akuro-ult-banner 0.72s ease-out forwards; }

/* Red edge vignette inside the boss zone while its ultimate is due. */
@keyframes akuro-danger-pulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.75; }
}
.akuro-danger-vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background:
    linear-gradient(to right,  rgba(230, 35, 42, 0.3), transparent 14%),
    linear-gradient(to left,   rgba(230, 35, 42, 0.3), transparent 14%),
    linear-gradient(to top,    rgba(230, 35, 42, 0.24), transparent 18%),
    linear-gradient(to bottom, rgba(230, 35, 42, 0.24), transparent 18%);
  animation: akuro-danger-pulse 0.85s ease-in-out infinite;
}

/* Floating embers in the battle backdrop. Per-ember randomness comes in
   via CSS variables set inline (--ember-*). */
@keyframes akuro-ember {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  12%  { opacity: var(--ember-a, 0.45); }
  80%  { opacity: var(--ember-a, 0.45); }
  100% { transform: translateY(-52vh) translateX(var(--ember-x, 20px)) scale(0.35); opacity: 0; }
}
.akuro-ember {
  position: absolute; bottom: 6%;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ember-c, #ff8a5c);
  box-shadow: 0 0 6px var(--ember-c, #ff8a5c);
  pointer-events: none;
  animation: akuro-ember var(--ember-t, 7s) linear infinite;
  animation-delay: var(--ember-d, 0s);
}

/* Outcome stamp — "勝利 / 敗北" slams into the centre like a hanko seal,
   holds a beat, then fades so it doesn't block the report. */
@keyframes akuro-stamp {
  0%   { opacity: 0; transform: scale(2.4) rotate(-7deg); }
  28%  { opacity: 1; transform: scale(0.94) rotate(-7deg); }
  40%  { transform: scale(1.06) rotate(-7deg); }
  50%  { transform: scale(1) rotate(-7deg); }
  78%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.02) rotate(-7deg); }
}
.akuro-stamp { animation: akuro-stamp 1.7s cubic-bezier(.2, .8, .3, 1.05) forwards; }

/* Whole-screen jolt on critical hits. */
@keyframes akuro-screen-shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6px, 3px); }
  40% { transform: translate(5px, -4px); }
  60% { transform: translate(-4px, 2px); }
  80% { transform: translate(3px, -1px); }
}
.akuro-screen-shake { animation: akuro-screen-shake 0.3s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .akuro-ult-ready,
  .akuro-round-sweep,
  .akuro-ult-banner,
  .akuro-danger-vignette,
  .akuro-stamp,
  .akuro-screen-shake,
  .akuro-ember {
    animation: none !important;
  }
  .akuro-ember { display: none; }
}
body[data-akuro-animations="off"] .akuro-ult-ready,
body[data-akuro-animations="off"] .akuro-round-sweep,
body[data-akuro-animations="off"] .akuro-ult-banner,
body[data-akuro-animations="off"] .akuro-danger-vignette,
body[data-akuro-animations="off"] .akuro-stamp,
body[data-akuro-animations="off"] .akuro-screen-shake,
body[data-akuro-animations="off"] .akuro-ember {
  animation: none !important;
}
body[data-akuro-animations="off"] .akuro-ember { display: none; }

/* ── Anime discussions ─────────────────────────────────────────────── */
.akuro-discussion-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: var(--text);
}

.akuro-discussion-heading {
  min-height: 104px;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--border);
}

.akuro-discussion-heading > div:nth-child(2) > span,
.akuro-review-editor-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.akuro-discussion-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.akuro-discussion-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.akuro-discussion-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 35, 42, 0.48);
  background: rgba(230, 35, 42, 0.08);
  color: var(--accent);
  font-family: var(--jp);
  font-size: 28px;
  box-shadow: inset 0 0 28px rgba(230, 35, 42, 0.08);
}

.akuro-discussion-mark.is-gold {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  box-shadow: inset 0 0 28px rgba(212, 175, 55, 0.08);
}

.akuro-discussion-count {
  min-width: 128px;
  padding-left: 22px;
  border-left: 1px solid var(--border);
  text-align: right;
}

.akuro-discussion-count b {
  display: block;
  color: var(--accent);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.akuro-discussion-count.is-gold b { color: var(--gold); }

.akuro-discussion-count span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.akuro-discussion-composer {
  display: flex;
  gap: 14px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(110deg, rgba(230, 35, 42, 0.045), rgba(255, 255, 255, 0.018));
}

.akuro-discussion-composer-body { min-width: 0; flex: 1; }

.akuro-discussion-input,
.akuro-discussion-title-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  background: rgba(5, 3, 6, 0.66);
  color: var(--text);
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.6;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
}

.akuro-discussion-input {
  min-height: 94px;
  padding: 13px 14px;
  resize: vertical;
}

.akuro-discussion-input.is-review { min-height: 152px; }

.akuro-discussion-title-input {
  height: 42px;
  margin-bottom: 10px;
  padding: 0 13px;
}

.akuro-discussion-input:focus,
.akuro-discussion-title-input:focus {
  border-color: rgba(230, 35, 42, 0.72);
  background: rgba(10, 6, 9, 0.9);
  box-shadow: 0 0 0 2px rgba(230, 35, 42, 0.08);
}

.akuro-discussion-input::placeholder,
.akuro-discussion-title-input::placeholder { color: rgba(170, 154, 158, 0.58); }

.akuro-discussion-composer-actions,
.akuro-review-editor-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.akuro-discussion-composer-actions > span,
.akuro-review-editor-actions > span {
  margin-right: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.akuro-review-editor-actions > span.is-short { color: #e58a45; }

.akuro-discussion-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.akuro-discussion-toolbar strong {
  display: block;
  font-size: 14px;
}

.akuro-discussion-toolbar > div:first-child > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.akuro-discussion-segment {
  display: inline-flex;
  height: 32px;
  border: 1px solid var(--border);
  background: rgba(3, 2, 4, 0.55);
}

.akuro-discussion-segment button {
  min-width: 74px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.akuro-discussion-segment button:last-child { border-right: 0; }
.akuro-discussion-segment button:hover { color: var(--text); background: rgba(255, 255, 255, 0.035); }
.akuro-discussion-segment button.is-active { color: #fff; background: var(--accent); }

.akuro-comment-list,
.akuro-review-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.akuro-comment-row {
  display: flex;
  gap: 14px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
}

.akuro-comment-row:hover { background: linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent); }
.akuro-comment-content { min-width: 0; flex: 1; }

.akuro-comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.akuro-comment-meta > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.akuro-comment-meta strong {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.akuro-comment-meta time {
  flex-shrink: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.akuro-comment-content > p,
.akuro-review-content > p {
  margin: 0;
  color: rgba(245, 236, 234, 0.86);
  font-size: 13px;
  line-height: 1.68;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.akuro-mine-label,
.akuro-spoiler-label {
  padding: 2px 5px;
  border: 1px solid rgba(230, 35, 42, 0.42);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.akuro-spoiler-label {
  border-color: rgba(229, 138, 69, 0.42);
  color: #e58a45;
}

.akuro-discussion-link {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.akuro-discussion-link:hover { color: var(--text); }
.akuro-discussion-link.is-danger:hover { color: var(--accent); }
.akuro-discussion-link:disabled { cursor: wait; opacity: 0.45; }

.akuro-discussion-empty {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}

.akuro-discussion-empty > span {
  color: rgba(230, 35, 42, 0.3);
  font-family: var(--jp);
  font-size: 52px;
}

.akuro-discussion-empty strong { margin-top: 5px; color: var(--text); font-size: 14px; }
.akuro-discussion-empty p { margin: 7px 0 0; font-size: 12px; }

.akuro-discussion-loading,
.akuro-discussion-error {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
}

.akuro-discussion-loading span {
  width: 5px;
  height: 22px;
  background: var(--accent);
  animation: akuro-discussion-pulse 0.9s ease-in-out infinite alternate;
}

.akuro-discussion-loading span:nth-child(2) { animation-delay: 0.15s; }
.akuro-discussion-loading span:nth-child(3) { animation-delay: 0.3s; }
.akuro-discussion-loading b { margin-left: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }

.akuro-discussion-error { justify-content: space-between; border-color: rgba(230, 35, 42, 0.34); }
.akuro-discussion-error strong,
.akuro-discussion-error span { display: block; }
.akuro-discussion-error strong { font-size: 12px; }
.akuro-discussion-error span { margin-top: 5px; color: var(--muted); font-size: 11px; }

@keyframes akuro-discussion-pulse {
  from { opacity: 0.25; transform: scaleY(0.55); }
  to { opacity: 1; transform: scaleY(1); }
}

.akuro-review-overview {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(430px, 1.6fr);
  gap: 18px;
  margin: 24px 0;
}

.akuro-review-summary,
.akuro-review-editor {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
}

.akuro-review-summary { padding: 20px; }
.akuro-review-editor { padding: 20px; background: linear-gradient(135deg, rgba(212, 175, 55, 0.045), rgba(255, 255, 255, 0.015)); }

.akuro-review-average {
  font-family: var(--display);
  font-size: 50px;
  line-height: 0.95;
}

.akuro-review-average span { margin-left: 4px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.akuro-review-summary > p { margin: 9px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.akuro-review-bars { display: grid; gap: 5px; }
.akuro-review-bars > div { display: grid; grid-template-columns: 14px minmax(60px, 1fr) 20px; align-items: center; gap: 7px; }
.akuro-review-bars span,
.akuro-review-bars em { color: var(--muted); font-family: var(--mono); font-size: 8px; font-style: normal; }
.akuro-review-bars em { text-align: right; }
.akuro-review-bars i { height: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.06); }
.akuro-review-bars i b { display: block; height: 100%; min-width: 0; }

.akuro-review-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.akuro-review-editor-head strong { display: block; font-size: 14px; }
.akuro-score-picker { display: grid; grid-template-columns: repeat(10, minmax(32px, 1fr)); gap: 5px; margin-bottom: 12px; }
.akuro-score-picker button {
  height: 34px;
  border: 1px solid var(--border);
  background: rgba(3, 2, 4, 0.6);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}
.akuro-score-picker button:hover { border-color: var(--border-strong); color: var(--text); }
.akuro-score-picker button.is-active { background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 -2px currentColor; }

.akuro-spoiler-toggle { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; font-size: 11px; }
.akuro-spoiler-toggle input { width: 15px; height: 15px; accent-color: var(--accent); }

.akuro-review-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
}

.akuro-review-score {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.018);
}
.akuro-review-score b { font-family: var(--display); font-size: 28px; line-height: 1; }
.akuro-review-score span { margin-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.akuro-review-content { min-width: 0; }
.akuro-review-content h3 { margin: 3px 0 9px; color: var(--text); font-size: 16px; line-height: 1.35; }
.akuro-review-author { min-width: 0; }

.akuro-spoiler-cover {
  width: 100%;
  min-height: 86px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px dashed rgba(229, 138, 69, 0.42);
  background: repeating-linear-gradient(135deg, rgba(229, 138, 69, 0.035) 0 8px, transparent 8px 16px);
  color: var(--muted);
  cursor: pointer;
}
.akuro-spoiler-cover span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
.akuro-spoiler-cover b { color: #e58a45; font-size: 11px; }
.akuro-spoiler-cover:hover { border-color: #e58a45; background-color: rgba(229, 138, 69, 0.04); }

@media (max-width: 920px) {
  .akuro-review-overview { grid-template-columns: 1fr; }
  .akuro-review-summary { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 20px; align-items: start; }
  .akuro-review-summary > p { grid-column: 1; }
  .akuro-review-bars { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 680px) {
  .akuro-discussion-heading { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .akuro-discussion-mark { width: 46px; height: 46px; font-size: 22px; }
  .akuro-discussion-count { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--border); text-align: left; }
  .akuro-discussion-count b { font-size: 22px; }
  .akuro-discussion-count span { margin: 0; }
  .akuro-discussion-composer { padding: 14px; }
  .akuro-discussion-toolbar { align-items: flex-start; flex-direction: column; }
  .akuro-discussion-segment { width: 100%; }
  .akuro-discussion-segment button { min-width: 0; flex: 1; }
  .akuro-review-summary { display: block; }
  .akuro-review-bars { margin-top: 16px; }
  .akuro-score-picker { grid-template-columns: repeat(5, 1fr); }
  .akuro-review-editor-actions { align-items: stretch; flex-wrap: wrap; }
  .akuro-review-editor-actions > span { width: 100%; }
  .akuro-review-row { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .akuro-review-score { width: 48px; height: 56px; }
  .akuro-review-score b { font-size: 22px; }
  .akuro-review-author { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .akuro-discussion-loading span { animation: none !important; }
}
