/* =============================================================================
   VS Code Skills Store — Stylesheet
============================================================================= */

/* ── Reset + Variables ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:            #f6f8fa;
  --surface:       #ffffff;
  --border:        #d0d7de;
  --border-muted:  #e8ecf0;
  --text:          #1f2328;
  --text-muted:    #656d76;
  --text-subtle:   #8c959f;
  --accent:        #007acc;
  --accent-hover:  #0068b0;
  --radius:        10px;
  --radius-sm:     6px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:        0 4px 14px rgba(0,0,0,.1),  0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:     0 24px 64px rgba(0,0,0,.16), 0 8px 24px rgba(0,0,0,.1);
  --nav-height:    56px;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  user-select: none;
}

.brand-emoji { font-size: 20px; line-height: 1; }

.brand-text {
  font-size: 15px;
  color: var(--text);
  letter-spacing: -.01em;
}

.brand-text strong { color: var(--accent); font-weight: 700; }

.brand-for {
  font-size: 12px;
  color: var(--text-subtle);
  font-weight: 400;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .15s ease;
  line-height: 1;
}

.nav-btn:hover {
  background: var(--bg);
  color: var(--text);
}

.nav-btn.active {
  background: #e8f4fd;
  color: var(--accent);
  border-color: #c4dff5;
}

/* ── Pages ──────────────────────────────────────────────────────────────── */
.page {
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
}

.hidden { display: none !important; }

/* ── Store Hero ─────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, #0d1b2a 0%, #1a2f45 55%, #0f2035 100%);
  padding: 72px 24px 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0,122,204,.22) 0%, transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,180,255,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,122,204,.18);
  color: #7dc7f5;
  border: 1px solid rgba(0,122,204,.3);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -.6px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.hero-desc code {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: #93c5fd;
}

/* ── Store Body ─────────────────────────────────────────────────────────── */
.store-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

/* ── Controls Bar ───────────────────────────────────────────────────────── */
.controls-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 220px;
  display: block;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
  width: 15px;
  height: 15px;
}

#search-input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

#search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,122,204,.12);
}

#search-input::placeholder { color: var(--text-subtle); }

.cat-select {
  height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23656d76' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: border-color .15s;
}

.cat-select:focus { border-color: var(--accent); }

.result-count {
  font-size: 13px;
  color: var(--text-subtle);
  white-space: nowrap;
}

/* ── Skills Grid ────────────────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* ── Skill Card ─────────────────────────────────────────────────────────── */
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  cursor: default;
}

.skill-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: #b8cedd;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-icon {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
}

.card-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-top: 2px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.58;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-muted);
  margin-top: auto;
  gap: 8px;
  flex-wrap: wrap;
}

.card-author {
  font-size: 12px;
  color: var(--text-subtle);
}

.card-actions {
  display: flex;
  gap: 8px;
}

/* ── Category Badge ─────────────────────────────────────────────────────── */
.category-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.5;
}

.version-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .15s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  gap: 5px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg);
  border-color: #a0adb8;
}

.btn-icon {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.btn-icon:hover {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
}

/* ── Empty State ────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 88px 24px;
}

.empty-emoji  { font-size: 52px; margin-bottom: 18px; }
.empty-title  { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.empty-sub    { font-size: 14px; color: var(--text-muted); }

/* ── Modal Overlay ──────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* ── Modal ──────────────────────────────────────────────────────────────── */
.modal {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 800px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-in .2s cubic-bezier(.2,.8,.4,1) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(.95) translateY(12px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.modal-skill-icon {
  font-size: 38px;
  line-height: 1;
  flex-shrink: 0;
}

.modal-title-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px 36px;
  scroll-behavior: smooth;
}

/* ── Markdown Body (inside modal) ───────────────────────────────────────── */
.markdown-body h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-muted);
  color: var(--text);
}

.markdown-body h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}

.markdown-body h2:first-child { margin-top: 0; }

.markdown-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 22px 0 8px;
  color: var(--text);
}

.markdown-body p {
  font-size: 14px;
  line-height: 1.68;
  margin: 0 0 12px;
  color: var(--text-muted);
}

.markdown-body p strong { color: var(--text); }

.markdown-body ul, .markdown-body ol {
  font-size: 14px;
  margin: 0 0 14px;
  padding-left: 22px;
}

.markdown-body li {
  margin-bottom: 5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.markdown-body li strong { color: var(--text); }

.markdown-body code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: #f0f3f6;
  border: 1px solid var(--border-muted);
  padding: 2px 6px;
  border-radius: 4px;
  color: #c7254e;
}

.markdown-body pre {
  background: #0d1117;
  border-radius: 8px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0 0 18px;
  border: 1px solid #30363d;
}

.markdown-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: #e6edf3;
  font-size: 13px;
  line-height: 1.6;
}

.markdown-body hr {
  border: none;
  border-top: 1px solid var(--border-muted);
  margin: 28px 0;
}

.markdown-body strong { font-weight: 600; }
.markdown-body em { font-style: italic; }

