/* =====================================================================
   tk999 net — interface-responsive-d5140b.css
   Mobile-first styles for tk999net.click (Bengali, bn-BD)
   Canvas: 320–430px phone frame, centered on wide screens.
   All classes and custom properties use the shell140bc- prefix.
   Palette: #1B263B base / #4682B4 steel / #48D1CC turquoise /
            #00FFFF accent / #D8BFD8 thistle / #FFFFFF paper
   ===================================================================== */

:root {
  --shell140bc-ink: #1B263B;
  --shell140bc-ink-deep: #101a2e;
  --shell140bc-surface: #1d2b47;
  --shell140bc-surface-2: #16223a;
  --shell140bc-steel: #4682B4;
  --shell140bc-turq: #48D1CC;
  --shell140bc-cyan: #00FFFF;
  --shell140bc-thistle: #D8BFD8;
  --shell140bc-paper: #FFFFFF;
  --shell140bc-text: #EAF3FF;
  --shell140bc-text-soft: rgba(234, 243, 255, 0.84);
  --shell140bc-text-dim: rgba(216, 191, 216, 0.78);
  --shell140bc-line: rgba(216, 191, 216, 0.20);
  --shell140bc-line-soft: rgba(216, 191, 216, 0.12);
  --shell140bc-r-s: 8px;
  --shell140bc-r-m: 14px;
  --shell140bc-r-l: 18px;
  --shell140bc-top-h: 56px;
  --shell140bc-tab-h: 60px;
  --shell140bc-display: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', 'Segoe UI', system-ui, sans-serif;
  --shell140bc-body: 'Noto Sans Bengali', 'SolaimanLipi', 'Hind Siliguri', 'Segoe UI', system-ui, sans-serif;
  --shell140bc-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- base ---------- */

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0b1220;
  color: var(--shell140bc-text);
  font-family: var(--shell140bc-body);
  font-size: 15px;
  line-height: 1.72;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.shell140bc-page {
  position: relative;
  min-width: 320px;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(150% 90% at 50% -10%, rgba(70, 130, 180, 0.30), rgba(27, 38, 59, 0) 60%),
    linear-gradient(180deg, #1B263B 0%, #182340 48%, #121b30 100%);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.5);
}

.shell140bc-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 120;
  padding: 8px 14px;
  border-radius: var(--shell140bc-r-s);
  background: var(--shell140bc-turq);
  color: #0e1c31;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.25s var(--shell140bc-ease);
}

.shell140bc-skip:focus {
  top: 8px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shell140bc-cyan);
  outline-offset: 2px;
}

/* ---------- top action band (minimal title + action strip) ---------- */

.shell140bc-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: var(--shell140bc-top-h);
  background: rgba(20, 29, 49, 0.97);
  border-bottom: 1px solid var(--shell140bc-line);
  backdrop-filter: blur(8px);
}

.shell140bc-toprow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell140bc-top-h);
  padding: 8px 12px;
}

.shell140bc-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.shell140bc-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 2px rgba(72, 209, 204, 0.55);
  flex: 0 0 auto;
}

.shell140bc-sitename {
  font-family: var(--shell140bc-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  color: var(--shell140bc-paper);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.shell140bc-sitename b {
  color: var(--shell140bc-cyan);
  font-weight: 800;
}

.shell140bc-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* compact dual-button group */
.shell140bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: var(--shell140bc-r-s);
  border: 1px solid transparent;
  font-family: var(--shell140bc-body);
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--shell140bc-ease),
    color 0.25s var(--shell140bc-ease),
    border-color 0.25s var(--shell140bc-ease),
    box-shadow 0.25s var(--shell140bc-ease);
}

.shell140bc-btn--solid {
  background: linear-gradient(135deg, var(--shell140bc-turq), var(--shell140bc-steel));
  color: #0d1c31;
  box-shadow: 0 4px 14px rgba(72, 209, 204, 0.28);
}

.shell140bc-btn--ghost {
  background: rgba(72, 209, 204, 0.12);
  border-color: rgba(72, 209, 204, 0.5);
  color: var(--shell140bc-turq);
}

