:root {
  --bg-app: #F7F5FB;
  --bg-raised: #FFFFFF;
  --surface-lavender: #B8A6FF;
  --surface-sky: #9EC9F0;
  --surface-mint: #7DD4A8;
  --surface-peach: #FFB59E;
  --surface-pink: #F5B8D0;
  --surface-lemon: #F5D77A;
  --action-primary: #FF7A6B;
  --action-on: #FFFFFF;
  --text-strong: #2E2A3F;
  --text-muted: #6B6580;
  --border-color: #C9B5FF;
  --surface-tint: #F0ECFB;
  --accent-ink: #6A4FD0;
  --code-bg: #201933;
  --code-text: #C9C0E8;
  --line-number: #6E6493;
  --r-card: 28px;
  --r-button: 18px;
  --r-chip: 999px;
  --r-input: 16px;
  --nav-height: 58px;
  --mono: ui-monospace, 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  --primary-grad: linear-gradient(135deg, #FF9A85, #FF6F5C);
  --danger-grad: linear-gradient(135deg, #FF9A85, #F0574A);
  --shadow-white: 8px 8px 22px rgba(140,108,255,0.16), -8px -8px 20px rgba(255,255,255,0.85), inset 3px 3px 6px rgba(255,255,255,0.7), inset -5px -5px 10px rgba(140,108,255,0.10);
  --shadow-hover: 12px 12px 30px rgba(140,108,255,0.22), -10px -10px 24px rgba(255,255,255,0.9), inset 3px 3px 6px rgba(255,255,255,0.7), inset -5px -5px 10px rgba(140,108,255,0.10);
  --shadow-coral: 8px 8px 22px rgba(230,90,75,0.35), -6px -6px 18px rgba(255,255,255,0.6), inset 3px 3px 6px rgba(255,255,255,0.5), inset -5px -5px 10px rgba(230,90,75,0.30);
  --shadow-pressed: inset 4px 4px 8px rgba(140,108,255,0.20), inset -4px -4px 8px rgba(255,255,255,0.75);
  --shadow-sm: 4px 4px 12px rgba(140,108,255,0.18), -3px -3px 10px rgba(255,255,255,0.7);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}
[hidden] {
  display: none !important;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes navIn {
  from { opacity: 0; transform: translate(-50%, -14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .navbar { opacity: 1 !important; transform: translateX(-50%) !important; }
  .shell > .panel, .code-card, .site-footer {
    opacity: 1 !important;
    transform: none !important;
  }
}
body {
  font-family: 'Quicksand', 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-strong);
  background: var(--bg-app);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}
button, a, input, textarea, select {
  font: inherit;
}
.bg-fixed-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: -2;
  background-color: var(--bg-app);
  background-image: radial-gradient(circle at 12% 12%, rgba(184,166,255,0.20), transparent 42%), radial-gradient(circle at 88% 8%, rgba(158,201,240,0.18), transparent 40%), radial-gradient(circle at 78% 92%, rgba(245,184,208,0.16), transparent 44%);
  transform: translate3d(0, 0, 0);
}
.navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 1176px;
  height: var(--nav-height);
  background: var(--bg-raised);
  border-radius: var(--r-button);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  z-index: 1000;
  box-shadow: var(--shadow-white);
  opacity: 0;
  animation: navIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nav-back-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-app);
  border-radius: var(--r-input);
  color: var(--action-primary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}
.nav-back-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-white);
}
.nav-back-icon:active {
  transform: scale(0.96);
  box-shadow: var(--shadow-pressed);
}
.nav-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  color: var(--text-strong);
}
.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 30px) 16px 48px;
  display: grid;
  gap: 22px;
}
.shell.shell-code {
  max-width: 1360px;
}
.panel {
  background: var(--bg-raised);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-white);
  padding: 24px;
}
.shell > .panel {
  opacity: 0;
  transform: translateY(26px);
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.shell > .panel:nth-of-type(1) { animation-delay: 0.08s; }
.shell > .panel:nth-of-type(2) { animation-delay: 0.16s; }
.shell > .panel:nth-of-type(3) { animation-delay: 0.24s; }
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-block;
  color: var(--accent-ink);
  background: var(--surface-tint);
  padding: 5px 13px;
  border-radius: var(--r-chip);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-strong);
}
.hero-actions, .page-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: none;
  border-radius: var(--r-button);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  color: var(--action-on);
  background: var(--action-primary);
  box-shadow: var(--shadow-coral);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-pressed);
}
.btn-primary {
  background: var(--action-primary);
  color: var(--action-on);
}
.btn-ghost {
  background: var(--bg-app);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:active {
  box-shadow: var(--shadow-pressed);
}
.btn-danger {
  background: var(--danger-grad) !important;
  color: #fff !important;
  box-shadow: var(--shadow-coral);
}
.filters-panel .toolbar {
  grid-template-columns: 1fr 220px;
}
.toolbar {
  display: grid;
  gap: 14px;
}
.toolbar.compact {
  grid-template-columns: 1fr 1fr;
}
.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon svg {
  position: absolute;
  left: 15px;
  color: var(--text-muted);
  pointer-events: none;
}
.input-icon input {
  padding-left: 42px;
}
input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: var(--r-input);
  background: var(--bg-app);
  color: var(--text-strong);
  font-weight: 600;
  box-shadow: var(--shadow-pressed);
  outline: none;
  transition: box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  box-shadow: var(--shadow-pressed), 0 0 0 3px rgba(184,166,255,0.4);
}
input::placeholder, textarea::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}
textarea {
  min-height: 96px;
  resize: vertical;
}
.code-area {
  min-height: 180px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.6;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.section-title h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
}
.section-title span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--surface-tint);
  padding: 5px 12px;
  border-radius: var(--r-chip);
  box-shadow: var(--shadow-sm);
}
.form-panel {
  display: grid;
  gap: 16px;
}
.dropzone {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--r-input);
  background: var(--bg-app);
  box-shadow: var(--shadow-pressed);
  cursor: pointer;
  color: var(--accent-ink);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.dropzone:hover {
  transform: translateY(-1px);
}
.dropzone span {
  font-weight: 700;
  color: var(--text-strong);
}
.dropzone small {
  color: var(--text-muted);
  font-weight: 600;
}
button#saveBtn {
  background: var(--action-primary);
  color: var(--action-on);
  border: none;
  border-radius: var(--r-button);
  padding: 15px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
