/* gegu.hu — Newgrounds 2004 layout (layout04). Colours, fonts and form styles follow the original stylesheet. */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #2F3238; }
body {
  margin: 0;
  background: #2F3238 url(/assets/ng/layout04/bg_page.gif) repeat-x;
  color: #C2C7CB;
  font: 11px Verdana, Arial, Helvetica, sans-serif;
}
a { text-decoration: none; color: #FFAB0D; }
a:visited { color: #B47101; }
a:hover, a:active { color: #FFEE70; }
img { border: 0; }
.blk { display: block; }
b, strong { font-weight: bold; }
.font_vd_small { font: 10px Verdana, Arial, Helvetica, sans-serif; }
.font_contact { font: 10px Arial, Helvetica, sans-serif; }
.muted { color: #808080; }

/* ---------- Page frame ---------- */
.page { width: 770px; margin: 0 auto; }

.topnav { display: flex; height: 13px; }
.topnav > img, .topnav a, .topnav img { display: block; }
.topnav-links { display: flex; flex: 1; background: url(/assets/ng/layout04/newhf/top_nav_bg.gif); }
.topnav-url { margin-left: auto; }
.topnav-links + .topnav-url { margin-left: 0; }

.head { display: flex; height: 92px; }
.head-logo img { display: block; }
.head-mid {
  width: 486px; background: url(/assets/ng/layout04/newhf/top_bg.gif);
  display: grid; grid-template-columns: repeat(3, 140px); gap: 8px 10px; align-content: center; justify-content: center;
}

.banner { display: flex; height: 100px; }
.banner > img { display: block; }
.banner-mid { flex: 1; background: url(/assets/ng/layout04/newhf/banner_mid.gif); display: flex; align-items: center; justify-content: center; }
.banner-mid img { display: block; }

.body { display: flex; background: url(/assets/ng/layout04/newhf/bg_full.gif); }
.side1 { width: 10px; background: url(/assets/ng/layout04/main_side_1.gif); }
.side2 { width: 10px; background: url(/assets/ng/layout04/main_side_2.gif); }
.left { width: 143px; background: url(/assets/ng/layout04/main_sm.gif); padding-bottom: 10px; }
.divider { width: 1px; background: url(/assets/ng/layout04/main_1_black.gif); }
.main { width: 606px; background: url(/assets/ng/layout04/main_big.gif); padding-bottom: 10px; }

/* ---------- Side panels ---------- */
.panel { width: 143px; }
.panel-top { height: 29px; background: url(/assets/ng/layout04/side_panel_top.gif); display: flex; align-items: center; padding-left: 15px; padding-top: 2px; }
.panel-top img { display: block; }
.panel-mid { display: flex; background: url(/assets/ng/layout04/side_panel_left.gif) left top repeat-y, url(/assets/ng/layout04/side_panel_right.gif) right top repeat-y; }
.panel-in { margin: 0 10px 0 17px; width: 116px; background: url(/assets/ng/layout04/side_panel_bg.gif); font: 10px Arial, Helvetica, sans-serif; line-height: 1.35; overflow-wrap: anywhere; }

/* ---------- Feature box (projects, tracks) ---------- */
.feature-top { display: block; }
.feature { display: flex; background: url(/assets/ng/layout04/feature_bg.gif) repeat-x; }
.feature-l { width: 24px; flex: none; background: url(/assets/ng/layout04/feature_left_bg.gif) repeat-y; }
.feature-l img, .feature-r img { display: block; }
.feature-r { width: 24px; flex: none; background: url(/assets/ng/layout04/feature_right_bg.gif) repeat-y; }
.feature-in { flex: 1; padding: 6px 2px; font: 10px Arial, Helvetica, sans-serif; }
.feature-bot { display: block; margin-bottom: 6px; }
.feature-head { display: block; margin: 8px 5px 2px; }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 5px; }
.items.one { grid-template-columns: 1fr; }
.item { display: flex; gap: 8px; padding: 5px; align-items: flex-start; }
.item-ico { flex: none; width: 50px; height: 50px; display: block; object-fit: cover; background: #20252A; border: 1px solid #000; }
.item-title { text-transform: uppercase; font-weight: bold; }
.feature-empty { padding: 10px 5px; }

/* ---------- News post (blog) ---------- */
.news { width: 606px; margin-bottom: 5px; }
.news-head { display: flex; height: 70px; background: url(/assets/ng/layout04/news_bg.gif) repeat-y; }
.news-head-l { width: 534px; }
.news-bar { height: 28px; background: url(/assets/ng/layout04/news_head_bar.gif); display: flex; align-items: center; padding-left: 20px; }
.news-date { width: 100px; flex: none; font: 10px Arial, Helvetica, sans-serif; color: #808080; }
.news-title { width: 365px; text-align: center; font: bold 10px Verdana, Arial, sans-serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-title a { color: #fff; }
.news-title a:hover { color: #FFEE70; }
.news-by { height: 42px; background: url(/assets/ng/layout04/news_top_bg.gif); text-align: right; padding-right: 8px; font: 10px Arial, Helvetica, sans-serif; }
.news-icon { width: 72px; background: url(/assets/ng/layout04/news_icon_bg.gif); display: flex; align-items: center; justify-content: center; }
.news-icon img { width: 50px; height: 50px; object-fit: cover; display: block; }
.news-body { background: url(/assets/ng/layout04/news_bg.gif) repeat-y; padding: 5px 23px 5px; }
.news-text { font: 13px Arial, Helvetica, sans-serif; line-height: 1.35; color: #C2C7CB; overflow-wrap: anywhere; }
.news-text p { margin: 0 0 1em; }
.news-text { display: flow-root; }
/* Post picture beside the text, like the pictures in 2004 NG news posts */
.news-feature { float: right; width: 200px; height: auto; max-height: 260px; object-fit: cover; margin: 2px 0 8px 14px; border: 1px solid #000; outline: 1px solid #5F656B; }
/* A post with only a picture: centred, and larger */
.news-feature.solo { float: none; display: block; width: auto; max-width: 100%; max-height: 400px; margin: 4px auto 10px; }
.news-text ul { margin: 0 0 1em; padding-left: 20px; }
.news-text .post-img, .news-img { max-width: 100%; height: auto; display: block; margin: 4px 0 10px; border: 1px solid #000; }
.news-text .post-img { margin: 8px auto 12px; outline: 1px solid #5F656B; cursor: zoom-in; }
/* Centred [title]; as the first thing in a panel it moves up into the empty band under the title bar */
.bb-title { margin: 0 0 .6em; text-align: center; font: bold 22px/1.2 Verdana, Arial, sans-serif; color: #fff; letter-spacing: -.5px; }
.news-text > .bb-title:first-child { margin-top: -30px; padding: 0 80px; }
/* Full-size picture viewer (lightbox.js) */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.88); cursor: zoom-out; }
.lightbox img { max-width: 96vw; max-height: 96vh; border: 1px solid #000; outline: 1px solid #5F656B; }
.news-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.pill { display: flex; height: 25px; }
.pill > img { display: block; }
.pill-mid { background: url(/assets/ng/layout04/news_comments_mid.gif); display: flex; align-items: center; font: bold 10px Verdana, Arial, sans-serif; padding: 0 2px; }
.news-foot-c { font: bold 10px Verdana, Arial, sans-serif; }
.news-foot img.readmore { display: block; }
.news-bot { display: block; }
.more { display: flex; justify-content: center; padding: 5px 0 10px; }
.more img { display: block; }
.pager { display: flex; justify-content: space-between; padding: 0 30px 10px; font: bold 10px Verdana, Arial, sans-serif; }

/* ---------- Archive list ---------- */
.archive { list-style: none; margin: 0; padding: 0; }
.archive li { display: flex; gap: 12px; padding: 3px 0; border-bottom: 1px solid #41464E; font: 11px Verdana, Arial, sans-serif; }
.archive .muted { width: 110px; flex: none; }

/* ---------- Native NG form styles (from the 2004 stylesheet) ---------- */
.global_field, .global_field_sm {
  font-family: Arial, sans-serif; color: #000; font-size: 11px; font-weight: bold;
  background-color: #FFCC00;
  border-left: 2px solid #000; border-top: 2px solid #000; border-right: 1px solid #45494F; border-bottom: 1px solid #45494F;
}
.global_field { padding: 2px 3px; }
textarea.global_field { font: bold 12px Arial, sans-serif; line-height: 1.4; resize: vertical; }
.button_normal {
  font: bold 11px Arial, sans-serif; color: #FFCC00; background-color: #41464E; cursor: pointer;
  border-left: 1px solid #20252A; border-top: 1px solid #20252A; border-right: 1px solid #5F656B; border-bottom: 1px solid #5F656B;
  padding: 3px 8px; text-align: center; display: inline-block;
}
a.button_normal, a.button_normal:visited { color: #FFCC00; }
.button_normal:hover { color: #FFEE70; background-color: #4B5059; }
.button_normal:active { border-left-color: #5F656B; border-top-color: #5F656B; border-right-color: #20252A; border-bottom-color: #20252A; }

/* ---------- Admin (backstage) ---------- */
.adm { padding: 4px 6px 2px; font: 11px Verdana, Arial, sans-serif; color: #C2C7CB; }
.adm a.row-title { font-weight: bold; font-size: 12px; }
.adm-hello { font: bold 14px Verdana, Arial, sans-serif; color: #fff; margin: 4px 0 12px; }
.adm-h { margin: 14px 0 6px; padding-bottom: 3px; border-bottom: 1px solid #41464E; font: bold 10px Verdana, Arial, sans-serif; color: #FFCC00; text-transform: uppercase; letter-spacing: 1px; }
.adm-box > .adm-h:first-child { margin-top: 0; }
.adm-box { margin: 4px 0; padding: 10px 12px; background: rgba(0,0,0,.18); border: 1px solid #20252A; box-shadow: inset 1px 1px 0 #2a2e34; display: grid; gap: 8px; }
.adm-login { max-width: 300px; margin: 14px 8px; }
.notice { padding: 7px 10px; margin: 0 0 10px; border: 1px solid #000; background: #41464E; color: #FFCC00; font-weight: bold; border-left: 4px solid #FFCC00; }
.notice.ok { border-left-color: #66CC33; color: #b6f08c; }
.notice.err { border-left-color: #ff4040; color: #ff8a70; }
.muted { color: #808080; }
.nowrap { white-space: nowrap; }
.grow { flex: 1; }

/* Left-column backstage menu */
.adm-menu { font: bold 11px Verdana, Arial, sans-serif; padding: 2px 0; }
.adm-menu a, .adm-menu button { display: flex; justify-content: space-between; align-items: center; padding: 3px 4px; margin: 0 -4px; color: #FFAB0D; background: none; border: 0; font: inherit; cursor: pointer; width: calc(100% + 8px); text-align: left; }
.adm-menu a:hover, .adm-menu button:hover { color: #FFEE70; background: rgba(255,255,255,.05); }
.adm-menu a.on { color: #000; background: #FFCC00; }
.adm-menu a span { font-weight: normal; color: #808080; }
.adm-menu a.on span { color: #000; }
.adm-menu hr { border: 0; border-top: 1px solid #41464E; margin: 5px 0; }
.adm-menu form { margin: 0; }

/* Forms */
.form { display: grid; gap: 9px; font: 11px Verdana, Arial, sans-serif; }
.form label, .field-label { display: grid; gap: 3px; font-weight: bold; color: #fff; }
.field-label { margin-bottom: -5px; }
.form label small, .field-label small { font-weight: normal; color: #808080; }
.form .row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.form .row > label { flex: 0 1 auto; }
.form .row > label.grow { flex: 1; }
.form .global_field { width: 100%; }
.form .global_field.num { width: 80px; }
.global_field { padding: 3px 5px; }
.global_field:focus { outline: 1px solid #FFEE70; outline-offset: 1px; }
.title-input { font-size: 16px !important; padding: 6px 8px !important; }
label.check { display: flex !important; gap: 5px; align-items: center; font-weight: normal !important; color: #C2C7CB !important; }
.seg-choice { display: flex; border: 1px solid #000; }
.seg-choice label { display: flex; align-items: center; gap: 5px; padding: 4px 10px; font-weight: bold; color: #C2C7CB; background: #2b2f35; cursor: pointer; }
.seg-choice label + label { border-left: 1px solid #000; }
.seg-choice label:has(input:checked) { background: #41464E; color: #FFCC00; }
.seg-choice input { margin: 0; }
.button_normal.big { font-size: 12px; padding: 6px 14px; }
.button_normal.danger { color: #ff8a70; }
.button_normal.danger:hover { color: #fff; background: #7a2a1f; }
.filebtn { display: inline-block; }
.savebar {
  position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 8px; margin: 4px -6px 0; padding: 8px 6px;
  background: linear-gradient(rgba(32,37,42,.92), #20252A); border-top: 1px solid #000; box-shadow: 0 -1px 0 #41464E;
}
.adm-audio { width: 100%; height: 32px; }

/* Dashboard */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.tile { display: block; padding: 10px; text-align: center; background: #20252A; border: 1px solid #000; box-shadow: inset 1px 1px 0 #41464E; color: #C2C7CB !important; }
.tile b { display: block; font: 26px/1.1 'DSEG7', monospace; color: #FFCC00; margin-bottom: 4px; }
.tile:hover { background: #2b2f35; }
.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Lists */
.adm-filter { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.adm-filter input[type=search] { margin-left: auto; width: 170px; }
.chip { padding: 3px 9px; border: 1px solid #000; background: #2b2f35; font-weight: bold; }
.chip.on { background: #FFCC00; color: #000 !important; }
.admin-list { width: 100%; border-collapse: collapse; font: 11px Verdana, Arial, sans-serif; }
.admin-list tr:nth-child(even) td { background: rgba(255,255,255,.025); }
.admin-list tr:hover td { background: rgba(255,204,0,.05); }
.admin-list td { padding: 6px 5px; border-bottom: 1px solid #33373C; vertical-align: middle; }
.admin-list td.act { text-align: right; white-space: nowrap; }
.admin-list td.act > * { margin-left: 3px; }
.admin-list form { display: inline; }
.thumbcell { width: 44px; }
.thumb { width: 40px; height: 40px; object-fit: cover; display: block; border: 1px solid #000; }
.badge { display: inline-block; padding: 0 5px; font: bold 9px Verdana, Arial, sans-serif; text-transform: uppercase; color: #000; background: #808080; vertical-align: 1px; }

/* Image field */
.imgfield { display: flex; gap: 12px; align-items: flex-start; }
.imgfield-img { display: block; width: 160px; height: 100px; object-fit: cover; background: #000; border: 1px solid #000; outline: 1px solid #5F656B; }
.imgfield-img.square { width: 100px; height: 100px; }
.imgfield-img[data-empty] { opacity: .35; }
.imgfield-side { display: grid; gap: 6px; align-content: start; }
.imgfield-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.imgfield-side small { color: #808080; }
.imgfield-note { color: #b6f08c; font-weight: bold; }

/* BBCode editor */
.bbed { border: 1px solid #000; background: #20252A; }
.bbed-bar { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; padding: 4px; background: linear-gradient(#41464E, #33373C); border-bottom: 1px solid #000; }
.bbed-bar button, .bbed-bar select {
  height: 22px; min-width: 24px; padding: 0 6px; font: 11px Arial, sans-serif; color: #FFCC00; background: #2b2f35; cursor: pointer;
  border: 1px solid #20252A; border-right-color: #5F656B; border-bottom-color: #5F656B;
}
.bbed-bar select { padding: 0 2px; }
.bbed-bar button:hover { color: #FFEE70; background: #4B5059; }
.bbed-bar .sep { width: 1px; height: 18px; margin: 0 3px; background: #20252A; box-shadow: 1px 0 0 #5F656B; }
.bbed-tabs { margin-left: auto; display: flex; }
.bbed-tabs button.on { color: #000; background: #FFCC00; }
.bbed-text { display: block; width: 100%; border: 0 !important; font: 13px/1.5 Verdana, Arial, sans-serif !important; color: #000; min-height: 160px; resize: vertical; }
.bbed-preview { min-height: 160px; padding: 10px 12px; background: #2b2f35; max-height: 520px; overflow: auto; }

/* Links editor */
.links-ed { display: grid; gap: 5px; }
.link-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 5px; }

/* Crop dialog */
.crop-dlg { width: min(92vw, 760px); padding: 0; border: 1px solid #000; background: #33373C; color: #C2C7CB; box-shadow: 0 10px 40px #000; }
.crop-dlg::backdrop { background: rgba(0,0,0,.75); }
.crop-head { padding: 7px 10px; background: linear-gradient(#41464E, #2b2f35); border-bottom: 1px solid #000; font: bold 11px Verdana, Arial, sans-serif; color: #FFCC00; text-transform: uppercase; letter-spacing: 1px; }
.crop-stage { height: min(62vh, 480px); background: #111; }
.crop-stage img { display: block; max-width: 100%; }
.crop-bar { display: flex; gap: 6px; align-items: center; padding: 8px 10px; border-top: 1px solid #000; }

/* BBCode output on the site */
.bb-quote { margin: 0 0 1em; padding: 6px 10px; border-left: 3px solid #FFCC00; background: rgba(0,0,0,.2); color: #d8dce0; }
.bb-quote-by { font: bold 10px Verdana, Arial, sans-serif; color: #FFCC00; margin-bottom: 3px; }
.bb-code { margin: 0 0 1em; padding: 8px 10px; background: #111; border: 1px solid #000; color: #b6f08c; font: 16px/1.1 'ProggyClean', monospace; -webkit-font-smoothing: none; white-space: pre-wrap; overflow-wrap: anywhere; }
.bb-center { text-align: center; }
.bb-right { text-align: right; }
.bb-center .post-img { margin-left: auto; margin-right: auto; }
.bb-hr { border: 0; border-top: 1px solid #5F656B; margin: 1em 0; }
.bb-video { margin: 0 0 1em; }
.bb-video iframe { display: block; max-width: 100%; border: 1px solid #000; }
.news-text u { text-decoration: underline; }

/* ---------- Footer ---------- */
.subnav { display: flex; height: 23px; }
.subnav > img { display: block; }
.subnav-mid { flex: 1; background: url(/assets/ng/layout04/newhf/sub_bg.gif); display: flex; justify-content: space-between; align-items: center; padding: 0 5px; }
.bot { display: flex; height: 30px; }
.bot > img { display: block; }
.bot-mid { flex: 1; background: url(/assets/ng/layout04/newhf/bot_bg.gif); display: flex; justify-content: space-between; }
.bot-plate { display: flex; }
.bot-plate > img { display: block; }
.bot-text { background: url(/assets/ng/layout04/newhf/bot_3.gif); display: flex; align-items: center; padding: 0 2px; }
.bot-plate:last-child .bot-text { background-image: url(/assets/ng/layout04/newhf/bot_6.gif); }
.adrow { display: flex; height: 5px; }
.ad-l { width: 13px; background: url(/assets/ng/layout04/newhf/ad_left.gif); }
.ad-m { flex: 1; background: url(/assets/ng/layout04/newhf/ad_bg.gif); }
.ad-r { width: 13px; background: url(/assets/ng/layout04/newhf/ad_right.gif); }

/* ---------- Banner music player: Casio AE-1200 style face ---------- */
/* Fonts: ProggyClean (MIT, Tristan Grimmer) and DSEG7 Classic (SIL OFL, keshikan); licences in /assets/fonts/ */
@font-face { font-family: 'ProggyClean'; src: url(/assets/fonts/ProggyCleanCE.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: 'DSEG7'; src: url(/assets/fonts/DSEG7Classic-Bold.woff2) format('woff2'); font-display: swap; }
.button_normal:disabled { color: #808080; cursor: default; }

.casio {
  --seg: #1c2219;
  width: 590px;
  font: bold 7px Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .12em;
}
.casio-mid { display: flex; align-items: stretch; gap: 10px; }

/* LCD */
.lcd {
  flex: 1; height: 92px; padding: 4px 7px 3px; color: var(--seg);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr 18px 12px; gap: 1px 10px;
  background: linear-gradient(170deg, #c9cfb7, #b4baa2 60%, #aab097);
  border: 2px solid #0b0b0b; border-radius: 3px; box-shadow: inset 0 0 6px rgba(0,0,0,.4), 0 0 0 1px #3a3c40;
  text-shadow: 1px 1px 0 rgba(28,34,25,.15);
}
/* MilkDrop window: the full-colour Butterchurn visualizer in its own frame next to the screen */
.md-win {
  width: 172px; height: 92px; flex: none; display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
  background: #000; border: 2px solid #0b0b0b; border-radius: 3px; box-shadow: 0 0 0 1px #3a3c40;
}
.md-bar {
  height: 14px; flex: none; display: flex; align-items: center; gap: 5px; padding: 0 4px;
  background: linear-gradient(#3a3c40, #24262a); border-bottom: 1px solid #0b0b0b; color: #b4baa2;
  font: bold 8px/1 Arial, Helvetica, sans-serif; letter-spacing: .08em; white-space: nowrap;
}
.md-bar b { color: #f08a24; flex: none; }
.bp-preset { overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; text-transform: none; font-weight: normal; }
.bp-vis { display: block; width: 168px; height: 74px; }
.casio.no-vis .bp-vis { visibility: hidden; }
/* Transport buttons drawn on the LCD, where the visualizer used to be */
.lcd-ctrl { display: flex; align-items: flex-start; gap: 4px; padding-top: 1px; }
.lcd-btn {
  width: 32px; height: 24px; padding: 0; border: 1px solid var(--seg); border-radius: 2px; background: rgba(28,34,25,.06);
  color: var(--seg); font: 12px/1 Arial, Helvetica, sans-serif; letter-spacing: -1px; cursor: pointer;
  box-shadow: 1px 1px 0 rgba(28,34,25,.18);
}
.lcd-btn:hover { background: rgba(28,34,25,.16); }
.lcd-btn:active, .casio.playing .lcd-btn[data-play] { background: var(--seg); color: #c3c9b1; box-shadow: none; }
.lcd-btn:disabled { opacity: .35; cursor: default; }
.lcd-btn:focus-visible { outline: 1px dotted var(--seg); outline-offset: 1px; }
.lcd-info { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.lcd-top { display: flex; align-items: center; gap: 5px; height: 14px; }
.lcd-lbl { font: bold 9px/1 Arial, Helvetica, sans-serif; letter-spacing: .08em; }
.lcd-state { margin-left: auto; margin-right: 4px; padding: 0 2px; border: 1px solid var(--seg); background: none; color: var(--seg); font: bold 9px Arial, sans-serif; line-height: 11px; letter-spacing: .08em; cursor: pointer; }
.lcd-state:hover { background: rgba(28,34,25,.15); }
.lcd-state:disabled { cursor: default; }
.casio.playing .lcd-state { background: var(--seg); color: #c3c9b1; text-shadow: none; }

/* 7-segment digits with faint unlit "8" ghost segments behind */
.seg { position: relative; display: inline-block; font-family: 'DSEG7', monospace; font-weight: normal; letter-spacing: 1px; text-align: right; line-height: 1; }
.seg i { position: absolute; right: 0; top: 0; font-style: normal; opacity: .12; text-shadow: none; }
.seg b { position: relative; font-weight: normal; }
.seg-sm { font-size: 13px; }
.seg-big { font-size: 34px; align-self: flex-end; }

/* Title ticker */
.lcd-ticker { grid-column: 1 / -1; overflow: hidden; white-space: nowrap; height: 18px; border-top: 1px solid rgba(28,34,25,.35); padding-top: 3px; }
.bp-title {
  display: inline-block; font: 16px/13px 'ProggyClean', monospace; text-transform: uppercase; color: var(--seg);
  -webkit-font-smoothing: none; font-smooth: never; text-rendering: optimizeSpeed;
}
.lcd-ticker.scroll .bp-title { animation: lcd-ticker var(--dur, 8s) linear infinite alternate; }
@keyframes lcd-ticker { 0%, 15% { transform: translateX(0); } 85%, 100% { transform: translateX(var(--dist)); } }

/* Position + volume as segmented LCD bars */
.lcd-bars { grid-column: 1 / -1; display: flex; align-items: center; gap: 4px; line-height: 1; }
.lcd-bar { flex: 1; height: 8px; border: 1px solid var(--seg); background: rgba(28,34,25,.08); cursor: pointer; }
.lcd-bar > div, .lcd-vol input {
  --segs: repeating-linear-gradient(90deg, var(--seg) 0 3px, transparent 3px 4px);
}
.lcd-bar > div { height: 100%; width: 0; background: var(--segs); }
.lcd-vol { display: flex; align-items: center; gap: 3px; }
.lcd-vol input {
  -webkit-appearance: none; appearance: none; width: 84px; height: 8px; margin: 0; cursor: pointer;
  border: 1px solid var(--seg); background: var(--segs) 0 0 / var(--v, 100%) 100% no-repeat, rgba(28,34,25,.08);
}
.lcd-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 3px; height: 10px; background: var(--seg); }
.lcd-vol input::-moz-range-thumb { width: 3px; height: 10px; border: 0; border-radius: 0; background: var(--seg); }
.lcd-vol input::-moz-range-track { background: transparent; }
.lcd-vol input:focus-visible { outline: 1px dotted var(--seg); }

/* ---------- Home: big About me ---------- */
/* The photo floats, so a long bio continues underneath it */
.about-big { display: flow-root; padding: 8px; }
.about-photo-link { float: left; margin: 0 16px 10px 0; }
.about-photo { display: block; width: 200px; height: 200px; object-fit: cover; border: 1px solid #000; outline: 1px solid #5F656B; }
.about-text .news-text { display: block; }
.about-name { margin: -3px 0 4px; font: bold 22px/1.1 Verdana, Arial, sans-serif; color: #fff; letter-spacing: -.5px; }
.about-tag { margin-bottom: 10px; font: italic 12px Arial, Helvetica, sans-serif; color: #FFCC00; }
.about-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* Header navigator: yellow display panels with pre-rendered pixel-font labels (see .claude/tools/ngtext) */
.lcd-nav { display: block; border: 2px solid #0b0b0b; border-radius: 3px; box-shadow: 0 0 0 1px #3a3c40; line-height: 0; }
.lcd-nav img { display: block; }
.lcd-nav:hover { box-shadow: 0 0 0 1px #FFCC00; }
.lcd-nav:hover img { filter: brightness(1.07); }
.lcd-nav:active img { filter: brightness(.94); }