.shell140bc-topbar .shell140bc-btn {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 12px;
}

/* menu trigger: borderless symbol with three strokes */
.shell140bc-menubtn {
  width: 40px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: 0;
  border-radius: var(--shell140bc-r-s);
  cursor: pointer;
  transition: background-color 0.25s var(--shell140bc-ease);
}

.shell140bc-menubtn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell140bc-text);
  transition: transform 0.25s var(--shell140bc-ease), opacity 0.2s linear;
}

.shell140bc-menubtn:hover {
  background: rgba(72, 209, 204, 0.10);
}

.shell140bc-menubtn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shell140bc-menubtn[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.shell140bc-menubtn[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- stacked overlay menu ---------- */

.shell140bc-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--shell140bc-ease), visibility 0.3s linear;
}

.shell140bc-drawer--open {
  visibility: visible;
  opacity: 1;
}

.shell140bc-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 23, 0.66);
}

/* right: max(0px, calc(50% - 215px)) keeps the panel inside the phone canvas */
.shell140bc-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  right: max(0px, calc(50% - 215px));
  width: min(84%, 330px);
  background: linear-gradient(180deg, #182238, #131c31);
  border-left: 1px solid var(--shell140bc-line);
  transform: translateX(103%);
  transition: transform 0.32s var(--shell140bc-ease);
  overflow-y: auto;
  padding: 16px 14px calc(var(--shell140bc-tab-h) + 26px);
}

.shell140bc-drawer--open .shell140bc-drawer__panel {
  transform: translateX(0);
}

.shell140bc-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.shell140bc-drawer__title {
  font-family: var(--shell140bc-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--shell140bc-thistle);
  margin: 0;
}

.shell140bc-drawer__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: var(--shell140bc-r-s);
  cursor: pointer;
  color: var(--shell140bc-text);
  font-size: 20px;
  line-height: 1;
  transition: color 0.25s var(--shell140bc-ease), background-color 0.25s var(--shell140bc-ease);
}

.shell140bc-drawer__close:hover {
  color: var(--shell140bc-cyan);
  background: rgba(72, 209, 204, 0.10);
}

.shell140bc-navlist {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.shell140bc-navlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 11px 12px;
  border-radius: var(--shell140bc-r-s);
  border-bottom: 1px solid var(--shell140bc-line-soft);
  color: var(--shell140bc-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background-color 0.25s var(--shell140bc-ease), color 0.25s var(--shell140bc-ease);
}

.shell140bc-navlink::after {
  content: '\203A';
  color: var(--shell140bc-text-dim);
  font-size: 16px;
  transition: color 0.25s var(--shell140bc-ease);
}

.shell140bc-navlink:hover {
  background: rgba(72, 209, 204, 0.10);
  color: var(--shell140bc-cyan);
}

.shell140bc-navlink--on {
  color: var(--shell140bc-cyan);
  box-shadow: inset 3px 0 0 var(--shell140bc-turq);
  background: rgba(72, 209, 204, 0.08);
}

.shell140bc-drawer__cta {
  margin-top: 6px;
  width: 100%;
}

/* ---------- hero ---------- */

.shell140bc-hero {
  padding: 18px 14px 4px;
}

.shell140bc-hero__title {
  font-family: var(--shell140bc-display);
  font-size: 23px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 0 0 10px;
  color: var(--shell140bc-paper);
}

.shell140bc-hero__title em {
  font-style: normal;
  color: var(--shell140bc-cyan);
}

.shell140bc-hero__text {
  margin: 0 0 12px;
  color: var(--shell140bc-text-soft);
  font-size: 14px;
}

.shell140bc-duo {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
}

.shell140bc-duo .shell140bc-btn {
  flex: 1 1 0;
}

/* ---------- banner carousel ---------- */

.shell140bc-carousel {
  position: relative;
  margin: 12px 12px 2px;
  border-radius: var(--shell140bc-r-m);
  overflow: hidden;
  border: 1px solid var(--shell140bc-line);
  background: var(--shell140bc-ink-deep);
}

.shell140bc-track {
  display: flex;
  transition: transform 0.45s var(--shell140bc-ease);
}

.shell140bc-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  text-decoration: none;
}

