/* babu.casa — Mobile-first design system (prefix: shell53cb0-) */

:root {
  --shell53cb0-bg: #2E4057;
  --shell53cb0-bg-deep: #1E2B3C;
  --shell53cb0-surface: #253447;
  --shell53cb0-surface-hi: #344963;
  --shell53cb0-text: #F8F8FF;
  --shell53cb0-muted: #C2CAD4;
  --shell53cb0-gray: #A9A9A9;
  --shell53cb0-accent: #FF8000;
  --shell53cb0-accent-deep: #E65100;
  --shell53cb0-ink-dark: #141C27;
  --shell53cb0-border: rgba(169, 169, 169, 0.24);
  --shell53cb0-border-strong: rgba(255, 128, 0, 0.45);
  --shell53cb0-radius-sm: 6px;
  --shell53cb0-radius-md: 10px;
  --shell53cb0-font-head: 'Hind Siliguri', 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shell53cb0-font-body: 'Noto Sans Bengali', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shell53cb0-header-h: 98px;
  --shell53cb0-bnav-h: 62px;
  --shell53cb0-ease: 180ms ease;
}

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

[hidden] {
  display: none !important;
}

html {
  background: var(--shell53cb0-bg-deep);
  color: var(--shell53cb0-text);
  font-family: var(--shell53cb0-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: var(--shell53cb0-bg-deep);
  color: var(--shell53cb0-text);
  overflow-x: hidden;
}

a {
  color: var(--shell53cb0-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--shell53cb0-ease);
}

a:hover {
  color: #FFA040;
}

button {
  font-family: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--shell53cb0-accent);
  outline-offset: 2px;
}

img {
  max-width: 100%;
}

/* Mobile canvas shell */
.shell53cb0-canvas {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--shell53cb0-bg);
  position: relative;
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.35);
}

/* Global tabbed top header */
.shell53cb0-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  background: var(--shell53cb0-bg-deep);
  border-bottom: 1px solid var(--shell53cb0-border);
}

.shell53cb0-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  min-height: 54px;
}

.shell53cb0-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--shell53cb0-text);
  font-family: var(--shell53cb0-font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  min-height: 44px;
  padding: 2px 0;
}

.shell53cb0-brand:hover {
  color: var(--shell53cb0-text);
}

.shell53cb0-brand img {
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--shell53cb0-radius-sm);
  object-fit: cover;
  display: block;
}

.shell53cb0-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell53cb0-hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: var(--shell53cb0-radius-sm);
  font-family: var(--shell53cb0-font-head);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color var(--shell53cb0-ease), border-color var(--shell53cb0-ease), transform var(--shell53cb0-ease), color var(--shell53cb0-ease);
}

.shell53cb0-hbtn-outline {
  background: transparent;
  color: var(--shell53cb0-text);
  border: 1.5px solid var(--shell53cb0-gray);
}

.shell53cb0-hbtn-outline:hover {
  border-color: var(--shell53cb0-accent);
  color: var(--shell53cb0-accent);
  transform: translateY(-2px);
}

.shell53cb0-hbtn-solid {
  background: var(--shell53cb0-accent);
  color: var(--shell53cb0-ink-dark);
  border: 1.5px solid var(--shell53cb0-accent);
}

.shell53cb0-hbtn-solid:hover {
  background: var(--shell53cb0-accent-deep);
  border-color: var(--shell53cb0-accent-deep);
  color: var(--shell53cb0-text);
  transform: translateY(-2px);
}

.shell53cb0-hbtn:active {
  transform: translateY(0);
}

.shell53cb0-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--shell53cb0-surface);
  color: var(--shell53cb0-text);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  transition: background-color var(--shell53cb0-ease), border-color var(--shell53cb0-ease), transform var(--shell53cb0-ease);
}

.shell53cb0-menu-toggle:hover {
  border-color: var(--shell53cb0-accent);
  color: var(--shell53cb0-accent);
  transform: translateY(-2px);
}

