/* ============================================
   YOKAI CHRONICLES — Complete Game Stylesheet
   Turn-Based Gacha RPG | Mobile-First Dark Theme
   ============================================ */

/* ── 1. Base Reset & Layout ────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.yc-game {
  width: 100%;
  min-height: 100vh;
  background: #0a0e1a;
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.yc-game img {
  display: block;
  max-width: 100%;
  height: auto;
}

.yc-game button {
  font-family: inherit;
}

.yc-game ::selection {
  background: rgba(250, 204, 21, 0.3);
  color: #fff;
}


/* ── 2. Screen System ──────────────────────── */

.yc-screen {
  display: none;
  width: 100%;
  min-height: 100vh;
}

.yc-screen.active {
  display: flex;
  flex-direction: column;
}


/* ── 3. Global Navigation Bar ──────────────── */

.yc-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  z-index: 50;
  position: sticky;
  top: 0;
}

.yc-top-bar-title {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.yc-top-bar-resources {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.yc-resource-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.yc-resource-pill .res-icon {
  font-size: 0.85rem;
}

.yc-top-bar-nav {
  display: flex;
  gap: 0.25rem;
}

.yc-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yc-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.yc-nav-btn.active {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.3);
  color: #facc15;
}


/* ── 4. Battle Screen Layout ───────────────── */

.yc-battle-screen {
  display: none;
  width: 100%;
  min-height: 100vh;
  flex-direction: column;
}

.yc-battle-screen.active {
  display: flex;
}

.yc-battle-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.yc-battle-field.shake {
  animation: yc-screen-shake 0.3s ease;
}


/* ── 5. Turn Order Bar ─────────────────────── */

.yc-turn-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
}

.yc-turn-bar::-webkit-scrollbar {
  display: none;
}

.yc-turn-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.2s ease;
  object-fit: cover;
}