.shell140bc-slide img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  display: block;
}

.shell140bc-slide__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 12px 12px;
  background: linear-gradient(180deg, rgba(16, 26, 46, 0), rgba(16, 26, 46, 0.94));
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--shell140bc-paper);
}

.shell140bc-dots {
  position: absolute;
  bottom: 9px;
  right: 12px;
  display: flex;
  gap: 5px;
}

.shell140bc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background-color 0.25s var(--shell140bc-ease), width 0.25s var(--shell140bc-ease);
}

.shell140bc-dot--on {
  width: 17px;
  border-radius: 4px;
  background: var(--shell140bc-cyan);
}

.shell140bc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: rgba(16, 26, 46, 0.55);
  color: var(--shell140bc-paper);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--shell140bc-ease), color 0.25s var(--shell140bc-ease);
}

.shell140bc-arrow:hover {
  background: rgba(72, 209, 204, 0.75);
  color: #0d1c31;
}

.shell140bc-arrow--prev {
  left: 6px;
}

.shell140bc-arrow--next {
  right: 6px;
}

/* ---------- category strip (horizontal chips) ---------- */

.shell140bc-catstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 12px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shell140bc-catstrip::-webkit-scrollbar {
  display: none;
}

.shell140bc-chip {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(70, 130, 180, 0.18);
  border: 1px solid rgba(72, 209, 204, 0.30);
  color: #dff3f1;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  transition: background-color 0.25s var(--shell140bc-ease), color 0.25s var(--shell140bc-ease);
}

.shell140bc-chip:hover {
  background: rgba(72, 209, 204, 0.22);
  color: var(--shell140bc-cyan);
}

/* ---------- game sections ---------- */

.shell140bc-sec {
  padding: 20px 12px 4px;
  scroll-margin-top: calc(var(--shell140bc-top-h) + 10px);
}

.shell140bc-sec__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  border-left: 3px solid var(--shell140bc-turq);
  padding-left: 10px;
  margin-bottom: 8px;
}

.shell140bc-h2 {
  font-family: var(--shell140bc-display);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
  margin: 0;
  color: var(--shell140bc-paper);
}

.shell140bc-sec__count {
  color: var(--shell140bc-thistle);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.shell140bc-sec__text {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--shell140bc-text-soft);
}

.shell140bc-sec__text a,
.shell140bc-module a.shell140bc-inline {
  color: var(--shell140bc-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 255, 0.45);
  text-underline-offset: 3px;
}

.shell140bc-quickfacts {
  list-style: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--shell140bc-r-s);
  background: rgba(70, 130, 180, 0.12);
  border: 1px dashed rgba(72, 209, 204, 0.30);
}

.shell140bc-quickfacts li {
  position: relative;
  padding: 3px 0 3px 16px;
  font-size: 12.5px;
  color: var(--shell140bc-text-soft);
}

.shell140bc-quickfacts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--shell140bc-turq);
}

.shell140bc-seclinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.shell140bc-minilink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: var(--shell140bc-r-s);
  background: rgba(216, 191, 216, 0.10);
  border: 1px solid var(--shell140bc-line);
  color: var(--shell140bc-text);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color 0.25s var(--shell140bc-ease), color 0.25s var(--shell140bc-ease);
}

.shell140bc-minilink::before {
  content: '\2192';
  color: var(--shell140bc-turq);
  font-weight: 800;
}

.shell140bc-minilink:hover {
  border-color: var(--shell140bc-turq);
  color: var(--shell140bc-cyan);
}

/* game grid: 4 columns at 320px, 5 columns on wider phones */
.shell140bc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}

@media (min-width: 392px) {
  .shell140bc-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 10px;
  }
}

