/* ============================================================
   COLLECTION LOG — collection/css/collection.css
   Asset paths: ../../assets/
   ============================================================ */
:root {
  --bg-page:      #2a2118;
  --border-outer: #5a4a2a;
  --border-inner: #3a2e1a;
  --text-body:    #f0e8d8;
  --text-muted:   #f0e8d8;
  --rare-border:  #c8a020;
  --font-active:  'RuneScape Quill', serif;
}

@font-face {
  font-family: 'RuneScape Quill';
  src: url('../../assets/RuneScape-Quill-8.otf') format('opentype'),
       url('../../assets/RuneScape-Quill-8.ttf') format('truetype'),
       url('../../assets/RuneScape-Quill.otf')   format('opentype'),
       url('../../assets/RuneScape-Quill.ttf')   format('truetype');
  font-weight: normal; font-style: normal;
}
@font-face {
  font-family: 'RuneScape Plain';
  src: url('../../assets/RuneScape-Plain-12.otf') format('opentype'),
       url('../../assets/RuneScape-Plain-12.ttf') format('truetype'),
       url('../../assets/RuneScape-Plain.otf')    format('opentype'),
       url('../../assets/RuneScape-Plain.ttf')    format('truetype');
  font-weight: normal; font-style: normal;
}
@font-face {
  font-family: 'RuneScape Bold';
  src: url('../../assets/RuneScape-Bold-12.otf') format('opentype'),
       url('../../assets/RuneScape-Bold-12.ttf') format('truetype'),
       url('../../assets/RuneScape-Bold.otf')    format('opentype'),
       url('../../assets/RuneScape-Bold.ttf')    format('truetype');
  font-weight: normal; font-style: normal;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
input, button, select, textarea, a { font-family: inherit; }

* {
  text-shadow:
    -1px -1px 0 #000,  1px -1px 0 #000,
    -1px  1px 0 #000,  1px  1px 0 #000;
}

body {
  font-family: var(--font-active);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(ellipse at 20% 0%,   rgba(90,70,20,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(60,40,10,0.15) 0%, transparent 60%);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

.app { max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; }

/* ---- MAIN CONTENT LAYOUT — scrolls left, sidebar right ---- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  align-items: start;
}
.content-left  { min-width: 0; }
.content-right { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 780px) {
  .content-layout { grid-template-columns: 1fr; }
  .content-right  { position: static; }
}

/* ---- HEADER ---- */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-outer);
}
.header-logo  { display: flex; align-items: center; justify-content: center; grid-column: 2; }
.header-right { display: flex; align-items: center; gap: 10px; justify-content: flex-end; grid-column: 3; }
.header-logo-img {
  height: 32px;
  image-rendering: pixelated;
}

/* THD logo — centered, slightly bigger */
.thd-logo {
  height: 72px;
  width: auto;
  image-rendering: auto;
}
.header-title { font-size: 26px; letter-spacing: 0.02em; }

/* ---- FONT SWITCHER ---- */
.font-switcher { display: flex; gap: 4px; }
.font-btn {
  padding: 5px 11px;
  background: url('../../assets/button.jpg') repeat-x center / auto 100%;
  filter: brightness(0.65);
  border-top: 1px solid #7a6030; border-left: 1px solid #7a6030;
  border-bottom: 1px solid #2a1a08; border-right: 1px solid #2a1a08;
  border-radius: 0;
  color: var(--text-muted);
  font-size: 14px; cursor: pointer;
  transition: filter 0.12s; outline: none;
}
.font-btn:hover  { filter: brightness(0.9); }
.font-btn.active { filter: brightness(1.15); border-color: var(--border-outer); }

/* ---- BUTTONS ---- */
.rs-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 14px;
  background: url('../../assets/button.jpg') repeat-x center / auto 100%;
  filter: brightness(0.8);
  border-top: 1px solid #7a6030; border-left: 1px solid #7a6030;
  border-bottom: 1px solid #2a1a08; border-right: 1px solid #2a1a08;
  border-radius: 0;
  color: var(--text-body);
  font-size: 15px; cursor: pointer;
  text-decoration: none;
  transition: filter 0.12s; outline: none; white-space: nowrap;
  min-width: max-content;
}

/* Lock button: fixed width so open/closed lock never shifts neighbours */
#btn-lock {
  width: 110px;
}