.shell53cb0-menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Tabbed top navigation strip */
.shell53cb0-toptabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--shell53cb0-border);
  background: var(--shell53cb0-surface);
}

.shell53cb0-toptab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 4px;
  color: var(--shell53cb0-muted);
  text-decoration: none;
  font-family: var(--shell53cb0-font-head);
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color var(--shell53cb0-ease), border-color var(--shell53cb0-ease), background-color var(--shell53cb0-ease);
}

.shell53cb0-toptab:hover {
  color: var(--shell53cb0-text);
  background: rgba(255, 128, 0, 0.08);
}

.shell53cb0-toptab.shell53cb0-is-active {
  color: var(--shell53cb0-accent);
  border-bottom-color: var(--shell53cb0-accent);
  background: rgba(255, 128, 0, 0.12);
}

/* Expandable navigation panel */
.shell53cb0-drawer {
  background: var(--shell53cb0-bg-deep);
  border-top: 1px solid var(--shell53cb0-border);
  padding: 12px;
  max-height: 70vh;
  overflow-y: auto;
}

.shell53cb0-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shell53cb0-drawer-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--shell53cb0-radius-sm);
  background: var(--shell53cb0-surface);
  border: 1px solid var(--shell53cb0-border);
  color: var(--shell53cb0-text);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: border-color var(--shell53cb0-ease), background-color var(--shell53cb0-ease), transform var(--shell53cb0-ease);
}

.shell53cb0-drawer-link:hover {
  border-color: var(--shell53cb0-accent);
  color: var(--shell53cb0-accent);
  transform: translateY(-2px);
}

.shell53cb0-drawer-link.shell53cb0-is-active {
  background: rgba(255, 128, 0, 0.16);
  border-color: var(--shell53cb0-accent);
  color: var(--shell53cb0-accent);
  font-weight: 700;
}

/* Main content wrapper */
.shell53cb0-main {
  padding: calc(var(--shell53cb0-header-h) + 14px) 14px 24px;
}

/* Typography */
.shell53cb0-h1 {
  margin: 0 0 10px;
  font-family: var(--shell53cb0-font-head);
  font-size: 1.42rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--shell53cb0-text);
}

.shell53cb0-h2 {
  margin: 0 0 10px;
  font-family: var(--shell53cb0-font-head);
  font-size: 1.16rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--shell53cb0-text);
}

.shell53cb0-h3 {
  margin: 0 0 6px;
  font-family: var(--shell53cb0-font-head);
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--shell53cb0-text);
}

/* Breadcrumb */
.shell53cb0-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--shell53cb0-muted);
}

.shell53cb0-crumb a {
  color: var(--shell53cb0-muted);
  text-decoration: none;
}

.shell53cb0-crumb a:hover {
  color: var(--shell53cb0-accent);
}

/* Lead / definition paragraph */
.shell53cb0-lead {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--shell53cb0-surface);
  border-left: 3px solid var(--shell53cb0-accent);
  border-radius: var(--shell53cb0-radius-sm);
  color: var(--shell53cb0-text);
  font-size: 0.94rem;
}

.shell53cb0-lead p {
  margin: 0;
}

/* Carousel */
.shell53cb0-carousel {
  position: relative;
  margin: 0 0 18px;
  border-radius: var(--shell53cb0-radius-md);
  overflow: hidden;
  border: 1px solid var(--shell53cb0-border);
  background: var(--shell53cb0-bg-deep);
}

.shell53cb0-carousel-track {
  display: flex;
  transition: transform 280ms ease;
}

.shell53cb0-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  display: block;
}

.shell53cb0-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.shell53cb0-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 28, 39, 0.72);
  color: var(--shell53cb0-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background-color var(--shell53cb0-ease);
}

.shell53cb0-carousel-nav:hover {
  background: var(--shell53cb0-accent);
  color: var(--shell53cb0-ink-dark);
}

.shell53cb0-carousel-prev {
  left: 6px;
}