.yc-turn-icon.active {
  border-color: #facc15;
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

.yc-turn-icon.is-enemy {
  border-color: #ef4444;
}

.yc-turn-icon.is-enemy.active {
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.yc-turn-icon.is-dead {
  opacity: 0.25;
  filter: grayscale(1);
}


/* ── 6. Enemy Area ─────────────────────────── */

.yc-enemy-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  min-height: 200px;
  flex-wrap: wrap;
  background: radial-gradient(ellipse at center top, rgba(15, 20, 35, 0.4) 0%, transparent 70%);
}


/* ── 7. Party Area ─────────────────────────── */

.yc-party-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  min-height: 160px;
  flex-wrap: wrap;
  background: radial-gradient(ellipse at center bottom, rgba(30, 58, 138, 0.15) 0%, transparent 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}


/* ── 8. Unit Components ────────────────────── */

.yc-unit {
  position: relative;
  text-align: center;
  transition: transform 0.15s ease;
  cursor: pointer;
  user-select: none;
}

.yc-unit.portrait {
  width: 80px;
  height: 80px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.yc-unit.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-unit.targeted {
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
  border-color: #ef4444 !important;
}

.yc-unit.ko {
  opacity: 0.3;
  filter: grayscale(1);
  pointer-events: none;
}

.yc-unit.is-turn {
  animation: yc-unit-pulse 1s ease-in-out infinite;
}

.yc-unit .unit-name {
  font-size: 0.65rem;
  font-weight: 600;
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

.yc-unit .unit-level {
  font-size: 0.55rem;
  color: #64748b;
}

/* Damage / Heal float numbers */
.yc-damage-number {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 800;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 20;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.yc-damage-number.damage {
  color: #ef4444;
  animation: yc-damage-float 0.8s ease-out forwards;
}

.yc-damage-number.crit {
  color: #facc15;
  font-size: 1.4rem;
  animation: yc-damage-float 0.9s ease-out forwards;
}

.yc-damage-number.heal {
  color: #22c55e;
  animation: yc-heal-float 0.7s ease-out forwards;
}

.yc-damage-number.miss {
  color: #64748b;
  font-size: 0.85rem;
  animation: yc-damage-float 0.7s ease-out forwards;
}

.yc-damage-number.buff {
  color: #3b82f6;
  animation: yc-heal-float 0.7s ease-out forwards;
}


/* ── 9. HP / MP Bars ──────────────────────── */

.yc-hp-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.25rem;
}

.yc-hp-bar {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease, background-color 0.3s ease;
}

.yc-hp-bar.hp-full {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.yc-hp-bar.hp-high {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.yc-hp-bar.hp-mid {
  background: linear-gradient(90deg, #eab308, #facc15);
}

.yc-hp-bar.hp-low {
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

.yc-mp-bar-wrap {
  width: 100%;
  height: 5px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 2px;
}

.yc-mp-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  transition: width 0.3s ease;
}

.yc-hp-text,
.yc-mp-text {
  font-size: 0.55rem;
  color: #94a3b8;
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
}


/* ── 10. Action Panel (Bottom) ─────────────── */

.yc-action-panel {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  flex-shrink: 0;
}

.yc-action-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.yc-action-unit-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.yc-action-unit-name .element-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.yc-action-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.yc-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.yc-action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.yc-action-btn:active {
  transform: scale(0.95);
}

.yc-action-btn .btn-icon {
  font-size: 1.5rem;
}

.yc-action-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Element-tinted action buttons */
.yc-action-btn.btn-attack {
  border-color: rgba(239, 68, 68, 0.3);
}

.yc-action-btn.btn-skill {
  border-color: rgba(59, 130, 246, 0.3);
}

.yc-action-btn.btn-defend {
  border-color: rgba(34, 197, 94, 0.3);
}

.yc-action-btn.btn-item {
  border-color: rgba(250, 204, 21, 0.3);
}


/* ── 11. Sub-Menus (Skill List, Item List, Target Select) ── */

.yc-sub-menu {
  display: none;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 0.5rem;
}

.yc-sub-menu.active {
  display: block;
  animation: yc-slide-up 0.2s ease;
}

.yc-sub-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.25rem;
}

.yc-sub-menu-header .menu-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.yc-sub-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
}

.yc-sub-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.yc-sub-menu-item:active {
  background: rgba(255, 255, 255, 0.12);
}

.yc-sub-menu-item .skill-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.yc-sub-menu-item .skill-name {
  font-weight: 600;
  font-size: 0.85rem;
}

.yc-sub-menu-item .skill-desc {
  font-size: 0.7rem;
  color: #94a3b8;
}

.yc-sub-menu-item .skill-cost {
  font-size: 0.75rem;
  color: #60a5fa;
  font-weight: 600;
  white-space: nowrap;
}

.yc-sub-menu-item:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.yc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.yc-back-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Scrollbar inside sub-menus */
.yc-sub-menu::-webkit-scrollbar {
  width: 3px;
}

.yc-sub-menu::-webkit-scrollbar-track {
  background: transparent;
}

.yc-sub-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
}


/* ── 12. Target Selection Overlay ──────────── */

.yc-target-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
}

.yc-target-overlay.active {
  display: flex;
}

.yc-target-prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.75rem 1.5rem;
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  border: 1px solid rgba(250, 204, 21, 0.3);
  font-weight: 700;
  font-size: 0.9rem;
  color: #facc15;
  pointer-events: none;
  z-index: 91;
  animation: yc-sparkle 1.5s ease-in-out infinite;
}

.yc-unit.selectable {
  cursor: crosshair;
}

.yc-unit.selectable:hover {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
}


/* ── 13. Battle Log ────────────────────────── */

.yc-battle-log {
  max-height: 80px;
  overflow-y: auto;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.yc-battle-log .log-entry {
  font-size: 0.65rem;
  color: #64748b;
  padding: 0.1rem 0;
  line-height: 1.4;
}

.yc-battle-log .log-entry.damage {
  color: #ef4444;
}

.yc-battle-log .log-entry.heal {
  color: #22c55e;
}

.yc-battle-log .log-entry.info {
  color: #94a3b8;
}

.yc-battle-log::-webkit-scrollbar {
  width: 2px;
}

.yc-battle-log::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
}


/* ── 14. Gacha Screen ──────────────────────── */

.yc-gacha-screen {
  padding: 1rem;
  gap: 1rem;
}

.yc-gacha-banner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 20, 35, 0.8);
  backdrop-filter: blur(8px);
}

.yc-gacha-banner-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.yc-gacha-banner-info {
  padding: 1rem;
}

.yc-gacha-banner-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.yc-gacha-banner-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.yc-gacha-rate-up {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.yc-gacha-rate-up-char {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
  font-size: 0.7rem;
  font-weight: 600;
  color: #facc15;
}

.yc-gacha-rate-up-char img {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  object-fit: cover;
}

.yc-gacha-pity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.yc-gacha-pity-label {
  font-size: 0.75rem;
  color: #94a3b8;
}

.yc-gacha-pity-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: #facc15;
}

.yc-gacha-pity-bar {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  overflow: hidden;
}

.yc-gacha-pity-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #facc15);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.yc-gacha-pull-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem;
}

.yc-gacha-pull-btn {
  padding: 0.85rem 2rem;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  user-select: none;
}

.yc-gacha-pull-btn:active {
  transform: scale(0.96);
}

.yc-gacha-pull-btn.single {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
}

