.pp-entry, .pp-panel { display: none; }

@media (max-width: 719px) {
  html.is-narrow.phone-tab-me .pp-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    padding: 14px 14px 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 28px rgba(30, 27, 75, 0.07);
    text-align: left;
    color: inherit;
    font: inherit;
  }
  .pp-entry:active { transform: scale(0.99); }
  .pp-ico {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.28);
  }
  .pp-ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .pp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .pp-main b { font-size: 15.5px; font-weight: 700; color: #0f172a; }
  .pp-sum { font-size: 12.5px; color: #64748b; }
  .pp-sum.ok { color: #059669; }
  .pp-sum.warn { color: #b45309; }
  .pp-sum.bad { color: #dc2626; }
  .pp-entry > svg { flex: none; width: 18px; height: 18px; fill: none; stroke: #94a3b8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

  html.is-narrow .pp-panel:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    flex-direction: column;
    background:
      radial-gradient(260px 220px at 12% 12%, rgba(129, 140, 248, 0.26), transparent 70%),
      radial-gradient(240px 240px at 95% 40%, rgba(244, 114, 182, 0.16), transparent 70%),
      radial-gradient(280px 220px at 40% 100%, rgba(56, 189, 248, 0.18), transparent 70%),
      #f5f6fc;
  }
  html.pp-open, html.pp-open body { overflow: hidden; }
  .pp-head {
    flex: none;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 8px 8px;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }
  .pp-head b { text-align: center; font-size: 17px; font-weight: 700; color: #0f172a; }
  .pp-back { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; }
  .pp-back svg { width: 22px; height: 22px; fill: none; stroke: #4f46e5; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .pp-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .pp-lead { margin: 2px 4px 12px; font-size: 13.5px; line-height: 1.55; color: #475569; }
  .pp-card {
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 32px rgba(30, 27, 75, 0.08);
    overflow: hidden;
  }
  .pp-row { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; }
  .pp-row + .pp-row { border-top: 1px solid rgba(148, 163, 184, 0.18); }
  .pp-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .pp-row-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .pp-row-top b { font-size: 15px; font-weight: 700; color: #0f172a; }
  .pp-row-main > span { font-size: 12.5px; line-height: 1.5; color: #64748b; }
  .pp-tag { font-style: normal; font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 999px; }
  .pp-tag.ok { color: #047857; background: rgba(16, 185, 129, 0.14); }
  .pp-tag.warn { color: #b45309; background: rgba(245, 158, 11, 0.16); }
  .pp-tag.bad { color: #b91c1c; background: rgba(239, 68, 68, 0.12); }
  .pp-btn {
    flex: none;
    min-width: 76px;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.25);
  }
  .pp-btn.ghost { background: rgba(99, 102, 241, 0.1); color: #4f46e5; box-shadow: none; }
  .pp-note { margin: 14px 6px 0; }
  .pp-note p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.6; color: #64748b; }
  .pp-note .pp-update { padding: 10px 12px; border-radius: 14px; background: rgba(245, 158, 11, 0.12); color: #92400e; }
  .pp-note .pp-update a { color: #4f46e5; font-weight: 650; }
  .pp-note .pp-ver { color: #94a3b8; font-size: 11.5px; }
}