/* light floating-layer game card */
.shell140bc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 7px 5px 8px;
  border-radius: var(--shell140bc-r-m);
  background: linear-gradient(180deg, rgba(72, 209, 204, 0.10), rgba(70, 130, 180, 0.06));
  border: 1px solid var(--shell140bc-line-soft);
  box-shadow: 0 7px 18px rgba(8, 13, 23, 0.38);
  text-decoration: none;
  color: var(--shell140bc-text);
  transition: transform 0.2s var(--shell140bc-ease),
    border-color 0.25s var(--shell140bc-ease),
    box-shadow 0.25s var(--shell140bc-ease);
}

.shell140bc-card:hover {
  border-color: rgba(72, 209, 204, 0.55);
  box-shadow: 0 9px 22px rgba(8, 13, 23, 0.5);
}

.shell140bc-card:active {
  transform: translateY(2px);
  box-shadow: 0 4px 10px rgba(8, 13, 23, 0.4);
}

.shell140bc-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1526;
}

.shell140bc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shell140bc-card__name {
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  word-break: break-word;
}

/* ---------- content modules ---------- */

.shell140bc-module {
  margin: 18px 12px 0;
  padding: 16px 14px;
  border-radius: var(--shell140bc-r-m);
  background: rgba(24, 34, 56, 0.74);
  border: 1px solid var(--shell140bc-line-soft);
}

.shell140bc-module p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--shell140bc-text-soft);
}

.shell140bc-module p:last-child {
  margin-bottom: 0;
}

/* promotions list */
.shell140bc-offers {
  list-style: none;
  margin: 4px 0 12px;
  padding: 0;
}

.shell140bc-offers li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(216, 191, 216, 0.16);
}

.shell140bc-offers li:last-child {
  border-bottom: 0;
}

.shell140bc-offer__tag {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #0f2036;
  background: linear-gradient(135deg, var(--shell140bc-cyan), var(--shell140bc-turq));
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 2px;
}

.shell140bc-offer__title {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--shell140bc-paper);
  margin-bottom: 2px;
}

.shell140bc-offer__body {
  font-size: 12.5px;
  color: var(--shell140bc-text-soft);
}

/* cta band */
.shell140bc-ctaband {
  text-align: center;
  background:
    radial-gradient(120% 150% at 50% 0%, rgba(72, 209, 204, 0.20), rgba(24, 34, 56, 0) 72%),
    rgba(24, 34, 56, 0.8);
  border-color: rgba(72, 209, 204, 0.28);
}

.shell140bc-ctaband p {
  text-align: left;
}

/* achievements chips */
.shell140bc-milestones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 12px;
}

.shell140bc-milestone {
  padding: 10px 11px;
  border-radius: var(--shell140bc-r-s);
  background: rgba(70, 130, 180, 0.13);
  border: 1px solid var(--shell140bc-line-soft);
}

.shell140bc-milestone__num {
  display: block;
  font-family: var(--shell140bc-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--shell140bc-cyan);
  margin-bottom: 2px;
}

.shell140bc-milestone__title {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shell140bc-paper);
  margin-bottom: 3px;
}

.shell140bc-milestone__body {
  display: block;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--shell140bc-text-dim);
}

/* glossary */
.shell140bc-terms {
  margin: 4px 0 0;
}

.shell140bc-terms dt {
  font-family: var(--shell140bc-display);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--shell140bc-cyan);
  margin-top: 10px;
}

.shell140bc-terms dt:first-child {
  margin-top: 0;
}

.shell140bc-terms dd {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--shell140bc-text-soft);
}

/* ---------- extended home footer ---------- */

.shell140bc-ext {
  margin: 24px 12px 0;
  border-top: 1px solid var(--shell140bc-line);
  padding-top: 18px;
}

.shell140bc-ext__title {
  font-family: var(--shell140bc-display);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--shell140bc-thistle);
  letter-spacing: 0.3px;
  margin: 0 0 10px;
}

.shell140bc-promorow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.shell140bc-promoact {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(70, 130, 180, 0.15);
  border: 1px solid rgba(72, 209, 204, 0.24);
  color: var(--shell140bc-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.25s var(--shell140bc-ease), color 0.25s var(--shell140bc-ease),
    background-color 0.25s var(--shell140bc-ease);
}

.shell140bc-promoact svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--shell140bc-turq);
  transition: color 0.25s var(--shell140bc-ease), transform 0.25s var(--shell140bc-ease);
}

