
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow: hidden; }
button, a { font: inherit; }

.site {
  --panel: rgba(25, 32, 44, .16);
  --panel-solid: rgba(30, 39, 53, .32);
  --line: rgba(173, 210, 229, .22);
  --line-hot: rgba(214, 238, 252, .65);
  --text: #e4edf2;
  --muted: #82909a;
  --cyan: #b9d9eb;
  --cyan-dark: #7397ac;
  --amber: #f6b73c;
  --frame-fill: rgba(5, 9, 15, .34);
  --frame-edge: rgba(178, 211, 229, .62);
  --glass-shine: rgba(255, 255, 255, .16);
  --glass-shadow: rgba(0, 2, 9, .42);
  position: relative;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  color: var(--text);
  background: radial-gradient(circle at 81% 35%, rgba(76, 113, 166, .10), transparent 26%), radial-gradient(circle at 20% 72%, rgba(93, 73, 145, .07), transparent 31%), linear-gradient(125deg, #030509 0%, #09101a 52%, #020409 100%);
  font-family: "Rajdhani", sans-serif;
  transition: color .35s, background .35s;
}

.site::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .21;
  background-image: linear-gradient(rgba(91,221,223,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(91,221,223,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent);
}

.site::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .13;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.08) 4px);
  mix-blend-mode: overlay;
}

.site.light {
  color-scheme: light;
  --panel: rgba(255,255,255,.18); --panel-solid: rgba(248,251,255,.34);
  --line: rgba(72,105,126,.22); --line-hot: rgba(76,114,139,.58);
  --text: #17242d; --muted: #667581; --cyan: #416f8b; --cyan-dark: #688ba0; --amber: #b96714;
  --frame-fill: rgba(235, 240, 246, .34); --frame-edge: rgba(92, 123, 143, .56);
  --glass-shine: rgba(255, 255, 255, .46); --glass-shadow: rgba(24, 42, 65, .14);
  background: radial-gradient(circle at 80% 33%, rgba(98,129,171,.10), transparent 29%), radial-gradient(circle at 15% 75%, rgba(119,102,157,.07), transparent 35%), linear-gradient(125deg, #dfe5eb, #f6f7f8 48%, #d6dde5);
}

.glass-filters { position: absolute; width: 0; height: 0; overflow: hidden; }
.stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .42; background-image: radial-gradient(circle, var(--cyan) 0 1px, transparent 1.4px); background-size: 131px 107px; }
.light .stars { opacity: .18; }
.orb { position: absolute; z-index: 0; pointer-events: none; border: 1px solid var(--line); border-radius: 50%; opacity: .42; }
.orb::before, .orb::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: inherit; }
.orb-one { width: 34vw; height: 34vw; min-width: 360px; min-height: 360px; right: -14vw; top: 9vh; }
.orb-one::before { inset: 13%; }.orb-one::after { inset: 29%; }
.orb-two { width: 22vw; height: 22vw; left: -11vw; bottom: -11vw; }
.orb-two::before { inset: 18%; }.orb-two::after { inset: 38%; }
.blueprint-paper { position: absolute; z-index: 0; width: min(72vw, 1020px); height: 116vh; left: 64%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg); transform-origin: center; pointer-events: none; background-image: linear-gradient(90deg, rgba(4,12,24,.15), transparent 19% 79%, rgba(4,12,24,.18)), linear-gradient(0deg, rgba(4,12,24,.14), transparent 16% 84%, rgba(4,12,24,.18)), url('blueprint-paper-v1.png'); background-size: cover; background-position: center; border: 1px solid rgba(185,214,244,.28); border-radius: 3px; opacity: .72; filter: saturate(.72) brightness(.62) contrast(1.08); box-shadow: 0 3px 7px rgba(0,0,0,.28), 0 24px 60px rgba(0,0,0,.48); }
.light .blueprint-paper { opacity: .64; filter: saturate(.68) brightness(.95) contrast(.96); box-shadow: 0 3px 7px rgba(34,27,23,.18), 0 22px 54px rgba(34,27,23,.3); }

