/* /open/* fallback page (on top of style.css). */
.open-page { min-height: 100vh; display: flex; flex-direction: column; }
.op-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px 56px; }
.op-card { width: 100%; max-width: 880px; display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 32px; }
.op-visual { display: flex; justify-content: center; }
.op-visual canvas, .op-visual svg { border-radius: 14px; box-shadow: 0 12px 28px rgba(59, 51, 85, .18); max-width: 100%; height: auto; transform: rotate(-2deg); }
.op-visual svg { width: 240px; background: var(--surface-solid); }
.op-body h1 { font-size: clamp(2rem, 5.5vw, 2.8rem); margin: .25em 0 .15em; line-height: 1.1; }
.op-body .lead { margin: 0 0 16px; }
.op-preview { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 0 0 18px; }
.op-preview h2 { font-size: 1.35rem; margin: 0 0 4px; }
.op-preview .meta { font-size: .85rem; color: var(--ink-2); margin: 0 0 8px; }
.op-preview .text { white-space: pre-wrap; font-size: .95rem; max-height: 9.5em; overflow: hidden; margin: 0;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.op-cards { list-style: none; margin: 10px 0 6px; padding: 0; display: grid; gap: 6px; max-height: 340px; overflow-y: auto; }
.op-cards li { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--bg-2, rgba(124, 103, 201, .07)); }
.op-cards span { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; font-size: .95rem; }
.op-cards .f { font-weight: 800; }
.op-cards .b { color: var(--ink-2); border-left: 1.5px dashed var(--line); padding-left: 10px; }
.op-preview .meta.more { margin: 6px 0 0; }
.op-preview .meta.local { margin: 10px 0 0; font-size: .78rem; }
.op-actions [hidden] { display: none; }
.op-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 8px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--bg-2, rgba(124, 103, 201, .08)); }
.op-hint { background: rgba(255, 227, 176, .45); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.small { font-size: .88rem; }
.muted { color: var(--ink-2); }
.op-stores { margin-top: 18px; }
.op-stores > p { margin: 0 0 8px; }
.op-store-row { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 14px; text-decoration: none;
  background: var(--surface-solid); color: var(--ink); border: 1.5px solid var(--line); font-weight: 800; line-height: 1.1; }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-weight: 700; font-size: .68rem; opacity: .75; }
.store.primary { background: #1f1b2e; color: #fff; border-color: #1f1b2e; order: -1; }
@media (prefers-color-scheme: dark) { .store.primary { background: #f3f1fa; color: #1c1930; border-color: #f3f1fa; } }
.op-qr { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.op-qr canvas { border-radius: 10px; background: #fff; padding: 6px; flex: none; }
.op-qr p { margin: 0; max-width: 260px; }
@media (max-width: 720px) {
  .op-card { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .op-visual canvas, .op-visual svg { max-height: 220px; width: auto; }
  .op-actions .btn { flex: 1 1 100%; }
}