button#saveBtn:hover {
  transform: translateY(-2px);
}
button#saveBtn:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-pressed);
}
button#saveBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.form-msg {
  font-size: 0.85rem;
  font-weight: 700;
  min-height: 1.2em;
}
.form-msg.success {
  color: #059669;
}
.form-msg.error {
  color: #dc2626;
}
.list-panel {
  display: grid;
  gap: 0;
}
.code-card {
  display: grid;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--bg-raised);
  border: none;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-white);
  padding: 22px;
  cursor: pointer;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(24px);
}
.code-card.in-view {
  animation: cardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.code-card:last-child {
  margin-bottom: 0;
}
.code-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.code-card:active {
  transform: scale(0.99);
}
.card-top, .card-meta, .card-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.card-top strong {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-strong);
}
.code-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.badge, .lang {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: var(--r-chip);
  background: var(--surface-tint);
  box-shadow: var(--shadow-sm);
  color: var(--accent-ink);
  font-size: 0.74rem;
  font-weight: 700;
}
.card-meta, .card-stats {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.card-stats {
  gap: 16px;
  padding-top: 2px;
}
.stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stat svg {
  color: var(--accent-ink);
}
.stat.liked, .stat.liked svg {
  color: var(--action-primary);
}
.card-preview {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--code-text);
  background: var(--code-bg);
  border-radius: 12px;
  padding: 11px 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: var(--shadow-pressed);
}
.empty-state {
  padding: 26px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-app);
  border-radius: var(--r-input);
  box-shadow: var(--shadow-pressed);
}
.code-loader {
  display: grid;
  gap: 14px;
}
.loader-line {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--surface-tint) 25%, #ffffff 37%, var(--surface-tint) 63%);
  background-size: 400% 100%;
  animation: loaderShimmer 1.4s ease infinite;
  box-shadow: var(--shadow-sm);
}
.loader-title {
  width: 55%;
  height: 24px;
}
.loader-sub {
  width: 30%;
  height: 14px;
}
.loader-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.loader-actions .loader-line {
  flex: 1 1 110px;
  height: 44px;
  border-radius: var(--r-input);
}
.loader-shell {
  background: var(--code-bg);
  border-radius: 20px;
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow-white);
}
.loader-shell .loader-line {
  background: linear-gradient(90deg, rgba(201,192,232,0.08) 25%, rgba(201,192,232,0.24) 37%, rgba(201,192,232,0.08) 63%);
  background-size: 400% 100%;
  box-shadow: none;
}
@keyframes loaderShimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.detail-panel {
  display: grid;
  gap: 20px;
}
#detail {
  display: grid;
  gap: 12px;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}
