/* Today... floating vertical hologram. No WebGL repaint or change to existing board. */
/* An immersive reading mode temporarily clears competing HUD elements. */
body.today-mode > :not(#worldCanvas):not(#todayFeature):not(script){visibility:hidden!important;pointer-events:none!important}
.today-feature{font:14px/1.45 system-ui,-apple-system,"Malgun Gothic",sans-serif;color:#f3f9f8}
.today-feature [hidden]{display:none!important}
.graffiti-tab.today-tab{position:fixed;top:52%;left:max(4px,env(safe-area-inset-left));z-index:7;
 pointer-events:auto;cursor:pointer}
.graffiti-tab.today-tab:hover,.graffiti-tab.today-tab[aria-expanded=true]{background:#456e6b;border-color:#ffdc9c}
.today-overlay{position:fixed;inset:0 auto 0 0;width:70vw;box-sizing:border-box;z-index:39;pointer-events:none;display:flex;align-items:stretch;justify-content:center;padding:2.4vh 0;
 background:linear-gradient(90deg,rgba(2,19,28,.24),transparent 73%)}
.today-hologram{pointer-events:auto;width:47.678571%;max-width:960px;min-width:0;max-height:95.2dvh;min-height:0;display:flex;flex-direction:column;
 border:1px solid #bfded6a8;border-radius:20px;box-shadow:inset 0 0 25px #d8d9a81a,0 0 28px #163e5855;
 background:linear-gradient(150deg,rgba(25,63,66,.37),rgba(13,48,61,.45));backdrop-filter:blur(4px);overflow:hidden;color:#f3ffff}
.today-head{flex:none;display:flex;justify-content:space-between;align-items:start;gap:12px;padding:17px 20px 9px;background:rgba(3,41,58,.26)}
.today-head h2{margin:0;font-size:23px;color:#ecfcfa;letter-spacing:.03em}
.today-head p{margin:3px 0 0;color:#d5eeec;font-size:11px}
.today-head button{background:#155b6caa;color:#fff;font-size:23px;border:1px solid #88dbe477;border-radius:8px;padding:1px 11px}
.today-content{min-height:0;flex:1;display:flex;gap:11px;padding:10px;overflow:hidden}
.today-story{flex:1;min-width:0;overflow:auto;scrollbar-width:thin;padding:6px 10px}
.today-entry-meta,.today-reply-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#e8f5f2;font-size:11px}
.today-entry-meta time{opacity:.75}
.today-photo{display:block;max-width:100%;max-height:31vh;object-fit:contain;margin:10px auto 13px;border-radius:9px;border:1px solid #91cace66}
.today-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:clamp(13px,1.25vw,19px);font-weight:530;line-height:1.65;margin:12px 0 16px;text-shadow:0 1px 2px #07212bcc}
.today-responses{display:flex;gap:5px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid #b8eeef44}
.today-responses button,.today-reply-tools button{font:inherit;font-size:11px;color:#eaffff;background:#1d63708c;border:1px solid #aad7da65;border-radius:9px;padding:5px 9px}
.today-responses button:hover,.today-reply-tools button:hover{background:#327a81}
.today-replies{padding:11px 0}
.today-reply{padding:8px 9px;margin-bottom:7px;background:#164c5c8c;border:1px solid #b2d7d73b;border-radius:11px}
.today-reply p{font-size:12px;line-height:1.55;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.today-reply-tools{display:flex;justify-content:flex-end;gap:5px}
.today-reply-tools button{font-size:10px;padding:3px 8px}
.today-empty-replies,.today-empty{font-size:12px;color:#d1e8e6}
.today-list{width:clamp(100px,12vw,170px);flex:none;overflow-y:auto;border-left:1px solid #c7f5f54a;padding:2px 4px 2px 9px}
.today-list-item{width:100%;display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left;color:#f1ffff;border:1px solid #b8dad954;border-radius:10px;
 padding:8px 9px;background:#0d4859a1;margin-bottom:7px;cursor:pointer;overflow-wrap:anywhere;font:inherit}
.today-list-item[aria-current=true]{background:#377988b3;border-color:#c2f9f9}
.today-list-country{font-size:11px;font-weight:bold}
.today-list-preview{font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.today-list-item small{opacity:.8;font-size:10px}
.today-actions{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:9px 19px 13px;border-top:1px solid #c7e3e25e;background:#0a3c4b60}
.today-new,.today-save{border:1px solid #d4efe5;border-radius:10px;padding:8px 13px;font-size:12px;font-weight:800;background:#dbf3e8;color:#153e45}
.today-feedback{font-size:11px;color:#fff9d8;text-align:right}
.today-editor{display:flex;flex-direction:column;gap:11px;margin:4px 0}
.today-editor h3{font-size:17px;margin:0}
.today-editor textarea,.today-editor input[type=password]{box-sizing:border-box;width:100%;padding:10px 12px;background:#eaf7f5;color:#153d47;
 border:1px solid #87bcbd;border-radius:8px;font:13px/1.5 inherit;min-width:0}
.today-editor textarea{height:100px;resize:vertical}
.today-editor .today-image-label{font-size:12px;display:grid;gap:6px}
.today-editor input[type=file]{max-width:100%;font-size:11px}
.today-notice{font-size:11px;line-height:1.5;color:#d8f2ee;margin:0}
.today-editor-actions{display:flex;gap:8px;justify-content:flex-end}
.today-editor-actions button{font-size:12px;border-radius:8px;padding:7px 13px}
.today-editor-actions button:first-child{background:#1d5862;color:#fff;border:1px solid #abd9d7}
@media(max-width:900px){.today-overlay{padding:1.5vh 0}.today-hologram{width:49.5%;max-height:97dvh}.today-head{padding:10px 12px 6px}.today-head h2{font-size:17px}.today-list{width:110px}.today-text{font-size:13px}.today-content{gap:4px;padding:6px}.today-story{padding:4px 6px}.today-reply p{font-size:11px}}
@media(max-height:500px) and (orientation:landscape){.graffiti-tab.today-tab{font-size:16px}
 .today-overlay{padding:4px 0}.today-hologram{width:47.142857%;max-height:calc(100dvh - 8px)}.today-head{padding:4px 10px 3px}.today-head h2{font-size:15px}.today-head p{font-size:9px}
 .today-content{padding:4px}.today-photo{max-height:27vh}.today-text{font-size:12px;margin:5px 0 8px}.today-entry-meta{font-size:10px}
 .today-actions{padding:4px 10px 5px}.today-list{width:105px}.today-list-item{padding:4px;margin-bottom:4px}
 .today-reply{padding:4px 7px}.today-editor{gap:5px}.today-editor textarea{height:55px}.today-editor h3{font-size:13px}.today-notice{font-size:10px}}
@media(prefers-reduced-motion:reduce){.today-hologram{backdrop-filter:none}}

/* Keep original layout and original font; translation sits directly below. */
.today-translation{font-size:calc(clamp(13px,1.25vw,19px) - 1pt);font-weight:400;color:#d5eeec;margin-top:-10px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:900px){.today-translation{font-size:calc(13px - 1pt)}}
@media(max-height:500px) and (orientation:landscape){.today-translation{font-size:calc(12px - 1pt);margin-top:-3px}}

/* Global Today feed: preserve the hologram frame and replace only its internal layout. */
.today-story{overscroll-behavior:contain}
.today-feed-entry{display:grid;grid-template-columns:clamp(64px,8vw,108px) minmax(0,1fr);align-items:start;gap:10px;padding:12px 0;border-bottom:1px solid #b8eeef44;min-width:0}
.today-feed-entry:last-child{border-bottom:0}
.today-feed-entry.today-no-photo{grid-template-columns:minmax(0,1fr)}
.today-thumbnail{padding:0;border:1px solid #91cace66;border-radius:10px;overflow:hidden;background:#103c48;aspect-ratio:1;width:100%;cursor:zoom-in;display:block}
.today-feed-photo{display:block;width:100%;height:100%;object-fit:cover}
.today-feed-details{min-width:0}
.today-feed-meta{flex-direction:column;align-items:flex-start;gap:2px}
.today-feed-meta .today-country{font-size:13px;font-weight:650;overflow-wrap:anywhere}
.today-feed-meta time{font-size:11px}
.today-feed-details .today-text{margin:4px 0;line-height:1.5}
.today-feed-details .today-translation{margin:3px 0 5px}
.today-feed-details .today-responses{padding:2px 0 0;border:0;gap:4px}
.today-feed-details .today-responses button,.today-add-reply{font:inherit;font-size:11px;color:#eaffff;background:#1d63708c;border:1px solid #aad7da65;border-radius:7px;padding:4px 6px}
.today-feed-details .today-replies{padding:7px 0 0}
.today-photo-viewer{position:absolute;inset:0;z-index:2;background:#07161ded;display:flex;align-items:center;justify-content:center;padding:30px 12px 12px;box-sizing:border-box}
.today-hologram{position:relative}
.today-full-photo{max-width:100%;max-height:100%;object-fit:contain}
.today-photo-close{position:absolute;right:8px;top:5px;color:white;background:#155b6c;border:1px solid #88dbe4;border-radius:8px;font-size:22px;padding:0 10px;cursor:pointer}
@media(max-width:900px){.today-feed-entry{grid-template-columns:clamp(54px,8vw,82px) minmax(0,1fr);gap:6px;padding:8px 0}.today-feed-meta .today-country{font-size:12px}.today-feed-meta time{font-size:10px}}
@media(max-height:500px) and (orientation:landscape){.today-feed-entry{gap:5px;padding:6px 0}.today-feed-details .today-responses button,.today-add-reply{font-size:10px;padding:3px 4px}.today-feed-details .today-text{margin:2px 0}.today-feed-details .today-translation{margin:2px 0 3px}}