/* Quill and Bold fonts render wider — tighten buttons so they fit */
body[data-font="quill"] .action-bar .rs-btn,
body[data-font="bold"]  .action-bar .rs-btn {
  padding: 6px 9px;
  font-size: 13px;
}
body[data-font="quill"] #btn-lock,
body[data-font="bold"]  #btn-lock {
  width: 124px;
}
.rs-btn:hover  { filter: brightness(1.2); }
.rs-btn:active { transform: translateY(1px); }
.nav-btn       { font-size: 15px; }
.rs-btn-danger { color: #e06060; }
.rs-btn-danger:hover { filter: brightness(1.15); }
.export-all-btn { color: var(--rare-border); }

/* ---- ACTION BAR ---- */
.action-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 8px; padding: 10px 14px; margin-bottom: 28px;
  background: url('../../assets/background.png') repeat center / auto;
  border: 1px solid var(--border-inner);
  border-top: 2px solid var(--border-outer);
}
.action-group { display: flex; align-items: center; gap: 8px; }
.bar-label    { font-size: 15px; margin-right: 4px; }

/* ================================================================
   TIER SECTION  — scroll PNG is the background of the whole block
   ================================================================ */
.tier-section {
  margin-bottom: 28px;
  /* The scroll stretches to contain title + all items */
  background:
    url('../../assets/collection/collection_scroll.png') no-repeat top center / 100% 100%;
  /* Min-height ensures scroll is never smaller than its natural size */
  min-height: 80px;
  /* Padding: top leaves room for nothing (title sits in the scroll),
     sides + bottom match the visual inset of the scroll border */
  padding: 16px 40px 24px;
}

/* ---- SCROLL TITLE ROW ---- */
.scroll-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* Parchment ink style — dark text on the light scroll, warm gold rim */
.scroll-tier-name {
  font-size: 22px;
  color: #2e1a00;
  text-shadow:
    -1px -1px 0 rgba(230,190,60,0.5),
     1px -1px 0 rgba(230,190,60,0.5),
    -1px  1px 0 rgba(230,190,60,0.5),
     1px  1px 0 rgba(230,190,60,0.5);
  letter-spacing: 0.04em;
}
.scroll-completion {
  font-size: 14px;
  color: #2e1a00;
  text-shadow:
    -1px -1px 0 rgba(230,190,60,0.5),
     1px -1px 0 rgba(230,190,60,0.5),
    -1px  1px 0 rgba(230,190,60,0.5),
     1px  1px 0 rgba(230,190,60,0.5);
}

/* ---- ITEMS GRID  — inside the scroll, no boxes ---- */
.items-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  /* No background, no border — items float on the parchment */
}

/* ---- ITEM — bare icon + label, NO box ---- */
.col-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 54px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
  /* Not obtained: dark + desaturated */
  filter: brightness(0.35) saturate(0.2);
  transition: filter 0.18s;
}
.col-item:hover {
  filter: brightness(0.55) saturate(0.4);
}

/* No account: extra dim, cursor blocked */
.col-item.no-account {
  filter: brightness(0.2) saturate(0);
  cursor: not-allowed !important;
}
.col-item.no-account:hover {
  filter: brightness(0.2) saturate(0);
}

