/* chiku.dev proposal: the lab at night. Same desktop language as chikupod.com, darker. */
.lab-home .brand small { font-size: 16px; letter-spacing: .2em; color: var(--lavender); margin-left: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dark { background: #1d1512; box-shadow: inset 0 0 0 2px #33261f, var(--shadow); }

/* big hero: giant wordmark, a planet rising from the bottom, a grid, a press-start button */
.shell.top { padding-bottom: 0; }
.bighero { position: relative; z-index: 1; overflow: hidden; padding: 36px 20px 360px; text-align: center; background: linear-gradient(rgba(201, 188, 209, .07) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(201, 188, 209, .07) 1px, transparent 1px) 0 0 / 40px 40px; }
.bighero > * { position: relative; z-index: 2; }
.bighero .wm { display: block; width: min(94vw, 1020px); height: auto; margin: 10px auto 0; image-rendering: pixelated; filter: drop-shadow(8px 8px 0 #5b5876); animation: flick 9s steps(1) infinite; }
@keyframes flick { 0%, 92%, 100% { transform: none; filter: drop-shadow(8px 8px 0 #5b5876); } 93% { transform: translateX(8px); } 94% { transform: translateX(-6px); filter: drop-shadow(8px 8px 0 #5b5876) brightness(1.25); } 95% { transform: none; } 97% { clip-path: inset(0 0 55% 0); transform: translateX(-8px); } 98% { clip-path: none; transform: none; } }
.slogan { margin: 34px 0 12px !important; font: 700 clamp(16px, 2.4vw, 24px) "Pixeloid", monospace; letter-spacing: .24em; }
.hl { background: var(--lavender); color: var(--brown); padding: 1px 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sub { max-width: 42ch; margin: 0 auto 28px !important; font-size: 15px; line-height: 2; color: rgba(241, 239, 232, .85); }
.sub .hl { padding: 2px 6px; }
.start { display: inline-flex; align-items: center; gap: 12px; padding: 12px 28px; font: 700 20px "Pixeloid", monospace; letter-spacing: .06em; color: var(--cream); text-decoration: none; background: var(--brown); border: 3px solid var(--cream); border-radius: 8px; box-shadow: 0 0 0 3px var(--brown), 0 0 0 6px var(--cream), 6px 8px 0 6px rgba(0, 0, 0, .45); }
.start i { width: 0; height: 0; border-left: 12px solid var(--lime); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.start:hover { background: var(--lavender); color: var(--brown); }
.start:hover i { border-left-color: var(--brown); }
.start:focus-visible { outline: 3px solid var(--lavender); outline-offset: 10px; }
.readout { width: min(100%, 360px); margin: 44px auto 0; padding-top: 10px; border-top: 3px solid #4a3a32; text-align: left; font-size: 13px; }
.readout div { display: flex; gap: 8px; align-items: baseline; margin: 3px 0; }
.readout .rtitle { font-weight: 700; margin-bottom: 6px; color: var(--cream); }
.readout dt { color: rgba(241, 239, 232, .7); order: 0; }
.readout div:not(.rtitle)::before { content: ""; flex: 1; order: 1; border-bottom: 2px dotted #5d4a40; margin: 0 2px; transform: translateY(-3px); }
.readout dd { margin: 0; color: var(--cream); order: 2; }
.readout .warn { color: #E56B5D; animation: blink 1.6s steps(1) infinite; }
.bigplanet { position: absolute !important; left: 50%; bottom: -430px; z-index: 1 !important; width: 1080px; max-width: none; margin-left: -540px; height: auto; image-rendering: pixelated; }

/* placement */
#w-projects { grid-column: 1 / span 7; grid-row: 1; }
#w-term { grid-column: 8 / span 5; grid-row: 1; }
#w-about { grid-column: 1 / span 4; grid-row: 2; }
#w-reality { grid-column: 5 / span 4; grid-row: 2; }
#w-patch { grid-column: 9 / span 4; grid-row: 2; }
#w-contact { grid-column: 4 / span 6; grid-row: 3; }
#w-issues { position: fixed; right: 34px; top: 120px; width: 440px; z-index: 30; }

/* projects */
.proj { display: grid; grid-template-columns: 110px 1fr; gap: 16px; text-decoration: none; color: var(--brown); }
.proj:hover .ptxt b { background: var(--lime); }
.mini { display: block; padding: 6px; background: var(--lavender); border: 3px solid var(--brown); border-radius: 14px; box-shadow: 4px 4px 0 rgba(27, 39, 43, .35); align-self: start; }
.mini img { display: block; width: 100%; image-rendering: pixelated; border: 2px solid var(--brown); border-radius: 5px; }
.ptxt { font-size: 14px; line-height: 1.5; }
.ptxt b { font-size: 20px; padding: 0 4px; margin-left: -4px; }
.ptxt .btn { margin-top: 10px; font-size: 13px; padding: 4px 12px; }
.next { margin: 16px 0 0 !important; font-size: 13px; }

/* terminal */
.tty { min-height: 150px; max-height: 210px; overflow-y: auto; font-size: 13px; line-height: 1.5; color: var(--lime); white-space: pre-wrap; word-break: break-word; }
.tty .q { color: var(--cream); } .tty .quiet { color: var(--lavender); } .tty .bad { color: #E56B5D; }
.ttyin { display: flex; align-items: center; gap: 8px; margin-top: 10px; border-top: 3px solid #4a3a32; padding-top: 10px; }
.ttyin label { margin: 0; color: var(--lime); }
.lab-home .ttyin input { flex: 1; border: 0; background: transparent; box-shadow: none; padding: 2px 0; color: var(--cream); font-size: 14px; }
.ttyin input:focus-visible { outline: 0; }
.ttyin input::placeholder { color: #7c6c64; }

/* issues */
.issues { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 14px; }
.issues li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: start; padding: 9px 0; border-bottom: 2px dotted #b9b2a8; }
.issues li:last-child { border-bottom: 0; }
.issues i { font-style: normal; color: var(--steel); }
.issues b { margin-right: 6px; letter-spacing: .04em; }
.st { font-style: normal; font-size: 11px; letter-spacing: .06em; padding: 2px 7px; border: 2px solid var(--brown); border-radius: 3px; background: var(--lav-light); white-space: nowrap; }
.st.crit { background: #F2A59B; }
.issues .you { background: linear-gradient(90deg, rgba(168, 240, 60, .22), transparent); margin: 0 -8px; padding-left: 8px; padding-right: 8px; }

/* about, palette */
.ntitle { font-weight: 700; letter-spacing: .06em; font-size: 14px; }
.sw { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sw li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.sw i { width: 40px; height: 26px; background: var(--c); border: 3px solid var(--brown); box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .25); }
.sw span { color: var(--steel); font-size: 13px; }

/* sticky note: fixed to the desktop corner, wide screens only */
.sticky { position: fixed; top: auto; left: auto; right: 26px; bottom: 76px; z-index: 40; width: 170px; padding: 12px 14px; background: #F3EBC2; color: var(--brown); border: 3px solid var(--brown); transform: rotate(-3deg); box-shadow: 5px 5px 0 rgba(0, 0, 0, .4); font-size: 13px; line-height: 1.5; }
.sticky::before { content: ""; position: absolute; left: 50%; top: -10px; width: 34px; height: 13px; margin-left: -17px; background: rgba(201, 188, 209, .9); border: 2px solid var(--brown); }

@media (max-width: 1099px) { .sticky { display: none; } }
@media (max-width: 899px) {
  #w-projects, #w-term, #w-about, #w-reality, #w-patch, #w-contact { grid-column: auto; grid-row: auto; }
  .bighero { padding-bottom: 250px; } .bigplanet { width: 720px; margin-left: -360px; bottom: -290px; }
  .cards { grid-template-columns: 1fr; }
  .issues li { grid-template-columns: 1fr; gap: 4px; } .issues li .st { justify-self: start; }
  .proj { grid-template-columns: 96px 1fr; }
  
}
@media (prefers-reduced-motion: reduce) { .bighero .wm, .readout .warn { animation: none; } }

/* makes: cards with pill tags (after the clean timeline-and-cards look in the references) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { display: grid; gap: 10px; align-content: start; padding: 12px; background: var(--lav-light); border: 3px solid var(--brown); border-radius: 4px; box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .8), inset -2px -2px 0 rgba(140, 124, 156, .4); }
.card b { font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags i { font-style: normal; font-size: 12px; padding: 1px 8px; border: 2px solid var(--brown); border-radius: 99px; background: var(--cream); }

/* changelog: a timeline */
.tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.tl::before { content: ""; position: absolute; left: 24px; top: 20px; bottom: 20px; width: 3px; background: var(--brown); }
.tl li { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center; }
.dot { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border: 3px solid var(--brown); border-radius: 50%; background: var(--lavender); font-size: 13px; font-weight: 700; box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .6); }
.tl li:first-child .dot { background: var(--lime); }
.tl li > div { font-size: 14px; line-height: 1.5; }

/* observers counter */
.obs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 0 !important; font-size: 12px; letter-spacing: .1em; }
.obs b { padding: 3px 8px; background: var(--charcoal); color: var(--lime); border: 3px solid var(--brown); font-size: 16px; letter-spacing: .2em; }

/* projects list */
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.plist li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; padding-bottom: 16px; border-bottom: 2px dotted #b9b2a8; }
.plist li:last-child { border-bottom: 0; padding-bottom: 0; }
.pic { display: grid; place-items: center; height: 96px; border: 3px solid var(--brown); border-radius: 6px; overflow: hidden; box-shadow: 4px 4px 0 rgba(27, 39, 43, .3); }
.pic.pod { background: var(--lavender); padding: 6px; border-radius: 14px; }
.pic.pod img { width: auto; height: 100%; image-rendering: pixelated; border: 2px solid var(--brown); border-radius: 4px; }
.pic.plate { background: #FEF8F5; border-color: #C8102E; flex-direction: column; gap: 4px; align-content: center; box-shadow: inset 0 0 0 3px #FEF8F5, inset 0 0 0 5px #45302E, 4px 4px 0 rgba(27, 39, 43, .3); }
.pic.plate i { font-style: normal; font: 700 15px "Pixeloid", monospace; letter-spacing: .08em; color: #45302E; }
.pic.plate i + i { color: #C8102E; }
.pic.kisaa { background: var(--charcoal); } .pic.kisaa canvas { width: 54px; height: 54px; image-rendering: pixelated; }
.pname { font-size: 20px; margin-right: 10px; }
.tag { display: inline-block; font-size: 11px; letter-spacing: .1em; padding: 1px 7px; border: 2px solid var(--brown); border-radius: 3px; background: var(--lav-light); vertical-align: 3px; }
.tag.red { background: #fff; border-color: #C8102E; color: #C8102E; }
.plist p { margin: 6px 0 10px !important; font-size: 14px; line-height: 1.5; }
.plist .btn { font-size: 13px; padding: 4px 12px; }

/* terminal window */
.termwin { background: #151c1f; }
.termwin .bar { background: linear-gradient(180deg, #5b6a70 0%, #3e4d53 55%, #2d3a40 100%); color: var(--cream); }
.termwin .bar .ttl { text-shadow: none; }
.tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: #0d1214; border-bottom: 3px solid var(--brown); }
.tabs span { padding: 3px 14px; font-size: 12px; color: #8aa0a8; background: #1b272b; border: 2px solid #34474d; border-bottom: 0; border-radius: 4px 4px 0 0; }
.tabs span.on { color: var(--cream); background: #151c1f; }
.tabs .plus { margin-left: auto; border: 0; background: none; }
.screen { position: relative; padding: 14px 16px 12px; min-height: 250px; background: radial-gradient(ellipse at 50% 0%, #1d2a2e 0%, #11181a 75%); box-shadow: inset 0 0 50px rgba(0, 0, 0, .55); }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, .18) 2px 3px); }
.termwin .tty { min-height: 160px; max-height: 190px; color: var(--cream); text-shadow: 0 0 6px rgba(201, 188, 209, .45); }
.termwin .tty .quiet { color: #8aa0a8; } .termwin .tty .q { color: var(--lavender); }
.termwin .ttyin { border-top: 2px dotted #34474d; }
.termwin .ttyin label { color: var(--lime); white-space: nowrap; font-size: 13px; }
.lab-home .termwin .ttyin input { caret-color: var(--lime); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 10px; background: #0d1214; border-top: 3px solid var(--brown); }
.chips button { all: unset; cursor: pointer; padding: 2px 10px; font-size: 12px; color: var(--cream); border: 2px solid #4a5b62; border-radius: 3px; background: #1b272b; }
.chips button:hover, .chips button:focus-visible { background: var(--lavender); color: var(--brown); border-color: var(--lavender); }
.statusbar { display: flex; gap: 14px; padding: 4px 10px; font-size: 11px; letter-spacing: .08em; color: #8aa0a8; background: #0d1214; border-top: 2px solid #2d3a40; }
.statusbar .warn { color: #E56B5D; margin-right: auto; }

/* issues popup */
#w-issues .issues { font-size: 13px; } #w-issues .issues li { padding: 7px 0; }
#w-issues .body { padding: 14px 16px; display: block; }

/* reality.exe */
.n-full { --w: 100%; --c: #A394B3; animation: none !important; }
#w-reality .need { grid-template-columns: 86px 1fr; }

/* patch notes */
.pn { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; line-height: 1.45; }
.pn li { display: grid; grid-template-columns: 38px 1fr; gap: 6px 10px; align-items: start; padding-bottom: 10px; border-bottom: 2px dotted #b9b2a8; }
.pn li:last-child { border-bottom: 0; padding-bottom: 0; }
.pn i { font-style: normal; color: var(--steel); }
.pn .st { grid-column: 2; justify-self: start; }
.st.run { background: var(--lime); }
.pnote { margin: 12px 0 0 !important; font-size: 12px; }

/* contact: an envelope */
.envbody { padding: 22px !important; background: linear-gradient(180deg, var(--lav-light), var(--lavender)); }
.env { position: relative; display: block; max-width: 520px; height: 230px; margin: 0 auto; padding: 0; text-decoration: none; color: var(--brown); background: var(--cream); border: 3px solid var(--brown); box-shadow: 6px 8px 0 rgba(27, 39, 43, .35); }
.env::before { content: ""; position: absolute; inset: 0; border: 9px solid transparent; border-image: repeating-linear-gradient(-45deg, #C9BCD1 0 10px, var(--cream) 10px 20px, #2B1F1B 20px 30px, var(--cream) 30px 40px) 9; pointer-events: none; }
.env .flap { position: absolute; left: 9px; right: 9px; top: 9px; height: 96px; background: linear-gradient(to top right, transparent 49.2%, #8c7c9c 49.2%, #8c7c9c 51%, transparent 51%) left / 50% 100% no-repeat, linear-gradient(to top left, transparent 49.2%, #8c7c9c 49.2%, #8c7c9c 51%, transparent 51%) right / 50% 100% no-repeat; opacity: .8; }
.env .stamp { position: absolute; right: 26px; top: 24px; width: 74px; padding: 5px; background: var(--charcoal); border: 3px solid var(--brown); outline: 3px dotted var(--cream); outline-offset: -1px; transform: rotate(3deg); }
.env .stamp img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.env .postmark { position: absolute; right: 124px; top: 40px; width: 74px; height: 74px; display: grid; place-items: center; text-align: center; font-size: 10px; line-height: 1.3; letter-spacing: .08em; color: var(--steel); border: 3px double var(--steel); border-radius: 50%; transform: rotate(-12deg); opacity: .85; }
.env .addr { position: absolute; left: 36px; bottom: 34px; display: grid; gap: 4px; }
.env .addr small { font-size: 11px; letter-spacing: .12em; color: var(--steel); }
.env .addr b { font-size: clamp(20px, 3vw, 28px); letter-spacing: .02em; border-bottom: 3px solid var(--brown); padding-bottom: 2px; }
.env:hover .addr b, .env:focus-visible .addr b { background: var(--lime); }
.env:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 5px; }
@media (max-width: 899px) { #w-issues { position: static; width: auto; } .plist li { grid-template-columns: 80px 1fr; } .pic { height: 80px; } .pic.plate i { font-size: 11px; letter-spacing: .02em; } .env .postmark { display: none; } .env { height: 210px; } .env .stamp { width: 60px; } }

#w-reality .n-hunger { --w: 12%; --c: #A394B3; animation: none !important; }
#w-reality .n-satiety { --w: 0%; }
#w-reality .n-curious { --w: 60%; --c: #D6D1C6; animation: wobble 3.2s ease-in-out infinite alternate !important; }
#w-reality .n-balance { --w: 30%; --c: #A394B3; }

/* round 5 */
.shell.top { padding: 4px 20px 0; }
.shell.top .menubar { margin: 0; padding: 4px 0; align-items: center; }
.shell.top .brand { font-size: 30px; }
.shell.top canvas.ico { width: 30px; height: 30px; }
.shell.top .nav a { min-width: 64px; padding: 3px 6px; font-size: 12px; }
.bighero { padding-top: 14px; padding-bottom: 330px; }
.bighero .pre, .bighero .post { margin: 0 !important; font-size: 15px; letter-spacing: .12em; color: rgba(241, 239, 232, .8); }
.bighero .pre { margin-top: 26px !important; }
.bighero .slogan { margin: 8px 0 8px !important; font-size: clamp(22px, 3.6vw, 40px); }
.bighero .post { margin-bottom: 30px !important; }
.rowtop { grid-column: 1 / -1; display: grid; grid-template-columns: 4fr 8fr; gap: 24px; align-items: stretch; margin-top: -40px; position: relative; z-index: 3; }
.rowtop > .win { grid-column: auto !important; grid-row: auto !important; }
.statuswin .body { display: grid; place-items: center; height: 100%; padding: 26px 20px; }
.statuswin .readout { margin: 0; width: 100%; border-top: 0; padding-top: 0; font-size: 15px; }
.statuswin .readout .rtitle { font-size: 16px; margin-bottom: 12px; }
.statuswin .readout div:not(.rtitle) { margin: 8px 0; }
.mid { grid-column: 1 / -1; columns: 3; column-gap: 24px; }
.mid > .win { grid-column: auto !important; grid-row: auto !important; break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 24px; }
@media (max-width: 1099px) { .mid { columns: 2; } }
.fc { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; }
.fc li { display: flex; gap: 8px; padding: 6px 0; border-bottom: 2px dotted #b9b2a8; }
.fc li:last-child { border-bottom: 0; }
.fc span { color: var(--steel); min-width: 80px; }
/* envelope v2 */
.env { height: auto !important; aspect-ratio: 16 / 10; max-width: 440px !important; background: #F6F0E4; box-shadow: 6px 8px 0 rgba(27, 39, 43, .35), inset 0 0 0 2px #fff !important; overflow: hidden; }
.env::before { display: none !important; }
.env .airbar { position: absolute; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(-45deg, #C9BCD1 0 10px, #F6F0E4 10px 20px, #2B1F1B 20px 30px, #F6F0E4 30px 40px); }
.env .airbar.t { top: 0; } .env .airbar.b { bottom: 0; }
.env .flap { left: 0 !important; right: 0 !important; top: 12px !important; height: 52% !important; background: linear-gradient(180deg, #D9CEE0, #B7A8C6) !important; clip-path: polygon(0 0, 100% 0, 50% 100%); opacity: 1 !important; filter: drop-shadow(0 3px 0 #2B1F1B); }
.env .ret { position: absolute; left: 14px; top: 24px; z-index: 2; font-size: 11px; line-height: 1.35; color: #2B1F1B; letter-spacing: .06em; }
.env .stamp { top: 22px !important; right: 16px !important; width: 62px !important; z-index: 3; }
.env .seal { position: absolute; left: 50%; top: 52%; z-index: 3; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; font: 700 26px/1 "Pixeloid", monospace; color: #F1EFE8; background: #2B1F1B; border: 3px solid #F1EFE8; border-radius: 50%; box-shadow: 0 0 0 3px #2B1F1B; }
.env .addr { left: 50% !important; bottom: 26px !important; transform: translateX(-50%); text-align: center; justify-items: center; }
.env .addr b { font-size: clamp(18px, 2.4vw, 24px) !important; }
.env .postmark { display: none !important; }
.env:hover .seal { background: #A8F03C; color: #2B1F1B; }
@media (max-width: 899px) { .rowtop { display: contents; } .mid { display: contents; } .mid > .win { display: block; margin: 0; } .bighero { padding-bottom: 250px; } .rowtop > .win { margin-top: 0; } }
.env .flap { height: 46% !important; }
.env .seal { top: 48%; width: 38px; height: 38px; margin: -19px 0 0 -19px; font-size: 22px; }
.env .addr { bottom: 22px !important; }
.env .addr b { font-size: clamp(16px, 2vw, 21px) !important; }

/* round 6 */
.bighero { padding-bottom: 60px; overflow: visible; }
.bigplanet { bottom: auto !important; top: 62%; }
.bighero { overflow: hidden; }
.bighero .pre, .bighero .post { margin: 0 !important; }
.bighero .pre span { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: var(--lavender); }
.bighero .pre span::before, .bighero .pre span::after { content: ""; width: 54px; height: 3px; background: repeating-linear-gradient(90deg, var(--lavender) 0 6px, transparent 6px 12px); }
.bighero .post span { display: inline-block; padding: 5px 16px; font-size: 16px; letter-spacing: .1em; color: var(--cream); background: #1b272b; border: 3px solid var(--lavender); border-radius: 4px; box-shadow: 4px 4px 0 rgba(0, 0, 0, .45); }
.bighero .post .cur { font-style: normal; color: var(--lime); margin-left: 3px; }
.bighero .post { margin-bottom: 0 !important; margin-top: 4px !important; }
.rowtop { margin-top: 0; }
.projwin { grid-column: 1 / -1; }
.plist { grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
.plist li { grid-template-columns: 1fr; padding-bottom: 0; border-bottom: 0; gap: 14px; }
.plist li + li { border-left: 2px dotted #b9b2a8; padding-left: 24px; }
.pic { height: 130px; width: 130px; }
.pic.plate { background: #08151E; padding: 0; } .pic.plate img, .pic.kisaa img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.pic.kisaa { background: #FFF1D8; padding: 6px; } .pic.kisaa img { object-fit: contain; }
.pic.pod { box-shadow: 4px 4px 0 rgba(27, 39, 43, .3); }
@media (max-width: 899px) { .plist { grid-template-columns: 1fr; gap: 20px; } .plist li + li { border-left: 0; padding-left: 0; border-top: 2px dotted #b9b2a8; padding-top: 18px; } .pic { width: 110px; height: 110px; } }
#w-projects { grid-column: 1 / -1 !important; grid-row: auto !important; }
.bigplanet { top: calc(100% - 80px) !important; bottom: auto !important; }
.bighero { padding-bottom: 96px; }
/* round 6b: compact hero, windows higher */
.bighero { padding: 6px 20px 70px; overflow: visible; }
.bighero .wm { width: min(78vw, 720px); margin-top: 0; }
.bighero .pre { margin-top: 18px !important; }
.bigplanet { top: calc(100% - 150px) !important; width: 900px !important; margin-left: -450px !important; z-index: 0 !important; }
.rowtop { margin-top: -26px; }
.screen { min-height: 190px; padding: 12px 16px 10px; }
.termwin .tty { min-height: 110px; max-height: 140px; }
.statuswin .body { padding: 18px 20px; }
.pic { box-sizing: border-box; }

/* round 7: calm slogan, smaller windows, list-style projects */
.bighero .pre, .bighero .post { font-size: 14px; letter-spacing: .14em; color: rgba(241, 239, 232, .75); text-transform: none; }
.bighero .pre::before, .bighero .pre::after, .bighero .pre span::before, .bighero .pre span::after { content: none !important; }
.bighero .slogan { margin: 6px 0 6px !important; }
.bighero .post { margin: 0 !important; }
.bighero .post span, .bighero .pre span { all: unset; }
.desktop.small { max-width: 980px; margin: 0 auto; gap: 20px; }
.desktop.small .body { padding: 14px; font-size: 13px; }
.desktop.small .bar { font-size: 13px; padding: 3px 6px 3px 9px; }
.shell:not(.top) { max-width: 1020px; }
.rowtop { grid-template-columns: 3fr 5fr; gap: 20px; }
.mid { column-gap: 20px; }
.mid > .win { margin-bottom: 20px; }
.projwin { grid-column: auto !important; }
.plist { grid-template-columns: 1fr !important; gap: 0 !important; }
.plist li { grid-template-columns: 56px 1fr !important; gap: 12px !important; padding: 12px 0 !important; border-left: 0 !important; border-bottom: 2px dotted #b9b2a8 !important; padding-left: 0 !important; }
.plist li:first-child { padding-top: 0 !important; } .plist li:last-child { border-bottom: 0 !important; padding-bottom: 4px !important; }
.pic { width: 56px !important; height: 56px !important; border-radius: 4px; box-shadow: 3px 3px 0 rgba(27, 39, 43, .3) !important; padding: 0 !important; }
.pic.dark { background: #1d1512; display: grid; place-items: center; } .pic.dark img { width: 84%; height: auto; image-rendering: pixelated; }
.pic.plate, .pic.kisaa { overflow: hidden; } .pic.kisaa { padding: 3px !important; background: #FFF1D8; }
.pname { font-size: 16px !important; } .tag { font-size: 10px; }
.plist p { margin: 4px 0 6px !important; font-size: 12px !important; line-height: 1.45; }
.plist a { font-size: 12px; } .priv { font-size: 11px; color: var(--steel); }
.statuswin .readout { font-size: 13px; }
.screen { min-height: 150px; } .termwin .tty { min-height: 90px; max-height: 120px; font-size: 12px; }
.env { max-width: 320px !important; }
@media (max-width: 899px) { .shell:not(.top) { max-width: none; } .plist li { grid-template-columns: 56px 1fr !important; } }
.env { aspect-ratio: 16 / 11 !important; }
.env .seal { top: 46%; width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 18px; border-width: 2px; box-shadow: 0 0 0 2px #2B1F1B; }
.env .addr { bottom: 14px !important; } .env .addr b { font-size: 15px !important; } .env .addr small { font-size: 9px; }
.env .ret { font-size: 9px; } .env .stamp { width: 46px !important; top: 20px !important; }

/* ===== ROUND 8 (2026-10-12): aligned rows like chikupod.com, smaller reality.patch, animated slogan ===== */
.rowa, .rowb { grid-column: 1 / -1; display: grid; gap: 24px; align-items: stretch; }
.rowa { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-top: 0; position: relative; z-index: 3; }
.rowb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rowa .win, .rowb .win { grid-column: auto !important; grid-row: auto !important; margin: 0 !important; width: 100%; display: flex; flex-direction: column; }
.rowa .win > .body, .rowb .win > .body { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.stack > .win:last-child { flex: 1; }
/* terminal fills its row */
.rowa .termwin .screen { flex: 1; display: flex; flex-direction: column; }
.rowa .termwin .tty { flex: 1; max-height: none; min-height: 120px; }
/* reality.patch: a compact readout */
.statuswin.mini .body { display: block; padding: 14px 16px; height: auto; }
.statuswin.mini .readout { font-size: 13px; }
.statuswin.mini .readout .rtitle { font-size: 13px; margin-bottom: 6px; }
.statuswin.mini .readout div:not(.rtitle) { margin: 4px 0; }
/* reality.exe meters spread to the column height */
.rowb #w-reality > .body { display: flex; flex-direction: column; justify-content: space-around; }
.rowb #w-projects .plist { margin-bottom: 8px; }
.rowb .env { height: 100%; min-height: 200px; }
#w-contact .envbody { display: flex; }
#w-contact .env { flex: 1; }
@media (max-width: 1099px) { .rowb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rowb #w-reality { grid-column: 1 / -1 !important; } }
@media (max-width: 899px) { .rowa, .rowb { grid-template-columns: minmax(0, 1fr); } .stack { gap: 22px; } .rowb #w-reality { grid-column: auto !important; } }

/* slogan animation: typed line, a patch sweeping over PATCH REALITY., a deploy chip */
.patchline { position: relative; }
.pl-type { font-weight: inherit; }
.pl-patch { position: relative; display: inline-block; }
.pl-env { font-weight: inherit; }
.pl-dollar { font-style: normal; color: var(--lime); }
.patchline.js .pl-type { visibility: hidden; }
.patchline.js.typing .pl-type, .patchline.js.done .pl-type { visibility: visible; }
.patchline.js .pl-patch { clip-path: inset(0 100% 0 0); }
.patchline.js.patched .pl-patch { clip-path: inset(0 0 0 0); transition: clip-path .9s steps(14); }
.patchline.js .post span { opacity: 0; transform: translateY(6px); }
.patchline.js.done .post span { opacity: 1; transform: none; transition: opacity .3s, transform .3s; }
.pl-patch::after { content: ""; position: absolute; top: -6px; bottom: -6px; left: 0; width: 6px; background: var(--lime); box-shadow: 0 0 12px rgba(219, 235, 192, .6); opacity: 0; pointer-events: none; }
.patchline.sweeping .pl-patch::after { opacity: 1; animation: sweep .9s steps(14) forwards; }
@keyframes sweep { from { left: 0; } to { left: calc(100% - 6px); } }
.pl-patch.glitch { animation: plglitch .26s steps(2) 2; }
@keyframes plglitch { 0% { transform: translate(0, 0); text-shadow: none; } 50% { transform: translate(3px, 0); text-shadow: -3px 0 0 var(--lime); } 100% { transform: translate(-2px, 0); text-shadow: 2px 0 0 #E56B5D; } }
.pl-env.busy { color: var(--lavender); }
@media (prefers-reduced-motion: reduce) { .patchline.js .pl-type, .patchline.js .post span { visibility: visible; opacity: 1; transform: none; } .patchline.js .pl-patch { clip-path: none; } .pl-patch::after { display: none; } .pl-patch.glitch { animation: none; } }
.rowb #w-projects { grid-column: auto !important; }
@media (max-width: 1099px) { .rowb #w-reality { grid-column: 1 / -1 !important; } }
@media (max-width: 899px) { .rowb #w-reality { grid-column: auto !important; } }
html, body { overflow-x: clip; }
.bighero { overflow: clip; }
@media (max-width: 899px) { .nav { flex-wrap: nowrap; width: 100%; } .nav a { min-width: 0; flex: 1; padding: 6px 2px 5px; font-size: 12px; } }

/* the full lab terminal (React LabTerminal from src/components/lab-terminal), below the desk */
.desk-labterm { --studio-background: #2b1f1b; --studio-ink: #f1efe8; --studio-slogan: #c9bcd1; --studio-warning: #e56b5d; --studio-terminal: #1b272b; --gutter: 20px; --column: min(100% - 40px, 980px); position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; scroll-margin-top: 20px; }
.desk-labterm:has(.lab-terminal[hidden]) { display: none; }
#w-issues { width: min(520px, calc(100vw - 40px)); }
#w-issues .body { max-height: calc(100vh - 230px); overflow-y: auto; }
@media (max-width: 899px) { #w-issues .body { max-height: none; } }
#w-issues { z-index: 80; }

/* round 9: same width as chikupod.com */
.shell:not(.top) { max-width: 1180px; }
.desktop.small { max-width: none; gap: 24px; }
.env { max-width: 420px !important; }
.issues .meta { display: block; margin-top: 3px; font-size: 11px; letter-spacing: .04em; color: var(--steel); }
.issues .meta::before { content: "\2514  "; opacity: .7; }