.guestbook-tab { position: absolute; z-index: 3; left: 0; top: 96px; width: 132px; height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px 0 14px; color: var(--cyan); text-decoration: none; background: linear-gradient(110deg, rgba(211,235,248,.18), rgba(82,111,144,.08) 58%, rgba(255,255,255,.18)); border: 1px solid rgba(200,229,244,.48); border-right-color: rgba(220,241,251,.78); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 18px 100%, 0 calc(100% - 16px)); box-shadow: inset 0 1px 0 rgba(255,255,255,.36), inset -1px 0 0 rgba(255,255,255,.24), 0 14px 36px rgba(0,0,0,.38), 0 0 18px rgba(156,211,236,.09); backdrop-filter: blur(22px) saturate(128%); -webkit-backdrop-filter: blur(22px) saturate(128%); transition: transform .25s, background .25s, color .25s; }
.guestbook-tab::before, .guestbook-tab::after { content: ""; position: absolute; left: 12px; height: 1px; background: var(--cyan); opacity: .42; box-shadow: 0 0 6px var(--cyan); }.guestbook-tab::before { top: 7px; width: 28px; }.guestbook-tab::after { right: 12px; bottom: 7px; }
.guestbook-tab span { font: 8px "Geist Mono", monospace; letter-spacing: .19em; }
.guestbook-tab small { font: 6px "Geist Mono", monospace; letter-spacing: .12em; color: var(--amber); }.guestbook-tab i { flex: 0 0 auto; width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); box-shadow: inset 0 0 0 2px rgba(3,8,14,.65); }
.guestbook-tab:hover, .guestbook-tab:focus-visible { color: #effaff; outline: none; transform: translateX(-6px); background: linear-gradient(110deg, rgba(211,235,248,.26), rgba(91,133,171,.14) 58%, rgba(255,255,255,.24)); }
.light .guestbook-tab { background: linear-gradient(110deg, rgba(255,255,255,.62), rgba(107,145,174,.16) 60%, rgba(255,255,255,.42)); box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 14px 34px rgba(28,45,62,.18); }

.screen-shell {
  position: relative;
  z-index: 1;
  width: min(1460px, calc(100% - 54px));
  height: calc(100% - 46px);
  margin: 23px auto;
  padding: 0;
  background: linear-gradient(135deg, rgba(245, 250, 255, .84), var(--frame-edge) 24%, rgba(88, 112, 137, .58) 68%, rgba(232, 243, 252, .78));
  clip-path: polygon(18px 0, calc(100% - 34px) 0, calc(100% - 18px) 16px, 100% 16px, 100% 31%, calc(100% - 13px) 33%, calc(100% - 13px) 46%, 100% 48%, 100% calc(100% - 28px), calc(100% - 28px) 100%, 62% 100%, calc(62% - 13px) calc(100% - 9px), calc(38% + 13px) calc(100% - 9px), 38% 100%, 25px 100%, 0 calc(100% - 25px), 0 70%, 13px 68%, 13px 54%, 0 52%, 0 18px);
  filter: drop-shadow(0 0 8px rgba(165, 205, 231, .13)) drop-shadow(0 24px 34px rgba(0, 0, 0, .56));
}
.screen-shell::before, .screen-shell::after { content: ""; position: absolute; pointer-events: none; clip-path: inherit; }
.screen-shell::before { z-index: 0; inset: 2px; background: var(--frame-fill); }
.screen-shell::after { z-index: 0; inset: 6px; background: linear-gradient(145deg, var(--frame-edge), rgba(88, 112, 137, .34) 52%, var(--frame-edge)); opacity: .64; }
.viewport-frame { position: absolute; z-index: 1; inset: 8px; display: grid; grid-template-rows: 64px 1fr 42px; padding: 0 22px; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, rgba(255,255,255,.10), transparent 16%, var(--frame-fill) 44%, rgba(104, 133, 177, .035)); clip-path: inherit; backdrop-filter: blur(38px) saturate(112%) contrast(1.06); -webkit-backdrop-filter: blur(38px) saturate(112%) contrast(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.19), inset 0 -1px 0 rgba(0,0,0,.22); }
.glass-field { position: absolute; z-index: 0; inset: -20%; pointer-events: none; opacity: .27; background: radial-gradient(circle at 18% 28%, rgba(255,255,255,.14), transparent 19%), radial-gradient(circle at 76% 62%, rgba(105, 135, 193, .10), transparent 23%), linear-gradient(115deg, transparent 28%, rgba(255,255,255,.07) 46%, transparent 64%); filter: url(#glass-distortion); transform: scale(1.1); }
.topbar, .display, footer { position: relative; z-index: 1; }
.frame-code, .frame-dots, .frame-seal { position: absolute; z-index: 3; color: var(--cyan); font: 6px "Geist Mono", monospace; letter-spacing: .18em; pointer-events: none; }
.frame-code { top: 11px; left: 64px; display: flex; align-items: center; gap: 6px; }
.frame-code i { width: 14px; height: 1px; background: var(--cyan); opacity: .45; }
.frame-code i:last-child { width: 4px; height: 4px; transform: rotate(45deg); box-shadow: 0 0 5px var(--cyan); opacity: 1; }
.frame-dots { left: 7px; top: 58%; display: grid; gap: 7px; }
.frame-dots i { width: 4px; height: 4px; border: 1px solid var(--cyan); border-radius: 50%; }
.frame-dots i:nth-child(3) { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 6px var(--amber); }
.frame-seal { left: 50%; bottom: 1px; width: 78px; height: 17px; transform: translateX(-50%); background: var(--frame-fill); border: 1px solid var(--frame-edge); clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 100%, 0 100%); }
.frame-seal i, .frame-seal::before, .frame-seal::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); }
.frame-seal i { left: 50%; width: 9px; height: 9px; margin-left: -5px; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--frame-fill), inset 0 0 0 3px var(--cyan); }
.frame-seal::before { left: 12px; width: 18px; height: 1px; background: var(--frame-edge); }
.frame-seal::after { right: 12px; width: 18px; height: 1px; background: var(--frame-edge); }
.topbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.identity { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: "Geist Mono", monospace; letter-spacing: .19em; font-size: 14px; font-weight: 700; }
.identity small { color: var(--muted); font-size: 8px; letter-spacing: .22em; padding-left: 12px; border-left: 1px solid var(--line); }
.identity-mark { position: relative; width: 27px; height: 27px; border: 1px solid var(--cyan); transform: rotate(45deg); display: grid; place-items: center; box-shadow: 0 0 14px rgba(68,220,220,.2); }
.identity-mark::before, .identity-mark::after, .identity-mark i { content: ""; position: absolute; border: 1px solid var(--cyan); }
.identity-mark::before { inset: 5px; }.identity-mark::after { inset: 10px; background: var(--cyan); }.identity-mark i { width: 39px; height: 1px; border: 0; background: var(--cyan); opacity: .5; }
.system-cluster { display: flex; align-items: center; gap: 24px; font-family: "Geist Mono", monospace; font-size: 8px; letter-spacing: .16em; color: var(--muted); }
.system-status i { display: inline-block; width: 5px; height: 5px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); border-radius: 50%; margin-right: 7px; animation: pulse 2.4s ease-in-out infinite; }
.system-code { padding-left: 22px; border-left: 1px solid var(--line); }
.theme-switch { display: flex; align-items: center; gap: 7px; border: 1px solid rgba(200,255,255,.15); border-radius: 999px; padding: 7px 10px; color: var(--muted); background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); cursor: pointer; backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 5px 18px rgba(0,0,0,.15); }
.theme-switch:hover { color: var(--cyan); border-color: var(--line-hot); }
.switch-track { width: 34px; height: 15px; position: relative; border: 1px solid var(--line-hot); border-radius: 20px; background: rgba(64,214,215,.09); }
.switch-track i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); top: 3px; left: 4px; box-shadow: 0 0 7px var(--cyan); transition: transform .3s; }
.light .switch-track i { transform: translateX(17px); }
.sun, .moon { font-size: 13px; }

