/* GokilCraft Forum. Token, tombol, card, badge, input, header & tab bar dari site.css website utama. */
.fpage { display: grid; gap: 18px; padding-top: 28px; }
.fpage > * { min-width: 0; }
.fpage--narrow { width: min(880px, 100% - 32px); }
.fpage h1 { font-size: clamp(24px, 4vw, 32px); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header: lonceng & menu akun */
.fuser { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav__links .ico { width: 18px; height: 18px; }
.fbell { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--muted); }
.fbell:hover, .fbell[aria-current] { color: var(--text); background: var(--surface-2); }
.fbell__n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.fmenu { position: relative; }
.fmenu > summary { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; }
.fmenu > summary::-webkit-details-marker { display: none; }
.fmenu > summary img { border-radius: 50%; image-rendering: pixelated; }
.fmenu__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; display: grid; min-width: 200px; padding: 6px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); }
.fmenu__panel a, .fmenu__panel button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--text); font: 600 14px var(--font); text-align: left; cursor: pointer; }
.fmenu__panel a:hover, .fmenu__panel button:hover { background: var(--surface-2); color: var(--text); }
.fmenu__panel form { margin: 0; border-top: 1px solid var(--line); padding-top: 4px; margin-top: 4px; }
.ftabbar { grid-template-columns: repeat(5, 1fr) !important; }
.ftab-bell { position: relative; }
.ftab-bell .fbell__n { top: 4px; right: calc(50% - 22px); }
.ftab-avatar { border-radius: 6px; image-rendering: pixelated; }

