/* The reader chrome is a photo booth; the newspaper's original layout stays intact. */
 :root {
  --ui-paper:#f3eee5;
  --ui-surface:#fffdf7;
  --ui-ink:#352b25;
  --ui-muted:#71675c;
  --ui-line:#ded5c7;
  --ui-accent:#c63332;
  --ui-accent-dark:#a62128;
  --ui-live:#216754;
  --ui-font:"Microsoft YaHei","PingFang SC",system-ui,sans-serif
}
 body {
  background:var(--ui-paper)
}
 button,summary {
  touch-action:manipulation
}
 .reader-bar {
  position:sticky;
  top:0;
  z-index:30;
  min-height:76px;
  height:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px max(24px,calc((100vw - 1200px)/2));
  background:var(--ui-surface);
  border-bottom:1px solid var(--ui-line);
  color:var(--ui-ink);
  font:14px/1.4 var(--ui-font)
}
 .reader-brand {
  gap:12px;
  white-space:normal
}
.brand-mark {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:var(--ui-accent);
  color:white;
  transform:rotate(-5deg)
}
.brand-mark svg {
  width:26px;
  height:26px
}
.reader-brand strong {
  font:700 21px/1.3 var(--ui-font);
  color:var(--ui-ink)
}
.reader-brand .brand-dot {
  display:inline;
  color:var(--ui-accent);
  font-size:24px
}
.reader-brand .brand-subtitle {
  display:block;
  font:12px/1.7 var(--ui-font);
  color:var(--ui-muted);
  margin-top:3px
}
 .reader-actions {
  display:flex;
  align-items:center;
  gap:12px
}
.reader-actions button,.reader-tools summary {
  min-height:44px;
  border:1px solid var(--ui-line);
  border-radius:12px;
  padding:10px 14px;
  background:var(--ui-surface);
  color:var(--ui-ink);
  font:13px/1.4 var(--ui-font);
  transition:background .18s,box-shadow .18s,transform .18s
}
.reader-actions svg {
  width:20px;
  height:20px
}
.camera-pill {
  display:flex;
  align-items:center;
  gap:8px
}
.camera-pill[aria-pressed=true] {
  background:#e9f1e9;
  color:var(--ui-live);
  border-color:#bfd5c6
}
.live-dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:currentColor
}
.camera-pill[data-busy=true] .live-dot {
  animation:soft-pulse 1s infinite
}
 .reader-tools {
  position:relative
}
.reader-tools summary {
  list-style:none;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer
}
.reader-tools summary::-webkit-details-marker {
  display:none
}
.reader-tools[open] summary {
  background:#eee6d9
}
.tools-popover {
  position:absolute;
  right:0;
  top:calc(100% + 12px);
  width:280px;
  background:var(--ui-surface);
  padding:18px;
  border:1px solid var(--ui-line);
  border-radius:18px;
  box-shadow:0 12px 40px #49342024
}
.tool-heading {
  font:700 12px var(--ui-font);
  color:var(--ui-muted);
  margin:0 0 12px
}
.view-options {
  display:flex;
  gap:8px
}
.view-options button {
  flex:1
}
.view-options button[aria-pressed=true] {
  background:var(--ui-ink);
  color:#fff;
  border-color:var(--ui-ink)
}
.zoom-tools {
  display:flex;
  align-items:center;
  gap:8px;
  margin:16px 0;
  padding-bottom:16px;
  border-bottom:1px dashed var(--ui-line)
}
.zoom-tools>span {
  font-size:12px;
  margin-right:auto
}
.zoom-tools button {
  width:44px;
  padding:10px
}
.zoom-tools output {
  font:13px/1 var(--ui-font);
  min-width:38px;
  text-align:center
}
.reader-actions .menu-action {
  width:100%;
  display:flex;
  gap:12px;
  align-items:center;
  border:0;
  border-radius:10px
}
.reader-actions button:hover,.reader-tools summary:hover {
  background:#eee6d9
}
.reader-actions button:active,.reader-tools summary:active {
  transform:scale(.97)
}
 .studio-intro {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  max-width:1248px;
  margin:0 auto;
  padding:28px 24px 8px;
  color:var(--ui-ink);
  font:14px/1.6 var(--ui-font)
}
.eyebrow {
  color:var(--ui-accent);
  font:700 10px/1.5 var(--ui-font);
  letter-spacing:2px
}
.studio-intro h2 {
  font:700 30px/1.4 var(--ui-font);
  margin:5px 0 0;
  letter-spacing:-1px
}
.studio-intro p {
  margin:0;
  font:13px/1.8 var(--ui-font);
  text-align:right;
  color:var(--ui-ink)
}
.studio-intro p span {
  color:var(--ui-muted)
}
 .stage {
  max-width:1248px;
  margin:0 auto;
  padding:20px 24px 190px;
  min-height:0
}
.paper-wrap {
  margin:0 auto
}
.newspaper {
  box-shadow:0 0 0 1px #cdc4b5,0 10px 30px #48392c17
}
.reader-foot {
  padding-top:20px;
  color:var(--ui-muted)
}
 .cover-image>video,.cover-image>.camera-snapshot {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(.85) contrast(1.04)
}
.cover-image {
  background:#e3e8de
}
.cover-image>video {
  visibility:hidden
}
.cover-image.is-live>video {
  visibility:visible
}
.cover-image>video.is-mirrored {
  transform:scaleX(-1)
}
 .camera-placeholder {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:30px 40px 30px 340px;
  text-align:center;
  color:#38534a;
  font:15px/1.8 var(--ui-font);
  z-index:2
}
.placeholder-lens {
  display:grid;
  place-items:center;
  border:1px solid #8da698;
  width:74px;
  height:74px;
  border-radius:50%;
  margin-bottom:18px;
  background:#f8fff34a
}
.placeholder-lens svg {
  width:36px;
  height:36px
}
.camera-placeholder b {
  font-size:26px
}
.camera-placeholder button {
  margin-top:18px;
  background:#275c4c;
  color:white;
  border:0;
  border-radius:999px;
  padding:12px 24px;
  min-height:44px;
  font:700 14px var(--ui-font)
}
.cover-image.is-live .camera-placeholder {
  display:none
}
.monochrome .cover-image>video {
  filter:grayscale(1) contrast(1.06)
}
 .capture-dock {
  position:fixed;
  z-index:40;
  bottom:max(18px,env(safe-area-inset-bottom));
  left:50%;
  transform:translateX(-50%);
  width:560px;
  max-width:calc(100vw - 28px);
  padding:12px 20px 10px;
  border:1px solid var(--ui-line);
  border-radius:24px;
  background:var(--ui-surface);
  box-shadow:0 12px 48px #4837252c;
  color:var(--ui-ink);
  font:13px/1.4 var(--ui-font)
}
.dock-note {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px;
  font-size:11px;
  color:var(--ui-muted)
}
.mini-ticket {
  display:inline-block;
  border:1px solid #dfba9a;
  color:#8a4526;
  background:#fff2df;
  padding:3px 9px;
  border-radius:4px;
  transform:rotate(-2deg);
  font-size:10px;
  font-weight:700
}
.dock-controls {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.dock-tool {
  border:0;
  border-radius:14px;
  background:transparent;
  color:var(--ui-ink);
  font:12px/1.4 var(--ui-font);
  min-height:72px;
  min-width:64px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  padding:8px;
  transition:background .18s,transform .18s,color .18s
}
.dock-tool svg {
  width:23px;
  height:23px;
  transition:transform .2s
}
.dock-tool small {
  font-size:10px;
  color:var(--ui-muted)
}
.dock-tool:hover {
  background:#f0e8da
}
.dock-tool:active {
  transform:scale(.94)
}
.dock-tool[aria-pressed=true] {
  background:#f9e4dd;
  color:var(--ui-accent-dark)
}
.dock-tool[aria-pressed=true] small {
  color:var(--ui-accent-dark)
}
.dock-tool:disabled {
  opacity:.4
}
.dock-tool#switchCamera:active svg {
  transform:rotate(35deg)
}
 .shutter-group {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  flex-shrink:0;
  min-width:90px
}
.shutter {
  width:74px;
  height:74px;
  border-radius:50%;
  border:2px solid var(--ui-accent);
  background:var(--ui-surface);
  padding:5px;
  display:grid;
  place-items:center;
  transition:transform .18s,box-shadow .18s
}
.shutter-inner {
  width:100%;
  height:100%;
  border-radius:50%;
  background:var(--ui-accent);
  color:white;
  display:grid;
  place-items:center;
  box-shadow:inset 0 -4px 0 #8c182636
}
.shutter svg {
  width:28px;
  height:28px
}
.shutter:hover:not(:disabled) {
  box-shadow:0 0 0 5px #c6333214;
  transform:translateY(-2px)
}
.shutter:active:not(:disabled) {
  transform:scale(.94)
}
.shutter:disabled {
  opacity:.4
}
.shutter[data-busy=true] .shutter-inner {
  animation:soft-pulse 1s infinite
}
#shutterLabel {
  font-size:11px;
  font-weight:700
}
.camera-status {
  display:block;
  text-align:center;
  color:var(--ui-muted);
  font:11px/1.6 var(--ui-font);
  margin-top:10px;
  letter-spacing:0;
  min-height:18px
}
.camera-status[data-error=true] {
  color:var(--ui-accent-dark)
}
 .camera-dialog {
  border:1px solid var(--ui-line);
  border-radius:24px;
  background:var(--ui-surface);
  color:var(--ui-ink);
  width:min(430px,calc(100vw - 28px));
  padding:28px;
  max-height:calc(100dvh - 28px);
  overflow:auto;
  box-shadow:0 18px 90px #39281740;
  font:14px/1.7 var(--ui-font)
}
.camera-dialog::backdrop {
  background:#302b256b;
  backdrop-filter:blur(4px)
}
.dialog-close {
  position:absolute;
  top:12px;
  right:12px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--ui-muted);
  display:grid;
  place-items:center
}
.dialog-close svg {
  width:20px;
  height:20px
}
.dialog-close:hover {
  background:#ece5d9
}
.permission-art {
  height:142px;
  border:1px solid #dbc7ad;
  background:linear-gradient(145deg,#f5ead6,#eee1cb);
  border-radius:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:16px 0 24px;
  position:relative;
  overflow:hidden
}
.permission-art::before,.permission-art::after {
  content:"";
  position:absolute;
  border-top:1px solid #d3bd9f;
  width:70px;
  top:50%;
  transform:rotate(-25deg)
}
.permission-art::before {
  left:20px
}
.permission-art::after {
  right:20px;
  transform:rotate(25deg)
}
.art-ticket {
  font:700 9px Georgia,serif;
  letter-spacing:3px;
  color:#7a614a
}
.art-camera {
  display:grid;
  place-items:center;
  background:var(--ui-accent);
  color:white;
  width:66px;
  height:66px;
  border-radius:18px;
  transform:rotate(-7deg);
  box-shadow:4px 5px 0 #c39c753b
}
.art-camera svg {
  width:34px;
  height:34px
}
.art-caption {
  font:10px Georgia,serif;
  letter-spacing:1.5px;
  color:#7a614a
}
.camera-dialog h2 {
  font:700 25px/1.4 var(--ui-font);
  margin:9px 0 12px;
  letter-spacing:-.5px
}
.camera-dialog p {
  color:var(--ui-muted);
  font-size:14px;
  margin:0 0 12px
}
.camera-dialog .privacy-note {
  font-size:11px;
  margin:16px 0 20px;
  padding-top:14px;
  border-top:1px dashed var(--ui-line)
}
.permission-primary {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
  min-height:50px;
  border:0;
  border-radius:12px;
  background:var(--ui-accent);
  color:white;
  font:700 14px var(--ui-font);
  transition:background .18s,transform .18s
}
.permission-primary svg {
  width:20px;
  height:20px
}
.permission-primary:hover {
  background:var(--ui-accent-dark)
}
.permission-primary:active {
  transform:scale(.98)
}
.permission-secondary {
  width:100%;
  min-height:44px;
  margin-top:8px;
  background:transparent;
  border:0;
  color:var(--ui-muted);
  font:13px var(--ui-font)
}
 .countdown-overlay {
  width:100vw;
  height:100dvh;
  max-width:none;
  max-height:none;
  margin:0;
  border:0;
  position:fixed;
  inset:0;
  z-index:70;
  background:#2e241d50;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:24px;
  color:white;
  font:700 18px var(--ui-font)
}
.countdown-overlay output {
  font:700 140px/1 var(--ui-font);
  font-variant-numeric:tabular-nums;
  text-shadow:0 8px 24px #0003
}
.countdown-overlay button {
  min-height:44px;
  background:#fff;
  color:var(--ui-ink);
  border:0;
  border-radius:999px;
  padding:12px 24px;
  font:14px var(--ui-font)
}
.capture-flash {
  position:fixed;
  inset:0;
  z-index:80;
  background:#fff;
  pointer-events:none;
  animation:shutter-flash .2s ease-out forwards
}
.save-toast {
  position:fixed;
  z-index:60;
  left:50%;
  top:96px;
  transform:translateX(-50%) rotate(-2deg);
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 22px;
  background:var(--ui-live);
  color:white;
  border-radius:8px;
  box-shadow:0 6px 20px #1e503e30;
  font:700 14px var(--ui-font);
  white-space:nowrap
}
.save-toast svg {
  width:22px;
  height:22px
}
[hidden] {
  display:none!important
}
 .export-stage {
  position:fixed;
  left:-16000px;
  top:0;
  width:1200px;
  pointer-events:none
}
.export-stage .newspaper {
  position:relative;
  transform:none!important;
  box-shadow:none
}
.print-snapshot {
  display:none!important
}
.source-dialog {
  border-radius:18px;
  color:var(--ui-ink);
  font-family:var(--ui-font)
}
.source-dialog>button {
  min-height:44px;
  border-radius:10px
}
.source-dialog a {
  display:inline-block;
  padding:3px 0
}
 button:focus-visible,summary:focus-visible,a:focus-visible {
  outline:3px solid var(--ui-live);
  outline-offset:4px
}
 @keyframes soft-pulse {
  50% {
    opacity:.55
  }
}
@keyframes shutter-flash {
  from {
    opacity:.75
  }
  to {
    opacity:0
  }
}
 @media(max-width:650px) {
  .reader-brand .brand-mark {
    display:grid
  }
  .reader-bar {
    min-height:66px;
    padding:12px 16px;
    gap:10px
  }
  .reader-brand {
    gap:9px
  }
  .brand-mark {
    width:34px;
    height:34px;
    border-radius:10px
  }
  .brand-mark svg {
    width:22px;
    height:22px
  }
  .reader-brand strong {
    font-size:17px
  }
  .reader-brand .brand-subtitle {
    display:none
  }
  .reader-actions {
    gap:8px
  }
  .reader-actions button,.reader-tools summary {
    padding:10px;
    font-size:12px
  }
  .reader-tools summary>span {
    display:none
  }
  .reader-tools summary {
    width:44px;
    justify-content:center
  }
  .tools-popover {
    right:0;
    top:calc(100% + 10px)
  }
  .studio-intro {
    padding:20px 16px 4px;
    align-items:flex-start;
    gap:12px
  }
  .studio-intro h2 {
    font-size:25px
  }
  .studio-intro p {
    font-size:11px;
    max-width:120px;
    padding-top:18px
  }
  .eyebrow {
    font-size:8px;
    letter-spacing:1.5px
  }
  .stage {
    padding:16px 12px 190px
  }
  .capture-dock {
    bottom:max(12px,env(safe-area-inset-bottom));
    padding:10px 12px 9px;
    border-radius:21px
  }
  .dock-note {
    font-size:10px;
    margin-bottom:7px
  }
  .dock-controls {
    gap:4px
  }
  .dock-tool {
    min-width:44px;
    min-height:72px;
    font-size:11px;
    padding:6px 3px
  }
  .dock-tool svg {
    width:22px;
    height:22px
  }
  .dock-tool small {
    font-size:9px
  }
  .shutter-group {
    min-width:76px
  }
  .shutter {
    width:68px;
    height:68px
  }
  .camera-status {
    font-size:10px;
    margin-top:8px
  }
  .camera-dialog {
    padding:24px
  }
  .camera-dialog h2 {
    font-size:24px
  }
  .save-toast {
    top:82px
  }
}
 @media(max-width:360px) {
  .studio-intro p {
    display:none
  }
  .reader-actions button {
    font-size:11px
  }
  .reader-brand strong {
    font-size:15px
  }
  .dock-note #dockHint {
    max-width:170px;
    text-align:right
  }
  .dock-tool {
    font-size:10px
  }
  .capture-dock {
    max-width:calc(100vw - 16px);
    padding-inline:8px
  }
}
 @media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
  .capture-flash {
    display:none!important
  }
  .shutter:hover:not(:disabled),.shutter:active:not(:disabled),.dock-tool:active {
    transform:none
  }
}
  @media(max-height:500px) and (min-width:650px) {
  .reader-bar {
    min-height:56px;
    padding:8px 20px
  }
  .reader-brand .brand-subtitle {
    display:none
  }
  .brand-mark {
    width:34px;
    height:34px
  }
  .reader-brand strong {
    font-size:18px
  }
  .studio-intro {
    display:none
  }
  .stage {
    padding-top:12px;
    padding-bottom:140px
  }
  .capture-dock {
    left:auto;
    right:16px;
    bottom:max(12px,env(safe-area-inset-bottom));
    transform:none;
    width:360px;
    padding:8px 12px;
    border-radius:18px
  }
  .dock-note {
    display:none
  }
  .dock-controls {
    gap:4px
  }
  .dock-tool {
    min-width:44px;
    min-height:58px;
    padding:6px 3px;
    font-size:10px
  }
  .dock-tool small {
    display:none
  }
  .shutter-group {
    min-width:70px
  }
  .shutter {
    width:58px;
    height:58px
  }
  .shutter svg {
    width:24px;
    height:24px
  }
  #shutterLabel {
    font-size:10px
  }
  .camera-status {
    font-size:10px;
    margin-top:6px
  }
  .save-toast {
    top:68px
  }
}
  @media print {
  .studio-intro,.capture-dock,.camera-dialog,.countdown-overlay,.capture-flash,.save-toast,.export-stage {
    display:none!important
  }
  .stage {
    max-width:none;
    padding:0;
    margin:0
  }
  .cover-image>video {
    display:none!important
  }
  .cover-image>.print-snapshot {
    display:block!important
  }
}
/* Minimal outer controls; the newspaper masthead belongs to the newspaper itself. */
 :root {
  --ui-paper:#f4f4f2;
  --ui-surface:#ffffff;
  --ui-ink:#282828;
  --ui-muted:#666666;
  --ui-line:#dededb
}
 .layout-toolbar {
  position:fixed;
  top:16px;
  right:24px;
  z-index:40;
  display:flex
}
 .stage {
  padding:76px 24px 180px
}
 .capture-dock {
  border-radius:16px;
  box-shadow:0 8px 32px #00000014;
  padding:10px 16px 12px
}
 .dock-meta {
  display:flex;
  justify-content:center;
  margin-bottom:4px
}
 .capture-dock .camera-pill {
  min-height:44px;
  border:0;
  background:transparent;
  color:var(--ui-muted);
  padding:10px 14px;
  border-radius:10px;
  font:12px var(--ui-font)
}
 .capture-dock .camera-pill[aria-pressed=true] {
  color:var(--ui-live);
  background:transparent
}
 .capture-dock .camera-pill:hover {
  background:#f1f1ee
}
 .camera-status {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  margin:0
}
 .camera-status[data-error=true] {
  position:static;
  width:auto;
  height:auto;
  clip-path:none;
  white-space:normal;
  margin-top:8px;
  text-align:center
}
 .dock-tool {
  border-radius:10px
}
.mini-ticket {
  display:none
}
 .camera-dialog {
  border-radius:16px;
  padding:32px
}
.camera-dialog h2 {
  margin:10px 0 16px
}
.camera-dialog .privacy-note {
  margin-top:18px
}
 .save-toast {
  top:72px;
  transform:translateX(-50%);
  border-radius:10px
}
 @media(max-width:650px) {
  .layout-toolbar {
    top:12px;
    right:12px
  }
  .layout-toolbar .reader-tools summary {
    width:auto;
    gap:8px;
    padding:10px 12px
  }
  .layout-toolbar .reader-tools summary>span {
    display:inline
  }
  .stage {
    padding:68px 12px 190px
  }
  .capture-dock {
    padding:6px 12px 10px
  }
  .dock-meta {
    margin-bottom:0
  }
}
 @media(max-height:500px) and (min-width:650px) {
  .layout-toolbar {
    top:12px;
    right:16px
  }
  .stage {
    padding-top:64px
  }
  .capture-dock {
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width:410px
  }
  .dock-meta {
    position:absolute;
    right:calc(100% + 8px);
    bottom:8px;
    background:var(--ui-surface);
    border:1px solid var(--ui-line);
    border-radius:10px
  }
  .capture-dock .camera-pill {
    white-space:nowrap
  }
}
 @media print {
  .layout-toolbar {
    display:none!important
  }
  .stage {
    padding:0
  }
}
   .paper-creation {
  display:flex;
  justify-content:flex-end;
  break-inside:avoid;
  border-top:1px solid #8f948b;
  margin-top:8px;
  padding-top:6px
}
 .create-paper-card {
  position:static;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#20221e;
  font:12px/1.6 var(--sans);
  cursor:pointer
}
 .qr-frame {
  display:block;
  width:112px;
  height:112px;
  background:#fff
}
.qr-frame svg,.qr-large svg {
  display:block;
  width:100%;
  height:100%;
  shape-rendering:crispEdges
}
.qr-caption {
  text-align:right
}
.qr-caption strong {
  font-size:15px;
  font-weight:700
}
 .share-dialog {
  position:relative;
  width:min(380px,calc(100vw - 28px));
  padding:32px;
  border:1px solid var(--ui-line);
  border-radius:16px;
  background:var(--ui-surface);
  font:14px/1.6 var(--ui-font);
  text-align:center;
  color:var(--ui-ink)
}
.share-dialog::backdrop {
  background:#0006
}
.share-dialog h2 {
  margin:8px 0 18px;
  font-size:21px
}
.qr-large {
  width:260px;
  height:260px;
  max-width:100%;
  margin:0 auto
}
.share-dialog p {
  color:var(--ui-muted);
  font-size:13px
}
.share-dialog>a {
  display:inline-block;
  padding:12px 20px;
  min-height:44px;
  color:var(--ui-ink);
  text-decoration:underline
}
 @media(max-width:650px) {
  .share-dialog {
    padding:28px 24px
  }
}
 @media(max-height:500px) and (min-width:650px) {
  .qr-large {
    width:200px;
    height:200px
  }
  .share-dialog {
    max-height:calc(100dvh - 24px);
    overflow:auto;
    padding:20px 24px
  }
  .share-dialog h2 {
    margin:0 0 10px
  }
}
 @media print {
  .share-dialog {
    display:none!important
  }
  .create-paper-card {
    color:#20221e
  }
}
/* Keep personal copy and location inside the existing cover area to preserve paper dimensions. */
 #coverCopyTitle {
  font-weight:inherit
}
.cover-callout h2 {
  max-width:360px
}
.cover-callout h2 span {
  white-space:nowrap
}
 .paper-location {
  position:absolute;
  z-index:2;
  right:18px;
  bottom:18px;
  max-width:365px;
  padding:9px 12px;
  background:#fdfdfbe8;
  color:#252a25;
  border:1px solid #2222;
  font:600 15px/1.5 var(--sans)
}
.paper-location[hidden] {
  display:none
}
.paper-location-name {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.paper-location small {
  display:block;
  font:7px/1.5 Arial,sans-serif;
  font-weight:400;
  white-space:nowrap
}
.paper-location small[hidden] {
  display:none
}
 .dock-meta {
  gap:6px;
  align-items:center
}
.editor-pill {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:44px;
  padding:8px 12px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--ui-ink);
  font:12px var(--ui-font)
}
.editor-pill svg {
  width:16px;
  height:16px;
  flex-shrink:0
}
.editor-pill:hover {
  background:#f1f1ee
}
.editor-pill:active {
  transform:scale(.96)
}
.editor-pill:disabled {
  opacity:.4
}
.editor-pill[data-tagged=true] {
  color:var(--ui-live)
}
 .location-dialog {
  position:relative;
  width:min(480px,calc(100vw - 28px));
  max-height:calc(100dvh - 28px);
  overflow:auto;
  padding:28px;
  border:1px solid var(--ui-line);
  border-radius:16px;
  background:var(--ui-surface);
  color:var(--ui-ink);
  font:14px/1.6 var(--ui-font)
}
.location-dialog::backdrop {
  background:#0006
}
.location-dialog h2 {
  font-size:22px;
  margin:4px 36px 22px 0
}
.location-dialog label {
  display:block;
  font-size:13px;
  margin-bottom:8px
}
.location-entry {
  display:flex;
  gap:8px
}
.location-entry input {
  min-width:0;
  flex:1;
  min-height:44px;
  border:1px solid var(--ui-line);
  border-radius:8px;
  padding:10px;
  font:16px var(--ui-font);
  background:white;
  color:var(--ui-ink)
}
.location-entry button {
  min-height:44px;
  border:0;
  border-radius:8px;
  padding:10px 14px;
  background:var(--ui-live);
  color:white;
  font:13px var(--ui-font);
  white-space:nowrap
}
.location-divider {
  display:flex;
  align-items:center;
  gap:10px;
  margin:22px 0 12px;
  color:var(--ui-muted);
  font-size:12px
}
.location-divider::before,.location-divider::after {
  content:"";
  height:1px;
  flex:1;
  background:var(--ui-line)
}
.nearby-button {
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:48px;
  border:1px solid var(--ui-line);
  border-radius:10px;
  background:#f4f4f2;
  color:var(--ui-ink);
  font:14px var(--ui-font)
}
.nearby-button svg {
  width:20px;
  height:20px
}
.nearby-button:disabled {
  opacity:.55
}
.location-privacy,.location-feedback {
  font-size:12px;
  color:var(--ui-muted);
  margin:10px 0
}
.location-feedback[data-error=true] {
  color:#a62128
}
.nearby-list {
  display:grid;
  gap:6px
}
.nearby-choice {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  text-align:left;
  min-height:48px;
  border:1px solid var(--ui-line);
  border-radius:8px;
  padding:10px 12px;
  background:white;
  color:var(--ui-ink);
  font:13px var(--ui-font)
}
.nearby-choice:hover {
  border-color:var(--ui-live);
  background:#f4f8f6
}
.nearby-choice span {
  overflow-wrap:anywhere
}
.nearby-choice small {
  color:var(--ui-muted);
  font-size:11px;
  white-space:nowrap
}
.location-attribution {
  display:inline-block;
  font-size:10px;
  color:var(--ui-muted);
  margin-top:12px;
  padding:8px 0
}
.remove-location {
  display:block;
  min-height:44px;
  margin-top:6px;
  border:0;
  background:transparent;
  color:#a62128;
  text-decoration:underline;
  font:13px var(--ui-font)
}
.remove-location[hidden] {
  display:none
}
 @media(max-width:650px) {
  .dock-meta {
    gap:2px
  }
  .editor-pill {
    padding:8px;
    font-size:11px;
    gap:4px
  }
  .capture-dock .camera-pill {
    padding:8px;
    font-size:11px
  }
  .location-dialog {
    padding:24px
  }
  .location-entry {
    gap:6px
  }
  .location-entry button {
    padding:10px
  }
}
 @media(max-height:500px) and (min-width:650px) {
  .dock-meta {
    position:static;
    border:0;
    background:transparent;
    margin:0 0 2px
  }
  .capture-dock {
    width:500px;
    padding-top:4px
  }
  .dock-controls {
    gap:8px
  }
}
 @media print {
  .location-dialog {
    display:none!important
  }
  .paper-location {
    print-color-adjust:exact
  }
}