/* ── Guide Layout ───────────────────────────────────────────────────────── */
.guide-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 100px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 52px;
  align-items: start;
}

/* ── Guide Sidebar ──────────────────────────────────────────────────────── */
.guide-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 36px);
  padding-top: 36px;
}

.sidebar-heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-subtle);
  margin-bottom: 10px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sidebar-link {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all .15s ease;
}

.sidebar-link:hover {
  color: var(--text);
  background: var(--surface);
  border-left-color: var(--border);
}

/* ── Guide Article ──────────────────────────────────────────────────────── */
.guide-article {
  padding-top: 32px;
}

.guide-hero {
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.guide-hero-badge {
  display: inline-block;
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}

.guide-hero h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -.6px;
}

.guide-hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
}

.guide-section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.guide-section h2 {
  font-size: 23px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -.3px;
}

.guide-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 10px;
}

.guide-section p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.guide-section p strong { color: var(--text); }

.guide-section code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: #f0f3f6;
  border: 1px solid var(--border-muted);
  padding: 2px 6px;
  border-radius: 4px;
  color: #0550ae;
}

.guide-section ul, .guide-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.guide-section li {
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.guide-section li strong { color: var(--text); }

/* ── Callout boxes ──────────────────────────────────────────────────────── */
.callout {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.65;
}

.callout-blue  { background: #f0f9ff; border-color: #bae6fd; color: #0c4a6e; }
.callout-green { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.callout-amber { background: #fffbeb; border-color: #fde68a; color: #78350f; }

.callout-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.callout-body strong { font-weight: 600; }

/* ── Flow Diagram ───────────────────────────────────────────────────────── */
.flow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 24px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.flow-num {
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 110px;
  line-height: 1.4;
}

.flow-arrow {
  font-size: 20px;
  color: var(--text-subtle);
  flex-shrink: 0;
  font-weight: 300;
}

/* ── Code blocks (guide) ────────────────────────────────────────────────── */
.code-block-wrap {
  margin: 16px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.code-block-label {
  background: #f6f8fa;
  border-bottom: 1px solid var(--border);
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.code-block-pre {
  background: #0d1117;
  padding: 16px 20px;
  overflow-x: auto;
  margin: 0;
}

.code-block-pre code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #e6edf3;
  background: none;
  border: none;
  padding: 0;
  line-height: 1.6;
}

/* ── Comparison boxes ───────────────────────────────────────────────────── */
.comparison-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}

.comparison-bad, .comparison-good {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid;
}

.comparison-bad  { background: #fff5f5; border-color: #fecaca; }
.comparison-good { background: #f0fdf4; border-color: #bbf7d0; }

.comparison-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.comparison-bad  .comparison-label { color: #991b1b; }
.comparison-good .comparison-label { color: #166534; }

.comparison-code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  display: block;
  word-break: break-word;
  background: none;
  border: none;
  padding: 0;
}

/* ── Guide Table ────────────────────────────────────────────────────────── */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.guide-table th {
  background: var(--bg);
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--border);
}

.guide-table td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.6;
}

.guide-table td strong { color: var(--text); }

.guide-table td code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: #f0f3f6;
  border: 1px solid var(--border-muted);
  padding: 1px 5px;
  border-radius: 3px;
  color: #0550ae;
}

.guide-table tr:hover td { background: #fafbfc; }

/* ── Do's and Don'ts ────────────────────────────────────────────────────── */
.dos-donts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.dos-box, .donts-box {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid;
}

.dos-box   { background: #f0fdf4; border-color: #bbf7d0; }
.donts-box { background: #fff5f5; border-color: #fecaca; }

.dos-box h3   { color: #166534; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.donts-box h3 { color: #991b1b; font-size: 15px; font-weight: 600; margin-bottom: 14px; }

.dos-box ul, .donts-box ul { padding-left: 20px; margin: 0; }

.dos-box li, .donts-box li {
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 7px;
  color: var(--text);
}

.dos-box li code, .donts-box li code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.08);
  padding: 1px 5px;
  border-radius: 3px;
  color: inherit;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .guide-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .guide-sidebar {
    position: static;
    padding-top: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .sidebar-link {
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .sidebar-link:hover {
    border-left: none;
    border-bottom-color: var(--border);
  }

  .comparison-wrap,
  .dos-donts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 52px 20px 48px; }
  .hero-title { font-size: 28px; }
  .store-body { padding: 24px 16px 56px; }

  .modal {
    max-height: 96vh;
    border-radius: 12px 12px 0 0;
    align-self: flex-end;
  }

  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-body { padding: 20px; }

  .modal-header { padding: 16px 18px; }
  .modal-title-text { font-size: 16px; }
  .modal-skill-icon { font-size: 28px; }
  .modal-meta { gap: 10px; }

  .guide-wrap { padding: 0 16px 60px; }
  .guide-hero h1 { font-size: 26px; }
}

@media (max-width: 400px) {
  .nav-inner { padding: 0 14px; }
  .brand-for { display: none; }
  .nav-btn span { display: none; }
}
