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

  .danger-tape {
    width: 100%;
    background: repeating-linear-gradient(
      45deg,
      #ffd60a 0,
      #ffd60a 18px,
      #000 18px,
      #000 36px
    );
    padding: 4px 0;
    position: relative;
    z-index: 100;
  }
  .danger-tape-inner {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 4px;
    border-radius: 2px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    letter-spacing: 0.03em;
  }
  @media (max-width: 600px) {
    .danger-tape-inner { font-size: 11px; padding: 8px 12px; }
  }

  html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
  }
  html::-webkit-scrollbar { display: none; }
  body {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body::-webkit-scrollbar { display: none; }

  body {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 14px;
    background: #f2f2f2;
    color: #333;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    overscroll-behavior: none;
    touch-action: pan-y;
    min-height: 100vh;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .wrap {
    max-width: 660px;
    margin: 20px auto;
    padding: 0 16px;
  }

  .logo-area { text-align: center; padding: 10px 0; }
  .logo-area img {
    width: 200px; height: 200px;
    max-width: 55vw; max-height: 55vw;
    display: inline-block;
    image-rendering: auto;
  }
  .site-title {
    text-align: center;
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.01em;
    line-height: 1.3;
  }
  .site-subtitle {
    text-align: center;
    margin: 4px 0 16px;
    font-size: 11px;
    color: #888;
    letter-spacing: 0.02em;
    line-height: 1.5;
  }
  @media (max-width: 540px) {
    .site-title { font-size: 15px; }
    .site-subtitle { font-size: 10px; }
  }

  .card {
    background: #fff;
    border: 1px solid #d4d4d4;
    margin-bottom: 14px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
  }

  .card-head {
    background: #fafafa;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: bold;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .card-head i { font-size: 14px; }
  .card-body { padding: 14px; }

  .ctrl-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .btn-main {
    padding: 10px 24px;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid #888;
    background: linear-gradient(#fff, #e4e4e4);
    color: #333;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s ease;
    min-height: 42px;
    -webkit-user-select: none;
    user-select: none;
  }
  .btn-main:hover { background: linear-gradient(#f8f8f8, #ddd); }
  .btn-main:active { background: #ddd; border-color: #777; }
  .btn-main.running { background: linear-gradient(#ff6b6b, #d44); color: #fff; border-color: #b33; }
  .btn-main.running:hover { background: linear-gradient(#ff5555, #c33); }
  .btn-main:disabled { opacity: 0.5; cursor: not-allowed; }
  .btn-main:focus-visible { outline: 2px solid #3478c0; outline-offset: 1px; }

  .stat-line { font-size: 11px; color: #888; margin-left: auto; white-space: nowrap; }
  .stat-line b { color: #555; }

  .result {
    margin-top: 14px; display: none;
    background: #f0faf0; border: 1px solid #b5d9b5;
    padding: 12px; border-radius: 3px;
  }
  .result.visible { display: block; }
  .result-head { font-size: 13px; font-weight: bold; color: #3a7a3a; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
  .result-link {
    font-family: "Courier New", Courier, monospace;
    font-size: 12px; color: #2a6a2a; word-break: break-all;
    background: #e4f4e4; border: 1px solid #c0dcc0;
    padding: 10px; border-radius: 3px;
    user-select: all; display: block; margin-bottom: 8px; text-decoration: none;
    line-height: 1.6;
  }
  .result-link:hover { background: #d8efd8; }
  .result-link:focus-visible { outline: 2px solid #3478c0; outline-offset: -2px; }

  .result-meta { font-size: 11px; color: #888; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
  .result-meta b { color: #555; }

  .disclaimer {
    position: relative;
    background: #fff8e1; border: 1px solid #e6d58c;
    padding: 14px 16px; margin-bottom: 14px; border-radius: 4px;
    transition: opacity 0.3s ease, max-height 0.4s ease, margin 0.3s ease, padding 0.3s ease, border-width 0.3s ease;
    max-height: 800px; overflow: hidden;
  }
  .disclaimer.hidden { opacity: 0; max-height: 0; margin: 0; padding: 0 16px; border-width: 0; pointer-events: none; }
  .disclaimer strong { display: block; font-size: 14px; color: #8a6d00; margin-bottom: 10px; }
  .disclaimer h4 { font-size: 12px; color: #7a5d00; margin-bottom: 4px; margin-top: 10px; }
  .disclaimer h4:first-of-type { margin-top: 0; }
  .disclaimer p { font-size: 12px; line-height: 1.7; color: #665500; margin-bottom: 10px; }
  .disclaimer p:last-of-type { margin-bottom: 0; }
  .disclaimer .btn-got-it {
    margin-top: 12px; padding: 8px 20px; font-family: inherit; font-size: 12px; font-weight: bold;
    cursor: pointer; border: 1px solid #c4a82a; background: linear-gradient(#fff5c8, #e6d58c);
    color: #665500; border-radius: 3px; min-height: 36px;
  }
  .disclaimer .btn-got-it:hover { background: linear-gradient(#fff0b0, #d4c47a); }
  .disclaimer .btn-got-it:active { background: #d4c47a; border-color: #b09820; }
  .disclaimer .btn-got-it:focus-visible { outline: 2px solid #8a6d00; outline-offset: 1px; }

  .support-bar {
    position: relative;
    background: #fff; border: 1px solid #d4d4d4;
    padding: 12px 14px; margin-bottom: 14px;
    border-radius: 4px;
  }
  .support-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .support-inner p { font-size: 12px; color: #555; margin: 0; }
  .support-inner p b { color: #2a6aaa; }
  #paypal-donate { flex-shrink: 0; }
  .paypal-error {
    font-size: 11px; color: #8a6d00; background: #fff8e1; border: 1px solid #e6d58c;
    padding: 8px 10px; border-radius: 3px; margin-top: 8px; display: none;
  }
  .paypal-error.visible { display: block; }
  .thank-you {
    display: none; margin-top: 10px; padding: 10px 14px;
    background: #f0faf0; border: 1px solid #b5d9b5; border-radius: 3px;
    font-size: 12px; color: #3a7a3a; text-align: center;
  }
  .thank-you.visible { display: block; }

  .submit-desc { font-size: 12px; color: #555; line-height: 1.6; margin-bottom: 10px; }
  .submit-form { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
  .submit-form input[type="text"] {
    flex: 1; min-width: 0; padding: 8px 10px;
    font-family: "Courier New", Courier, monospace; font-size: 13px;
    border: 1px solid #aaa; border-radius: 3px;
    min-height: 42px;
  }
  .submit-form input[type="text"]:focus { outline: none; border-color: #3478c0; box-shadow: 0 0 0 2px rgba(52,120,192,0.25); }
  .cf-turnstile { margin: 8px 0; min-height: 65px; }
  .honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    tab-index: -1;
  }
  .submit-form button {
    padding: 8px 18px; font-family: inherit; font-size: 12px; font-weight: bold;
    cursor: pointer; border: 1px solid #888; background: linear-gradient(#fff, #e4e4e4);
    color: #333; border-radius: 3px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
    min-height: 42px;
  }
  .submit-form button:hover { background: linear-gradient(#f8f8f8, #ddd); }
  .submit-form button:active { background: #ddd; }
  .submit-form button:disabled { opacity: 0.5; cursor: not-allowed; }
  .submit-form button:focus-visible { outline: 2px solid #3478c0; outline-offset: 1px; }

  .submit-msg { margin-top: 8px; font-size: 11px; padding: 8px 10px; border-radius: 3px; display: none; line-height: 1.5; }
  .submit-msg.visible { display: block; }
  .submit-msg.ok { background: #f0faf0; border: 1px solid #b5d9b5; color: #3a7a3a; }
  .submit-msg.err { background: #fdf0f0; border: 1px solid #d9b5b5; color: #8a3a3a; }
  .submit-note { font-size: 10px; color: #999; margin-top: 8px; line-height: 1.4; }

  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }
  .skel {
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 3px; display: inline-block; vertical-align: middle;
  }
  .skel-stat { width: 36px; height: 14px; }
  .skel-stat.wide { width: 56px; }

  .disc-skel {
    position: absolute; inset: 0; z-index: 2; background: #fff8e1; padding: 14px 16px;
    border-radius: 4px; transition: opacity 0.3s ease;
  }
  .disc-skel.out { opacity: 0; pointer-events: none; }
  .disc-skel-bar {
    background: linear-gradient(90deg, #e8dba0 25%, #f5eccc 50%, #e8dba0 75%);
    background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite; border-radius: 3px;
  }
  .disc-skel-bar.title { width: 80px; height: 16px; margin-bottom: 12px; }
  .disc-skel-bar.heading { width: 120px; height: 12px; margin-bottom: 6px; margin-top: 10px; }
  .disc-skel-bar.heading:first-of-type { margin-top: 0; }
  .disc-skel-bar.line { width: 100%; height: 10px; margin-bottom: 6px; }
  .disc-skel-bar.line.short { width: 70%; }
  .disc-skel-bar.line.shorter { width: 45%; }
  .disc-skel-bar.btn { width: 60px; height: 22px; margin-top: 12px; border-radius: 3px; }

  .card-skel {
    position: absolute; inset: 0; z-index: 2; background: #fff;
    transition: opacity 0.3s ease; overflow: hidden; border-radius: 4px;
  }
  .card-skel.out { opacity: 0; pointer-events: none; }
  .card-skel-head { background: #fafafa; border-bottom: 1px solid #e0e0e0; padding: 10px 14px; }
  .card-skel-head .bar {
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite; border-radius: 3px; height: 12px;
  }
  .card-skel-body { padding: 14px; }
  .card-skel-bar {
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite; border-radius: 3px;
  }
  .card-skel-bar.btn { width: 100px; height: 24px; border-radius: 3px; }
  .card-skel-bar.stat { width: 80px; height: 12px; margin-left: auto; }
  .card-skel-bar.line { width: 100%; height: 10px; margin-bottom: 8px; }
  .card-skel-bar.line.w70 { width: 70%; }
  .card-skel-bar.input { width: 100%; height: 26px; border-radius: 3px; }
  .card-skel-bar.smallbtn { width: 55px; height: 24px; border-radius: 3px; }
  .card-skel-bar.note { width: 60%; height: 8px; }

  .support-skel {
    position: absolute; inset: 0; z-index: 2; background: #fff; padding: 12px 14px;
    display: flex; align-items: center; justify-content: space-between; transition: opacity 0.3s ease;
    border-radius: 4px;
  }
  .support-skel.out { opacity: 0; pointer-events: none; }
  .support-skel .bar {
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite; border-radius: 3px;
  }
  .support-skel .bar.text { width: 200px; height: 12px; }
  .support-skel .bar.donate { width: 100px; height: 30px; border-radius: 20px; }

  @keyframes spin { to { transform: rotate(360deg); } }
  .spinner {
    display: inline-block; width: 12px; height: 12px;
    border: 2px solid rgba(0,0,0,0.15); border-top-color: currentColor;
    border-radius: 50%; animation: spin 0.6s linear infinite; vertical-align: middle;
    flex-shrink: 0;
  }

  .search-status { margin-top: 10px; font-size: 11px; color: #888; display: none; align-items: center; gap: 6px; }
  .search-status.visible { display: flex; }

  .copy-btn {
    padding: 5px 12px; font-family: inherit; font-size: 10px; font-weight: bold;
    cursor: pointer; border: 1px solid #b5d9b5; background: #e4f4e4;
    color: #2a6a2a; border-radius: 3px; margin-left: 4px;
    display: inline-flex; align-items: center; gap: 3px;
    min-height: 30px;
  }
  .copy-btn:hover { background: #d8efd8; }
  .copy-btn:active { background: #c0dcc0; }
  .copy-btn:focus-visible { outline: 2px solid #2a6a2a; outline-offset: 1px; }

  .no-results {
    margin-top: 14px; padding: 12px 14px; background: #fff3e0;
    border: 1px solid #e6c07b; border-radius: 3px; font-size: 12px;
    color: #8a6d00; display: none; line-height: 1.5;
  }
  .no-results.visible { display: block; }

  .footer { text-align: center; font-size: 10px; color: #aaa; padding: 16px 0 32px; line-height: 1.5; }

  .error-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.5); display: none;
    align-items: center; justify-content: center;
    padding: 20px;
  }
  .error-overlay.visible { display: flex; }

  .error-modal {
    background: #fff; border-radius: 6px; max-width: 420px; width: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25); overflow: hidden;
    animation: errorModalIn 0.2s ease;
    max-height: 90vh; display: flex; flex-direction: column;
  }

  @keyframes errorModalIn {
    from { transform: scale(0.95) translateY(-10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
  }

  .error-modal-head {
    background: #fdf0f0; border-bottom: 1px solid #f0d0d0;
    padding: 14px 16px; display: flex; align-items: center; gap: 8px;
    flex-shrink: 0;
  }
  .error-modal-head i { font-size: 18px; color: #c62828; flex-shrink: 0; }
  .error-modal-head span { font-size: 14px; font-weight: bold; color: #8a3a3a; }

  .error-modal-body {
    padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .error-modal-what {
    font-size: 13px; color: #333; margin-bottom: 12px; line-height: 1.6;
  }
  .error-modal-why {
    font-size: 12px; color: #777; line-height: 1.6; background: #fafafa;
    border: 1px solid #e8e8e8; border-radius: 4px; padding: 12px;
  }
  .error-modal-why strong { color: #555; display: block; margin-bottom: 4px; }

  .error-modal-foot {
    padding: 0 16px 14px; text-align: right; flex-shrink: 0;
  }
  .error-modal-close {
    padding: 8px 24px; font-family: inherit; font-size: 12px; font-weight: bold;
    cursor: pointer; border: 1px solid #aaa; background: linear-gradient(#fff, #e4e4e4);
    color: #333; border-radius: 3px; min-height: 38px;
  }
  .error-modal-close:hover { background: linear-gradient(#f8f8f8, #ddd); }
  .error-modal-close:focus-visible { outline: 2px solid #3478c0; outline-offset: 1px; }

  .cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #333; color: #eee; padding: 12px 20px;
    z-index: 9999; display: none; align-items: center;
    justify-content: center; gap: 14px; flex-wrap: wrap;
    font-size: 12px; box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transition: transform 0.3s ease;
    transform: translateY(0);
  }
  .cookie-banner.visible { display: flex; }
  .cookie-banner.hiding { transform: translateY(100%); }
  .cookie-banner p { margin: 0; line-height: 1.5; }
  .cookie-banner a { color: #8ec8f8; text-decoration: underline; cursor: pointer; }
  .cookie-btn {
    padding: 8px 20px; font-family: inherit; font-size: 12px; font-weight: bold;
    cursor: pointer; border: 1px solid #888; background: linear-gradient(#fff, #e4e4e4);
    color: #333; border-radius: 3px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px;
    min-height: 40px;
  }
  .cookie-btn:hover { background: linear-gradient(#f8f8f8, #ddd); }
  .cookie-btn:focus-visible { outline: 2px solid #8ec8f8; outline-offset: 1px; }

  .progress-wrap {
    margin-top: 10px;
    display: none;
  }
  .progress-wrap.visible { display: block; }
  .progress-bar-bg {
    width: 100%; height: 6px; background: #e8e8e8; border-radius: 3px; overflow: hidden;
  }
  .progress-bar-fill {
    height: 100%; width: 0%; background: linear-gradient(90deg, #4caf50, #2a6a2a);
    border-radius: 3px; transition: width 0.3s ease;
  }
  .progress-label {
    font-size: 10px; color: #999; margin-top: 4px; text-align: right;
  }

  @media (max-width: 600px) {
    body { font-size: 15px; }
    .wrap { padding: 0 10px; margin: 10px auto; }
    .logo-area img { width: 140px; height: 140px; }
    .card-body { padding: 12px; }
    .card-head { padding: 10px 12px; font-size: 13px; }
    .btn-main { padding: 12px 18px; font-size: 14px; min-height: 46px; width: 100%; justify-content: center; }
    .ctrl-row { flex-direction: column; align-items: stretch; }
    .stat-line { margin-left: 0; text-align: center; margin-top: 6px; font-size: 12px; }
    .result-link { font-size: 11px; padding: 10px; word-break: break-all; line-height: 1.5; }
    .result-meta { font-size: 11px; flex-direction: column; align-items: flex-start; gap: 4px; }
    .copy-btn { margin-left: 0; padding: 6px 14px; min-height: 34px; font-size: 11px; }
    .submit-form { flex-direction: column; }
    .submit-form input[type="text"] { min-width: 0; width: 100%; font-size: 13px; min-height: 46px; }
    .submit-form button { width: 100%; justify-content: center; padding: 12px 18px; font-size: 13px; min-height: 46px; }
    .support-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    #paypal-donate { width: 100%; }
    .disclaimer { padding: 12px 14px; }
    .disclaimer strong { font-size: 14px; }
    .disclaimer h4 { font-size: 13px; }
    .disclaimer p { font-size: 12px; }
    .error-modal { margin: 10px; max-height: 85vh; }
    .cookie-banner { padding: 10px 14px; gap: 10px; }
    .footer { padding: 16px 0 40px; }
  }

  @media (min-width: 601px) and (max-width: 900px) {
    .wrap { padding: 0 20px; }
    .logo-area img { width: 180px; height: 180px; }
  }

  @media (min-width: 1200px) {
    .wrap { margin: 30px auto; }
  }

  @media (max-height: 500px) and (orientation: landscape) {
    .logo-area img { width: 100px; height: 100px; }
    .logo-area { padding: 4px 0; }
    .wrap { margin: 8px auto; }
  }

  :focus-visible { outline: 2px solid #3478c0; outline-offset: 2px; }
  a:focus-visible, button:focus-visible { outline: 2px solid #3478c0; outline-offset: 1px; }

  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }

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

  .noscript-msg { text-align: center; padding: 40px 20px; font-size: 14px; color: #888; }

  .warning-badge {
    display: inline-block; background: #fff3cd; border: 1px solid #ffc107;
    color: #856404; font-size: 10px; font-weight: bold; padding: 2px 8px;
    border-radius: 3px; margin-left: 6px; vertical-align: middle;
  }
  .warning-disclaimer {
    background: #fff3cd; border: 1px solid #ffc107; color: #856404;
    font-size: 11px; padding: 8px 10px; border-radius: 3px;
    margin-top: 8px; line-height: 1.5;
  }
