  :root {
    --bg:      #080b0d;
    --panel:   #0d1117;
    --border:  #1e2d3d;
    --green:   #00d46b;
    --green2:  #7ff5b8;
    --amber:   #ffb74d;
    --red:     #ff5252;
    --text:    #c9d1d9;
    --muted:   #8b97a3;
    --font:    'Courier New', Courier, monospace;
  }
  
  /* Light theme */
  :root.light-mode {
    --bg:      #f5f5f5;
    --panel:   #ffffff;
    --border:  #e0e0e0;
    --green:   #0b6f3b;
    --green2:  #0f8f4e;
    --amber:   #9a5c00;
    --red:     #d32f2f;
    --text:    #212121;
    --muted:   #555555;
  }

  .skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 1001;
  }

  .skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    overflow: visible;
    padding: .45rem .7rem;
    border-radius: 4px;
    border: 1px solid var(--green);
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
  }

  main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    transition: background-color .3s, color .3s;
  }

  /* ── Theme switcher ── */
  .theme-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .3s;
    z-index: 1000;
  }
  .theme-switcher:hover {
    background: var(--border);
  }
  .theme-switcher::before {
    content: '🌙';
    font-size: 1.5rem;
    margin-top: -3px;
    margin-left: 1px;
  }
  :root.light-mode .theme-switcher::before {
    content: '☀️';
  }

  /* ── Language switcher ── */
  .lang-switcher {
    position: fixed;
    top: 1rem;
    right: 4rem;
    width: auto;
    min-width: 2.8rem;
    height: 2.5rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
  }

  .lang-switcher-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    height: 100%;
    padding: 0 0.4rem;
    position: relative;
  }

  .lang-switcher-flag {
    width: 1.4rem;
    height: 1rem;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .lang-switcher-code {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
    text-transform: uppercase;
  }

  .lang-switcher-arrow {
    font-size: 0.5rem;
    color: var(--muted);
    margin-top: -2px;
    opacity: 0;
    transition: opacity .2s, transform .2s;
  }

  .lang-switcher:hover {
    border-color: var(--green);
    background: var(--border);
  }

  .lang-switcher:hover .lang-switcher-arrow {
    opacity: 1;
  }

  .lang-switcher.active .lang-switcher-arrow {
    opacity: 1;
    transform: rotate(180deg);
  }

  .lang-switcher-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.4rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: none;
    flex-direction: column;
    gap: 0;
    min-width: 140px;
    max-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
  }

  .lang-switcher.active .lang-switcher-menu {
    display: flex;
  }

  .lang-switcher-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.7rem;
    border: none;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-size: 0.71rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color .15s, color .15s;
    border-bottom: 1px solid var(--border);
  }

  .lang-switcher-option:last-child {
    border-bottom: none;
  }

  .lang-switcher-option:hover {
    background: rgba(0, 212, 107, 0.08);
    color: var(--green2);
  }

  .lang-switcher-option.current {
    background: rgba(0, 212, 107, 0.12);
    color: var(--green2);
    font-weight: 600;
  }

  .lang-switcher-option-flag {
    width: 1.3rem;
    height: 0.95rem;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .lang-switcher-option-name {
    flex: 1;
  }

  /* ── Header ── */
  header { text-align: center; margin-bottom: 2.5rem; }
  header .logo {
    font-size: 1.1rem;
    color: var(--green);
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: .4rem;
  }
  header .logo .logo-image {
    width: 182px;
    height: 60px;
    max-width: 100%;
    margin-bottom: .5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  header .logo a {
    color: var(--green);
    text-decoration: none;
    transition: opacity .2s;
  }
  header .logo a:hover {
    opacity: 0.8;
  }
  .top-nav {
    display: flex;
    gap: .8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: .25rem 0 .7rem;
  }
  .top-nav-main {
    margin-bottom: .35rem;
  }
  .top-nav-user {
    margin-top: 0;
    margin-bottom: .8rem;
  }
  .lang-nav {
    margin-top: .1rem;
    margin-bottom: .45rem;
    gap: .45rem;
  }
  .lang-pill {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .24rem .55rem;
    font-size: .66rem;
    letter-spacing: .04em;
    text-decoration: none;
    color: var(--text);
    background: var(--panel);
  }
  .lang-pill:hover {
    border-color: var(--green);
    color: var(--green2);
  }
  .lang-pill.current {
    border-color: var(--green);
    color: var(--green2);
    background: rgba(0, 212, 107, .12);
    font-weight: 700;
  }
  .top-nav a {
    color: var(--green);
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 4px;
    padding: .24rem .55rem;
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .top-nav a:visited {
    color: var(--green);
  }
  .top-nav a:hover {
    border-color: var(--green);
    color: var(--green2);
  }
  .quota-inline {
    margin-top: .45rem;
    display: inline-block;
    border: 1px dashed var(--green);
    border-radius: 4px;
    padding: .25rem .5rem;
    color: var(--text);
  }

  .admin-shell {
    width: 100%;
    max-width: 960px;
  }
  .admin-head {
    margin-bottom: .9rem;
  }
  .admin-head h2 {
    margin-bottom: .35rem;
  }
  .admin-subtitle {
    color: var(--muted);
    font-size: .82rem;
  }
  .admin-section-nav {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin: .25rem 0 1rem;
  }
  .admin-section-nav a,
  .admin-section-nav strong {
    display: inline-flex;
    padding: .3rem .65rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: .74rem;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .admin-section-nav a {
    border: 1px solid var(--border);
    color: var(--text);
  }
  .admin-section-nav a:hover {
    border-color: var(--green);
    color: var(--green2);
  }
  .admin-section-nav strong {
    border: 1px solid var(--green);
    color: var(--green2);
    background: rgba(0, 212, 107, .12);
  }
  header h1 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    color: var(--text);
    letter-spacing: .05em;
  }
  header h1 span { color: var(--green); }
  header p {
    margin-top: .6rem;
    color: var(--muted);
    font-size: .82rem;
    letter-spacing: .08em;
  }

  /* ── Scanner form ── */
  .scanner {
    width: 100%;
    max-width: 760px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.8rem;
    margin-bottom: 2rem;
  }
  .scanner label {
    display: block;
    font-size: .75rem;
    color: var(--green);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: .5rem;
  }
  .input-row {
    display: flex;
    gap: .6rem;
  }
  .input-row input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--green2);
    font-family: var(--font);
    font-size: .95rem;
    padding: .65rem 1rem;
    outline: none;
    transition: border-color .2s;
  }
  .input-row input:focus { border-color: var(--green); }
  .input-row input::placeholder { color: var(--muted); }
  .input-row button {
    background: var(--green);
    color: var(--bg);
    border: none;
    border-radius: 4px;
    font-family: var(--font);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .1em;
    padding: .65rem 1.4rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background .2s;
    white-space: nowrap;
  }
  .input-row button:hover { background: var(--green2); }
  .hint {
    margin-top: .55rem;
    font-size: .7rem;
    color: var(--muted);
  }

  /* ── Loading state ── */
  .loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
  }
  
  .loading-overlay[style*="display: flex"],
  .loading-overlay[style*="display:flex"] {
    display: flex !important;
  }
  
  .loading-container {
    text-align: center;
    max-width: 400px;
  }
  
  .loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    border: 3px solid rgba(0, 230, 118, 0.2);
    border-top-color: #00e676;
    border-right-color: #00e676;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  .steps-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
  
  .step-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.5;
    transition: all 0.3s ease;
  }
  
  .step-item.active {
    opacity: 1;
  }
  
  .step-item.completed {
    opacity: 0.8;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.15);
    border: 2px solid #00e676;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e676;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  
  .step-item.completed .step-number {
    background: #00e676;
    color: #080b0d;
  }
  
  .step-item.completed .step-number::after {
    content: '✓';
  }
  
  .step-text {
    text-align: left;
    color: #c9d1d9;
    font-size: 0.9rem;
    width: calc(100% - 50px);
  }
  
  .step-progress {
    height: 2px;
    background: rgba(0, 230, 118, 0.1);
    margin-top: 0.4rem;
  }
  
  .step-item.active .step-progress {
    background: linear-gradient(90deg, #00e676 0%, rgba(105, 240, 174, 0.3) 100%);
    animation: progress 0.8s ease-in-out infinite;
  }
  
  .step-item.completed .step-progress {
    background: #00e676;
  }
  
  @keyframes progress {
    0%, 100% { width: 0%; }
    50% { width: 100%; }
  }
  
  .loading-message {
    color: #c9d1d9;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }

  /* ── Error ── */
  .error-box {
    width: 100%;
    max-width: 760px;
    background: rgba(255,82,82,.08);
    border: 1px solid var(--red);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    color: var(--red);
    font-size: .85rem;
    margin-bottom: 1.5rem;
  }
  .error-box::before { content: '⚠  '; }

  /* ── Report ── */
  .report {
    width: 100%;
    max-width: 760px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 2rem;
  }

  /* Report header with vertical layout */
  .report-header {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.1rem 1.4rem;
  }

  .report-title {
    font-size: .75rem;
    color: var(--green);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
  }

  .report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
    font-size: .72rem;
    color: var(--text);
  }

  .meta-item {
    white-space: nowrap;
  }

  .meta-item strong {
    color: var(--amber);
    font-weight: 600;
  }

  /* Meta divider */
  .meta-divider {
    color: var(--muted);
    opacity: .6;
  }

  /* Verdict section styling */
  .verdict-section {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    border-top: 1px solid var(--border);
    padding-top: .7rem;
    margin-top: .4rem;
  }

  .verdict-line {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .verdict-label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .05em;
  }

  .verdict-content {
    display: flex;
    gap: .35rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .verdict-text {
    font-size: .72rem;
    color: var(--text);
    font-style: italic;
  }

  .verdict-badge {
    display: inline-block;
    font-size: .62rem;
    letter-spacing: .11em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    padding: .2rem .45rem;
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--panel);
  }

  .verdict-badge.badge-buy {
    color: var(--green2);
    border-color: var(--green);
    background: rgba(0,230,118,.12);
  }

  .verdict-badge.badge-no-buy {
    color: var(--red);
    border-color: var(--red);
    background: rgba(255,82,82,.15);
  }

  .verdict-badge.badge-caution {
    color: var(--amber);
    border-color: var(--amber);
    background: rgba(255,171,64,.12);
  }
  .report-body {
    padding: 1.6rem;
    font-size: .88rem;
    line-height: 1.75;
  }

  .quick-verdict {
    border: 1px solid var(--border);
    border-left: 4px solid var(--amber);
    border-radius: 6px;
    padding: .8rem .9rem;
    margin-bottom: 1rem;
    background: rgba(255,171,64,.08);
  }
  .quick-verdict strong {
    color: var(--amber);
    margin-right: .25rem;
  }
  .quick-verdict.verdict-buy {
    border-left-color: var(--green);
    background: rgba(0,230,118,.09);
  }
  .quick-verdict.verdict-buy strong {
    color: var(--green2);
  }
  .quick-verdict.verdict-no {
    border-left-color: var(--red);
    background: rgba(255,82,82,.12);
  }
  .quick-verdict.verdict-no strong {
    color: var(--red);
  }

  .red-flags-panel {
    border: 2px solid var(--red);
    border-radius: 8px;
    background: rgba(255,82,82,.08);
    padding: .9rem 1rem;
    margin-bottom: 1.1rem;
  }
  .red-flags-panel h3 {
    color: var(--red);
    border-bottom: none;
    margin: 0 0 .5rem;
    padding: 0;
  }
  .red-flags-panel ul {
    margin: 0;
  }
  .red-flags-panel li {
    margin-bottom: .3rem;
    color: var(--text);
  }
  .report-body h3 {
    color: var(--green);
    font-size: .82rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin: 1.4rem 0 .5rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid var(--border);
  }
  .report-body h3:first-child { margin-top: 0; }
  .report-body strong { color: var(--green2); }
  .report-body ul { padding-left: 1.2rem; margin: .4rem 0; }
  .report-body li { margin-bottom: .2rem; }
  
  /* ── Red flags ── */
  .red-flag {
    display: inline-block;
    background: rgba(255, 82, 82, 0.15);
    color: var(--red);
    border: 2px solid var(--red);
    border-radius: 4px;
    padding: .3rem .6rem;
    font-weight: bold;
    margin: .2rem .1rem;
  }
  
  /* ── Footer ── */
  footer {
    margin-top: auto;
    padding-top: 2rem;
    width: 100%;
    max-width: 760px;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
  }
  
  .footer-section h3 {
    font-size: .75rem;
    color: var(--green);
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: .8rem;
  }
  
  .recent-section {
    width: 100%;
    max-width: 760px;
    padding: 2rem 1.2rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 2rem;
  }
  
  .recent-section h2 {
    font-size: 1.5rem;
    margin: 0 0 .5rem 0;
    color: var(--text);
    font-weight: 700;
  }
  
  .section-subtitle {
    color: var(--muted);
    font-size: .85rem;
    margin: 0 0 1.5rem 0;
  }
  
  .recent-searches {
    list-style: none;
    padding: 0;
  }
  
  .recent-searches li {
    margin-bottom: .5rem;
    padding: .5rem;
    border-left: 2px solid var(--green);
    padding-left: 1rem;
  }
  
  .recent-searches a {
    color: var(--green);
    text-decoration: none;
    font-size: .8rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  
  .recent-searches a:hover {
    color: var(--green2);
    text-decoration: underline;
  }
  
  .search-meta {
    font-size: .65rem;
    color: var(--muted);
    margin-top: .2rem;
  }
  
  .footer-bottom {
    text-align: center;
    color: var(--muted);
    font-size: .68rem;
    letter-spacing: .08em;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  .footer-links {
    display: flex;
    gap: .7rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: .8rem;
  }
  .footer-links a {
    color: var(--green);
    text-decoration: none;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .footer-links a:visited {
    color: var(--green);
  }
  .footer-links a:hover {
    text-decoration: underline;
  }

  .article-page {
    width: 100%;
    max-width: 760px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.4rem;
    margin-bottom: 2rem;
  }
  .article-page h2 {
    color: var(--green);
    font-size: 1.3rem;
    margin-bottom: .6rem;
  }
  .article-intro {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.7;
  }
  .blog-list {
    list-style: none;
    padding: 0;
  }
  .blog-card {
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: .8rem;
  }
  .blog-meta {
    color: var(--muted);
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    display: flex;
    gap: .5rem;
    align-items: center;
    margin-bottom: .35rem;
  }
  .blog-category {
    color: var(--amber);
  }
  .blog-card h3 {
    margin-bottom: .45rem;
    font-size: 1rem;
  }
  .blog-card h3 a {
    color: var(--text);
    text-decoration: none;
  }
  .blog-card h3 a:visited {
    color: var(--text);
  }
  .blog-card h3 a:hover {
    color: var(--green2);
  }
  .blog-card p {
    color: var(--text);
    line-height: 1.65;
    margin-bottom: .65rem;
  }
  a.blog-back {
    margin-bottom: 1rem;
    display: block;
    text-align: right;
}
  .blog-readmore,
  .blog-back {
    color: var(--green);
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .blog-readmore:visited,
  .blog-back:visited {
    color: var(--green);
  }
  .blog-readmore:hover,
  .blog-back:hover {
    text-decoration: underline;
  }
  .article-content h2,
  .article-content h3 {
    color: var(--green);
    margin: 1rem 0 .5rem;
    font-size: .95rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .article-content p {
    color: var(--text);
    line-height: 1.75;
    margin-bottom: .75rem;
  }
  .article-content ol {
    padding-left: 2.2rem;
    margin-bottom: .75rem;
  }
  .article-content ul {
    padding-left: 1.1rem;
    margin-bottom: .75rem;
  }
  .article-content li {
    margin-bottom: .35rem;
    line-height: 1.7;
  }
  
  /* ── Breadcrumbs ── */
  .breadcrumbs {
    width: 100%;
    max-width: 760px;
    margin-bottom: 1rem;
    font-size: .75rem;
    color: var(--muted);
  }
  .breadcrumbs a {
    color: var(--green);
    text-decoration: none;
  }
  .breadcrumbs a:visited {
    color: var(--green);
  }
  .breadcrumbs a:hover {
    text-decoration: underline;
  }
  .breadcrumbs span {
    margin: 0 .5rem;
  }
  
  /* ── Share buttons ── */
  .share-buttons {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin: 1rem 0;
  }
  .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all .2s;
  }
  .share-btn:hover {
    background: var(--green);
    color: var(--bg);
    transform: scale(1.1);
  }

  .error-section {
    width: 100%;
    max-width: 760px;
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 2rem auto;
  }

  .error-container {
    padding: 2rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .error-code {
    font-size: 4rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 1rem;
    opacity: 0.3;
  }

  .error-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .error-container p {
    color: var(--muted);
    margin-bottom: 1.5rem;
  }

  .error-details {
    background: var(--bg);
    padding: 1rem;
    border-radius: 4px;
    color: #c41e3a;
    font-size: 0.9rem;
    margin: 1rem 0;
    border-left: 3px solid var(--red);
  }

  /* ── Mobile и tablet optimizations ── */
  @media (max-width: 768px) {
    .scanner {
      padding: 1.5rem;
      margin-bottom: 1.5rem;
    }

    .input-row {
      flex-direction: column;
      gap: 0.8rem;
    }

    .input-row input {
      width: 100%;
      font-size: 1rem;
      padding: 0.75rem 1rem;
    }

    .input-row button {
      width: 100%;
      padding: 0.75rem 1.4rem;
      font-size: 0.9rem;
    }

    .scanner label {
      margin-bottom: 0.8rem;
      font-size: 0.8rem;
    }

    .hint {
      margin-top: 0.8rem;
      font-size: 0.75rem;
    }

    .recent-section {
      padding: 1.5rem 1rem;
      margin-bottom: 1.5rem;
    }

    .recent-section h2 {
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
    }

    .section-subtitle {
      margin-bottom: 1.2rem;
      font-size: 0.8rem;
    }

    .recent-searches li {
      margin-bottom: 0.8rem;
      padding: 0.6rem;
      padding-left: 1rem;
    }

    .top-nav {
      gap: .5rem;
      margin-bottom: .9rem;
    }
    .top-nav a {
      font-size: .63rem;
      padding: .24rem .45rem;
    }

    .article-page {
      padding: 1.2rem;
      margin-bottom: 1.4rem;
    }
  }

  @media (max-width: 480px) {
    body {
      padding: 80px 0px 0px 0px;
    }
    .lang-switcher {
        left: 1rem;
        right: unset;
    }
    .lang-switcher-menu {
        left: 0;
        right: unset;
    }

    .breadcrumbs {
        margin-left: 1rem;
    }

    header {
        margin: 0rem 1rem 2.5rem 1rem;
    }

    header h1 {
      line-height: 1.12;
      overflow-wrap: anywhere;
      word-break: break-word;
      hyphens: auto;
    }

    .scanner {
      padding: 1.2rem;
      border-radius: 4px;
      margin-bottom: 1rem;
    }

    .input-row {
      gap: 1rem;
      flex-direction: column;
    }

    .input-row input,
    .input-row button {
      font-size: 1rem;
      padding: 0.8rem 1rem;
    }

    .input-row button {
      font-size: 0.88rem;
    }

    .scanner label {
      margin-bottom: 1rem;
      font-size: 0.75rem;
    }

    .hint {
      margin-top: 1rem;
      font-size: 0.7rem;
    }

    .footer-links {
      gap: .55rem;
      margin-bottom: .7rem;
    }
    .footer-links a {
      font-size: .66rem;
    }

    .article-page {
      padding: 1rem;
      border-radius: 4px;
      margin-bottom: 1rem;
    }
    .article-page h2 {
      font-size: 1.05rem;
    }
    .article-intro,
    .article-content p,
    .article-content li {
      font-size: .86rem;
    }

    .recent-section {
      padding: 1.2rem;
      margin-bottom: 1rem;
      border-radius: 4px;
    }

    .recent-section h2 {
      font-size: 1.1rem;
      margin-bottom: 0.6rem;
    }

    .section-subtitle {
      font-size: 0.75rem;
      margin-bottom: 1rem;
    }

    .recent-searches li {
      margin-bottom: 1rem;
      padding: 0.7rem;
      padding-left: 1rem;
      border-left: 3px solid var(--green);
    }

    .recent-searches a {
      font-size: 0.75rem;
    }

    .search-meta {
      font-size: 0.6rem;
    }

    .report {
      margin-bottom: 1.5rem;
    }

    .report-header {
      padding: 0.9rem 1rem;
      gap: 0.8rem;
    }

    .report-title {
      font-size: 0.7rem;
    }

    .report-meta {
      gap: 0.8rem;
      font-size: 0.68rem;
    }

    .verdict-line {
      gap: 0.3rem;
    }

    .verdict-text {
      font-size: 0.68rem;
    }

    .report-body {
      padding: 1.2rem;
      font-size: 0.82rem;
    }

    .quick-verdict {
      padding: 0.7rem 0.8rem;
      margin-bottom: 0.9rem;
      font-size: 0.8rem;
    }

    .red-flags-panel {
      padding: 0.8rem;
      margin-bottom: 1rem;
    }

    .red-flags-panel h3 {
      font-size: 0.85rem;
      margin-bottom: 0.5rem;
    }

    .loading-container {
      max-width: 90vw;
      padding: 0 1rem;
    }

    .loading-spinner {
      width: 50px;
      height: 50px;
      margin: 0 auto 1.5rem;
    }

    .steps-container {
      gap: 0.6rem;
      margin-bottom: 1.5rem;
    }

    .step-item {
      gap: 0.6rem;
    }

    .step-number {
      width: 32px;
      height: 32px;
      font-size: 0.8rem;
    }

    .step-text {
      font-size: 0.8rem;
    }

    .loading-message {
      font-size: 0.85rem;
    }
  }