/* ---------- umum */
.fcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--muted); font-size: 14px; font-weight: 600; }
.fcrumbs a { color: var(--muted); }
.fcrumbs a:hover { color: var(--text); }
.fcrumbs .ico { width: 14px; height: 14px; opacity: .6; }
.fchip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); font-size: 11.5px; font-weight: 700; vertical-align: middle; }
.fchip--bad { color: #ff9c9c; border-color: rgba(255, 107, 107, .4); }
.fprefix { --c: var(--muted); display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 5px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); font-size: 11.5px; font-weight: 800; vertical-align: 1px; }
.fname { color: var(--name, var(--text)); font-weight: 800; }
.fname:hover { color: var(--name, var(--gold-hi)); text-decoration: underline; }
.fempty { display: grid; justify-items: center; gap: 8px; padding: 44px 20px; text-align: center; }
.fempty > .ico { width: 36px; height: 36px; color: var(--gold-lo); }
.fempty h1, .fempty h2 { font-size: 20px; }
.fempty p { color: var(--muted); }
.fhead { --c: var(--gold); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.fhead__text { flex: 1; min-width: 220px; }
.fhead__text p { margin-top: 4px; color: var(--muted); }
.fsub { margin-top: 6px; font-size: 18px; }
.fseg { display: flex; gap: 4px; padding: 4px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); justify-self: start; max-width: 100%; }
.fseg a { flex: none; padding: 8px 14px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.fseg a:hover { color: var(--text); }
.fseg a[aria-current] { background: var(--gold); color: #1a1408; }
.fpager { display: flex; flex-wrap: wrap; gap: 4px; justify-self: start; }
.fpager a, .fpager span { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; font-size: 14px; }
.fpager a:hover { border-color: var(--line-2); }
.fpager .is-current { background: var(--gold); border-color: var(--gold); color: #1a1408; }
.fpager .fpager__gap { border: 0; background: none; color: var(--muted); }
.fpager .ico { width: 16px; height: 16px; }

/* ---------- beranda */
.fhero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 26px 28px;
  background: linear-gradient(120deg, rgba(217, 180, 90, .12), transparent 55%), radial-gradient(400px 200px at 100% 0, rgba(109, 211, 199, .1), transparent 70%), var(--surface); }
.fhero h1 { font-family: var(--pixel); font-weight: 400; font-size: clamp(30px, 5vw, 42px); }
.fhero p { max-width: 560px; margin-top: 6px; color: var(--muted); }
.flayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.flayout__main { display: grid; gap: 16px; min-width: 0; }
.flayout__side { display: grid; gap: 14px; position: sticky; top: calc(var(--nav-h) + 16px); }

.fcat { --c: var(--gold); overflow: hidden; }
.fcat__head { padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); border-top: 3px solid var(--c); }
.fcat__head h2 { font-size: 16px; }
.fcat__head p { color: var(--muted); font-size: 13px; }
.fnode { --c: var(--gold); display: grid; grid-template-columns: 48px minmax(0, 1fr) 150px 260px; align-items: center; gap: 16px; padding: 14px 18px; }
.fnode + .fnode { border-top: 1px solid var(--line); }
.fnode:hover { background: rgba(255, 255, 255, .015); }
.fnode__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-size: 22px; background: color-mix(in srgb, var(--c) 15%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.fnode__icon--lg { width: 60px; height: 60px; font-size: 28px; border-radius: 14px; }
.fnode__main { min-width: 0; }
.fnode__title { color: var(--text); font-size: 15.5px; font-weight: 800; margin-right: 6px; }
.fnode__title:hover { color: var(--gold-hi); }
.fnode__main p { color: var(--muted); font-size: 13.5px; }
.fnode__mobile-stats { display: none; color: var(--muted); font-size: 12px; }
.fnode__stats, .fthread__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; text-align: center; }
.fnode__stats dt, .fthread__stats dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fnode__stats dd, .fthread__stats dd { margin: 0; font-weight: 800; }
.fnode__last { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fnode__last img, .fthread__avatar, .fthread__last img, .fside__list img, .fside__online img, .fnotes img, .fmember img, .freply__who img { flex: none; border-radius: 8px; image-rendering: pixelated; }
.fnode__last div { display: grid; min-width: 0; }
.fnode__thread { overflow: hidden; color: var(--text); font-size: 13.5px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.fnode__last small { color: var(--muted); font-size: 12px; }

.fside { padding: 16px 18px; }
.fside h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14.5px; }
.fside h3 .ico { width: 16px; height: 16px; color: var(--gold); }
.fside--cta { border-color: rgba(217, 180, 90, .35); background: linear-gradient(160deg, rgba(217, 180, 90, .1), transparent 60%), var(--surface); }
.fside--cta p { margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.fside__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fside__list li { display: flex; gap: 10px; }
.fside__list div { display: grid; min-width: 0; }
.fside__list a { overflow: hidden; color: var(--text); font-size: 13.5px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.fside__list small { color: var(--muted); font-size: 12px; }
.fside__online { display: flex; flex-wrap: wrap; gap: 6px; }
.fside__kv { display: grid; gap: 6px; margin: 0; }
.fside__kv div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.fside__kv dt { color: var(--muted); }
.fside__kv dd { margin: 0; font-weight: 700; }

/* ---------- daftar thread */
.fthreads { overflow: hidden; }
.fthread { display: grid; grid-template-columns: 40px minmax(0, 1fr) 140px 170px; align-items: center; gap: 14px; padding: 12px 18px; }
.fthread + .fthread { border-top: 1px solid var(--line); }
.fthread:hover { background: rgba(255, 255, 255, .015); }
.fthread__main { min-width: 0; display: grid; gap: 2px; }
.fthread__title { color: var(--text); font-weight: 600; }
.fthread.is-unread .fthread__title { font-weight: 800; }
.fthread.is-unread .fthread__title::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--gold); vertical-align: 2px; }
.fthread__title:hover { color: var(--gold-hi); }
.fthread__main small { color: var(--muted); font-size: 12.5px; }
.fthread__pages a { margin: 0 2px; padding: 0 5px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 11.5px; }
.fflag { margin-right: 4px; font-size: 13px; }
.fthread__last { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--muted); font-size: 12.5px; text-align: right; }
.fthread__last div { display: grid; }
.fthread__last small { color: var(--text); font-weight: 700; font-size: 12.5px; }
.fthread__last:hover { color: var(--text); }

/* ---------- thread & post */
.fthead { display: grid; gap: 10px; }
.fthead h1 { font-size: clamp(22px, 3.6vw, 30px); overflow-wrap: anywhere; }
.fthead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--muted); font-size: 13.5px; }
.fthead__meta span { display: inline-flex; align-items: center; gap: 6px; }
.fthead__meta .ico { width: 15px; height: 15px; }
.fmod { justify-self: start; position: relative; }
.fmod > summary { list-style: none; }
.fmod > summary::-webkit-details-marker { display: none; }
.fmod__panel { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; display: grid; gap: 6px; width: 260px; padding: 10px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); }
.fmod__panel button { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--text); font: 700 13.5px var(--font); text-align: left; cursor: pointer; }
.fmod__panel button:hover { border-color: var(--gold-lo); }
.fmod__panel label { display: grid; gap: 4px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.fmod__panel .input { height: 38px; font-size: 14px; }

.fposts { display: grid; gap: 14px; }
.fpost { display: grid; grid-template-columns: 180px minmax(0, 1fr); overflow: hidden; scroll-margin-top: calc(var(--nav-h) + 16px); }
.fpost:target { border-color: var(--gold-lo); box-shadow: 0 0 0 2px rgba(217, 180, 90, .25); }
.fpost.is-deleted { opacity: .55; }
.fpost__user { display: grid; align-content: start; justify-items: center; gap: 8px; padding: 18px 14px; border-right: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--name, var(--gold)) 10%, transparent), transparent 140px), var(--bg-2); text-align: center; }
.fpost__avatar img { border-radius: 14px; image-rendering: pixelated; box-shadow: 0 0 0 2px color-mix(in srgb, var(--name, var(--line-2)) 55%, transparent); }
.fpost__who { display: grid; gap: 2px; }
.fpost__who .fname { font-size: 15px; overflow-wrap: anywhere; }
.fpost__title { color: var(--muted); font-size: 12px; font-weight: 700; }
.fpost__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.fbadge { --c: var(--gold); display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px 2px 5px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); color: color-mix(in srgb, var(--c) 80%, #fff); font-size: 11px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.fbadge--more { color: var(--muted); --c: var(--muted); }
.fpost__stats { display: grid; gap: 3px; width: 100%; margin: 4px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.fpost__stats div { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.fpost__stats dt { color: var(--muted); }
.fpost__stats dd { margin: 0; font-weight: 700; }
.fpost__main { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; min-width: 0; padding: 14px 20px; }
.fpost__head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.fpost__num { margin-left: auto; color: var(--muted); font-weight: 700; }
.fpost__num:hover { color: var(--gold-hi); }
.fpost__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.fpost__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.fpost__actions form { margin: 0; }
.flink { display: inline-flex; align-items: center; gap: 4px; padding: 6px 9px; border: 0; border-radius: 7px; background: none; color: var(--muted); font: 700 13px var(--font); cursor: pointer; list-style: none; }
.flink::-webkit-details-marker { display: none; }
.flink:hover { color: var(--text); background: var(--surface-2); }
.flink .ico { width: 14px; height: 14px; transform: rotate(180deg); }
.freport { position: relative; }
.freport__panel { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 20; display: grid; gap: 8px; width: min(320px, 80vw); padding: 12px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); }
.freport__panel label { font-size: 13px; font-weight: 700; }

/* reaksi */
.freact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.freact.is-busy { opacity: .5; pointer-events: none; }
.freact__sum { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.freact__emoji { letter-spacing: -3px; font-size: 15px; }
.freact__pick { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg-2); }
.freact__pick button { width: 32px; height: 30px; border: 0; border-radius: 99px; background: none; font-size: 16px; cursor: pointer; filter: grayscale(.7); opacity: .75; transition: transform .1s, filter .1s, opacity .1s; }
.freact__pick button:hover { transform: scale(1.18); filter: none; opacity: 1; }
.freact__pick button.is-mine { filter: none; opacity: 1; background: rgba(217, 180, 90, .18); }

/* isi post */
.post-body { min-width: 0; padding: 14px 0 0; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.post-body > * + * { margin-top: 12px; }
.post-body h3 { font-size: 17px; }
.post-body ul { margin-bottom: 0; padding-left: 22px; }
.post-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.post-body code { padding: 1px 5px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); font: 600 .9em var(--mono); color: var(--gold-hi); }
.post-body pre.code { margin: 0; padding: 12px 14px; overflow-x: auto; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.post-body pre.code code { padding: 0; border: 0; background: none; color: var(--text); font-weight: 500; white-space: pre; }
.post-img { display: inline-block; max-width: 100%; }
.post-img img { max-width: 100%; max-height: 520px; border-radius: 10px; border: 1px solid var(--line); }
.bq { margin: 0; padding: 0; border-left: 3px solid var(--gold-lo); border-radius: 0 10px 10px 0; background: var(--bg-2); }
.bq__head { padding: 8px 12px 0; font-size: 13px; font-weight: 800; }
.bq__head a { color: var(--gold-hi); text-decoration: none; }
.bq__body { padding: 8px 12px 10px; color: color-mix(in srgb, var(--text) 85%, var(--muted)); font-size: 14px; }
.bq__body > * + * { margin-top: 8px; }
.bq--plain { border-left-color: var(--line-2); }
.spoiler { border: 1px dashed var(--line-2); border-radius: 10px; }
.spoiler summary { padding: 8px 12px; color: var(--muted); font-weight: 700; cursor: pointer; }
.spoiler[open] summary { border-bottom: 1px dashed var(--line); }
.spoiler > div { padding: 10px 12px; }
.ptable { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.ptable table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.ptable th, .ptable td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: normal; }
.ptable th { background: var(--surface-2); color: var(--gold-hi); font-size: 13px; font-weight: 800; white-space: nowrap; }
.ptable td { min-width: 110px; }
.ptable td:first-child { font-weight: 700; white-space: nowrap; }
.ptable th + th, .ptable td + td { border-left: 1px solid var(--line); }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:nth-child(even) td { background: var(--bg-2); }
.ptable code { white-space: nowrap; }
.mention { padding: 0 3px; border-radius: 4px; background: rgba(109, 211, 199, .12); color: var(--teal) !important; font-weight: 700; text-decoration: none !important; }

/* balasan & form */
.freply { display: grid; gap: 12px; padding: 18px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.freply__who { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.freply__foot, .fform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.freply__foot .muted { margin-right: auto; font-size: 13px; }
.fnotice { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px; }
.fnotice > .ico { width: 26px; height: 26px; color: var(--gold); }
.fnotice div { flex: 1; min-width: 200px; }
.fnotice p { color: var(--muted); font-size: 14px; }
.fform { display: grid; gap: 16px; padding: 22px; }
.fform h1 { font-size: 22px; }
.fform h1 .muted { font-size: 16px; font-weight: 600; }
.fform .alert { margin: 0; }
.fform__row { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.fform__row:has(> .field:only-child) { grid-template-columns: 1fr; }
.fform__prefix { min-width: 160px; }

.feditor { border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; }
.feditor:focus-within { border-color: var(--gold); }
.feditor__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--surface); }
.feditor__bar button { min-width: 34px; height: 32px; padding: 0 8px; border: 0; border-radius: 7px; background: none; color: var(--muted); font: 800 13px var(--font); cursor: pointer; }
.feditor__bar button:hover { color: var(--text); background: var(--surface-2); }
.feditor__bar [data-cmd="italic"] { font-style: italic; }
.feditor__bar [data-cmd="strike"] { text-decoration: line-through; }
.feditor__tabs { display: inline-flex; gap: 2px; margin-left: auto; }
.feditor__tabs .is-active { color: var(--text); background: var(--surface-2); }
.feditor.is-preview .feditor__bar [data-cmd] { visibility: hidden; }
.feditor__text { display: block; border: 0 !important; border-radius: 0; min-height: 140px; }
.feditor__text:focus { box-shadow: none; }
.feditor__preview { min-height: 140px; padding: 0 14px 14px; }
.feditor__help { padding: 6px 12px; border-top: 1px solid var(--line); color: var(--muted); font: 600 11.5px var(--mono); }

/* ---------- member & profil */
.fmembers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.fmember { display: flex; align-items: center; gap: 12px; padding: 14px; color: var(--text); }
.fmember:hover { color: var(--text); border-color: var(--line-2); }
.fmember > div { display: grid; gap: 3px; flex: 1; min-width: 0; }
.fmember small { color: var(--muted); font-size: 12px; }
.fmember .fpost__badges { justify-content: flex-start; }
.fmember dl { display: grid; gap: 4px; margin: 0; text-align: right; font-size: 12px; }
.fmember dt { color: var(--muted); }
.fmember dd { margin: 0; font-weight: 800; }
.fprofile { --c: var(--gold); display: flex; gap: 26px; padding: 24px; border-top: 3px solid var(--c); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, transparent), transparent 160px), var(--surface); }
.fprofile__skin { flex: none; display: grid; place-items: end center; width: 140px; padding: 10px 0; border-radius: 14px; background: var(--bg-2); }
.fprofile__skin img { image-rendering: pixelated; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.fprofile__main { display: grid; align-content: start; gap: 10px; flex: 1; min-width: 0; }
.fprofile h1 { display: flex; align-items: center; gap: 10px; font-size: clamp(24px, 4vw, 32px); }
.fprofile__title { color: var(--muted); font-weight: 700; }
.fprofile__badges { justify-content: flex-start; }
.fprofile__badges .fbadge { font-size: 12px; padding: 3px 9px 3px 7px; }
.fprofile__about { padding: 12px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.fprofile__stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 4px 0 0; }
.fprofile__stats dt { color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fprofile__stats dd { margin: 0; font-weight: 800; }
.fonline { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(95, 220, 138, .2); }
.fedit { justify-self: start; }
.fedit > summary { list-style: none; }
.fedit > summary::-webkit-details-marker { display: none; }
.fedit__form { display: grid; gap: 8px; margin-top: 10px; width: min(560px, 100%); }
.fedit__form--row { grid-template-columns: 1fr auto; }

/* ---------- daftar umum, pencarian, notifikasi */
.flist { margin: 0; padding: 0; list-style: none; overflow: hidden; }
.flist li { display: grid; gap: 4px; padding: 14px 18px; }
.flist li + li { border-top: 1px solid var(--line); }
.flist li > a { color: var(--text); }
.flist li > a:hover { color: var(--gold-hi); }
.flist p { color: var(--muted); font-size: 14px; }
.flist small { color: var(--muted); font-size: 12.5px; }
.flist form { display: flex; align-items: center; gap: 10px; margin: 0; }
.fsearch { position: relative; display: flex; gap: 10px; }
.fsearch > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.fsearch .input { flex: 1; height: 50px; padding-left: 44px; border-radius: 12px; background: var(--surface); }
.fsearch .btn { height: 50px; }
.fnotes { margin: 0; padding: 0; list-style: none; overflow: hidden; }
.fnotes li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; }
.fnotes li + li { border-top: 1px solid var(--line); }
.fnotes li.is-new { background: rgba(217, 180, 90, .06); }
.fnotes a { color: var(--text); font-size: 14px; }
.fnotes a b { font-weight: 800; }
.fnotes small { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* ---------- admin */
.fadmin__cat { display: grid; gap: 10px; padding: 14px; }
.fadmin__children { display: grid; gap: 8px; padding-left: 18px; border-left: 2px solid var(--line); }
.fadmin__row { display: flex; align-items: flex-start; gap: 6px; }
.fadmin__row > form:first-child { flex: 1; }
.fadmin__node { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.fadmin__node .input { height: 38px; font-size: 14px; flex: 1 1 160px; }
.fadmin__node .fadmin__icon { flex: 0 0 58px; text-align: center; font-size: 18px; padding: 0 6px; }
.fadmin__node .fadmin__color { flex: 0 0 48px; padding: 3px; }
.fadmin__node .fadmin__sort { flex: 0 0 72px; }
.fadmin__more { flex-basis: 100%; }
.fadmin__more summary { color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.fadmin__more .check { margin: 8px 0; display: flex; gap: 8px; font-size: 13.5px; color: var(--text); }
.fadmin__prefixes { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.fadmin__label { font-size: 13px; }
.fadmin__badges { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.fadmin__badges li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.fadmin__badges form { margin: 0; }

/* ---------- responsif */
@media (max-width: 1080px) {
  .flayout { grid-template-columns: 1fr; }
  .flayout__side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .fnode { grid-template-columns: 48px minmax(0, 1fr) 210px; }
  .fnode__stats { display: none; }
  .fnode__mobile-stats { display: block; }
}
@media (max-width: 760px) {
  .fpage { padding-top: 18px; gap: 14px; }
  .fuser { margin-left: auto; }
  .fuser .fbell, .fuser .fmenu { display: none; }
  .fhero { padding: 20px; }
      .fnode { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 12px 14px; }
  .fnode__icon { width: 44px; height: 44px; font-size: 20px; }
  .fnode__last { grid-column: 2; }
  .fthread { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 12px 14px; }
  .fthread__avatar { width: 36px; height: 36px; }
  .fthread__stats { display: none; }
  .fthread__last img { display: none; }
  .fpost { grid-template-columns: 1fr; }
  .fpost__user { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 4px 12px; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--line); text-align: left; }
  .fpost__avatar { grid-row: span 2; }
  .fpost__avatar img { width: 48px; height: 48px; border-radius: 10px; }
  .fpost__badges { justify-content: flex-start; }
  .fpost__stats { display: none; }
  .fpost__main { padding: 12px 14px; }
  .fform { padding: 16px; }
  .fform__row { grid-template-columns: 1fr; }
  .fprofile { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; }
  .fprofile h1 { justify-content: center; }
  .fprofile__badges, .fprofile__stats { justify-content: center; }
  .fedit { justify-self: center; }
  .fnotes li { grid-template-columns: 32px 1fr; }
  .fnotes small { grid-column: 2; }
  .fsearch { flex-wrap: wrap; }
  .fsearch .btn { width: 100%; }
}