/* Obtained: full color + slightly brighter + gold glow */
.col-item.obtained {
  filter:
    brightness(1.18)
    saturate(1.1)
    drop-shadow(0 0 3px #c8a020)
    drop-shadow(0 0 1px #e8c040);
}
.col-item.obtained:hover {
  filter:
    brightness(1.32)
    saturate(1.2)
    drop-shadow(0 0 5px #e8c040)
    drop-shadow(0 0 2px #c8a020);
}

.col-icon {
  width: 32px; height: 32px;
  image-rendering: pixelated;
  object-fit: contain;
  display: block;
}
.col-icon-placeholder {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  text-shadow: none;
  opacity: 0.4;
}
.col-name {
  font-size: 13px;
  color: #2e1a00;
  line-height: 1.15;
  word-break: break-word;
  /* Override global text-shadow for parchment ink look */
  text-shadow:
    -1px -1px 0 rgba(230,190,60,0.4),
     1px -1px 0 rgba(230,190,60,0.4),
    -1px  1px 0 rgba(230,190,60,0.4),
     1px  1px 0 rgba(230,190,60,0.4);
}

/* ---- INLINE MODAL ---- */
.clog-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 4, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.clog-modal-box {
  background: url('../../assets/background.png') repeat center / auto;
  border: 2px solid var(--border-outer);
  padding: 20px 24px;
  max-width: 320px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.clog-modal-title {
  font-size: 17px;
  color: #e8c040;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.clog-modal-msg {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.4;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.clog-modal-btns {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ---- FIRST-TIME SETUP OVERLAY ---- */
.first-time-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 22, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.first-time-box {
  background: url('../../assets/background.png') repeat center / auto;
  border: 2px solid var(--border-outer);
  padding: 28px 32px;
  max-width: 340px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.first-time-title {
  font-size: 20px;
  color: #e8c040;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.first-time-desc {
  font-size: 14px;
  color: var(--text-body);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  line-height: 1.4;
}

/* ---- PROFILE DROPDOWN ---- */
.profile-wrap {
  position: relative;
}
.profile-btn {
  min-width: 100px;
  color: #e8c040;
  border-color: #7a6010;
}
.profile-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1000;
  min-width: 180px;
  background: #2a1e08;
  border: 1px solid var(--border-outer);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.profile-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-inner);
  gap: 6px;
}
.profile-item:last-child { border-bottom: none; }
.profile-item.profile-active { background: rgba(232,192,64,0.1); }
.profile-item-name {
  flex: 1;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.profile-item.profile-active .profile-item-name { color: #e8c040; }
.profile-item-name:hover { color: #e8c040; }
.profile-item-actions { display: flex; gap: 4px; flex-shrink: 0; }
.profile-action-btn {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border-inner);
  color: var(--text-body); font-size: 11px; cursor: pointer;
  transition: border-color 0.1s, color 0.1s; outline: none;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.profile-action-btn:hover { border-color: var(--border-outer); color: #e8c040; }
.profile-delete-btn:hover { border-color: #882020; color: #e06060; }
.profile-add {
  padding: 7px 10px;
  font-size: 13px;
  color: #90e060;
  cursor: pointer;
  text-align: center;
  border-top: 1px solid var(--border-inner);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.profile-add:hover { background: rgba(144,224,96,0.08); }

/* ---- DISCORD AUTH ---- */
.rs-btn-discord {
  color: #7289da;
  border-color: #4a5a9a;
}
.rs-btn-discord:hover { filter: brightness(1.2); color: #99aaf0; }

.rs-btn-publish {
  color: #f0c040;
  border-color: #8a6010;
}
.rs-btn-publish:hover { filter: brightness(1.2); color: #ffd060; }

.discord-user-info {
  display: flex;
  align-items: center;
  gap: 6px;
}
.discord-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  image-rendering: auto;
  border: 1px solid var(--border-outer);
}
.discord-name {
  font-size: 13px;
  color: #7289da;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* ---- USERNAME INPUT ---- */
.username-input {
  width: 110px;
  padding: 6px 8px;
  background: #1a1208;
  border: 1px solid var(--border-inner);
  border-radius: 0;
  color: var(--text-body);
  font-family: var(--font-active);
  font-size: 14px;
  outline: none;
}
.username-input:focus { border-color: var(--border-outer); }
.username-input::placeholder { color: #7a6840; opacity: 1; }

/* ---- COMPACT COUNTER ---- */
.counter-compact {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.counter-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.counter-cell-lbl {
  font-size: 12px;
}
.counter-cell-lbl.easy-lbl   { color: #4caf50; }
.counter-cell-lbl.medium-lbl { color: #4a9fd4; }
.counter-cell-lbl.hard-lbl   { color: #e05050; }

/* ---- LOCK BUTTON ---- */
.lock-active {
  color: #e8c040 !important;
  border-color: #8a6010 !important;
  filter: brightness(1.1) !important;
}

/* ---- SHAKE ANIMATION (locked click) ---- */
@keyframes shake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-4px); }
  40%  { transform: translateX(4px); }
  60%  { transform: translateX(-3px); }
  80%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}
.shake { animation: shake 0.3s ease; }

/* ---- ACTIVITY FEED (sidebar) ---- */
.feed-section {
  background: url('../../assets/background.png') repeat center / auto;
  border: 1px solid var(--border-inner);
  border-top: 2px solid var(--border-outer);
}
.feed-header {
  padding: 8px 10px 7px;
  border-bottom: 1px solid var(--border-inner);
}
.feed-title {
  font-size: 14px;
  color: var(--text-body);
}
.activity-feed {
  max-height: 340px;
  overflow-y: auto;
  padding: 4px 0;
}
.activity-feed::-webkit-scrollbar { width: 4px; }
.activity-feed::-webkit-scrollbar-track { background: transparent; }
.activity-feed::-webkit-scrollbar-thumb { background: var(--border-outer); }

.feed-entry {
  display: grid;
  grid-template-columns: 18px 1fr;
  grid-template-rows: auto auto;
  column-gap: 6px;
  row-gap: 1px;
  padding: 5px 10px;
  border-bottom: 1px solid rgba(90,74,42,0.2);
  transition: background 0.1s;
}
.feed-entry:last-child { border-bottom: none; }
.feed-entry:hover { background: rgba(255,255,255,0.03); }

.feed-icon {
  width: 18px; height: 18px;
  image-rendering: pixelated;
  object-fit: contain;
  flex-shrink: 0;
  grid-row: 1 / 3;
  align-self: center;
}

/* ---- CLUE COUNTER ---- */
.counter-section {
  background: url('../../assets/background.png') repeat center / auto;
  border: 1px solid var(--border-inner);
  border-top: 2px solid var(--border-outer);
  padding: 8px;
}
.counter-title {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-inner);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.counter-compact {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.counter-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.counter-cell-lbl {
  font-size: 14px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.counter-cell-lbl.easy-lbl   { color: #4caf50; }
.counter-cell-lbl.medium-lbl { color: #4a9fd4; }
.counter-cell-lbl.hard-lbl   { color: #e05050; }
.counter-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  justify-content: center;
}
.counter-btn {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  background: url('../../assets/button.jpg') repeat-x center / auto 100%;
  filter: brightness(0.75);
  border-top: 1px solid #7a6030; border-left: 1px solid #7a6030;
  border-bottom: 1px solid #2a1a08; border-right: 1px solid #2a1a08;
  color: #f0e8d8;
  font-size: 12px; line-height: 1; cursor: pointer;
  transition: filter 0.1s; outline: none;
  flex-shrink: 0;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.counter-btn:hover  { filter: brightness(1.15); }
.counter-btn:active { transform: translateY(1px); }
.counter-val {
  display: inline-block;
  min-width: 24px;
  text-align: center;
  font-size: 14px;
  color: #f0e8d8;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  background: rgba(0,0,0,0.25);
  padding: 1px 3px;
}
.counter-reset-btn {
  width: 100%;
  margin-top: 6px;
  padding: 4px 0;
  background: url('../../assets/button.jpg') repeat-x center / auto 100%;
  filter: brightness(0.65);
  border-top: 1px solid #7a6030; border-left: 1px solid #7a6030;
  border-bottom: 1px solid #2a1a08; border-right: 1px solid #2a1a08;
  color: #e06060;
  font-size: 12px; cursor: pointer; font-family: inherit;
  transition: filter 0.1s; outline: none;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.counter-reset-btn:hover { filter: brightness(1.1); }

/* In view mode: hide +/- and reset, show numbers only */
.counter-readonly .counter-btn,
.counter-readonly .counter-reset-btn { display: none; }
.counter-readonly .counter-val {
  font-size: 18px;
  min-width: 36px;
  padding: 2px 6px;
}
.feed-name {
  flex: 1;
  font-size: 13px;
  color: var(--text-body);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.feed-tier {
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 0;
  flex-shrink: 0;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.feed-meta {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.feed-tier-easy   { background: #1a3a1a; color: #4caf50; border: 1px solid #2e6e30; }
.feed-tier-medium { background: #0e2030; color: #4a9fd4; border: 1px solid #1a4060; }
.feed-tier-hard   { background: #300e0e; color: #e05050; border: 1px solid #601010; }

.feed-date {
  font-size: 11px;
  color: var(--text-body);
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  opacity: 0.75;
}
.feed-empty {
  padding: 12px 10px;
  font-size: 13px;
  color: var(--text-body);
  font-style: italic;
  opacity: 0.5;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* ---- VIEW BANNER ---- */
.view-banner {
  background: url('../../assets/background.png') repeat center / auto;
  border-color: #4a7a30;
  border-top-color: #6aaa40;
  justify-content: space-between;
}
.view-label {
  font-size: 15px;
  color: #c0d8a0;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
/* The username inside the banner stands out in bright gold */
#view-banner-name {
  color: #f0c040;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  font-size: 16px;
}
.rs-btn-safe {
  color: #90e060;
  border-color: #3a6020;
}
.rs-btn-safe:hover { filter: brightness(1.2); color: #b0ff80; }

/* ---- USERNAME SAVED INDICATOR ---- */
.username-saved {
  font-size: 14px;
  color: #90e060;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.username-saved.empty {
  font-size: 14px;
  color: #c8b880;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* ---- SEED BAR ---- */
.seed-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 28px;
  background: url('../../assets/background.png') repeat center / auto;
  border: 1px solid var(--border-inner);
  border-top: 2px solid var(--border-outer);
}
.seed-input {
  flex: 1;
  padding: 7px 10px;
  background: #1a1208;
  border: 1px solid var(--border-inner);
  border-radius: 0;
  color: var(--text-body);
  font-family: var(--font-active);
  font-size: 13px;
  outline: none;
}
.seed-input:focus { border-color: var(--border-outer); }
.seed-input::placeholder { color: #7a6840; opacity: 1; }

/* ---- TOAST ---- */
.clog-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 22px;
  background: #2a1e08;
  border: 1px solid var(--border-outer);
  color: var(--text-body);
  font-family: var(--font-active);
  font-size: 15px;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.4s;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  white-space: nowrap;
}
.clog-toast-error { border-color: #882020; color: #ff8080; }

/* ---- FOOTER ---- */
.site-footer {
  margin-top: 28px; padding-top: 14px;
  border-top: 1px solid var(--border-outer);
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 15px;
}
.site-footer a { color: var(--text-body); text-decoration: none; transition: filter 0.12s; }
.site-footer a:hover { filter: brightness(1.4); text-decoration: underline; }
.footer-sep { text-shadow: none; }
