/* ROLEAK — LiveLeak-style layout wearing a mid-2016 Roblox skin:
   gray page, white cards, light headings, flat 3px-radius controls, red brand bar. */
:root {
  --red: #c40000;
  --red-dark: #a30000;
  --red-light: #e02b2b;
  --blue: #00a2ff;        /* links + "active" state */
  --green: #02b757;       /* positive actions */
  --text: #191919;
  --muted: #757575;
  --line: #e3e3e3;
  --border: #b8b8b8;
  --page: #e3e3e3;
  --card: #fff;
  --hover: #f2f2f2;
  --error: #c9302c;
  --shadow: 0 1px 4px 0 rgba(25, 25, 25, .3);
  --radius: 3px;
  --width: 1140px;
  --sidebar: 280px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; background: var(--page); color: var(--text);
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.4;
}
body { min-height: 100vh; overflow-y: scroll; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 8px; }
button, input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.muted { color: var(--muted); }
.ll-page-shell { width: var(--width); max-width: 100%; margin: 0 auto; }

/* ───────── header ───────── */
.ll-header { background: var(--card); }
.ll-logo-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; }
.ll-logo { width: 215px; height: 74px; object-fit: contain; object-position: left center; display: block; }
.ll-header-auth { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.ll-header-auth .avatar { width: 28px; height: 28px; }
.ll-header-auth a.user { color: var(--text); font-weight: 600; }
.ll-main-nav { display: flex; align-items: stretch; background: var(--red); min-height: 40px; flex-wrap: wrap; padding: 0 4px; }
.ll-nav-tab {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; color: #fff;
  font-size: 16px; white-space: nowrap; border-top: 3px solid transparent; border-bottom: 3px solid transparent;
}
.ll-nav-tab:hover { background: var(--red-dark); color: #fff; text-decoration: none; }
.ll-nav-tab.active { border-bottom-color: #fff; font-weight: 600; }
.ll-nav-drop { position: relative; }
.ll-drop-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 50; min-width: 200px; padding: 4px 0;
  background: var(--card); box-shadow: 0 2px 8px rgba(25, 25, 25, .35); border-radius: 0 0 var(--radius) var(--radius);
}
.ll-nav-drop:hover .ll-drop-menu, .ll-nav-drop:focus-within .ll-drop-menu { display: block; }
.ll-drop-menu a { display: block; padding: 8px 14px; color: var(--text); font-size: 15px; }
.ll-drop-menu a:hover { background: var(--hover); text-decoration: none; }
.ll-search-form { margin-left: auto; display: flex; align-items: center; padding: 6px 8px; }
.ll-search-form input { width: 240px; height: 28px; padding: 3px 10px; border: 0; border-radius: var(--radius) 0 0 var(--radius); font-size: 14px; }
.ll-search-form button {
  height: 28px; padding: 0 14px; border: 0; border-left: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff; color: var(--text); font-size: 14px; cursor: pointer;
}
.ll-search-form button:hover { background: var(--hover); }

.ll-subnav { display: flex; align-items: center; gap: 4px; background: var(--card); padding: 6px 12px; font-size: 13px; min-height: 44px; border-bottom: 1px solid var(--line); }
#subnav-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
#subnav-links span { color: var(--border); }
#subnav-links a, #subnav-links .btn-link { color: var(--text); }
.ll-upload-btn {
  margin-left: auto; padding: 7px 16px; white-space: nowrap; border-radius: var(--radius);
  background: var(--green); color: #fff !important; font-size: 15px; font-weight: 600;
}
.ll-upload-btn:hover { background: #3fc679; text-decoration: none; }
.ll-sections { background: var(--card); padding: 0 8px; font-size: 14px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; align-items: center; }
.ll-sections strong { margin: 0 6px 0 4px; font-weight: 600; color: var(--muted); }
.ll-sections a { padding: 8px 8px 5px; color: var(--text); border-bottom: 3px solid transparent; }
.ll-sections a:hover { border-bottom-color: var(--border); text-decoration: none; }
.ll-sections a.active { border-bottom-color: var(--red); font-weight: 600; }

/* ───────── page layout ───────── */
.ll-view { padding: 16px 8px 28px; min-height: 420px; outline: none; }
.ll-cols { display: flex; gap: 16px; align-items: flex-start; }
.ll-main-col { flex: 1 1 auto; min-width: 0; }
.ll-sidebar { width: var(--sidebar); flex: 0 0 var(--sidebar); display: flex; flex-direction: column; gap: 12px; }
.ll-section-title {
  font-size: 22px; font-weight: 300; margin: 0 0 8px; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.ll-section-title > a {
  font-size: 13px; padding: 3px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--text);
}
.ll-section-title > a:hover { border-color: var(--text); text-decoration: none; }
.block { margin-top: 20px; }
.ll-quick-btns { display: flex; gap: 8px; margin: 0 0 14px; flex-wrap: wrap; }
.ll-quick-btns a {
  padding: 7px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 15px; color: var(--text); white-space: nowrap;
}
.ll-quick-btns a:hover { border-color: var(--text); text-decoration: none; }
/* everything sits on white cards over the gray page */
.panel, .empty, .video-list, .page-text, .ban-page, .watch-main, .ll-side-box, .profile-head, table.grid {
  background: var(--card); box-shadow: var(--shadow); border-radius: var(--radius);
}
.empty { padding: 24px; text-align: center; color: var(--muted); }
.empty strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 18px; font-weight: 400; }
.video-list .empty { box-shadow: none; }
.page-narrow { max-width: 660px; margin: 0 auto; }
.page-text { font-size: 15px; line-height: 1.5; padding: 16px 20px; }
.page-text h3 { font-size: 17px; font-weight: 600; margin: 16px 0 3px; }
.page-text .panel { box-shadow: none; padding: 0; }

/* ───────── buttons & forms ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; background: var(--card); color: var(--text); font-size: 14px; line-height: 1.3; white-space: nowrap;
}
.btn:hover { border-color: var(--text); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-red { border-color: var(--red); background: var(--red); color: #fff; }
.btn-red:hover { border-color: var(--red-light); background: var(--red-light); }
.btn.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.on:hover { background: #32b5ff; border-color: #32b5ff; }
.btn-link { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font: inherit; }
.btn-link:hover { text-decoration: underline; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.field small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=password], input[type=search], select, textarea {
  padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--text);
  font-size: 14px; font-weight: 400; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; }
textarea { resize: vertical; min-height: 76px; }
.form-error { color: var(--error); margin: 0; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row > * { flex: 1 1 160px; }
.panel { padding: 16px; }

/* ───────── video rows (Headlines) ───────── */
.video-list { display: flex; flex-direction: column; overflow: hidden; }
.video-item { display: flex; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: inherit; }
.video-item:last-child { border-bottom: 0; }
.video-item:hover { background: var(--hover); text-decoration: none; }
.thumb { position: relative; flex: 0 0 150px; width: 150px; height: 90px; background: #191919; overflow: hidden; display: block; border-radius: var(--radius); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-item .meta { min-width: 0; flex: 1; }
.video-item .title { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 2px; overflow-wrap: anywhere; }
.video-item:hover .title { color: var(--blue); }
.video-item .sub { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.video-item .snippet { font-size: 14px; color: #393b3d; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tag { display: inline-block; padding: 0 6px; border-radius: 2px; background: var(--line); font-size: 11px; font-weight: 600; color: #393b3d; line-height: 1.5; }
a.tag:hover { text-decoration: none; background: var(--border); }
.tag.red { background: var(--red); color: #fff; }
.pager { text-align: center; padding: 10px; }
.pager:empty { display: none; }

/* video cards (Featured) — like 2016 game cards */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.video-card { display: block; color: inherit; background: var(--card); box-shadow: var(--shadow); border-radius: var(--radius); padding: 6px 6px 8px; }
.video-card:hover { text-decoration: none; box-shadow: 0 1px 6px 0 rgba(25, 25, 25, .55); }
.video-card .thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; flex: none; }
.video-card .title { font-size: 15px; font-weight: 600; color: var(--text); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card .sub { font-size: 12px; color: var(--muted); }

/* ───────── sidebar ───────── */
.ll-side-box { padding: 12px; font-size: 14px; }
.ll-side-box h3 { margin: 0 0 8px; padding: 0 0 6px; font-size: 18px; font-weight: 300; border-bottom: 1px solid var(--line); }
.ll-promo-image { padding: 0; overflow: hidden; }
.ll-promo-image img { display: block; width: 100%; }
.ll-login-box label { display: grid; grid-template-columns: 82px 1fr; align-items: center; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.ll-login-box input { padding: 4px 8px; }
.ll-login-box .btn { float: right; }
.ll-login-box::after { content: ""; display: block; clear: both; }
.side-row { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 6px 0; min-width: 0; }
.side-row:last-child { border-bottom: 0; }
.side-row .grow { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-row small { color: var(--muted); white-space: nowrap; }
.avatar { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; background: #d1d1d1; flex: 0 0 auto; display: block; }
.avatar.big { width: 96px; height: 96px; }
.side-video { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); color: inherit; }
.side-video:last-child { border-bottom: 0; }
.side-video:hover { text-decoration: none; }
.side-video .thumb { flex: 0 0 84px; width: 84px; height: 52px; }
.side-video .title { font-weight: 600; color: var(--text); font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-video:hover .title { color: var(--blue); }
.side-video .sub { font-size: 12px; color: var(--muted); }

/* ───────── watch page ───────── */
.watch { display: flex; gap: 16px; align-items: flex-start; }
.watch-main { flex: 1 1 auto; min-width: 0; padding: 12px; }
.watch-side { flex: 0 0 320px; width: 320px; }
.watch-side > div { background: var(--card); box-shadow: var(--shadow); border-radius: var(--radius); padding: 6px 10px; }
.watch-side .side-video .thumb { flex-basis: 128px; width: 128px; height: 76px; }
.player { position: relative; background: #000; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.player-badge { position: absolute; top: 8px; left: 8px; height: 34px; opacity: .85; pointer-events: none; }
.watch-title { font-size: 26px; margin: 12px 0 8px; overflow-wrap: anywhere; }
.watch-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.uploader { display: flex; align-items: center; gap: 10px; }
.uploader .avatar { width: 44px; height: 44px; }
.uploader .name { font-weight: 600; font-size: 16px; }
.uploader .name a { color: var(--text); }
.uploader .name .btn { margin-left: 6px; font-size: 12px; padding: 2px 9px; font-weight: 400; }
.desc-box { margin-top: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.owner-tools { margin-top: 12px; padding: 10px 12px; border-left: 4px solid var(--red); background: var(--hover); border-radius: 0 var(--radius) var(--radius) 0; }
.owner-tools > strong { display: block; margin-bottom: 8px; font-weight: 600; }
.notice { padding: 8px 12px; margin-bottom: 10px; background: #f68802; color: #fff; border-radius: var(--radius); }

/* comments, posts, chat, feed all share one message look */
.msg { display: flex; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--card); }
.msg-body { min-width: 0; flex: 1; }
.msg-head { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.msg-head a.user { font-weight: 600; font-size: 14px; color: var(--text); }
.msg-head > b { font-size: 14px; color: var(--text); }
.msg-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; margin-top: 2px; }
.msg-head .btn-link { margin-left: auto; font-size: 12px; color: var(--muted); }
.msg-tools { margin-left: auto; display: flex; gap: 10px; }
.msg-tools .btn-link { margin-left: 0; }
.watch-main .msg { padding-left: 0; padding-right: 0; }
.inline-form { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.inline-form textarea, .inline-form input { flex: 1; }
.inline-form textarea { min-height: 48px; }

/* ───────── upload ───────── */
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); background: var(--hover); padding: 30px 12px; text-align: center; cursor: pointer; }
.dropzone:hover, .dropzone.over { border-color: var(--blue); background: #e5f5ff; }
.dropzone strong { display: block; font-size: 18px; font-weight: 400; margin-bottom: 4px; }
.upload-preview { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.upload-preview img { width: 192px; height: 108px; object-fit: cover; background: #191919; border-radius: var(--radius); flex: 0 0 auto; }
.progress { height: 22px; border-radius: var(--radius); background: var(--line); position: relative; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--green); transition: width .15s; }
.progress span { position: absolute; inset: 0; text-align: center; line-height: 22px; font-size: 13px; font-weight: 600; }

/* ───────── chat ───────── */
.chat-log { height: 440px; overflow-y: auto; background: var(--card); box-shadow: var(--shadow); border-radius: var(--radius); margin-bottom: 10px; }
.chat-log .msg { padding: 7px 12px; }
.chat-log .avatar { width: 28px; height: 28px; }

/* ───────── forum ───────── */
.tabs { display: flex; background: var(--card); box-shadow: var(--shadow); border-radius: var(--radius); margin-bottom: 10px; }
.tabs a { flex: 1; text-align: center; padding: 9px 12px 6px; font-size: 16px; color: var(--text); border-bottom: 4px solid transparent; }
.tabs a:hover { text-decoration: none; border-bottom-color: var(--border); }
.tabs a.active { border-bottom-color: var(--red); font-weight: 600; }
.thread-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--card); }
.thread-row .grow { flex: 1; min-width: 0; }
.thread-row .t { font-weight: 600; font-size: 16px; color: var(--text); overflow-wrap: anywhere; }
.thread-row .t:hover { color: var(--blue); text-decoration: none; }
.thread-row .count { text-align: center; min-width: 60px; color: var(--muted); font-size: 12px; }
.thread-row .count b { display: block; font-size: 18px; font-weight: 400; color: var(--text); }
.post-first .msg { box-shadow: var(--shadow); border-radius: var(--radius); border-bottom: 0; }

/* ───────── profile / admin ───────── */
.profile-head { display: flex; gap: 16px; align-items: center; padding: 16px; margin-bottom: 16px; }
.profile-head h1 { font-size: 28px; }
.stats { display: flex; gap: 16px; margin-top: 4px; color: var(--muted); flex-wrap: wrap; }
.stats b { color: var(--text); font-weight: 600; }
table.grid { width: 100%; border-collapse: collapse; overflow: hidden; }
table.grid th, table.grid td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.grid th { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; }
table.grid tr:last-child td { border-bottom: 0; }

/* ───────── toasts & dialogs ───────── */
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 9000; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; }
.toast { background: rgba(25, 25, 25, .92); color: #fff; padding: 9px 18px; border-radius: var(--radius); font-size: 15px; max-width: 90vw; }
.toast.error { background: var(--error); }
.dialog-backdrop { position: fixed; inset: 0; z-index: 8000; background: rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dialog { width: 100%; max-width: 420px; background: var(--card); border-radius: 4px; box-shadow: 0 5px 20px rgba(25, 25, 25, .5); }
.dialog h2 { padding: 12px 16px; font-size: 20px; text-align: center; border-bottom: 1px solid var(--line); }
.dialog .dialog-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.dialog .btn-row { justify-content: center; }
.dialog .btn-row .btn { min-width: 100px; justify-content: center; padding: 7px 14px; }

.ll-footer { padding: 14px 12px; text-align: center; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); }
.ll-footer p { margin: 0; }
.ll-footer a { color: var(--muted); }

/* ───────── ban page ───────── */
.ban-page { max-width: 600px; margin: 0 auto; padding: 24px; text-align: center; }
.ban-page h1 { font-size: 36px; font-weight: 300; line-height: 1.15; color: var(--red); }
.ban-lead { font-size: 22px; font-weight: 300; margin: 8px 0 14px; }
.ban-image { display: block; width: 100%; max-height: 320px; object-fit: contain; margin: 0 auto 14px; border-radius: var(--radius); }
.ban-reason { padding: 12px; border-left: 4px solid var(--red); background: var(--hover); font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 8px; text-align: left; }
.ban-page form { text-align: left; margin-top: 16px; box-shadow: none; padding: 0; }

/* ───────── icons (sprite sheets: 28px cells, column 0 = outline, column 1 = filled) ───────── */
.ico {
  --s: 20px; --r: 0; --c: 0;
  display: inline-block; width: var(--s); height: var(--s); flex: 0 0 auto; vertical-align: -4px;
  background: url("/07634917e5efe992df87953ee1d991b0-games_dark.svg") no-repeat;
  background-size: calc(var(--s) * 2) auto;
  background-position: calc(var(--c) * var(--s) * -1) calc(var(--r) * var(--s) * -1);
  filter: brightness(0) opacity(.8);             /* sheets are light-gray; make them dark on white cards */
}
.ico.on { --c: 1; }
.ico.white, .btn-red .ico, .btn.on .ico, .ll-upload-btn .ico, .ll-nav-tab .ico { filter: brightness(0) invert(1); }
.ico-inventory { --r: 0; } .ico-games { --r: 1; } .ico-cart { --r: 2; }
.ico-like { --r: 3; } .ico-dislike { --r: 4; } .ico-play { --r: 5; }
.ico-music { --r: 17; } .ico-share { --r: 29; } .ico-profile { --r: 31; }
.ico-b { background-image: url("/b54ea757c3a91fab9ccba5998821c4ed-branded_dark_11062018.svg"); }
.ico-points { --r: 0; } .ico-trophy { --r: 2; } .ico-star { --r: 3; } .ico-feed { --r: 9; }
/* full-colour status badges (36px cells, single column) */
.status {
  --s: 16px; --r: 2; display: inline-block; width: var(--s); height: var(--s); flex: 0 0 auto; vertical-align: -3px;
  background: url("/0825a5ee0156a0c2a2becccd5d563a01-friendsstatus.svg") no-repeat;
  background-size: var(--s) auto; background-position: 0 calc(var(--r) * var(--s) * -1);
}
.status.live { --r: 0; } .status.busy { --r: 1; } .status.online { --r: 2; }
.ll-nav-tab .ico, .ll-upload-btn .ico, .ll-quick-btns .ico, .ll-side-box h3 .ico, .ll-section-title .ico { margin-right: 5px; }
.thumb .play-ico { position: absolute; inset: 0; margin: auto; --s: 34px; opacity: 0; transition: opacity .12s; filter: brightness(0) invert(1) drop-shadow(0 0 3px #000); }
a:hover > .thumb .play-ico { opacity: .95; }

/* ───────── small screens ───────── */
@media (max-width: 900px) {
  .ll-cols, .watch { flex-direction: column; align-items: stretch; }
  .ll-main-col, .watch-main, .ll-sidebar, .watch-side { width: 100%; flex: 1 1 auto; }
  .ll-search-form { margin-left: 0; width: 100%; }
  .ll-search-form input { flex: 1; width: auto; }
  .ll-logo { width: 160px; height: 56px; }
}

/* ───────── community guidelines ───────── */
.rules-box { padding: 10px 12px; border-left: 4px solid var(--red); background: #fff1f1; border-radius: 0 var(--radius) var(--radius) 0; font-weight: 400; font-size: 14px; }
.rules-box.big { font-size: 16px; margin-bottom: 6px; }
.rules-box b { color: var(--red); }
.agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: 14px; margin-top: 8px; cursor: pointer; }
.agree input { margin-top: 3px; flex: 0 0 auto; }
.page-text ul { margin: 4px 0 8px; padding-left: 20px; }
.page-text li { margin-bottom: 4px; }
.rules-list { margin: 4px 0 8px; padding-left: 22px; }
.rules-list li { margin-bottom: 8px; padding-left: 2px; }

/* ───────── settings ───────── */
.settings h3 { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; margin: 16px 0 4px; }
.settings h3:first-child { margin-top: 0; }
.setting { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.setting input[type=checkbox], .setting-icon { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 18px; }
.setting b { display: block; font-size: 15px; font-weight: 600; }
.setting small { display: block; color: var(--muted); font-size: 13px; }
.setting-preview { margin: 6px 0 2px 28px; padding: 6px 10px; background: var(--hover); border-radius: var(--radius); font-size: 14px; }
.volume-row { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.volume-row input { width: 220px; accent-color: var(--blue); }
.tag.mod { background: var(--green); color: #fff; }

/* ───────── mascot ───────── */
.ll-logo-link { display: flex; align-items: center; gap: 10px; }
.ll-mascot { height: 74px; width: auto; border-radius: 6px; box-shadow: var(--shadow); }
.oops img { display: block; width: 220px; max-width: 100%; margin: 0 auto 12px; border-radius: var(--radius); }
@media (max-width: 900px) { .ll-mascot { height: 56px; } }

/* ───────── tags ───────── */
.tag-link { background: #e5f5ff; color: var(--blue); }
a.tag-link:hover { background: var(--blue); color: #fff; text-decoration: none; }
.tag-soft { background: #f0f0f0; color: var(--muted); font-weight: 400; }
.tags-input { display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 2px 4px 2px 8px; background: #e5f5ff; color: var(--blue); }
.chip-x { border: 0; background: none; color: inherit; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 3px; }
.chip-x:hover { color: var(--red); }
.tag-suggest { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-size: 13px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px 10px; }