.shell140bc-promoact:hover {
  border-color: var(--shell140bc-turq);
  color: var(--shell140bc-cyan);
  background: rgba(72, 209, 204, 0.14);
}

.shell140bc-promoact:hover svg {
  color: var(--shell140bc-cyan);
  transform: translateY(-1px);
}

.shell140bc-brandnote {
  font-size: 12.5px;
  color: var(--shell140bc-text-soft);
  margin: 0 0 16px;
}

.shell140bc-dir {
  columns: 2;
  column-gap: 14px;
  margin-bottom: 14px;
}

.shell140bc-dir a {
  display: block;
  padding: 8px 0;
  color: var(--shell140bc-text-soft);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
  break-inside: avoid;
  border-bottom: 1px dotted rgba(216, 191, 216, 0.16);
  transition: color 0.25s var(--shell140bc-ease);
}

.shell140bc-dir a:hover {
  color: var(--shell140bc-cyan);
}

.shell140bc-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--shell140bc-text-dim);
  margin: 0;
}

/* ---------- copyright ---------- */

.shell140bc-copyright {
  text-align: center;
  padding: 16px 16px calc(var(--shell140bc-tab-h) + 24px + env(safe-area-inset-bottom));
  color: rgba(216, 191, 216, 0.62);
  font-size: 11.5px;
}

/* ---------- brand accent bottom tab bar ---------- */

.shell140bc-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: linear-gradient(180deg, rgba(22, 31, 51, 0.98), rgba(13, 20, 34, 0.995));
  border-top: 2px solid var(--shell140bc-steel);
  padding-bottom: env(safe-area-inset-bottom);
}

.shell140bc-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 6px 2px 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--shell140bc-body);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
  color: rgba(234, 243, 255, 0.64);
  text-decoration: none;
  transition: color 0.25s var(--shell140bc-ease);
}

.shell140bc-tab svg {
  width: 21px;
  height: 21px;
  transition: transform 0.25s var(--shell140bc-ease);
}

.shell140bc-tab:active {
  color: var(--shell140bc-paper);
}

.shell140bc-tab:hover svg {
  transform: translateY(-1px);
}

/* active state: top indicator line */
.shell140bc-tab--on {
  color: var(--shell140bc-cyan);
}

.shell140bc-tab--on::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--shell140bc-cyan);
}

