/* reindeer.css — page layer for /reindeer-food-labels/. The shell (header, controls,
   buttons, explainer, footer) is /assets/polyatic.css; this adds the cutting-mat stage
   with the topper on its bag beside the whole sheet, the design picker and the poems.
   The toppers, labels and the sheet are paper in both themes: objects on the mat. */
@font-face{font-family:"RF Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/address-label-maker/fonts/classic.woff2) format("woff2")}
@font-face{font-family:"RF Script";font-style:normal;font-weight:400;font-display:swap;src:url(/address-label-maker/fonts/handwritten.woff2) format("woff2")}

.rf-noscript{margin:1rem;padding:.875rem 1rem;border:1px solid var(--line);border-left:.25rem solid var(--accent);border-radius:.625rem;background:var(--surface)}
.rf-head h1{margin-bottom:.25rem}
.rf-head .sub{margin-bottom:.75rem}

/* ---------- the stage ---------- */
.duo.rf-duo>.pane-result{position:static}
.rf-stage{background:radial-gradient(120% 80% at 50% 0%,rgba(255,196,120,.16),transparent 60%),linear-gradient(180deg,var(--mat),var(--mat-2));
  color:var(--mat-ink);border-radius:var(--r);padding:.75rem .75rem .875rem;box-shadow:var(--shadow);min-width:0}
.rf-stage-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;font-family:var(--mono);font-size:.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.07em;color:var(--mat-muted);margin:0 0 .5rem;text-align:center}
.rf-chip{font-family:var(--mono);text-transform:none;letter-spacing:0;font-size:.6875rem;font-weight:600;color:var(--signal-ink);background:var(--signal);border-radius:999px;padding:.0625rem .5rem}
.rf-view{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:.75rem;align-items:center;max-width:36rem;margin:0 auto}
.rf-one,.rf-sheet{margin:0;line-height:0;text-align:center}
.rf-one canvas{display:block;width:100%;height:auto;max-height:22rem;object-fit:contain;filter:drop-shadow(0 10px 16px rgba(0,0,0,.4))}
.rf-sheet canvas{display:block;width:100%;height:auto;background:#fff;border-radius:2px;box-shadow:0 1px 0 rgba(0,0,0,.1),0 14px 30px -14px rgba(0,0,0,.6)}
.rf-one figcaption,.rf-sheet figcaption{line-height:1.3;margin-top:.4375rem;font-family:var(--mono);font-size:.6875rem;color:var(--mat-muted)}
.rf-one figcaption:empty{display:none}
.rf-warn{margin:.5rem 0 0;text-align:center;font-size:.8125rem;color:#ffd27a}
.rf-warn[hidden]{display:none}
.rf-dl{display:flex;flex-wrap:wrap;gap:.5rem;max-width:36rem;margin:.75rem auto 0}
.rf-dl .btn{flex:1 1 9rem}
.rf-dl .btn:disabled{opacity:.6;cursor:progress}
.rf-stage .btn.ghost{color:var(--mat-ink);border-color:rgba(255,255,255,.4);background:transparent}
.rf-msg{margin:.5rem 0 0;text-align:center;font-size:.8125rem;color:var(--mat-muted)}
.rf-msg:empty{display:none}

/* ---------- the form ---------- */
.rf-form-h{margin:0 0 .75rem;font-size:1.1875rem}
.rf-hint{margin:.375rem 0 0;font-size:.8125rem;color:var(--muted);line-height:1.45}
.rf-hint:empty,.rf-hint[hidden]{display:none}
.rf-form textarea{min-height:3.25rem;resize:vertical;line-height:1.45;font-family:var(--sans)}
.rf-form select,.rf-form textarea{width:100%;max-width:100%}
.rf-form .modes{margin-bottom:.625rem}
.rf-kinds{flex-wrap:wrap}
.rf-form .check{margin-top:.75rem}
.rf-form [hidden]{display:none}
.rf-poem{margin:.5rem 0 0;padding:.5rem .75rem;border-left:.1875rem solid var(--line);white-space:pre-line;font-family:"RF Serif",Georgia,serif;font-size:.875rem;line-height:1.5;color:var(--ink-2)}
.rf-poem:empty{display:none}
.rf-designs{display:grid;grid-template-columns:repeat(auto-fill,minmax(4.5rem,1fr));gap:.375rem;margin-bottom:.25rem}
.rf-design{display:flex;flex-direction:column;align-items:center;gap:.1875rem;padding:.3125rem .125rem .25rem;border:1px solid var(--line);border-radius:.5rem;
  background:var(--surface-2);color:var(--ink);font:inherit;font-size:.6875rem;font-weight:600;line-height:1.15;cursor:pointer;min-width:0}
.rf-design canvas{display:block;width:100%;max-width:4.5rem;height:auto}
.rf-design span{text-align:center;hyphens:auto}
.rf-design:hover{border-color:var(--muted)}
.rf-design.active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}
.rf-design:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- the poems under the tool ---------- */
.rf-poems{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:.75rem;margin:.75rem 0 1.25rem}
.rf-poems blockquote{margin:0;padding:.75rem .875rem;border:1px solid var(--line);border-radius:.625rem;background:var(--surface);font-family:"RF Serif",Georgia,serif;font-size:.9375rem;line-height:1.55}
.rf-poems blockquote b{display:block;font-family:var(--sans);font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:.375rem}

@media(min-width:920px){
  .duo.rf-duo{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-areas:none}
  .duo.rf-duo>.pane-result,.duo.rf-duo>.pane-main{grid-area:auto}
  .rf-stage{position:sticky;top:1rem}
}
