
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      background: #0f172a;
      font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
      overflow: hidden;
      height: 100vh;
      height: 100dvh;
      transition: background 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
      position: fixed;
      width: 100%;
    }

    ::-webkit-scrollbar {
      width: 4px;
      height: 4px;
    }
    ::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.1);
      border-radius: 10px;
    }
    ::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.25);
      border-radius: 10px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.4);
    }

    .landing-screen {
      position: fixed;
      inset: 0;
      background: radial-gradient(circle at 20% 30%, #3a4d61, #1b2735);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      backdrop-filter: blur(8px);
      transition: opacity 0.45s, visibility 0.45s;
      padding: 1.2rem;
    }
    .landing-screen.hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .widget {
      max-width: 1000px;
      width: 100%;
      background: rgba(20, 25, 32, 0.7);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 3.2rem 3.2rem 2.8rem 2.8rem;
      padding: 2rem 1.8rem 2rem;
      box-shadow: 0 35px 60px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 200, 0.3);
      border: 1px solid rgba(220, 190, 120, 0.25);
      max-height: 95vh;
      overflow-y: auto;
    }

    .tool-name {
      text-align: center;
      margin-bottom: 1.2rem;
      font-size: clamp(1.4rem, 4vw, 2rem);
      font-weight: 800;
      color: #f7e3b2;
      text-shadow: 0 4px 10px rgba(0,0,0,0.7), 0 0 20px rgba(235, 185, 70, 0.4);
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 100%);
      padding: 0.6rem 1rem;
      border-radius: 3rem;
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 215, 140, 0.35);
    }

    .tool-name i {
      color: #f3cd70;
      font-size: 1.7rem;
      filter: drop-shadow(0 3px 5px black);
    }

    .shelf-shade {
      position: relative;
      background: #4b3621;
      background-image: linear-gradient(180deg, #6b4f32 0%, #4d3520 35%, #2b1d0e 100%);
      border-radius: 2.6rem 2.6rem 2.2rem 2.2rem;
      padding: 2.2rem 1.8rem 2.5rem;
      box-shadow: 
        inset 0 9px 14px rgba(0,0,0,0.8),
        inset 0 -7px 10px rgba(0,0,0,0.7),
        0 22px 30px -10px black,
        0 0 0 2px #7b6242,
        0 0 0 6px #362918;
      margin-bottom: 2rem;
      transform: perspective(900px) rotateX(1.5deg);
    }

    .shelf-shade::before {
      content: "";
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(92deg, 
        rgba(70, 40, 18, 0.35) 0px, 
        rgba(35, 20, 5, 0.25) 4px,
        transparent 8px);
      border-radius: inherit;
      pointer-events: none;
      z-index: 1;
    }

    .books-row {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: center;
      gap: 2rem 2.2rem;
      position: relative;
      z-index: 3;
      padding: 0.3rem 0.2rem;
    }

    .book {
      width: clamp(130px, 22vw, 170px);
      background: #faf3e6;
      border-radius: 0.9rem 1.4rem 1.4rem 0.9rem;
      box-shadow: 
        10px 14px 22px rgba(0, 0, 0, 0.7),
        inset -5px 0 8px rgba(0,0,0,0.3),
        inset 3px 0 7px rgba(255, 252, 235, 0.9);
      transform: rotateY(-3.5deg) rotateX(2deg) perspective(600px);
      transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0.9rem 0.5rem 1.1rem;
      position: relative;
      border: 1px solid #d6b17e;
      cursor: pointer;
      text-decoration: none;
      color: #2d220c;
      backdrop-filter: blur(2px);
    }

    .book:hover {
      transform: rotateY(1deg) rotateX(0deg) scale(1.06) translateY(-8px);
      box-shadow: 14px 20px 26px rgba(0,0,0,0.85), inset -4px 0 10px rgba(0,0,0,0.5);
      border-color: #f3cf8e;
    }

    .book::after {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 18px;
      background: linear-gradient(90deg, #4a3118, #8b6f46, #3b260f);
      border-radius: 0.9rem 0 0 0.9rem;
      border-right: 1px solid #e1b468;
      box-shadow: inset -3px 0 7px rgba(0,0,0,0.6);
    }

    .book-cover {
      width: 100%;
      aspect-ratio: 3 / 4;
      max-width: 140px;
      background: #e4cfaa;
      border-radius: 6px 14px 14px 6px;
      margin-left: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow: inset 0 0 0 3px rgba(250, 235, 170, 0.8), 3px 6px 12px rgba(0,0,0,0.5);
      position: relative;
    }

    .book-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .book-title {
      margin-top: 0.9rem;
      margin-left: 8px;
      font-weight: 700;
      font-size: 0.9rem;
      text-align: center;
      background: rgba(255, 250, 235, 0.8);
      padding: 0.3rem 0.6rem;
      border-radius: 20px;
      width: 90%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: #2b1f0e;
      letter-spacing: 0.4px;
      backdrop-filter: blur(6px);
      box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    }

    .single-input-panel {
      background: rgba(15, 18, 22, 0.7);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-radius: 3.5rem;
      padding: 1.2rem 2rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      border: 1px solid rgba(230, 200, 130, 0.45);
      box-shadow: 0 15px 30px rgba(0,0,0,0.7), inset 0 1px 3px rgba(255,240,180,0.5);
      margin-top: 0.2rem;
    }

    .choose-pdf-btn {
      background: #dba958;
      background: linear-gradient(180deg, #f7d486 0%, #c18b3a 100%);
      border: none;
      border-radius: 3rem;
      padding: 1rem 2.3rem;
      font-weight: 700;
      font-size: 1.1rem;
      color: #231c0e;
      display: flex;
      align-items: center;
      gap: 0.7rem;
      box-shadow: 0 8px 16px rgba(0,0,0,0.6), inset 0 2px 6px #fff3cf;
      cursor: pointer;
      transition: all 0.25s;
      border: 1px solid #f3cd7a;
      letter-spacing: 0.4px;
      white-space: nowrap;
      flex: 1 1 auto;
      justify-content: center;
      max-width: 300px;
    }

    .choose-pdf-btn:hover {
      background: #f8d98c;
      box-shadow: 0 12px 22px black;
      transform: scale(1.02);
      border-color: #ffdd9e;
    }

    .file-indicator {
      background: rgba(0, 0, 0, 0.5);
      border-radius: 2.5rem;
      padding: 0.7rem 1.5rem;
      color: #eedbba;
      font-weight: 500;
      font-size: 0.95rem;
      backdrop-filter: blur(12px);
      border: 1px dashed #c9a153;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 220px;
      flex: 1 1 auto;
      text-align: center;
      background: rgba(20, 18, 15, 0.7);
    }

    .hint-text {
      color: #cfb27c;
      font-size: 0.8rem;
      margin-top: 0.5rem;
      text-align: center;
      width: 100%;
    }

    .flipbook-app {
      display: flex;
      flex-direction: column;
      height: 100vh;
      height: 100dvh;
      width: 100vw;
      background: #0b1120;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s;
      position: fixed;
    }
    .flipbook-app.active {
      opacity: 1;
      visibility: visible;
    }

    .viewer-scroll {
      flex: 1;
      overflow: auto;
      background: #0a0f1c;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 100px;
      position: relative;
    }

    .scroll-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: max-content;
      min-height: calc(100vh - 120px);
      min-height: calc(100dvh - 120px);
      padding: 24px 40px;
      padding-bottom: 100px;
    }

    .bottom-bar-slim {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%) translateY(0);
      background: rgba(15, 25, 45, 0.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      padding: 6px 10px;
      border-radius: 60px;
      display: flex;
      align-items: center;
      gap: 4px;
      box-shadow: 0 20px 40px -8px #000000cc, 0 0 0 1px rgba(100, 180, 255, 0.15);
      z-index: 350;
      border: 1px solid rgba(255, 255, 255, 0.06);
      transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.3s;
      visibility: visible;
    }
    .bottom-bar-slim.hidden-bar {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateX(-50%) translateY(30px);
    }

    .bar-reveal-icon {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%) translateY(0);
      background: rgba(15, 25, 45, 0.95);
      backdrop-filter: blur(16px);
      width: 48px;
      height: 48px;
      border-radius: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5rem;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(100, 180, 255, 0.25);
      z-index: 360;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0.15);
      transition: opacity 0.25s, transform 0.3s, visibility 0.25s;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
    }
    .bar-reveal-icon.visible {
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }

    .bar-segment {
      display: flex;
      align-items: center;
      gap: 2px;
      background: rgba(255, 255, 255, 0.03);
      padding: 3px 6px;
      border-radius: 50px;
    }

    .slim-btn {
      background: transparent;
      border: none;
      width: 44px;
      height: 44px;
      border-radius: 40px;
      cursor: pointer;
      font-size: 1.2rem;
      color: #d9e6ff;
      transition: 0.15s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .slim-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      color: white;
      transform: scale(1.05);
    }
    .slim-btn:disabled {
      opacity: 0.25;
      cursor: not-allowed;
    }

    .page-chip {
      background: rgba(20, 40, 70, 0.7);
      padding: 8px 20px;
      border-radius: 40px;
      font-weight: 700;
      font-size: 0.9rem;
      color: #e0edff;
      min-width: 120px;
      text-align: center;
      letter-spacing: 0.3px;
      backdrop-filter: blur(4px);
      border: 1px solid #2e4a7a40;
    }

    .hamburger-smart {
      background: linear-gradient(135deg, #1e3a8a60, #3b82f640);
      border: none;
      border-radius: 40px;
      width: 48px;
      height: 48px;
      color: white;
      font-size: 1.4rem;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 2px;
      border: 1px solid #3b82f640;
      position: relative;
      overflow: hidden;
    }
    .hamburger-smart::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
      opacity: 0;
      transition: opacity 0.3s;
    }
    .hamburger-smart:hover::before {
      opacity: 1;
    }
    .hamburger-smart:hover {
      background: #2563eb;
      transform: scale(1.1);
      box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    }

    .toggle-bar-btn {
      background: rgba(255, 255, 255, 0.05);
      border: none;
      border-radius: 40px;
      width: 44px;
      height: 44px;
      color: #d9e6ff;
      font-size: 1.1rem;
      cursor: pointer;
      transition: 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 2px;
    }
    .toggle-bar-btn:hover {
      background: rgba(255, 255, 255, 0.15);
      color: white;
    }

    .hamburger-panel {
      position: fixed;
      bottom: 90px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      width: min(440px, 92vw);
      max-width: 92vw;
      border-radius: 28px;
      padding: 20px 16px;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
      z-index: 400;
      display: none;
      flex-direction: column;
      gap: 14px;
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      max-height: 70vh;
      max-height: 70dvh;
      overflow-y: auto;
      color: #e2ecfe;
      border: 1px solid rgba(59, 130, 246, 0.2);
    }
    .hamburger-panel.active {
      display: flex;
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    .panel-section {
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
      padding: 16px 14px;
      border-radius: 20px;
      border: 1px solid rgba(59, 130, 246, 0.15);
      transition: all 0.3s;
    }
    .panel-title {
      font-weight: 700;
      margin-bottom: 12px;
      color: #93c5fd;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 1.2px;
      display: flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), transparent);
      padding: 8px 12px;
      border-radius: 12px;
      border-left: 3px solid #3b82f6;
      border-right: 3px solid #3b82f6;
    }
    .tool-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }
    .premium-input {
      background: rgba(15, 23, 42, 0.8);
      border: 2px solid rgba(59, 130, 246, 0.3);
      border-radius: 16px;
      padding: 10px 14px;
      color: white;
      font-weight: 600;
      outline: none;
      transition: all 0.3s;
      width: 80px;
      text-align: center;
      font-size: 0.9rem;
    }
    .premium-input:focus {
      border-color: #3b82f6;
      box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
      background: rgba(30, 41, 59, 0.9);
    }
    .search-box-premium {
      display: flex;
      background: rgba(15, 23, 42, 0.8);
      border-radius: 20px;
      overflow: hidden;
      border: 2px solid rgba(59, 130, 246, 0.3);
      flex: 1;
      transition: all 0.3s;
    }
    .search-box-premium:focus-within {
      border-color: #3b82f6;
      box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    }
    .search-box-premium input {
      border: none;
      padding: 10px 14px;
      flex: 1;
      outline: none;
      background: transparent;
      color: white;
      font-size: 0.85rem;
    }
    .search-box-premium button {
      background: linear-gradient(135deg, #1e3a8a, #3b82f6);
      border: none;
      color: white;
      padding: 0 14px;
      cursor: pointer;
      height: 42px;
      font-weight: 600;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .btn-outline-light {
      background: rgba(30, 41, 59, 0.6);
      border: 2px solid rgba(59, 130, 246, 0.3);
      border-radius: 16px;
      padding: 8px 14px;
      color: #d0e0ff;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.85rem;
      backdrop-filter: blur(10px);
    }
    .btn-outline-light:hover {
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(59, 130, 246, 0.2));
      border-color: #3b82f6;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
      color: white;
    }

    .pages-container {
      display: block;
      margin: 0 auto;
      box-shadow: 0 40px 80px -12px #000000cc, 0 0 0 1px #1e3a8a30;
      border-radius: 16px;
      transform: translateZ(0);
      will-change: transform;
    }
    .page-card {
      position: relative;
      background: #ffffff;
      overflow: hidden;
      flex-shrink: 0;
      will-change: transform;
      box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
    }
    .page-inner {
      position: relative;
      width: 100%;
      height: 100%;
      background: white;
    }
    canvas {
      display: block;
      width: 100%;
      height: 100%;
      image-rendering: crisp-edges;
      image-rendering: -webkit-optimize-contrast;
      background: white;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
    }
    .text-layer-pro {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: auto;
      user-select: text !important;
      z-index: 30;
      color: transparent;
    }
    .text-layer-pro span {
      position: absolute;
      color: transparent;
      background: transparent;
      cursor: text;
      font-family: 'Georgia', 'Times New Roman', serif;
      white-space: pre;
      user-select: text !important;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }
    .text-layer-pro span::selection {
      background: rgba(37, 99, 235, 0.5) !important;
      color: transparent;
    }
    .highlight-match {
      background: rgba(255, 235, 59, 0.6) !important;
      border-radius: 4px;
    }
    .highlight-current {
      background: rgba(255, 152, 0, 0.85) !important;
      box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.9);
      border-radius: 4px;
    }

    .status-bar {
      background: #0b1422cc;
      backdrop-filter: blur(12px);
      padding: 5px 30px;
      font-size: 0.75rem;
      font-weight: 500;
      display: flex;
      gap: 20px;
      border-top: 1px solid #1f3a5e60;
      flex-shrink: 0;
      color: #b9d0f0;
      overflow-x: auto;
      white-space: nowrap;
    }
    .page-loading {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #aaa;
      background: rgba(15, 26, 43, 0.9);
      padding: 12px 24px;
      border-radius: 60px;
      backdrop-filter: blur(8px);
      z-index: 10;
      font-size: 0.9rem;
      font-weight: 500;
      border: 1px solid rgba(59, 130, 246, 0.2);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .turn-page {
      transition: none !important;
    }

    /* Toast notification styles */
    .toast-container {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 99999;
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-width: 420px;
      width: calc(100% - 40px);
    }
    .toast {
      background: rgba(20, 25, 40, 0.98);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 18px;
      padding: 16px 18px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(255, 215, 0, 0.3);
      color: #f0e6d2;
      font-weight: 500;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      border-left: 4px solid #f3cd70;
      font-size: 0.9rem;
      line-height: 1.5;
    }
    .toast.warning {
      border-left-color: #f59e0b;
      background: rgba(30, 25, 15, 0.98);
    }
    .toast.error {
      border-left-color: #ef4444;
      background: rgba(30, 15, 15, 0.98);
    }
    .toast.info {
      border-left-color: #3b82f6;
    }
    .toast i {
      font-size: 1.3rem;
      margin-top: 2px;
      flex-shrink: 0;
    }
    .toast.warning i { color: #f59e0b; }
    .toast.error i { color: #ef4444; }
    .toast.info i { color: #3b82f6; }
    .toast-body {
      flex: 1;
      line-height: 1.5;
    }
    .toast-close {
      background: none;
      border: none;
      color: #aaa;
      cursor: pointer;
      font-size: 1.1rem;
      padding: 0 4px;
      transition: color 0.2s;
      flex-shrink: 0;
    }
    .toast-close:hover {
      color: white;
    }
    @keyframes slideInRight {
      from { opacity: 0; transform: translateX(80px); }
      to { opacity: 1; transform: translateX(0); }
    }

    @media (max-width: 780px) {
      .widget {
        padding: 1.5rem 0.8rem 1.2rem;
        border-radius: 2rem;
      }
      .tool-name {
        font-size: 1.2rem;
        padding: 0.4rem 0.7rem;
        margin-bottom: 0.8rem;
      }
      .shelf-shade {
        padding: 1.4rem 0.8rem 1.6rem;
        border-radius: 2rem;
      }
      .books-row {
        gap: 1rem;
      }
      .book {
        width: 40vw;
        max-width: 140px;
        border-radius: 0.7rem 1.2rem 1.2rem 0.7rem;
        padding: 0.7rem 0.4rem 0.9rem;
      }
      .single-input-panel {
        flex-direction: column;
        padding: 1rem;
        gap: 0.6rem;
        border-radius: 2.5rem;
      }
      .choose-pdf-btn {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
      }
      .file-indicator {
        max-width: 100%;
        width: 100%;
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
      }

      .bottom-bar-slim {
        bottom: 10px;
        padding: 5px 8px;
        gap: 3px;
        border-radius: 40px;
      }
      .slim-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
      }
      .page-chip {
        padding: 6px 14px;
        min-width: 85px;
        font-size: 0.8rem;
      }
      .hamburger-smart {
        width: 40px;
        height: 40px;
      }
      .scroll-inner {
        padding: 12px 8px;
        padding-bottom: 110px;
      }
      .hamburger-panel {
        bottom: 70px;
        width: 94vw;
        padding: 14px 10px;
      }
      .toast-container {
        top: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
      }
    }

    @media (max-width: 480px) {
      .book {
        width: 42vw;
        max-width: 130px;
      }
      .bottom-bar-slim {
        padding: 4px 16px;
        gap: 12px;
        border-radius: 32px;
        bottom: 45px;
      }
      .slim-btn {
        width: 34px;
        height: 34px;
      }
      .page-chip {
        padding: 5px 10px;
        min-width: 70px;
        font-size: 0.75rem;
      }
      .hamburger-panel {
        bottom: 60px;
        width: 96vw;
        padding: 12px 8px;
      }
    }
