:root {
  --paper: #f5f1e8;
  --ink: #242424;
  --muted: #6f6b64;
  --line: #d7d0c2;
  --card: #fffdf7;
  --soft: #ebe5d9;
  --accent: #111111;
  --shadow: 0 18px 50px rgba(36, 30, 22, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.45;
}

.page-shell { width: min(1040px, calc(100% - 28px)); margin: 0 auto; padding: 34px 0 100px; }
.hero { display: grid; grid-template-columns: 96px 1fr 96px; gap: 18px; align-items: center; text-align: center; }
.mug-frame { aspect-ratio: 1; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); }
.mug-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eyebrow { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--muted); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif; }
h1 { margin: 0; font-weight: 500; font-size: clamp(2.2rem, 8vw, 5rem); line-height: .92; }
.subtitle { margin: 18px 0 0; color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.3rem); }
.banner-section { margin-top: 28px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); }
.banner-section img { width: 100%; display: block; }
.about { margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.about summary { cursor: pointer; font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 650; letter-spacing: .01em; }
.about-content { max-width: 760px; color: #3f3c37; }
.anonymous-note { padding: 14px 16px; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 16px; }
.example-box { background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 18px; margin: 18px 0 28px; }
.small-label { margin: 0 0 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font: 700 .74rem ui-sans-serif, system-ui, sans-serif; }
.example-item, .post { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.example-item + .example-item { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.08); }
.pictogram { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.18); background: rgba(255,255,255,.48); font-size: 1.2rem; font-family: ui-sans-serif, system-ui, sans-serif; }
time { color: var(--muted); font: 700 .82rem ui-sans-serif, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.example-item p, .post p { margin: 6px 0 0; font-size: 1.15rem; }
.example-item img, .post img { margin-top: 10px; width: min(100%, 620px); max-height: 540px; object-fit: cover; border-radius: 18px; border: 1px solid rgba(0,0,0,.08); cursor: zoom-in; }
.caption { color: var(--muted); font-size: .98rem !important; }
.feed-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.feed-head h2 { margin: 0; font-size: 1.5rem; }
.feed-head p { margin: 0; color: var(--muted); font: .9rem ui-sans-serif, system-ui, sans-serif; }
.feed { display: flex; flex-direction: column; gap: 14px; }
.loading, .empty { padding: 22px; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 8px 24px rgba(36,30,22,.06); animation: slideIn .22s ease-out; }
.post-number { color: var(--muted); font: 700 .78rem ui-sans-serif, system-ui, sans-serif; margin-left: 0; display:block; margin-top:3px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font: 700 .72rem ui-sans-serif, system-ui, sans-serif; color: #4d4942; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; background: #faf7ef; }
.floating-button { position: fixed; right: 18px; bottom: 18px; z-index: 10; border: 1px solid #111; background: #111; color: #fff; border-radius: 999px; padding: 11px 17px; font: 700 .9rem ui-sans-serif, system-ui, sans-serif; box-shadow: 0 16px 36px rgba(0,0,0,.22); }
.composer { width: min(680px, calc(100% - 26px)); border: 0; border-radius: 26px; padding: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.composer::backdrop { background: rgba(0,0,0,.4); backdrop-filter: blur(4px); }
.composer form { padding: 24px; position: relative; }
.composer h2 { margin: 0; font-size: 1.8rem; }
.close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.form-hint, .status { color: var(--muted); font-family: ui-sans-serif, system-ui, sans-serif; }
textarea { width: 100%; min-height: 130px; margin: 12px 0; padding: 14px; resize: vertical; border: 1px solid var(--line); border-radius: 16px; background: #fff; font: 1rem ui-sans-serif, system-ui, sans-serif; }
.file-button, .submit { display: inline-block; border-radius: 999px; padding: 12px 16px; font: 700 .95rem ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.file-button { border: 1px solid var(--line); background: #fff; }
input[type=file] { display: none; }
.preview { margin: 12px 0; }
.preview img { width: 160px; border-radius: 14px; border: 1px solid var(--line); }
.submit { border: 1px solid #111; background: #111; color: white; margin-top: 12px; }
.submit:disabled { opacity: .45; cursor: wait; }
.lightbox { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 28px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox button { position: fixed; right: 18px; top: 12px; background: transparent; color: white; border: 0; font-size: 2.4rem; }
.hidden { display: none !important; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 720px) {
  .page-shell { width: min(100% - 20px, 680px); padding-top: 22px; }
  .hero { grid-template-columns: 58px 1fr 58px; gap: 8px; }
  .mug-frame { border-radius: 16px; }
  .subtitle { font-size: .96rem; }
  .banner-section { border-radius: 18px; }
  .feed-head { display: block; }
  .example-item, .post { grid-template-columns: 34px 1fr; gap: 10px; }
  .pictogram { width: 32px; height: 32px; font-size: 1rem; }
  .floating-button { right: 12px; bottom: 12px; padding: 12px 16px; }
}

.share-button { position: absolute; right: 0; top: 0; border: 1px solid var(--line); background: rgba(255,255,255,.72); color: var(--ink); border-radius: 999px; padding: 8px 12px; font: 700 .82rem ui-sans-serif, system-ui, sans-serif; }
.hero { position: relative; }
.share-dialog { width: min(420px, calc(100% - 32px)); border: 0; border-radius: 24px; padding: 24px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); text-align: center; }
.share-dialog::backdrop { background: rgba(0,0,0,.4); backdrop-filter: blur(4px); }
.share-dialog h2 { margin: 0 0 8px; }
.share-dialog img { width: min(260px, 80vw); height: auto; margin: 12px auto; display: block; border-radius: 16px; border: 1px solid var(--line); }
.close-share { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; font-size: 2rem; }
.copy-link { border: 1px solid #111; background: #111; color: #fff; border-radius: 999px; padding: 12px 18px; font: 700 .95rem ui-sans-serif, system-ui, sans-serif; }
@media (max-width: 720px) { .share-button { top: -4px; right: 0; font-size: .72rem; padding: 6px 10px; } }

.feed-head p span { opacity: .82; }
.delete-post { float: right; border: 1px solid var(--line); background: #faf7ef; color: var(--muted); border-radius: 999px; padding: 4px 9px; font: 700 .72rem ui-sans-serif, system-ui, sans-serif; }
.image-missing { margin-top: 10px; width: min(100%, 620px); min-height: 160px; display: grid; place-items: center; color: var(--muted); border-radius: 18px; border: 1px dashed var(--line); background: rgba(255,255,255,.45); font: 700 .9rem ui-sans-serif, system-ui, sans-serif; }
.download-qr { display:inline-block; margin-left:8px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; border-radius: 999px; padding: 11px 15px; font: 700 .9rem ui-sans-serif, system-ui, sans-serif; }
.closing-line { font-style: italic; color: var(--muted); }
@media (max-width: 720px) { .floating-button { right: 12px; bottom: 12px; padding: 10px 15px; font-size: .86rem; } .banner-section { border-radius: 16px; } }

.hires-link{text-align:center;margin:.6rem 0 1.2rem;font-size:.92rem}.hires-link a{text-decoration:none}.floating-button.small{padding:.8rem 1.3rem;font-size:1rem;right:18px;bottom:18px}