.shell53cb0-carousel-next {
  right: 6px;
}

.shell53cb0-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
  background: var(--shell53cb0-bg-deep);
}

.shell53cb0-dot {
  width: 24px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(169, 169, 169, 0.4);
  transition: background-color var(--shell53cb0-ease), width var(--shell53cb0-ease);
}

.shell53cb0-dot.shell53cb0-is-active {
  background: var(--shell53cb0-accent);
  width: 32px;
}

/* Content section container */
.shell53cb0-sec {
  margin: 0 0 22px;
  padding: 16px 14px;
  background: var(--shell53cb0-surface);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-md);
}

.shell53cb0-sec > p {
  margin: 0 0 12px;
  color: var(--shell53cb0-text);
  font-size: 0.93rem;
}

.shell53cb0-sec > p:last-child {
  margin-bottom: 0;
}

.shell53cb0-prose p {
  margin: 0 0 10px;
  font-size: 0.93rem;
}

.shell53cb0-prose p:last-child {
  margin-bottom: 0;
}

/* Game lobby & cards (image with bottom name bar) */
.shell53cb0-cat-block {
  margin: 0 0 18px;
}

.shell53cb0-cat-block:last-child {
  margin-bottom: 0;
}

.shell53cb0-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--shell53cb0-border);
}

.shell53cb0-cat-title {
  margin: 0;
  font-family: var(--shell53cb0-font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--shell53cb0-text);
}

.shell53cb0-cat-count {
  font-size: 0.78rem;
  color: var(--shell53cb0-accent);
  font-weight: 600;
}

.shell53cb0-ggrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shell53cb0-gcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  overflow: hidden;
  text-align: center;
  color: var(--shell53cb0-text);
  transition: border-color var(--shell53cb0-ease), transform var(--shell53cb0-ease);
}

.shell53cb0-gcard:hover {
  border-color: var(--shell53cb0-accent);
  transform: translateY(-2px);
}

.shell53cb0-gcard:active {
  transform: translateY(0);
}

.shell53cb0-gthumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  background: var(--shell53cb0-surface-hi);
}

.shell53cb0-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  padding: 5px 4px;
  min-height: 36px;
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--shell53cb0-text);
  background: var(--shell53cb0-bg-deep);
}

/* Definition list */
.shell53cb0-deflist {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.shell53cb0-defrow {
  padding: 10px 12px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
}

.shell53cb0-defrow dt {
  margin: 0 0 4px;
  font-family: var(--shell53cb0-font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--shell53cb0-accent);
}

.shell53cb0-defrow dd {
  margin: 0;
  font-size: 0.89rem;
  color: var(--shell53cb0-text);
}

/* Ordered steps list */
.shell53cb0-steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: shell53cb0-step;
  display: grid;
  gap: 10px;
}

.shell53cb0-steps li {
  counter-increment: shell53cb0-step;
  position: relative;
  padding: 10px 12px 10px 44px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  font-size: 0.9rem;
}

.shell53cb0-steps li::before {
  content: counter(shell53cb0-step);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--shell53cb0-accent);
  color: var(--shell53cb0-ink-dark);
  font-family: var(--shell53cb0-font-head);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Key points / checklist */
.shell53cb0-points {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.shell53cb0-points li {
  position: relative;
  padding: 10px 12px 10px 30px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  font-size: 0.9rem;
}

.shell53cb0-points li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--shell53cb0-accent);
}

/* Two-column comparison */
.shell53cb0-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.shell53cb0-duo-col {
  padding: 12px 10px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell53cb0-duo-col p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--shell53cb0-muted);
}

/* Numeric metric summary cards */
.shell53cb0-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.shell53cb0-metric-card {
  padding: 12px 10px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-top: 3px solid var(--shell53cb0-accent);
  border-radius: var(--shell53cb0-radius-sm);
}

.shell53cb0-metric-val {
  display: block;
  font-family: var(--shell53cb0-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--shell53cb0-accent);
  margin-bottom: 4px;
}

