/* punt.sh main styles - v1 */

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

    html, body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }

    body {
      font-family: 'SF Mono', 'Menlo', 'Consolas', 'Monaco', monospace;
      background-color: #1e1e2e;
      color: #cdd6f4;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .warning-banner {
      background: linear-gradient(90deg, #f9e2af 0%, #fab387 100%);
      color: #1e1e2e;
      padding: 10px 16px;
      text-align: center;
      font-size: 13px;
      font-family: system-ui, -apple-system, sans-serif;
      font-weight: 500;
      width: 100%;
    }

    header:not(.site-header) {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 24px;
      border-bottom: 1px solid #313244;
      flex-wrap: wrap;
      gap: 12px;
      background: rgba(17, 17, 27, 0.5);
      width: 100%;
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .logo {
      color: #89b4fa;
      text-decoration: none;
      font-size: 20px;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: color 0.2s;
    }

    .logo:hover {
      color: #b4befe;
    }

    .logo-icon {
      font-size: 24px;
    }

    .header-nav {
      display: flex;
      gap: 16px;
    }

    .header-nav a {
      color: #6c7086;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.2s;
    }

    .header-nav a:hover {
      color: #cdd6f4;
    }

    .paste-id {
      color: #6c7086;
      font-size: 15px;
      background: #313244;
      padding: 4px 10px;
      border-radius: 4px;
    }

    .meta {
      color: #6c7086;
      font-size: 12px;
    }

    .meta-separator {
      color: #45475a;
      font-size: 10px;
    }

    .expires {
      color: #f9e2af;
      background: rgba(249, 226, 175, 0.1);
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: 500;
    }

    .burn-badge {
      color: #f38ba8;
      background: rgba(243, 139, 168, 0.1);
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 11px;
    }

    .private-badge {
      color: #89b4fa;
      background: rgba(137, 180, 250, 0.1);
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 11px;
    }

    .qr-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 1000;
      justify-content: center;
      align-items: center;
    }

    .qr-modal.show {
      display: flex;
    }

    .qr-content {
      background: #1e1e2e;
      border: 1px solid #313244;
      border-radius: 16px;
      padding: 32px;
      text-align: center;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .qr-content h3 {
      margin-bottom: 20px;
      color: #cdd6f4;
      font-size: 18px;
    }

    .qr-content img {
      border-radius: 8px;
      background: white;
      padding: 8px;
    }

    .qr-url {
      margin-top: 16px;
      color: #6c7086;
      font-size: 12px;
      word-break: break-all;
    }

    main {
      flex: 1;
      padding: 24px;
      overflow: hidden;
      max-width: 100%;
    }

    .toolbar {
      display: flex;
      gap: 8px;
      margin-bottom: 16px;
    }

    .btn {
      background-color: #313244;
      color: #cdd6f4;
      border: 1px solid #45475a;
      padding: 10px 16px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 13px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
      font-family: inherit;
    }

    .btn:hover {
      background-color: #45475a;
      border-color: #585b70;
      transform: translateY(-1px);
    }

    .btn:active {
      transform: translateY(0);
    }

    .btn-primary {
      background: linear-gradient(135deg, #89b4fa 0%, #b4befe 100%);
      color: #1e1e2e;
      border: none;
      font-weight: 600;
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #b4befe 0%, #89b4fa 100%);
    }

    .btn svg {
      opacity: 0.8;
    }

    .paste-container {
      display: flex;
      background-color: #181825;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid #313244;
      box-shadow: 0 4px 16px rgba(0,0,0,0.2);
      max-width: 100%;
      width: 100%;
    }

    .line-numbers {
      display: flex;
      flex-direction: column;
      padding: 16px 12px;
      background-color: #11111b;
      color: #45475a;
      text-align: right;
      user-select: none;
      border-right: 1px solid #313244;
      min-width: 50px;
    }

    .line-number {
      line-height: 1.5;
      font-size: 13px;
      transition: color 0.2s;
    }

    .line-number:hover {
      color: #6c7086;
    }

    .paste-content {
      flex: 1;
      min-width: 0;
      padding: 16px;
      overflow-x: auto;
      font-size: 13px;
      line-height: 1.5;
      white-space: pre;
      margin: 0;
      -webkit-overflow-scrolling: touch;
    }

    .paste-content code {
      font-family: inherit;
    }

    .keyboard-hint {
      margin-top: 16px;
      text-align: center;
      font-size: 12px;
      color: #45475a;
    }

    .keyboard-hint kbd {
      background: #313244;
      padding: 2px 6px;
      border-radius: 4px;
      border: 1px solid #45475a;
      font-family: inherit;
      font-size: 11px;
    }

    .error-page {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
      text-align: center;
      min-height: 50vh;
    }

    .error-icon {
      font-size: 64px;
    }

    .error-page h1 {
      color: #f38ba8;
      font-size: 24px;
    }

    .home-page {
      max-width: 900px;
      margin: 0 auto;
      padding: 20px 16px;
      width: 100%;
    }

    .hero {
      text-align: center;
      margin-bottom: 48px;
    }

    .hero h1 {
      font-size: 42px;
      margin-bottom: 16px;
      background: linear-gradient(135deg, #89b4fa 0%, #f5c2e7 50%, #fab387 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .tagline {
      color: #6c7086;
      font-size: 16px;
      line-height: 1.6;
      font-family: system-ui, -apple-system, sans-serif;
    }

    .home-page h2 {
      font-size: 18px;
      margin-bottom: 16px;
      color: #89b4fa;
    }

    .section-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .section-header-row h2 {
      margin-bottom: 0;
    }

    .mode-toggle {
      display: flex;
      gap: 4px;
      background: #11111b;
      padding: 4px;
      border-radius: 8px;
    }

    .mode-btn {
      padding: 6px 14px;
      border: none;
      background: transparent;
      color: #6c7086;
      font-family: inherit;
      font-size: 13px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .mode-btn:hover {
      color: #cdd6f4;
    }

    .mode-btn.active {
      background: #313244;
      color: #89b4fa;
    }

    .usage-section, .examples-section, .features-section {
      margin-bottom: 48px;
    }

    .usage-code {
      background-color: #181825;
      border: 1px solid #313244;
      border-radius: 12px;
      padding: 20px;
      overflow-x: auto;
      font-size: 13px;
      line-height: 1.8;
      max-width: 100%;
      -webkit-overflow-scrolling: touch;
    }

    .usage-code .comment {
      color: #6c7086;
    }

    .examples-grid {
      display: grid;
      gap: 12px;
    }

    .example-card {
      background: #181825;
      border: 1px solid #313244;
      border-radius: 12px;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 16px;
      transition: border-color 0.2s;
      max-width: 100%;
      overflow: hidden;
    }

    .example-card:hover {
      border-color: #45475a;
    }

    .example-icon {
      font-size: 28px;
      flex-shrink: 0;
    }

    .example-content {
      overflow-x: auto;
      min-width: 0;
      flex: 1;
      -webkit-overflow-scrolling: touch;
    }

    .example-content code {
      font-size: 12px;
      color: #a6adc8;
      white-space: nowrap;
      display: block;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
    }

    .feature {
      background: #181825;
      border: 1px solid #313244;
      border-radius: 8px;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: #a6adc8;
    }

    .feature-icon {
      font-size: 20px;
    }

    @media (max-width: 768px) {
      html {
        font-size: 14px;
      }

      .warning-banner {
        font-size: 11px;
        padding: 8px 12px;
      }

      header:not(.site-header) {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
        gap: 8px;
      }

      .header-left {
        width: 100%;
      }

      .header-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
      }

      .meta {
        font-size: 11px;
      }

      .meta-separator {
        display: none;
      }

      .burn-badge, .private-badge {
        font-size: 10px;
        padding: 2px 6px;
      }

      main {
        padding: 12px;
        overflow: hidden;
      }

      .toolbar {
        flex-wrap: wrap;
        gap: 6px;
      }

      .paste-container {
        max-width: calc(100vw - 24px);
      }

      .btn {
        padding: 12px 16px;
        font-size: 12px;
        flex: 1;
        min-width: 70px;
        min-height: 44px;
        justify-content: center;
      }

      .btn svg {
        width: 14px;
        height: 14px;
      }

      .header-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0 8px;
      }

      .line-numbers {
        display: none;
      }

      .paste-container {
        border-radius: 8px;
      }

      .paste-content {
        padding: 12px;
        font-size: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }

      .keyboard-hint {
        display: none;
      }

      .qr-content {
        padding: 24px;
        margin: 16px;
        border-radius: 12px;
      }

      .qr-content h3 {
        font-size: 16px;
      }

      .qr-content img {
        width: 160px !important;
        height: 160px !important;
      }

      /* Home page mobile */
      .home-page {
        padding: 16px 12px;
      }

      .hero {
        margin-bottom: 32px;
      }

      .hero h1 {
        font-size: 24px;
        line-height: 1.2;
      }

      .tagline {
        font-size: 14px;
      }

      .tagline br {
        display: none;
      }

      .usage-section, .examples-section, .features-section {
        margin-bottom: 32px;
      }

      .usage-code {
        font-size: 10px;
        padding: 12px;
        border-radius: 8px;
      }

      .example-card {
        padding: 12px;
        gap: 12px;
      }

      .example-icon {
        font-size: 24px;
      }

      .example-content code {
        font-size: 9px;
      }

      .features-grid {
        grid-template-columns: 1fr 1fr;
      }

      .feature {
        padding: 12px;
        font-size: 12px;
      }

      .feature-icon {
        font-size: 16px;
      }

      /* Private key page */
      .private-icon {
        font-size: 48px;
      }

      .private-page h1 {
        font-size: 20px;
      }

      .key-form {
        flex-direction: column;
        width: 100%;
        padding: 0 16px;
      }

      .key-form input {
        min-width: auto;
        width: 100%;
      }

      /* Error page */
      .error-icon {
        font-size: 48px;
      }

      .error-page h1 {
        font-size: 20px;
      }
    }

    @media (max-width: 400px) {
      .btn {
        padding: 8px 10px;
        font-size: 11px;
        gap: 4px;
      }

      .features-grid {
        grid-template-columns: 1fr;
      }

      .header-right .meta:not(.expires):not(.burn-badge):not(.private-badge) {
        display: none;
      }
    }
  

    /* Custom scrollbars */
    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #11111b;
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb {
      background: #45475a;
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #585b70;
    }
    * {
      scrollbar-width: thin;
      scrollbar-color: #45475a #11111b;
    }

    /* Shared header styles */
    .site-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 24px;
      border-bottom: 1px solid #313244;
      background: rgba(17, 17, 27, 0.5);
      line-height: 1;
    }

    .site-logo {
      color: #89b4fa;
      text-decoration: none;
      font-size: 20px;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: color 0.2s;
    }

    .site-logo:hover {
      color: #b4befe;
    }

    .site-logo-icon {
      font-size: 24px;
    }

    .site-nav {
      display: flex;
      gap: 16px;
      align-items: center;
    }

    .site-nav a {
      color: #6c7086;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.2s;
    }

    .site-nav a:hover {
      color: #cdd6f4;
    }

    .site-nav a.active {
      color: #89b4fa;
    }

    .nav-user {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      background: #313244;
      border-radius: 6px;
      color: #a6e3a1 !important;
    }

    .nav-user:hover {
      background: #45475a;
    }

    .nav-avatar {
      width: 20px;
      height: 20px;
      border-radius: 50%;
    }

    .nav-login {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .nav-login svg {
      opacity: 0.8;
    }

    /* Shared footer styles */
    .site-footer {
      padding: 24px;
      text-align: center;
      border-top: 1px solid #313244;
      color: #6c7086;
      font-size: 13px;
      font-family: system-ui, sans-serif;
    }

    .site-footer a {
      color: #89b4fa;
      text-decoration: none;
    }

    .site-footer a:hover {
      text-decoration: underline;
    }

    /* Mobile responsive */
    @media (max-width: 768px) {
      .site-header {
        padding: 12px 16px;
        gap: 12px;
      }

      .site-logo {
        font-size: 16px;
      }

      .site-logo-icon {
        font-size: 20px;
      }

      .site-nav {
        gap: 8px;
      }

      .site-nav a {
        font-size: 13px;
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0 8px;
      }

      .nav-user {
        padding: 8px 12px;
        min-height: 44px;
      }

      .nav-avatar {
        width: 18px;
        height: 18px;
      }

      .site-footer {
        padding: 16px;
        font-size: 12px;
      }
    }
  

    .private-page {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
      text-align: center;
      min-height: 50vh;
    }

    .private-icon {
      font-size: 64px;
    }

    .private-page h1 {
      color: #89b4fa;
      font-size: 24px;
    }

    .key-form {
      display: flex;
      gap: 12px;
      margin-top: 16px;
    }

    .key-form input {
      background: #181825;
      border: 1px solid #313244;
      border-radius: 8px;
      padding: 12px 16px;
      color: #cdd6f4;
      font-size: 14px;
      font-family: inherit;
      outline: none;
      min-width: 250px;
    }

    .key-form input:focus {
      border-color: #89b4fa;
    }

    .key-form input::placeholder {
      color: #6c7086;
    }
  