.detail-head .title-area h2 {
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-strong);
}
.detail-head .title-area p {
  margin: 6px 0 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.detail-head .badge-lock {
  margin-top: 0;
  flex-shrink: 0;
}
.detail-meta {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin: 10px 0 16px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.detail-meta .filename {
  font-family: var(--mono);
  font-size: 0.82rem;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.detail-actions button, .detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 18px;
  border-radius: var(--r-input);
  border: none;
  background: var(--bg-app);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex: 1 1 130px;
}
.detail-actions button:hover, .detail-actions a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-white);
}
.detail-actions button:active, .detail-actions a:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-pressed);
}
.detail-actions .liked {
  background: var(--action-primary);
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.detail-desc {
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}
.code-shell {
  width: 100%;
  min-width: 0;
  background: var(--code-bg);
  color: var(--code-text);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-white);
}
.code-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(201,192,232,0.14);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--code-text);
}
.code-header .badge {
  background: rgba(184,166,255,0.18);
  color: #D9CCFF;
  box-shadow: none;
}
.code-content {
  display: block;
  width: 100%;
  max-height: 68vh;
  margin: 0;
  padding: 12px 0;
  overflow-x: auto;
  overflow-y: auto;
  white-space: pre;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  tab-size: 4;
  -webkit-overflow-scrolling: touch;
}
.code-content code {
  display: block;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
}
.code-line {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
  min-height: 1.6em;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  white-space: pre;
}
.line-number {
  display: block;
  flex: 0 0 3em;
  width: 3em;
  height: 1.6em;
  margin: 0;
  padding: 0 0.85rem 0 0;
  text-align: right;
  font-size: 10px;
  line-height: 1.6;
  color: var(--line-number);
  font-variant-numeric: tabular-nums;
  user-select: none;
  position: sticky;
  left: 0;
  background: var(--code-bg);
  z-index: 2;
}
.line-source {
  display: block;
  flex: 1 0 auto;
  min-width: 0;
  margin: 0;
  padding: 0 20px 0 0;
  font-size: 10px;
  line-height: 1.6;
  white-space: pre;
}
.token-comment {
  color: #8078A6;
  font-style: italic;
}
.token-string {
  color: #7DD4A8;
}
.token-number {
  color: #C9A6FF;
}
.token-keyword {
  color: #8EC5F0;
  font-style: italic;
}
.token-boolean {
  color: #C9A6FF;
}
.token-function {
  color: #F5D77A;
}
.token-punctuation {
  color: var(--code-text);
  opacity: 0.7;
}
.token-property {
  color: #F5B8D0;
}
.token-operator {
  color: #F5B8D0;
}
.token-tag {
  color: #F5B8D0;
}
.token-attr-name {
  color: #7DD4A8;
}
.token-attr-value {
  color: #F5D77A;
}
.token-class-name {
  color: #8EC5F0;
}
.token-selector {
  color: #7DD4A8;
}
.token-variable {
  color: var(--code-text);
}
.token-constant {
  color: #C9A6FF;
}
.token-regex {
  color: #F5D77A;
}
.token-important {
  color: #F5B8D0;
  font-weight: 700;
}
.password-gate {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--r-input);
  background: var(--bg-app);
  box-shadow: var(--shadow-pressed);
  margin-bottom: 4px;
}
.password-gate p {
  font-weight: 700;
  color: var(--text-strong);
}
.password-gate .toolbar.compact {
  grid-template-columns: 1fr auto;
}
.badge-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 13px;
  border-radius: var(--r-chip);
  background: var(--surface-tint);
  box-shadow: var(--shadow-sm);
  color: var(--accent-ink);
  font-size: 0.74rem;
  font-weight: 700;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  min-width: 220px;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border-radius: var(--r-button);
  background: var(--code-bg);
  color: #EFEAFB;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: var(--shadow-white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2000;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.toast.error {
  background: var(--action-primary);
  color: #fff;
}
.toast.success {
  background: var(--surface-mint);
  color: #14432c;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46,42,63,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2100;
}
.modal-overlay.show {
  opacity: 1;
}
.modal-panel {
  background: var(--bg-raised);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-white);
  padding: 26px;
  max-width: 380px;
  width: 100%;
  display: grid;
  gap: 18px;
  transform: scale(0.94);
  transition: transform 0.2s ease;
}
.modal-overlay.show .modal-panel {
  transform: scale(1);
}
.modal-panel.share-panel {
  max-width: 460px;
}
.share-panel .toolbar.compact {
  grid-template-columns: 1fr auto;
}
.share-panel input {
  font-family: var(--mono);
  font-size: 0.82rem;
}
.modal-message {
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.55;
  font-size: 1.02rem;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.site-footer {
  margin-top: 2rem;
  padding: 24px 12px;
  background: transparent;
  opacity: 0;
  transform: translateY(20px);
}
.site-footer.in-view {
  animation: cardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
}
.footer-brand-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
}
.footer-brand-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.15s ease;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.footer-links a:hover {
  background: transparent;
  color: var(--action-primary);
  box-shadow: none;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
@media (min-width: 769px) {
  .shell {
    padding: calc(var(--nav-height) + 36px) 24px 56px;
    gap: 26px;
  }
  .panel {
    padding: 30px;
    border-radius: 30px;
  }
  .detail-actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .detail-actions button,
  .detail-actions a {
    flex: 0 0 auto;
  }
}
@media (max-width: 720px) {
  .filters-panel .toolbar,
  .toolbar.compact {
    grid-template-columns: 1fr;
  }
  .hero {
    align-items: flex-start;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1;
  }
  .section-title {
    align-items: flex-start;
  }
  .code-content {
    max-height: 56vh;
    font-size: 9px;
    line-height: 1.55;
  }
  .code-line {
    min-height: 1.55em;
    line-height: 1.55;
  }
  .line-number {
    flex-basis: 2.2em;
    width: 2.2em;
    font-size: 9px;
    line-height: 1.55;
    padding-right: 0.6rem;
  }
  .line-source {
    font-size: 9px;
    line-height: 1.55;
    padding-right: 14px;
  }
}
@media (max-width: 480px) {
  .panel, .site-footer {
    border-radius: 22px;
  }
}