.community {display:grid;gap:10px;min-width:0;color:#f4f6f5;font-size:15px}
.community [hidden] {display:none!important}
.community :is(p,label) {margin:0}
.community-button {min-height:44px;padding:6px 12px;border:1px solid #8c9499;border-radius:4px;background:#edf1f0;color:#252b30;font:inherit;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer}
.community-button.primary {background:#ac2449;border-color:#ed7595;color:#fff}
.community-button[aria-pressed=true] {background:#9ad8de;border-color:#b0f1f7;color:#141e22}
.community-button:disabled {opacity:.65}
.community > .community-button {justify-self:start}
.community-error:empty,.wish-editor:empty {display:none}
.community-error {color:#ffc5cc}
.community-empty {color:#dedfdf;padding:12px}
.chat-scroll,.wish-list {overflow-y:auto;overscroll-behavior:contain;background:#232529;border:1px solid #74787d;border-radius:3px;padding:10px}
.chat-scroll {height:clamp(120px,43dvh,360px)}
.chat-messages {display:grid;gap:10px}
.chat-line {max-width:87%;justify-self:start}
.chat-line.mine {justify-self:end}
.chat-meta {display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px;margin-bottom:3px;color:#dedfdf;font-size:12px}
.chat-line.mine .chat-meta {justify-content:flex-end}
.chat-line .chat-bubble {margin:0;background:#e6e7e6;color:#232529;padding:8px 11px;border-radius:3px;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-line.mine .chat-bubble {background:#9ddbe1}
.chat-compose {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px}
.community :is(textarea,input:not([type=checkbox])) {width:100%;min-width:0;min-height:44px;border:1px solid #a4adb0;background:#f7f7f5;color:#202428;padding:7px 9px;font:inherit;font-size:16px}
.chat-compose textarea {resize:vertical;max-height:130px}
.wish-list {max-height:43dvh;display:grid;gap:1px}
.wish-card {display:grid;gap:7px;padding:10px 2px;border-bottom:1px solid #666}
.wish-card:last-child {border-bottom:0}
.wish-author {color:#c2ebee;font-size:13px}
.wish-text {font-size:16px;overflow-wrap:anywhere}
.wish-photo {display:block;width:auto;max-width:100%;max-height:220px;object-fit:contain;object-position:left;border-radius:3px}
.wish-editor form {display:grid;gap:7px}
.wish-editor label {display:block}
.wish-actions {display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.wish-actions .community-button {padding-inline:8px}
.wish-count {padding:4px 6px;color:#c2ebee;font-size:13px}

/* Publish receipt: a big LED screen in a dark room with a small platform in front.
   Timeline: screen powers on (0.1s), huge type rows slide in and drift, a grey arrow
   streaks across (1.72s), white flash (1.9s), the screen snaps to yellow and lights the room (2.0s). */
dialog.published-status {position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#060607;color:#141414;overflow:hidden}
.published-status::backdrop {background:#060607}
dialog.published-status.leaving {opacity:0;transition:opacity .24s ease}
.pub-room {position:absolute;inset:0;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse 90% 60% at 50% 30%,#141416,#060607 70%)}

/* The screen: bezel, LED dot grid, scanlines, glass sheen; everything on it lives inside. */
.pub-screen {
  position:absolute;z-index:1;left:0;right:0;top:env(safe-area-inset-top);height:81%;
  overflow:hidden;isolation:isolate;container-type:inline-size;background:#0b0b0d;
  border:solid #141416;border-width:4px 0;border-radius:6px;box-shadow:0 1px 0 #2a2a2d,0 30px 60px -20px #000;
  animation:pub-power .42s linear .1s both,pub-cut 0s 2s forwards,pub-settle 1.7s cubic-bezier(.3,0,.3,1) 2.08s forwards,pub-kick .6s ease-out 2s both,pub-glow 0s 2s forwards
}
.pub-screen::before {content:"";position:absolute;inset:0;z-index:8;pointer-events:none;
  background:radial-gradient(circle,transparent .9px,#00000012 1.3px) 0 0/3px 3px,repeating-linear-gradient(0deg,#0000000a 0 1px,transparent 1px 3px),linear-gradient(112deg,#ffffff12,transparent 40%)}
.pub-screen::after {content:"";position:absolute;inset:0;z-index:9;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,transparent 60%,#00000047);box-shadow:inset 0 0 24px #0008}
/* At the hit the glare swallows the scrolling type; it re-emerges as the screen dims. */
.pub-type {position:absolute;inset:0;display:grid;align-content:end;padding-bottom:5%;overflow:hidden;animation:pub-washout 1.5s linear 2s forwards}
@keyframes pub-washout {0%,22%{opacity:0} 100%{opacity:1}}
.pub-row {white-space:nowrap;font:800 clamp(64px,25cqw,210px)/.86 "Avenir Next","Montserrat","Helvetica Neue",Arial,"PingFang SC",sans-serif;letter-spacing:-.03em;color:#2e2e31;
  transform:translateX(105%);animation:pub-row-in .42s cubic-bezier(.16,.84,.24,1) .16s both,pub-tone 0s 2s forwards,pub-tone-settle 1.7s cubic-bezier(.3,0,.3,1) 2.08s forwards}
.pub-row:nth-child(2) {animation-delay:.23s,2s,2.08s}
.pub-row:nth-child(3) {animation-delay:.3s,2s,2.08s}
.pub-row:nth-child(4) {animation-delay:.37s,2s,2.08s}
.pub-row:nth-child(5) {animation-delay:.44s,2s,2.08s}
.pub-row span {display:inline-block;animation:pub-drift 18s linear infinite}
.pub-row:nth-child(even) span {animation-duration:23s}
.pub-arrow {position:absolute;z-index:2;left:-14%;top:calc(6% + 38cqw);width:112%;overflow:visible;transform:rotate(-7deg);color:#9a9a9e;opacity:0;
  animation:pub-show 0s 1.45s forwards,pub-ink 0s 2s forwards,pub-hit .34s cubic-bezier(.2,1.5,.4,1) 2s both}
/* The line accelerates for 0.55s and arrives exactly as the screen flashes. */
.pub-arrow .arrow-line {stroke-dasharray:1;stroke-dashoffset:1;animation:pub-draw .55s cubic-bezier(.42,0,.85,.55) 1.45s forwards}
.pub-arrow .arrow-head {opacity:0;transform-box:fill-box;transform-origin:35% 65%;animation:pub-head-punch .32s cubic-bezier(.2,1.6,.4,1) 1.97s both}
.pub-flash {position:absolute;inset:0;z-index:7;background:#fff;opacity:0;pointer-events:none;animation:pub-flash .24s linear 1.97s both}
.pub-badge {position:absolute;z-index:3;top:12px;left:12px;display:grid;place-items:center;overflow:hidden;width:clamp(130px,46cqw,300px);aspect-ratio:1.5/1;
  background:#141414;color:#f1e91a;border-radius:4px;opacity:0;animation:pub-show 0s 2s forwards}
.pub-badge span {display:block;font:700 clamp(56px,20cqw,132px)/1 "DIN Alternate","Avenir Next","Helvetica Neue",Arial,sans-serif;letter-spacing:-.02em;-webkit-text-stroke:.045em currentColor;transform:scaleY(1.2);transform-origin:center;padding-top:.06em}
.pub-title {position:absolute;z-index:3;right:14px;top:auto;bottom:9%;margin:0;text-align:right;opacity:0;animation:pub-show 0s 2s forwards}
.pub-title p {margin:0}
.pub-title p b {display:block;font:800 clamp(26px,9cqw,64px)/.95 "Avenir Next","Montserrat","Helvetica Neue",Arial,"PingFang SC",sans-serif;letter-spacing:-.01em}
.pub-title p span {display:block;font:500 clamp(24px,8.4cqw,60px)/.98 "Avenir Next","Montserrat","Helvetica Neue",Arial,"PingFang SC",sans-serif;letter-spacing:-.01em}
.pub-title h2 {margin:6px 0 0;font:800 clamp(30px,10.5cqw,74px)/1.05 "Avenir Next","Montserrat","Helvetica Neue",Arial,"PingFang SC",sans-serif;letter-spacing:.02em;color:#141414}
.pub-title .pub-meta {margin-top:8px;font:600 12px/1.4 system-ui,sans-serif;opacity:.72}

/* Floor: dark, catches a soft reflection of the screen. */
.pub-floor {position:absolute;z-index:0;left:0;right:0;bottom:0;height:19%;
  background:linear-gradient(180deg,#5a5d62 0%,#44474c 45%,#33363a 100%)}
.pub-floor::after {content:"";position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 50% 0,#ffffff1c,transparent 70%);pointer-events:none}
.pub-floor::before {content:"";position:absolute;left:0;right:0;top:0;height:70%;background:linear-gradient(180deg,#f0ec20,transparent);opacity:0;mix-blend-mode:screen;animation:pub-floor-lit .8s ease-out 1.97s forwards}


.published-controls {position:absolute;z-index:6;left:14px;right:14px;bottom:max(14px,env(safe-area-inset-bottom));color:#eeeeea;opacity:0;animation:pub-fade .3s ease 2.2s forwards}
.published-controls details {border-block:1px solid #ffffff2e}
.published-controls summary {cursor:pointer;padding:11px 0;font-weight:700}
.published-content {padding:0 0 12px;overflow-wrap:anywhere}
.published-content p {margin:3px 0;white-space:pre-wrap}
.published-content small {display:block;margin-top:4px;opacity:.7}
.published-controls footer {display:flex;gap:10px;margin-top:10px}
.published-controls button {flex:1;min-height:48px;border-radius:6px;border:1.5px solid #eeeeea80;background:transparent;color:#eeeeea;font:800 16px system-ui,sans-serif;cursor:pointer;transition:transform .16s}
.published-controls button:last-child {border-color:#f1e91a;background:#f1e91a;color:#141414}
.published-controls button:active {transform:scale(.98)}

@keyframes pub-power {0%{background-color:#0b0b0d} 22%{background-color:#262628} 32%{background-color:#111113} 48%{background-color:#2b2b2d} 60%{background-color:#141416} 100%{background-color:#1d1d1f}}
@keyframes pub-cut {to{background-color:#fbf862}}
@keyframes pub-settle {from{background-color:#fbf862} to{background-color:#ecd418}}
@keyframes pub-tone-settle {from{color:#e9e53c} to{color:#d6bd12}}
@keyframes pub-kick {from{filter:brightness(1.9) saturate(1.2)} to{filter:none}}
@keyframes pub-hit {from{transform:rotate(-7deg) scale(1.07)} to{transform:rotate(-7deg)}}
@keyframes pub-head-punch {0%{opacity:0;transform:scale(.35)} 1%{opacity:1} 100%{opacity:1;transform:none}}
@keyframes pub-glow {to{box-shadow:0 0 0 1px #2a2a2d,0 0 70px 6px #f1e91a59,0 30px 60px -20px #000}}
@keyframes pub-row-in {from{transform:translateX(105%)} to{transform:none}}
@keyframes pub-drift {to{transform:translateX(-50%)}}
@keyframes pub-tone {to{color:#e9e53c}}
@keyframes pub-ink {to{color:#141414}}
@keyframes pub-draw {to{stroke-dashoffset:0}}
@keyframes pub-show {to{opacity:1}}
@keyframes pub-fade {from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none}}
@keyframes pub-flash {0%{opacity:0} 13%{opacity:.88} 100%{opacity:0}}
@keyframes pub-floor-lit {0%{opacity:0} 12%{opacity:.75} 100%{opacity:.42}}
@media (orientation:landscape) {
  .pub-screen {left:0;right:0;height:80%}
  .pub-arrow {left:-4%;top:-6%;width:min(56%,100vh)}
  .pub-floor {height:22%}
  .pub-title {top:auto}
  .published-controls {left:auto;right:4%;width:min(380px,40%);bottom:3%}
  .published-controls details {display:none}
  .pub-title {bottom:12px;right:16px}
  .pub-title p b,.pub-title p span {font-size:clamp(20px,4.6cqw,46px)}
  .pub-title h2 {font-size:clamp(24px,5.4cqw,54px)}
  .pub-badge {left:auto;right:12px;width:clamp(120px,21cqw,280px)}
  .pub-badge span {font-size:clamp(50px,9.1cqw,124px)}
  .pub-arrow {left:-4%;top:-6%;width:min(56%,100vh)}
  .pub-floor {height:22%}
}
@media (orientation:portrait) and (max-height:760px) {
  .published-controls details {display:none}
}
/* A backlit metal chair, centred on the floor: a dark silhouette until the screen
   flashes, then a yellow rim light traces its outline and glows down the backrest. */
.pub-chair {position:absolute;z-index:2;left:50%;width:34%;transform:translateX(-50%);bottom:max(12%,calc(env(safe-area-inset-bottom) + 124px));overflow:visible}
.pub-chair .chair-shadow {fill:#000000b8;filter:blur(5px)}
.pub-chair .chair-contact ellipse {fill:#000000d0;filter:blur(1.2px)}
.pub-chair .chair-tube-edge {fill:none;stroke:#0c0d0f;stroke-width:8;stroke-linecap:round}
.pub-chair .chair-tube-body {fill:none;stroke:#3f4146;stroke-width:5.6;stroke-linecap:round}
.pub-chair .chair-tube-hi {fill:none;stroke:#c3c5cb;stroke-width:1.4;stroke-linecap:round;opacity:.75}
.pub-chair .chair-line {fill:none;stroke:#d5d7dc;stroke-width:1.1;stroke-linecap:round;opacity:.45}
.pub-chair .chair-glow {opacity:0;mix-blend-mode:screen;animation:pub-reflect .9s ease-out 1.97s forwards}
.pub-chair .chair-rim {fill:none;stroke:#f0ec20;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:0;animation:pub-rim 1s ease-out 1.97s forwards}
@keyframes pub-reflect {0%{opacity:0} 12%{opacity:1} 30%{opacity:.95} 100%{opacity:.6}}
@keyframes pub-rim {0%{opacity:0} 12%{opacity:1;stroke:#fffbd0} 100%{opacity:.9;stroke:#f0ec20}}
@media (orientation:landscape) {.pub-chair {left:38%;width:min(15%,32vh);bottom:3%}}
@media (orientation:portrait) and (max-height:760px) {.pub-chair {bottom:max(12%,calc(env(safe-area-inset-bottom) + 70px))}}
/* With the chair centred, the title sits higher on the right, clear of it. */
@media (orientation:portrait) {.pub-title {bottom:24%}}
@media (prefers-reduced-motion:reduce) {
  dialog.published-status *,dialog.published-status *::before,dialog.published-status *::after {animation-delay:0s!important;animation-duration:0s!important}
  .pub-row span {animation:none!important}
  .pub-flash {display:none}
}