.shell53cb0-metric-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--shell53cb0-muted);
  line-height: 1.4;
}

/* Data / comparison / calculation table */
.shell53cb0-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  background: var(--shell53cb0-bg-deep);
}

.shell53cb0-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
}

.shell53cb0-table caption {
  padding: 8px 10px;
  text-align: left;
  font-family: var(--shell53cb0-font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--shell53cb0-accent);
  background: var(--shell53cb0-surface-hi);
  border-bottom: 1px solid var(--shell53cb0-border);
}

.shell53cb0-table th,
.shell53cb0-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--shell53cb0-border);
  vertical-align: top;
}

.shell53cb0-table th {
  background: rgba(52, 73, 99, 0.7);
  color: var(--shell53cb0-text);
  font-family: var(--shell53cb0-font-head);
  font-weight: 700;
}

.shell53cb0-table tr:last-child td {
  border-bottom: 0;
}

/* Timeline */
.shell53cb0-timeline {
  margin: 12px 0 0;
  padding: 0 0 0 20px;
  list-style: none;
  border-left: 2px solid var(--shell53cb0-accent);
  display: grid;
  gap: 12px;
}

.shell53cb0-timeline li {
  position: relative;
  padding: 10px 12px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  font-size: 0.89rem;
}

.shell53cb0-timeline li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--shell53cb0-accent);
  border: 2px solid var(--shell53cb0-bg-deep);
}

/* Worked calculation box */
.shell53cb0-calc {
  margin-top: 12px;
  padding: 12px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border-strong);
  border-radius: var(--shell53cb0-radius-sm);
  font-size: 0.88rem;
}

.shell53cb0-calc-title {
  margin: 0 0 6px;
  font-family: var(--shell53cb0-font-head);
  font-weight: 700;
  color: var(--shell53cb0-accent);
}

/* Q&A block list */
.shell53cb0-qa-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.shell53cb0-qa-item {
  padding: 12px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
}

.shell53cb0-qa-item p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--shell53cb0-muted);
}

/* Expandable accordion FAQ */
.shell53cb0-accordion {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shell53cb0-accordion details {
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  padding: 10px 12px;
}

.shell53cb0-accordion summary {
  font-family: var(--shell53cb0-font-head);
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--shell53cb0-text);
  cursor: pointer;
  min-height: 28px;
}

.shell53cb0-accordion details p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--shell53cb0-muted);
}

/* CTA buttons & action bar */
.shell53cb0-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.shell53cb0-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--shell53cb0-accent);
  color: var(--shell53cb0-ink-dark);
  border: 1.5px solid var(--shell53cb0-accent);
  border-radius: var(--shell53cb0-radius-sm);
  font-family: var(--shell53cb0-font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--shell53cb0-ease), border-color var(--shell53cb0-ease), transform var(--shell53cb0-ease), color var(--shell53cb0-ease);
}

.shell53cb0-btn-primary:hover {
  background: var(--shell53cb0-accent-deep);
  border-color: var(--shell53cb0-accent-deep);
  color: var(--shell53cb0-text);
  transform: translateY(-2px);
}

.shell53cb0-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background: transparent;
  color: var(--shell53cb0-text);
  border: 1.5px solid var(--shell53cb0-gray);
  border-radius: var(--shell53cb0-radius-sm);
  font-family: var(--shell53cb0-font-head);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--shell53cb0-ease), color var(--shell53cb0-ease), transform var(--shell53cb0-ease);
}

.shell53cb0-btn-outline:hover {
  border-color: var(--shell53cb0-accent);
  color: var(--shell53cb0-accent);
  transform: translateY(-2px);
}

.shell53cb0-inline-cta {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--shell53cb0-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shell53cb0-inline-cta:hover {
  color: #FFA040;
}

/* Entry shortcut cards */
.shell53cb0-entry-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.shell53cb0-entry-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 12px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  color: var(--shell53cb0-text);
  text-align: left;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color var(--shell53cb0-ease), transform var(--shell53cb0-ease);
}