/* Compatible completion: keep the phone canvas and original visual language. */
html { scroll-padding-top: 86px; }
button { font: inherit; }
main { min-width: 0; }
.shell140bc-topbar { padding-top: env(safe-area-inset-top); }
.shell140bc-toprow { padding: 6px 8px; gap: 4px; }
.shell140bc-brand { min-height: 44px; gap: 6px; }
.shell140bc-logo { width: 32px; height: 32px; }
.shell140bc-sitename { font-size: 16px; }
.shell140bc-actions { gap: 2px; }
.shell140bc-topbar .shell140bc-btn { min-height: 44px; padding: 7px; font-size: 11px; }
.shell140bc-menubtn { width: 44px; height: 44px; }
.shell140bc-btn--solid { background: var(--shell140bc-turq); }
.shell140bc-btn--ghost { border-color: transparent; }
.shell140bc-drawer--open { transition: opacity .3s var(--shell140bc-ease); visibility: visible; }
.shell140bc-drawer__panel { padding-top: calc(12px + env(safe-area-inset-top)); }
.shell140bc-navlink--on { box-shadow: inset 0 3px 0 var(--shell140bc-turq); }
.shell140bc-hero__title { overflow-wrap: anywhere; font-size: 22px; }
.shell140bc-h2 { margin-bottom: 10px; overflow-wrap: anywhere; }
.shell140bc-sec__head .shell140bc-h2 { margin-bottom: 0; }
.shell140bc-catstrip { flex-wrap: wrap; overflow-x: visible; gap: 4px; }
.shell140bc-chip { padding: 8px 10px; }
.shell140bc-hero p, .shell140bc-module p, .shell140bc-sec__text { font-size: 14px; }
.shell140bc-slide { border: 0; padding: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.shell140bc-carousel { touch-action: pan-y; user-select: none; }
.shell140bc-slide img { height: auto; aspect-ratio: 1915 / 450; object-fit: contain; pointer-events: none; }
.shell140bc-slide__cap { position: static; display: block; padding: 12px; min-height: 78px; background: var(--shell140bc-ink-deep); }
.shell140bc-carousel-controls { display: flex; justify-content: center; align-items: center; gap: 2px; padding: 4px; background: var(--shell140bc-surface-2); }
.shell140bc-arrow, .shell140bc-dot, .shell140bc-pause { position: static; transform: none; width: 44px; height: 44px; min-width: 44px; border: 0; border-radius: 8px; cursor: pointer; color: white; background: transparent; }
.shell140bc-dot { position: relative; }
.shell140bc-dot::after { content: ''; width: 8px; height: 8px; position: absolute; inset: 18px; border-radius: 50%; background: var(--shell140bc-thistle); }
.shell140bc-dot--on::after { background: var(--shell140bc-cyan); }
.shell140bc-pause { width: auto; padding: 4px 8px; font-size: 12px; }
.shell140bc-pause[aria-pressed='true'] { color: var(--shell140bc-cyan); }
.shell140bc-card { min-width: 0; width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.shell140bc-card__name { display: block; min-height: 4.2em; overflow: visible; overflow-wrap: anywhere; font-size: 11px; }
.shell140bc-module { border: 0; }
.shell140bc-module li { margin: 8px 0; }
.shell140bc-module ul, .shell140bc-module ol { padding-left: 22px; font-size: 14px; }
.shell140bc-module a, .shell140bc-sec__text a { color: var(--shell140bc-cyan); text-underline-offset: 3px; }
main a[href$='.html'] { display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; }
.shell140bc-related { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.shell140bc-related a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; }
.shell140bc-case { margin: 14px 0; padding-left: 12px; border-left: 3px solid var(--shell140bc-steel); }
.shell140bc-case strong { color: var(--shell140bc-thistle); }
.shell140bc-choice { margin: 14px 0; padding: 12px; background: rgba(72,209,204,.07); border-radius: 8px; }
.shell140bc-comparison { margin: 14px 0; }
.shell140bc-comparison dt { margin-top: 12px; font-weight: 800; color: var(--shell140bc-turq); }
.shell140bc-comparison dd { margin: 4px 0; font-size: 14px; }
.shell140bc-question { padding: 14px 0; border-bottom: 1px solid var(--shell140bc-line); }
.shell140bc-question h3 { font-size: 15px; line-height: 1.6; margin: 0 0 8px; color: var(--shell140bc-thistle); }
.shell140bc-question p { margin-bottom: 8px; }
.shell140bc-checklist li::marker { color: var(--shell140bc-turq); }
.shell140bc-checklist strong { display: block; color: var(--shell140bc-paper); }
.shell140bc-promoact { font-family: inherit; text-align: left; border: 0; }
.shell140bc-promoact span[aria-hidden] { color: var(--shell140bc-turq); font-size: 20px; }
.shell140bc-dir { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 12px; columns: auto; }
.shell140bc-dir a { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.shell140bc-dir a::before { content: '\2197'; color: var(--shell140bc-turq); }
.shell140bc-copyright { color: var(--shell140bc-thistle); }
.shell140bc-tab { color: #EAF3FF; }
.shell140bc-tab--on { color: var(--shell140bc-cyan); }
.shell140bc-milestones { list-style: none; padding: 0 !important; }
.shell140bc-milestone { margin: 0 !important; font-size: 13px; }
.shell140bc-milestone strong { display: block; color: var(--shell140bc-turq); margin-bottom: 5px; }
.shell140bc-sec[data-shell140bc-seen='true'] .shell140bc-sec__head { border-left-color: var(--shell140bc-cyan); }
.shell140bc-skip { min-height: 44px; }

/* ---------- wide-screen note ---------- */

@media (min-width: 431px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(70, 130, 180, 0.16), rgba(11, 18, 32, 0) 70%),
      #0b1220;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