.display { display: grid; grid-template-columns: 26px minmax(330px,.9fr) minmax(480px,1.18fr) 26px; align-items: center; gap: clamp(24px,4vw,74px); min-height: 0; }
.rail { align-self: center; height: 52%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: var(--muted); font: 7px "Geist Mono", monospace; letter-spacing: .1em; }
.rail i { width: 3px; height: 3px; border: 1px solid var(--cyan-dark); transform: rotate(45deg); }
.rail::before { content: ""; height: 30%; border-left: 1px solid var(--line); }.rail::after { content: ""; height: 30%; border-left: 1px solid var(--line); }
.rail-right .active { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 8px var(--amber); }

.hero-copy { max-width: 590px; padding-left: clamp(4px,2vw,34px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(18px,3.4vh,34px); font: 8px "Geist Mono", monospace; letter-spacing: .28em; color: var(--amber); }
.eyebrow::before { content: ""; width: 37px; height: 1px; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
h1 { margin: 0; text-transform: uppercase; font-size: clamp(48px,6.35vw,94px); line-height: .82; letter-spacing: -.055em; font-weight: 600; text-shadow: 0 0 30px rgba(109,239,236,.1); }
h1 em { color: transparent; font-style: normal; font-weight: 400; -webkit-text-stroke: 1px var(--cyan); letter-spacing: -.06em; }
.intro { max-width: 500px; margin: clamp(24px,4.5vh,44px) 0 0; padding: 12px 18px; border-left: 1px solid var(--cyan-dark); border-radius: 0 15px 15px 0; color: var(--muted); background: linear-gradient(110deg, rgba(255,255,255,.045), rgba(255,255,255,.008)); box-shadow: inset 0 1px 0 rgba(255,255,255,.10); backdrop-filter: blur(22px) saturate(108%); -webkit-backdrop-filter: blur(22px) saturate(108%); font: 12px/1.75 "Geist Mono", monospace; }
.coordinate { display: flex; align-items: center; gap: 12px; width: max-content; margin-top: clamp(22px,4vh,38px); color: var(--muted); font: 7px "Geist Mono", monospace; letter-spacing: .18em; }
.coordinate strong { color: var(--cyan); }.coordinate i { width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 8px var(--cyan); }

.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; perspective: 900px; }
.topic-card { position: relative; isolation: isolate; min-height: clamp(132px,20vh,188px); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; color: var(--text); text-decoration: none; background: linear-gradient(145deg, rgba(255,255,255,.105), transparent 30%, var(--panel) 76%), rgba(7, 10, 17, .055); border: 1px solid rgba(226, 239, 248, .19); border-radius: 22px; backdrop-filter: blur(36px) saturate(118%) contrast(1.07); -webkit-backdrop-filter: blur(36px) saturate(118%) contrast(1.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.27), inset 0 -1px 0 rgba(0,0,0,.18), inset 1px 0 0 rgba(255,255,255,.10), 0 12px 32px var(--glass-shadow); transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .25s, background .25s, box-shadow .25s; }
.topic-card::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(120deg, rgba(255,255,255,.22), transparent 22%, transparent 64%, rgba(133,164,207,.045)), radial-gradient(circle at 78% 12%, rgba(255,255,255,.16), transparent 24%); opacity: .76; transition: opacity .3s, transform .5s; }
.topic-card::after { content: ""; position: absolute; z-index: 1; top: 0; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, transparent, rgba(241,248,253,.86), transparent); box-shadow: 0 0 10px rgba(187,216,235,.38); }
.glass-distortion { position: absolute; z-index: 0; inset: -38%; pointer-events: none; opacity: .28; border-radius: 40%; background: radial-gradient(circle at 32% 36%, rgba(255,255,255,.16), transparent 25%), radial-gradient(circle at 67% 66%, rgba(115,141,194,.09), transparent 23%), linear-gradient(128deg, transparent 30%, rgba(255,255,255,.11), transparent 62%); filter: url(#glass-distortion); transform: scale(1.12) rotate(-4deg); transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.topic-card:hover, .topic-card:focus-visible { z-index: 2; outline: none; transform: translateY(-5px) scale(1.012); border-color: rgba(225,240,250,.42); background: linear-gradient(145deg, rgba(255,255,255,.14), transparent 30%, var(--panel-solid) 76%); box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 -1px 0 rgba(0,0,0,.16), 0 18px 42px var(--glass-shadow), 0 0 24px rgba(151,187,214,.06); }
.topic-card:hover::before, .topic-card:focus-visible::before { opacity: 1; transform: translateX(2%); }
.topic-card:hover .glass-distortion, .topic-card:focus-visible .glass-distortion { opacity: .46; transform: scale(1.18) rotate(3deg) translateX(4%); }
.card-index { position: absolute; z-index: 2; top: 13px; left: 15px; color: var(--muted); font: 7px "Geist Mono", monospace; letter-spacing: .16em; }
.card-icon { position: absolute; z-index: 2; top: 21px; right: 21px; display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(226,239,248,.20); border-radius: 12px; color: var(--cyan); background: rgba(255,255,255,.025); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); font: 19px "Geist Mono", monospace; transform: rotate(45deg); backdrop-filter: blur(12px); }
.topic-card strong { position: relative; z-index: 2; text-transform: uppercase; font-size: clamp(19px,1.75vw,27px); line-height: 1; letter-spacing: .055em; font-weight: 500; }
.topic-card small { position: relative; z-index: 2; margin-top: 11px; color: var(--muted); font: 7px "Geist Mono", monospace; letter-spacing: .18em; }
.topic-card b { color: var(--amber); font-size: 12px; margin-left: 7px; }

footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font: 7px "Geist Mono", monospace; letter-spacing: .16em; }
.footer-center { display: flex; align-items: center; gap: 10px; }.footer-center i { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.footer-link, .header-link { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-link:hover, .footer-link:focus-visible, .header-link:hover, .header-link:focus-visible { color: var(--cyan); outline: none; }
.header-link { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font: 7px "Geist Mono", monospace; letter-spacing: .16em; }

.archive-display, .guestbook-display { position: relative; z-index: 1; min-height: 0; display: grid; grid-template-columns: minmax(320px, .78fr) minmax(500px, 1.22fr); align-items: center; gap: clamp(34px, 6vw, 92px); padding: clamp(24px, 5vh, 58px) clamp(20px, 5vw, 78px); }
.archive-copy, .guestbook-copy { position: relative; min-width: 0; }
.archive-copy h1, .guestbook-copy h1 { font-size: clamp(48px, 5.4vw, 82px); }
.archive-copy .intro, .guestbook-copy .intro { margin-top: clamp(22px, 3.4vh, 34px); }
.archive-icon { position: absolute; top: 0; right: 4%; color: var(--cyan); font: 44px "Geist Mono", monospace; opacity: .23; transform: rotate(45deg); }
.channel-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: clamp(22px, 3.4vh, 34px); }
.channel-nav a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; text-transform: uppercase; font: 7px "Geist Mono", monospace; letter-spacing: .14em; }
.channel-nav a:hover, .channel-nav a:focus-visible, .channel-nav a.active { color: var(--cyan); border-color: var(--line-hot); outline: none; background: rgba(255,255,255,.045); }
.post-panel, .guestbook-panel { min-height: min(55vh, 520px); overflow: auto; padding: clamp(22px, 3vw, 38px); border: 1px solid rgba(226,239,248,.22); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.12), transparent 34%, var(--panel) 78%); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 20px 48px var(--glass-shadow); backdrop-filter: blur(34px) saturate(118%); -webkit-backdrop-filter: blur(34px) saturate(118%); scrollbar-color: var(--cyan-dark) transparent; }
.panel-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font: 7px "Geist Mono", monospace; letter-spacing: .18em; }
.panel-heading i { flex: 1; height: 1px; background: var(--line); }.panel-heading small { color: var(--cyan); }
.post-entry { margin-top: clamp(30px, 5vh, 52px); padding: 0 4px 26px; border-bottom: 1px solid var(--line); }
.post-date { display: block; color: var(--amber); font: 7px "Geist Mono", monospace; letter-spacing: .2em; }
.post-entry h2, .guestbook-waiting h2 { margin: 14px 0 10px; text-transform: uppercase; font-size: clamp(30px, 3.3vw, 48px); line-height: 1; font-weight: 500; letter-spacing: -.025em; }
.post-entry p, .guestbook-waiting p { max-width: 620px; margin: 0; color: var(--muted); font: 11px/1.7 "Geist Mono", monospace; }
.post-status { display: flex; gap: 12px; margin-top: 24px; color: var(--muted); font: 7px "Geist Mono", monospace; letter-spacing: .18em; }.post-status b { color: var(--cyan); }
.empty-entry { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); font: 7px "Geist Mono", monospace; letter-spacing: .16em; opacity: .56; }.empty-entry span { width: 5px; height: 5px; border: 1px solid var(--cyan); transform: rotate(45deg); }
.guestbook-panel { position: relative; display: grid; min-height: min(58vh, 540px); padding: 12px; overflow: hidden; }
.guestbook-frame { width: 100%; height: 100%; min-height: 430px; border: 0; border-radius: 18px; background: rgba(255,255,255,.82); }
.guestbook-waiting { align-self: center; padding: clamp(22px, 4vw, 54px); }
.guestbook-icon { position: absolute; right: 8%; top: 10%; color: var(--cyan); font: 62px "Geist Mono", monospace; opacity: .18; transform: rotate(-8deg); }
.signal-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 210px; margin-top: 28px; padding: 13px 16px; border: 1px solid var(--line-hot); border-radius: 12px; color: var(--text); text-decoration: none; background: rgba(255,255,255,.055); font: 8px "Geist Mono", monospace; letter-spacing: .17em; }
.signal-button span { color: var(--amber); }.signal-button.is-idle { opacity: .58; }
.guestbook-waiting small { display: block; margin-top: 16px; color: var(--muted); font: 6px "Geist Mono", monospace; letter-spacing: .18em; }