.yc-gacha-pull-btn.single:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.yc-gacha-pull-btn.multi {
  background: linear-gradient(135deg, #f59e0b, #facc15);
  color: #1a1a1a;
}

.yc-gacha-pull-btn.multi:hover {
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.yc-gacha-pull-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.yc-gacha-pull-cost {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.8;
  display: block;
  margin-top: 0.15rem;
}

/* Gacha Result Overlay */
.yc-gacha-result {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
  animation: yc-slide-up 0.3s ease;
}

.yc-gacha-card {
  width: 100px;
  height: 140px;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: rgba(15, 20, 35, 0.9);
  border: 2px solid;
  animation: yc-gacha-reveal 0.5s ease-out backwards;
  position: relative;
  overflow: hidden;
}

.yc-gacha-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.yc-gacha-card.rarity-5 {
  border-color: #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.yc-gacha-card.rarity-4 {
  border-color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.yc-gacha-card.rarity-3 {
  border-color: #60a5fa;
}

.yc-gacha-card.new-badge::after {
  content: 'NEW';
  position: absolute;
  top: 4px;
  right: -12px;
  padding: 0.1rem 1.5rem;
  background: #ef4444;
  color: white;
  font-size: 0.5rem;
  font-weight: 800;
  transform: rotate(45deg);
}

.yc-gacha-card .card-portrait {
  width: 60px;
  height: 60px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.yc-gacha-card .card-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-gacha-card .card-name {
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.3rem;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yc-gacha-card .card-stars {
  font-size: 0.6rem;
  color: #facc15;
}

/* Staggered reveal delays for multi-pull */
.yc-gacha-card:nth-child(1)  { animation-delay: 0.05s; }
.yc-gacha-card:nth-child(2)  { animation-delay: 0.10s; }
.yc-gacha-card:nth-child(3)  { animation-delay: 0.15s; }
.yc-gacha-card:nth-child(4)  { animation-delay: 0.20s; }
.yc-gacha-card:nth-child(5)  { animation-delay: 0.25s; }
.yc-gacha-card:nth-child(6)  { animation-delay: 0.30s; }
.yc-gacha-card:nth-child(7)  { animation-delay: 0.35s; }
.yc-gacha-card:nth-child(8)  { animation-delay: 0.40s; }
.yc-gacha-card:nth-child(9)  { animation-delay: 0.45s; }
.yc-gacha-card:nth-child(10) { animation-delay: 0.50s; }


/* ── 15. Character / Party Screen ──────────── */

.yc-party-screen {
  padding-bottom: 5rem;
}

.yc-party-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yc-party-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.yc-party-slots {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  justify-content: center;
}

.yc-party-slot {
  width: 72px;
  height: 90px;
  border-radius: 0.75rem;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 20, 35, 0.5);
  transition: all 0.2s ease;
  position: relative;
}

.yc-party-slot.filled {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.15);
}

.yc-party-slot .slot-label {
  font-size: 0.6rem;
  color: #64748b;
  font-weight: 600;
}

.yc-party-slot .slot-portrait {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.yc-party-slot .slot-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-party-slot .slot-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ef4444;
  color: white;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  opacity: 0;
  transition: opacity 0.15s;
}

.yc-party-slot:hover .slot-remove {
  opacity: 1;
}

.yc-party-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem 0.25rem;
}

.yc-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.75rem;
  padding: 0.5rem 1rem;
}

.yc-char-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(15, 20, 35, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.yc-char-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.yc-char-card:active {
  transform: scale(0.97);
}

.yc-char-card.in-party {
  border-color: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.25);
}

.yc-char-card .char-portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.yc-char-card .char-info {
  padding: 0.35rem;
  text-align: center;
}

.yc-char-card .char-name {
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yc-char-card .char-element {
  font-size: 0.55rem;
  color: #94a3b8;
}

.yc-char-card .char-stars {
  font-size: 0.5rem;
  color: #facc15;
}

.yc-char-card .char-level {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 0.1rem 0.35rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.5rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* Element badge on card */
.yc-char-card .element-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}


/* ── 16. Character Detail Panel ────────────── */

.yc-char-detail {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.yc-char-detail.active {
  display: flex;
}

.yc-char-detail-panel {
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  background: rgba(15, 20, 35, 0.98);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  padding: 1.5rem;
  animation: yc-slide-up 0.25s ease;
}

.yc-char-detail-panel .detail-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.yc-char-detail-panel .detail-portrait {
  width: 80px;
  height: 80px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.yc-char-detail-panel .detail-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-char-detail-panel .detail-name {
  font-size: 1.1rem;
  font-weight: 800;
}

.yc-char-detail-panel .detail-element {
  font-size: 0.75rem;
  font-weight: 600;
}

.yc-char-detail-panel .detail-rarity {
  color: #facc15;
  font-size: 0.8rem;
}

.yc-char-detail-panel .detail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.yc-char-detail-panel .stat-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.5rem;
  font-size: 0.8rem;
}

.yc-char-detail-panel .stat-label {
  color: #94a3b8;
}

.yc-char-detail-panel .stat-value {
  font-weight: 700;
}

.yc-char-detail-panel .detail-skills {
  margin-top: 0.5rem;
}

.yc-char-detail-panel .detail-skills h3 {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.yc-char-detail-panel .skill-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
}

.yc-char-detail-panel .skill-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.yc-char-detail-panel .skill-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.yc-char-detail-panel .skill-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-char-detail-panel .skill-name {
  font-weight: 600;
  font-size: 0.85rem;
}

.yc-char-detail-panel .skill-desc {
  font-size: 0.7rem;
  color: #94a3b8;
}


/* ── 17. Mission Screen ────────────────────── */

.yc-missions-screen {
  padding-bottom: 5rem;
}

.yc-missions-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yc-missions-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.yc-chapter-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.yc-chapter-tabs::-webkit-scrollbar {
  display: none;
}

.yc-chapter-tab {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yc-chapter-tab.active {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.3);
  color: #facc15;
}

.yc-chapter-tab.locked {
  opacity: 0.35;
  pointer-events: none;
}

.yc-mission-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.yc-mission-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(15, 20, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.yc-mission-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.yc-mission-item:active {
  transform: scale(0.98);
}

.yc-mission-item.locked {
  opacity: 0.4;
  pointer-events: none;
}

.yc-mission-item.completed {
  border-left: 3px solid #22c55e;
}

.yc-mission-item.current {
  border-color: rgba(250, 204, 21, 0.3);
  background: rgba(250, 204, 21, 0.05);
}

.yc-mission-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.yc-mission-info {
  flex: 1;
  min-width: 0;
}

.yc-mission-info .mission-name {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}

.yc-mission-info .mission-desc {
  font-size: 0.7rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yc-mission-info .mission-stamina {
  font-size: 0.65rem;
  color: #60a5fa;
  margin-top: 0.15rem;
}

.yc-mission-stars {
  color: #facc15;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.yc-mission-rewards {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.yc-mission-reward-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}


/* ── 18. Main Menu Screen ──────────────────── */

.yc-menu-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  min-height: 100vh;
}

.yc-menu-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 0.5rem;
  animation: yc-idle 3s ease-in-out infinite;
}

.yc-menu-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yc-menu-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #facc15, #f59e0b, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.yc-menu-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

.yc-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 320px;
  margin-top: 1rem;
}

.yc-menu-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.yc-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.yc-menu-btn:active {
  transform: scale(0.97);
}

.yc-menu-btn .btn-icon {
  font-size: 1.25rem;
}

.yc-menu-btn .btn-label {
  display: flex;
  flex-direction: column;
}

.yc-menu-btn .btn-sublabel {
  font-size: 0.65rem;
  font-weight: 400;
  color: #64748b;
  margin-top: 0.1rem;
}

/* Highlighted menu button */
.yc-menu-btn.primary {
  border-color: rgba(250, 204, 21, 0.3);
  background: rgba(250, 204, 21, 0.1);
}

.yc-menu-btn.primary:hover {
  background: rgba(250, 204, 21, 0.18);
}

/* Version footer */
.yc-menu-footer {
  position: absolute;
  bottom: 1.5rem;
  text-align: center;
  font-size: 0.65rem;
  color: #334155;
}


/* ── 19. Results Screen ────────────────────── */

.yc-results-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.yc-results-overlay.active {
  display: flex;
}

.yc-results-panel {
  width: min(90vw, 480px);
  padding: 2rem;
  background: rgba(15, 20, 35, 0.95);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  animation: yc-slide-up 0.3s ease;
}

.yc-results-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.yc-results-title.victory {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.yc-results-title.defeat {
  color: #ef4444;
}

.yc-results-subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.yc-results-rewards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.yc-results-reward-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.yc-results-reward-label {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.yc-results-reward-value {
  font-size: 0.95rem;
  font-weight: 700;
}

.yc-results-xp-bar {
  margin: 1rem 0;
}

.yc-results-xp-bar .xp-label {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.yc-results-stars {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.yc-results-stars .star {
  color: #334155;
  transition: color 0.3s ease;
}

.yc-results-stars .star.earned {
  color: #facc15;
  animation: yc-sparkle 1s ease-in-out;
}

.yc-results-btn {
  padding: 0.85rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.yc-results-btn:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.yc-results-btn:active {
  transform: scale(0.96);
}


/* ── 20. Loading / Transitions ─────────────── */

.yc-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: #0a0e1a;
}

.yc-loading-overlay.active {
  display: flex;
}

.yc-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #facc15;
  border-radius: 9999px;
  animation: yc-spin 0.8s linear infinite;
}

@keyframes yc-spin {
  to { transform: rotate(360deg); }
}

.yc-loading-text {
  position: absolute;
  bottom: 30%;
  font-size: 0.8rem;
  color: #64748b;
  animation: yc-sparkle 1.5s ease-in-out infinite;
}

/* Screen transition */
.yc-screen-enter {
  animation: yc-slide-up 0.25s ease;
}


/* ── 21. Notification / Toast ──────────────── */

.yc-toast-container {
  position: fixed;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.yc-toast {
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  background: rgba(15, 20, 35, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  animation: yc-slide-up 0.25s ease, yc-toast-out 0.3s 2.5s ease forwards;
  pointer-events: auto;
}

.yc-toast.success {
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.yc-toast.error {
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.yc-toast.info {
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

@keyframes yc-toast-out {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}


/* ── 22. Element Background Accents ────────── */

.yc-element-bg-fire {
  background: radial-gradient(circle at 50% 80%, rgba(239, 68, 68, 0.08) 0%, transparent 60%);
}

.yc-element-bg-water {
  background: radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

.yc-element-bg-earth {
  background: radial-gradient(circle at 50% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
}

.yc-element-bg-wind {
  background: radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
}

.yc-element-bg-light {
  background: radial-gradient(circle at 50% 80%, rgba(250, 204, 21, 0.08) 0%, transparent 60%);
}

.yc-element-bg-dark {
  background: radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
}


/* ── 23. Particles ─────────────────────────── */

.yc-particle-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 150;
  overflow: hidden;
}

.yc-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  animation: yc-particle-fly 0.6s ease-out forwards;
}

.yc-particle.fire   { background: #ef4444; }
.yc-particle.water  { background: #3b82f6; }
.yc-particle.earth  { background: #22c55e; }
.yc-particle.wind   { background: #06b6d4; }
.yc-particle.light  { background: #facc15; }
.yc-particle.dark   { background: #a855f7; }
.yc-particle.phys   { background: #e2e8f0; }


/* ── 24. Mobile Bottom Tab Bar ─────────────── */

.yc-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.yc-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: none;
  border: none;
}

.yc-tab-item .tab-icon {
  font-size: 1.2rem;
}

.yc-tab-item.active {
  color: #facc15;
}

.yc-tab-item:hover {
  color: #e2e8f0;
}

.yc-tab-item .tab-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ef4444;
  font-size: 0.5rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide tab bar during battle */
.yc-battle-screen.active ~ .yc-tab-bar {
  display: none;
}


/* ── 25. Skills / Abilities Screen ─────────── */

.yc-skills-screen {
  padding-bottom: 5rem;
}

.yc-skill-tree {
  padding: 1rem;
}

.yc-skill-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(15, 20, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.yc-skill-node:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.yc-skill-node.unlocked {
  border-color: rgba(34, 197, 94, 0.3);
}

.yc-skill-node.locked {
  opacity: 0.4;
}

.yc-skill-node-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.yc-skill-node-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── 26. Settings Panel ────────────────────── */

.yc-settings-list {
  padding: 1rem;
}

.yc-settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.yc-settings-item:last-child {
  border-bottom: none;
}

.yc-settings-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.yc-settings-desc {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.1rem;
}

/* Toggle switch */
.yc-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  padding: 0;
}

.yc-toggle.active {
  background: #22c55e;
}

.yc-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: white;
  transition: transform 0.2s ease;
}

.yc-toggle.active::after {
  transform: translateX(18px);
}


/* ── 27. Scrollbar ─────────────────────────── */

.yc-game ::-webkit-scrollbar {
  width: 4px;
}

.yc-game ::-webkit-scrollbar-track {
  background: transparent;
}

.yc-game ::-webkit-scrollbar-thumb {
  background: #1e3a8a;
  border-radius: 99px;
}

.yc-game ::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}


/* ── 28. Utility Classes ───────────────────── */

.yc-hidden {
  display: none !important;
}

.yc-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.yc-text-center {
  text-align: center;
}

.yc-gap-sm {
  gap: 0.5rem;
}

.yc-gap-md {
  gap: 1rem;
}

.yc-p-sm {
  padding: 0.5rem;
}

.yc-p-md {
  padding: 1rem;
}

.yc-mt-sm {
  margin-top: 0.5rem;
}

.yc-mt-md {
  margin-top: 1rem;
}

.yc-mb-sm {
  margin-bottom: 0.5rem;
}

.yc-mb-md {
  margin-bottom: 1rem;
}

.yc-w-full {
  width: 100%;
}

.yc-fw-bold {
  font-weight: 700;
}

.yc-fs-xs {
  font-size: 0.7rem;
}

.yc-fs-sm {
  font-size: 0.8rem;
}

.yc-fs-md {
  font-size: 1rem;
}

.yc-fs-lg {
  font-size: 1.25rem;
}

/* Element text colors */
.yc-text-fire   { color: #ef4444; }
.yc-text-water  { color: #3b82f6; }
.yc-text-earth  { color: #22c55e; }
.yc-text-wind   { color: #06b6d4; }
.yc-text-light  { color: #facc15; }
.yc-text-dark   { color: #a855f7; }
.yc-text-phys   { color: #e2e8f0; }

/* Element border colors */
.yc-border-fire   { border-color: #ef4444; }
.yc-border-water  { border-color: #3b82f6; }
.yc-border-earth  { border-color: #22c55e; }
.yc-border-wind   { border-color: #06b6d4; }
.yc-border-light  { border-color: #facc15; }
.yc-border-dark   { border-color: #a855f7; }
.yc-border-phys   { border-color: #e2e8f0; }

/* Element background accents */
.yc-bg-fire   { background-color: rgba(239, 68, 68, 0.15); }
.yc-bg-water  { background-color: rgba(59, 130, 246, 0.15); }
.yc-bg-earth  { background-color: rgba(34, 197, 94, 0.15); }
.yc-bg-wind   { background-color: rgba(6, 182, 212, 0.15); }
.yc-bg-light  { background-color: rgba(250, 204, 21, 0.15); }
.yc-bg-dark   { background-color: rgba(168, 85, 247, 0.15); }
.yc-bg-phys   { background-color: rgba(226, 232, 240, 0.15); }

/* Rarity colors */
.yc-rarity-5 { border-color: #facc15; }
.yc-rarity-4 { border-color: #a855f7; }
.yc-rarity-3 { border-color: #60a5fa; }
.yc-rarity-2 { border-color: #94a3b8; }

.yc-rarity-text-5 { color: #facc15; }
.yc-rarity-text-4 { color: #a855f7; }
.yc-rarity-text-3 { color: #60a5fa; }
.yc-rarity-text-2 { color: #94a3b8; }

/* Glow effects */
.yc-glow-fire   { box-shadow: 0 0 16px rgba(239, 68, 68, 0.35); }
.yc-glow-water  { box-shadow: 0 0 16px rgba(59, 130, 246, 0.35); }
.yc-glow-earth  { box-shadow: 0 0 16px rgba(34, 197, 94, 0.35); }
.yc-glow-wind   { box-shadow: 0 0 16px rgba(6, 182, 212, 0.35); }
.yc-glow-light  { box-shadow: 0 0 16px rgba(250, 204, 21, 0.35); }
.yc-glow-dark   { box-shadow: 0 0 16px rgba(168, 85, 247, 0.35); }


/* ── 29. Keyframe Animations ───────────────── */

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

@keyframes yc-unit-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
  50% { box-shadow: 0 0 12px 4px rgba(250, 204, 21, 0.3); }
}

@keyframes yc-damage-float {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-40px); }
}

@keyframes yc-heal-float {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-30px); }
}

@keyframes yc-crit-flash {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

@keyframes yc-screen-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes yc-particle-fly {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

@keyframes yc-sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes yc-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes yc-gacha-reveal {
  0% { transform: scale(0) rotateY(180deg); opacity: 0; }
  60% { transform: scale(1.1) rotateY(0deg); opacity: 1; }
  100% { transform: scale(1) rotateY(0deg); }
}

@keyframes yc-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes yc-bounce-in {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes yc-shake-light {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

@keyframes yc-attack-slash {
  0% { transform: translateX(0) skewX(0deg); opacity: 1; }
  50% { transform: translateX(30px) skewX(-15deg); opacity: 0.8; }
  100% { transform: translateX(0) skewX(0deg); opacity: 1; }
}

@keyframes yc-float-up-fade {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-60px); opacity: 0; }
}

@keyframes yc-pulse-glow {
  0%, 100% { box-shadow: 0 0 8px 2px rgba(250, 204, 21, 0.2); }
  50% { box-shadow: 0 0 20px 6px rgba(250, 204, 21, 0.4); }
}


/* ── 30. Responsive — Mobile (max-width: 640px) ── */

@media (max-width: 640px) {
  .yc-menu-title {
    font-size: 1.5rem;
  }

  .yc-menu-logo {
    width: 90px;
    height: 90px;
  }

  .yc-menu-btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
  }

  .yc-top-bar {
    padding: 0.5rem 0.75rem;
  }

  .yc-top-bar-resources {
    gap: 0.5rem;
  }

  .yc-resource-pill {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  .yc-action-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .yc-action-panel {
    padding: 0.75rem;
  }

  .yc-unit.portrait {
    width: 60px;
    height: 60px;
  }

  .yc-unit .unit-name {
    font-size: 0.55rem;
    max-width: 65px;
  }

  .yc-enemy-area {
    min-height: 150px;
    gap: 0.5rem;
  }

  .yc-party-area {
    min-height: 130px;
    gap: 0.5rem;
  }

  .yc-gacha-card {
    width: 80px;
    height: 110px;
  }

  .yc-gacha-card .card-portrait {
    width: 48px;
    height: 48px;
  }

  .yc-gacha-card .card-name {
    font-size: 0.6rem;
  }

  .yc-gacha-banner-info {
    padding: 0.75rem;
  }

  .yc-gacha-banner-title {
    font-size: 0.95rem;
  }

  .yc-mission-item {
    padding: 0.75rem;
  }

  .yc-mission-info .mission-name {
    font-size: 0.8rem;
  }

  .yc-results-panel {
    padding: 1.5rem;
  }

  .yc-results-title {
    font-size: 1.25rem;
  }

  .yc-party-slots {
    gap: 0.35rem;
  }

  .yc-party-slot {
    width: 60px;
    height: 78px;
  }

  .yc-party-slot .slot-portrait {
    width: 40px;
    height: 40px;
  }

  .yc-roster-grid {
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 0.5rem;
  }

  .yc-tab-bar {
    padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom));
  }

  .yc-tab-item {
    padding: 0.25rem 0.5rem;
    font-size: 0.55rem;
  }

  .yc-turn-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .yc-char-detail-panel {
    padding: 1rem;
  }

  .yc-char-detail-panel .detail-portrait {
    width: 64px;
    height: 64px;
  }

  .yc-char-detail-panel .detail-stats {
    grid-template-columns: 1fr;
  }

  .yc-sub-menu {
    max-height: 160px;
  }
}


/* ── 31. Responsive — Small Mobile (max-width: 390px) ── */

@media (max-width: 390px) {
  .yc-unit.portrait {
    width: 52px;
    height: 52px;
  }

  .yc-unit .unit-name {
    font-size: 0.5rem;
    max-width: 55px;
  }

  .yc-enemy-area {
    min-height: 120px;
    padding: 0.75rem;
  }

  .yc-party-area {
    min-height: 110px;
    padding: 0.5rem;
  }

  .yc-action-panel {
    padding: 0.6rem;
  }

  .yc-action-btn {
    padding: 0.6rem 0.35rem;
    font-size: 0.65rem;
  }

  .yc-action-btn .btn-icon {
    font-size: 1.25rem;
  }

  .yc-gacha-card {
    width: 65px;
    height: 95px;
  }

  .yc-gacha-card .card-portrait {
    width: 40px;
    height: 40px;
  }

  .yc-gacha-pull-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  .yc-party-slot {
    width: 54px;
    height: 70px;
  }

  .yc-party-slot .slot-portrait {
    width: 36px;
    height: 36px;
  }

  .yc-menu-title {
    font-size: 1.3rem;
  }
}


/* ── 32. Responsive — Tablet (min-width: 641px) ── */

@media (min-width: 641px) {
  .yc-action-buttons {
    grid-template-columns: repeat(4, 1fr);
  }

  .yc-gacha-card {
    width: 110px;
    height: 155px;
  }

  .yc-enemy-area {
    min-height: 250px;
  }

  .yc-party-area {
    min-height: 180px;
  }

  .yc-roster-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}


/* ── 33. Responsive — Desktop (min-width: 1024px) ── */

@media (min-width: 1024px) {
  .yc-battle-field {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
  }

  .yc-enemy-area {
    min-height: 300px;
  }

  .yc-unit.portrait {
    width: 100px;
    height: 100px;
  }

  .yc-gacha-card {
    width: 120px;
    height: 170px;
  }

  .yc-gacha-card .card-portrait {
    width: 72px;
    height: 72px;
  }

  .yc-tab-bar {
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem 1rem 0 0;
  }
}


/* ── 34b. Battle Layout Components ─────────────── */

.yc-battle-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  z-index: 10;
}

.yc-battle-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.yc-battle-turn-counter {
  font-weight: 700;
  font-size: 0.85rem;
  color: #facc15;
}

.yc-battle-mission-name {
  font-size: 0.75rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

.yc-battle-controls {
  display: flex;
  gap: 0.35rem;
}

.yc-battle-ctrl-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.yc-battle-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.yc-battle-ctrl-btn:active {
  transform: scale(0.95);
}

.yc-battle-ctrl-btn.active {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.3);
  color: #facc15;
}

.yc-battle-ctrl-btn.fast {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}

.yc-battle-arena {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.yc-battle-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.yc-battle-log-inner {
  max-height: 100%;
  overflow-y: auto;
  padding: 0.25rem 0;
}

.yc-unit-portrait {
  width: 80px;
  height: 80px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  margin: 0 auto;
  transition: all 0.2s ease;
}

.yc-unit-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yc-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  text-align: center;
  transition: transform 0.15s ease;
  cursor: pointer;
  user-select: none;
}

.yc-unit-name {
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.yc-unit-level {
  font-size: 0.55rem;
  color: #64748b;
}

.yc-ko-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #ef4444;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 0.75rem;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.yc-action-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yc-action-unit-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.yc-action-unit-hp {
  font-size: 0.7rem;
  color: #4ade80;
  font-weight: 600;
}

.yc-action-unit-mp {
  font-size: 0.7rem;
  color: #60a5fa;
  font-weight: 600;
}

.yc-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.yc-action-waiting {
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  padding: 1rem;
}

.yc-submenu-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  margin-bottom: 0.25rem;
}

.yc-submenu-header span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
}

.yc-submenu-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 160px;
  overflow-y: auto;
}

.yc-submenu-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.yc-submenu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.yc-submenu-item:active {
  transform: scale(0.98);
}

.yc-submenu-item:disabled,
.yc-submenu-item.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.yc-submenu-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yc-submenu-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yc-skill-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.yc-skill-desc {
  font-size: 0.65rem;
  color: #64748b;
}

.yc-skill-cost {
  font-size: 0.7rem;
  color: #60a5fa;
  font-weight: 600;
}

.yc-aoe-badge {
  font-size: 0.55rem;
  padding: 0.1rem 0.35rem;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  font-weight: 700;
}

.yc-aoe-badge.ally {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.yc-aoe-badge.self {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.yc-item-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.yc-item-count {
  font-size: 0.7rem;
  color: #facc15;
  font-weight: 600;
}

.yc-item-effect {
  font-size: 0.65rem;
  color: #64748b;
}

.yc-submenu-empty {
  text-align: center;
  color: #64748b;
  font-size: 0.75rem;
  padding: 1rem;
}

.yc-target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
  max-height: 180px;
  overflow-y: auto;
}

.yc-target-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.15s ease;
  color: #e2e8f0;
}

.yc-target-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.yc-target-btn:active {
  transform: scale(0.97);
}

.yc-target-btn.aoe-target {
  grid-column: 1 / -1;
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.2);
}

.yc-target-btn .target-portrait {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.yc-target-btn .target-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-target-name {
  font-size: 0.7rem;
  font-weight: 600;
}

.yc-target-hp-text {
  font-size: 0.6rem;
  color: #94a3b8;
}

/* Battle results */
.yc-battle-results {
  text-align: center;
  padding: 1.5rem;
}

.yc-result-banner {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.yc-result-banner.victory {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.yc-result-banner.defeat {
  color: #ef4444;
}

.yc-result-stars {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.yc-result-star {
  color: #334155;
}

.yc-result-star.earned {
  color: #facc15;
}

.yc-result-rewards {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.yc-result-reward {
  font-size: 0.85rem;
  color: #94a3b8;
}

.yc-result-drop {
  font-size: 0.8rem;
  color: #60a5fa;
}

.yc-result-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.yc-result-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  transition: all 0.15s ease;
}

.yc-result-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.yc-result-btn.retry {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}


/* ── 34c. Login Overlay ────────────────────────── */

.yc-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(8px);
  animation: yc-fade-in 0.3s ease;
}

.yc-login-panel {
  max-width: 400px;
  width: 90vw;
  padding: 2rem;
  background: rgba(15, 20, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  text-align: center;
  animation: yc-slide-up 0.3s ease;
}

.yc-login-panel h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.yc-login-panel p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.yc-login-panel .yc-login-btn {
  display: block;
  padding: 0.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.15s ease;
  margin-bottom: 0.5rem;
}

.yc-login-panel .yc-login-btn.primary {
  background: #e4572e;
  color: white;
}

.yc-login-panel .yc-login-btn.primary:hover {
  background: #d64e25;
}

.yc-login-panel .yc-login-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.yc-login-panel .yc-login-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}


/* ── 34d. Responsive — Mobile Battle (max-width: 640px) ── */

@media (max-width: 640px) {
  .yc-battle-top {
    padding: 0.4rem 0.75rem;
  }

  .yc-battle-turn-counter {
    font-size: 0.75rem;
  }

  .yc-battle-mission-name {
    font-size: 0.65rem;
    max-width: 100px;
  }

  .yc-battle-ctrl-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .yc-action-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .yc-action-btn {
    min-height: 52px;
    padding: 0.6rem;
  }

  .yc-unit-portrait {
    width: 60px;
    height: 60px;
  }

  .yc-enemy-area {
    min-height: 120px;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .yc-party-area {
    min-height: 120px;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .yc-turn-bar {
    padding: 0.4rem 0.5rem;
    gap: 0.35rem;
  }

  .yc-turn-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .yc-battle-log {
    max-height: 60px;
  }

  .yc-battle-log .log-entry {
    font-size: 0.6rem;
  }

  .yc-action-panel {
    padding: 0.6rem;
  }

  .yc-action-info-bar {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .yc-action-unit-name {
    font-size: 0.75rem;
  }

  .yc-action-unit-hp,
  .yc-action-unit-mp {
    font-size: 0.6rem;
  }

  .yc-target-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yc-unit-name {
    font-size: 0.55rem;
    max-width: 65px;
  }

  .yc-gacha-card {
    width: 80px;
    height: 110px;
  }

  .yc-gacha-card .card-portrait {
    width: 48px;
    height: 48px;
  }

  .yc-gacha-card .card-name {
    font-size: 0.6rem;
  }
}

@media (max-width: 390px) {
  .yc-unit-portrait {
    width: 52px;
    height: 52px;
  }

  .yc-unit-name {
    font-size: 0.5rem;
    max-width: 55px;
  }

  .yc-enemy-area {
    min-height: 100px;
    padding: 0.35rem;
  }

  .yc-party-area {
    min-height: 100px;
    padding: 0.35rem;
  }

  .yc-action-panel {
    padding: 0.5rem;
  }

  .yc-action-btn {
    padding: 0.5rem 0.3rem;
    font-size: 0.72rem;
    min-height: 48px;
  }

  .yc-action-btn .btn-icon {
    font-size: 1.2rem;
  }

  .yc-gacha-card {
    width: 65px;
    height: 95px;
  }

  .yc-gacha-card .card-portrait {
    width: 40px;
    height: 40px;
  }

  .yc-target-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }
}


/* ── 34e. Responsive — Desktop Landscape ─────────────── */

@media (min-width: 900px) and (orientation: landscape) {
  .yc-battle-arena {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
  }

  .yc-enemy-area {
    min-height: 180px;
  }

  .yc-party-area {
    min-height: 150px;
  }

  .yc-unit-portrait {
    width: 90px;
    height: 90px;
  }

  .yc-target-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  /* Desktop menu grid */
  .yc-menu-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 720px;
    margin-top: 1rem;
  }

  .yc-menu-btn {
    justify-content: flex-start;
    padding: 1rem 1.25rem;
  }

  .yc-menu-screen {
    justify-content: flex-start;
    padding-top: 3rem;
  }
}


/* ── 34f. Print / Accessibility ─────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .yc-game {
    background: white;
    color: black;
  }

  .yc-tab-bar,
  .yc-top-bar,
  .yc-action-panel {
    display: none;
  }
}