.shell53cb0-entry-card:hover {
  border-color: var(--shell53cb0-accent);
  color: var(--shell53cb0-accent);
  transform: translateY(-2px);
}

/* Inner game detail hero */
.shell53cb0-game-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: 18px;
  background: var(--shell53cb0-surface);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-md);
}

.shell53cb0-game-hero-icon {
  flex: 0 0 88px;
  width: 88px;
  padding: 0;
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  overflow: hidden;
  background: var(--shell53cb0-bg-deep);
}

.shell53cb0-game-hero-icon img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.shell53cb0-game-hero-body {
  flex: 1;
  min-width: 0;
}

/* Homepage extended footer (placed before #shell53cb0-bottom) */
.shell53cb0-extfooter {
  margin: 0 14px 16px;
  padding: 16px 14px;
  background: var(--shell53cb0-bg-deep);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-md);
}

.shell53cb0-ef-group {
  margin: 0 0 16px;
}

.shell53cb0-ef-group:last-child {
  margin-bottom: 0;
}

.shell53cb0-ef-label {
  margin: 0 0 8px;
  font-family: var(--shell53cb0-font-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--shell53cb0-accent);
}

.shell53cb0-ef-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell53cb0-ef-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 11px;
  background: var(--shell53cb0-surface);
  border: 1px solid var(--shell53cb0-border);
  border-radius: var(--shell53cb0-radius-sm);
  color: var(--shell53cb0-text);
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color var(--shell53cb0-ease), color var(--shell53cb0-ease), transform var(--shell53cb0-ease);
}

.shell53cb0-ef-chip:hover {
  border-color: var(--shell53cb0-accent);
  color: var(--shell53cb0-accent);
  transform: translateY(-2px);
}

.shell53cb0-ef-brand {
  margin: 0;
  font-size: 0.86rem;
  color: var(--shell53cb0-muted);
}

.shell53cb0-ef-dir {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shell53cb0-ef-dir a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--shell53cb0-text);
  font-size: 0.84rem;
  text-decoration: none;
  border-bottom: 1px dashed rgba(169, 169, 169, 0.45);
}

.shell53cb0-ef-dir a:hover {
  color: var(--shell53cb0-accent);
  border-bottom-color: var(--shell53cb0-accent);
}

.shell53cb0-ef-closing {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--shell53cb0-border);
  font-size: 0.83rem;
  color: var(--shell53cb0-muted);
}

/* Global footer & brand-accented bottom navigation strip */
.shell53cb0-footer {
  padding: 10px 14px calc(var(--shell53cb0-bnav-h) + 18px);
  text-align: center;
}

.shell53cb0-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--shell53cb0-muted);
}

.shell53cb0-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shell53cb0-bnav-h);
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--shell53cb0-bg-deep);
  border-top: 2px solid var(--shell53cb0-accent);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

.shell53cb0-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--shell53cb0-muted);
  text-decoration: none;
  font-family: var(--shell53cb0-font-head);
  font-size: 0.72rem;
  font-weight: 600;
  transition: color var(--shell53cb0-ease), transform var(--shell53cb0-ease);
}

.shell53cb0-bnav-item:hover {
  color: var(--shell53cb0-text);
  transform: translateY(-2px);
}

.shell53cb0-bnav-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill var(--shell53cb0-ease), stroke var(--shell53cb0-ease);
}

.shell53cb0-bnav-accent {
  color: var(--shell53cb0-accent);
}

.shell53cb0-bnav-item.shell53cb0-is-active {
  color: var(--shell53cb0-accent);
  transform: translateY(-2px);
}

.shell53cb0-bnav-item.shell53cb0-is-active .shell53cb0-bnav-icon {
  fill: currentColor;
  stroke: var(--shell53cb0-bg-deep);
  stroke-width: 1.4;
}

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