@keyframes pulse { 50% { opacity: .25; box-shadow: 0 0 2px var(--cyan); } }

@media (min-width: 1515px) {
  .guestbook-tab { left: calc(50% - 896px); top: 40px; width: 190px; height: 58px; }
}

@media (max-width: 850px) {
  .screen-shell { width: calc(100% - 24px); height: calc(100% - 22px); margin: 11px auto; }
  .blueprint-paper { width: 84vw; height: 112vh; left: 62%; transform: translate(-50%, -50%) rotate(-5deg); }
  .guestbook-tab { left: 0; top: 82px; width: 118px; height: 44px; padding: 0 15px 0 10px; }.guestbook-tab span { font-size: 7px; }.guestbook-tab small { display: none; }
  .viewport-frame { grid-template-rows: 54px 1fr 34px; padding: 0 14px; }
  .frame-code { left: 46px; }.frame-code span { display: none; }
  .system-code, .system-status, .identity small { display: none; }
  .header-link { display: none; }
  .display { grid-template-columns: 1fr; gap: 18px; align-content: center; padding: 10px 2px; }
  .rail { display: none; }.hero-copy { max-width: none; padding: 0 4px; }
  h1 { font-size: clamp(39px,12vw,68px); }.eyebrow { margin-bottom: 14px; }
  .intro { margin-top: 20px; max-width: 580px; font-size: 10px; line-height: 1.55; }.coordinate { display: none; }
  .topic-grid { grid-template-columns: repeat(4,1fr); gap: 6px; }
  .topic-card { min-height: 105px; padding: 12px 10px; }.card-icon { width: 28px; height: 28px; top: 14px; right: 14px; font-size: 14px; }
  .topic-card strong { font-size: clamp(11px,2.7vw,18px); }.topic-card small { display: none; }
  footer .footer-center { display: none; }
  .archive-display, .guestbook-display { grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); gap: 14px; align-items: stretch; padding: 18px 12px; }
  .archive-copy, .guestbook-copy { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 18px; }
  .archive-copy .eyebrow, .guestbook-copy .eyebrow { grid-column: 1 / -1; margin: 0; }.archive-copy h1, .guestbook-copy h1 { font-size: clamp(33px, 8vw, 54px); line-height: .86; }.archive-copy .intro, .guestbook-copy .intro { margin: 0; font-size: 9px; }.archive-icon, .channel-nav { display: none; }
  .post-panel, .guestbook-panel { min-height: 0; }.post-entry { margin-top: 24px; }.guestbook-frame { min-height: 100%; }
}

@media (max-width: 520px) {
  .viewport-frame { grid-template-rows: 48px 1fr 30px; padding: 0 10px; }
  .frame-dots { display: none; }.frame-seal { width: 58px; }
  .identity { font-size: 11px; }.identity-mark { width: 23px; height: 23px; }
  .theme-switch { padding-left: 10px; }.sun, .moon { display: none; }
  .topic-grid { grid-template-columns: 1fr 1fr; }.topic-card { min-height: 86px; }
  h1 { font-size: clamp(37px,12.5vw,61px); }.intro { margin-top: 17px; }
  footer { font-size: 6px; }
}

@media (max-height: 650px) and (min-width: 851px) {
  .viewport-frame { grid-template-rows: 52px 1fr 32px; }.topic-card { min-height: 126px; }
  h1 { font-size: clamp(48px,5.8vw,78px); }.intro { margin-top: 20px; }.coordinate { margin-top: 18px; }.eyebrow { margin-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
