@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
/* History page — early-2000s Korean corporate archive aesthetic. */
body.bass-theme.theme-history main {
  max-width: 480px;
  padding: 6px;
}

.history-page {
  overflow: hidden;
  background: #222226;
  color: #efeff1;
  font-family: "Pretendard", -apple-system, "Malgun Gothic", sans-serif;
}

.history-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #18181c;
}

.history-tab {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 55px;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid #3f3f48;
  border-radius: 3px;
  background: linear-gradient(180deg, #2b2b31, #232328);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055);
  color: #888895;
  cursor: pointer;
  text-align: left;
}

.history-tab::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #8e8e96, #ff3b30);
  box-shadow: 0 0 9px rgba(142, 142, 150, 0.55);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .16s ease, transform .16s ease;
}

.history-tab:hover { border-color: #575762; color: #c9c9d0; }
.history-tab:focus-visible { outline: 2px solid #8e8e96; outline-offset: 1px; }
.history-tab.is-active {
  border-color: rgba(142, 142, 150, 0.58);
  background:
    radial-gradient(circle at 0 0, rgba(142, 142, 150, 0.13), transparent 58%),
    linear-gradient(180deg, #313137, #252529);
  color: #efeff1;
}
.history-tab.is-active::after { opacity: 1; transform: scaleX(1); }

.history-tab > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.history-tab strong {
  overflow: hidden;
  color: inherit !important;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-tab small {
  margin-top: 3px;
  color: #737381;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
}
.history-tab.is-active small { color: #8e8e96; }

.history-tab-number {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid #45454e;
  background: #1c1c20;
  color: #757584;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 700;
}
.history-tab.is-active .history-tab-number {
  border-color: #8e8e96;
  background: #8e8e96;
  color: #efeff1;
  box-shadow: 0 0 9px rgba(142, 142, 150, 0.18);
}

.history-records { padding: 10px 6px 12px; }
#history-panel-timeline { padding-bottom: 64px; }

.history-compose {
  position: fixed;
  right: 0;
  bottom: calc(48px + env(safe-area-inset-bottom));
  left: 0;
  z-index: 150;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 8px;
  border-top: 1px solid #43434c;
  background: #1e1e22;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.22);
}

.history-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.history-section-heading > span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  background: #8e8e96;
  color: #efeff1;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 11px;
}

.history-section-heading div { display: flex; align-items: baseline; gap: 7px; }
.history-section-heading small { color: #80808e; font-size: 8px; letter-spacing: .07em; }
.history-section-heading strong { color: #efeff1 !important; font-size: 14px; }

.history-form {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 48px;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.bass-theme.theme-history .history-form input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #4b4b55 !important;
  border-radius: 4px !important;
  outline: 0;
  background: #17171a !important;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.38) !important;
  color: #efeff1 !important;
  color-scheme: dark;
  font-size: 16px;
}
body.bass-theme.theme-history .history-form input[type="date"] { font-size: 12px; }

body.bass-theme.theme-history .history-form input:focus {
  border-color: #8e8e96 !important;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.38), 0 0 0 1px #8e8e96 !important;
}

body.bass-theme.theme-history .history-form input::placeholder { color: #6e6e7d; }

body.bass-theme.theme-history .history-form button {
  min-width: 48px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #8e8e96 !important;
  border-radius: 4px !important;
  background: #8e8e96 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2) !important;
  color: #efeff1 !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.history-form button:focus-visible { outline: 2px solid #ff3b30; outline-offset: 2px; }

.history-table-head,
.history-item {
  display: grid;
  grid-template-columns: 70px 44px minmax(0, 1fr);
}

.history-table-head {
  min-height: 25px;
  align-items: center;
  border: 0;
  background: #36363c;
  color: #efeff1;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .07em;
}

.history-table-head span { padding: 0 5px; }
.history-table-head span + span { border-left: 0; }

.history-timeline {
  border: 0;
  background: #25252a;
}

.history-item {
  min-width: 0;
  min-height: 34px;
  margin: 0;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #29292e;
  cursor: pointer;
  text-align: left;
}

.history-item:nth-child(even) { background: #25252a; }
.history-item:hover { background: #323238; }
.history-item:focus-visible { outline: 2px solid #ff3b30; outline-offset: -2px; }

.history-item time {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 2px;
  border-right: 0;
  background: rgba(0, 0, 0, 0.12);
  color: #9898a4;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.history-category {
  display: inline-flex;
  width: 38px;
  height: 17px;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px;
  background: #34343b;
  color: #c4c4cb;
  box-sizing: border-box;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.history-category.is-catch { border-color: rgba(95, 175, 122, 0.3); background: rgba(95, 175, 122, 0.14); color: #5faf7a; }
.history-category.is-miss { border-color: rgba(255, 59, 48, 0.3); background: rgba(255, 59, 48, 0.14); color: #ffb1ac; }
.history-category.is-manual { border-color: rgba(142, 142, 150, 0.34); background: rgba(142, 142, 150, 0.14); color: #8e8e96; }

.history-entry {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 5px 4px;
  border-left: 0;
}

.history-user {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 32px;
  max-width: 60px;
  height: 18px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 0;
  border-radius: 3px;
  background: #34343b;
  color: #efeff1 !important;
  box-sizing: border-box;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-message,
.history-text {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: #efeff1 !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item[aria-expanded="true"] .history-entry { flex-wrap: wrap; }
.history-item[aria-expanded="true"] .history-message,
.history-item[aria-expanded="true"] .history-text { white-space: pre-wrap; }

.history-size {
  display: inline-flex;
  flex: 0 0 auto;
  height: 17px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 59, 48, 0.11);
  color: #ff3b30;
  box-sizing: border-box;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.history-empty {
  padding: 30px 12px;
  border: 1px solid #45454e;
  background: #25252a;
  color: #8d8d9a;
  font-size: 11px;
  text-align: center;
}

.history-document-footer {
  display: flex;
  min-height: 29px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #2b2b30;
  color: #757584;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 7px;
  letter-spacing: .08em;
}

/* Sun-faded notice pinned to the wall of an old restaurant. */
.bass-benefits {
  padding: 25px 14px 31px;
  background:
    linear-gradient(90deg, rgba(62, 27, 28, 0.2), transparent 13%, transparent 87%, rgba(62, 27, 28, 0.22)),
    repeating-linear-gradient(0deg, transparent 0 73px, rgba(62, 27, 28, 0.16) 73px 74px),
    repeating-linear-gradient(90deg, transparent 0 93px, rgba(62, 27, 28, 0.11) 93px 94px),
    radial-gradient(circle at 19% 12%, rgba(255, 59, 48, 0.11), transparent 29%),
    #55555f;
  box-shadow: inset 0 13px 28px rgba(62, 27, 28, 0.38);
}

.benefits-notice {
  position: relative;
  isolation: isolate;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 7px;
  border: 5px double #44444c;
  outline: 1px solid rgba(28, 28, 32, 0.52);
  outline-offset: 2px;
  background: #ff3b30;
  box-shadow:
    3px 5px 0 rgba(62, 27, 28, 0.27),
    0 18px 28px rgba(62, 27, 28, 0.52),
    inset 0 0 0 1px rgba(255, 177, 172, 0.5);
  transform: rotate(-.22deg);
}
.benefits-notice::before,
.benefits-notice::after {
  position: absolute;
  z-index: 3;
  top: 12px;
  width: 10px;
  height: 10px;
  border: 1px solid #481d1c;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff3b30 0 16%, #ff3b30 43%, #3e1b1c 100%);
  box-shadow: 0 1px 2px rgba(62, 27, 28, 0.62);
  content: "";
}
.benefits-notice::before { left: 12px; }
.benefits-notice::after { right: 12px; }

.benefits-photo {
  position: relative;
  height: 148px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #44444c;
  border-bottom: 0;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(255, 177, 172, 0.58), transparent 62%),
    repeating-linear-gradient(0deg, rgba(72, 29, 28, 0.025) 0 1px, transparent 1px 4px),
    #ff3b30;
}
.benefits-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(62, 27, 28, 0.1), transparent 45%, rgba(62, 27, 28, 0.18)),
    repeating-linear-gradient(90deg, rgba(62, 27, 28, 0.035) 0 1px, transparent 1px 3px);
  content: "";
  pointer-events: none;
}
.benefits-photo img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 18px 15px 26px;
  object-fit: contain;
  filter: grayscale(.3) sepia(.82) saturate(.58) contrast(1.24) brightness(.7);
  mix-blend-mode: multiply;
}
.benefits-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 9px;
  bottom: 6px;
  color: #481d1c;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .09em;
}

.benefits-paper {
  padding: 15px 18px 16px;
  border: 1px solid #44444c;
  border-top: 0;
  background-color: #ff3b30;
  background-image:
    radial-gradient(circle at 5% 16%, rgba(62, 27, 28, 0.15), transparent 23%),
    radial-gradient(circle at 94% 71%, rgba(62, 27, 28, 0.13), transparent 29%),
    radial-gradient(circle at 52% 106%, rgba(62, 27, 28, 0.1), transparent 32%),
    repeating-linear-gradient(0deg, rgba(62, 27, 28, 0.035) 0 1px, transparent 1px 4px);
  color: #212125;
  box-shadow:
    inset 0 0 30px rgba(62, 27, 28, 0.22),
    inset 0 1px rgba(255, 177, 172, 0.54);
}

.benefits-notice-heading {
  position: relative;
  margin: 0 0 13px;
  padding-bottom: 8px;
  border-bottom: 3px double rgba(61, 61, 68, 0.62);
  text-align: center;
}
.benefits-notice-heading small {
  display: block;
  margin-bottom: 3px;
  color: #ff3b30;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .18em;
}
.theme-history .benefits-notice-heading h1 {
  margin: 0;
  color: #481d1c !important;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.25;
  text-shadow: 0 1px rgba(255, 177, 172, 0.7);
}
.benefits-notice-heading > span {
  position: absolute;
  right: 3px;
  bottom: -6px;
  padding: 0 5px;
  background: #ff3b30;
  color: #ff3b30;
  font-size: 7px;
}

.benefits-list {
  counter-reset: benefits-item;
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefits-list li {
  position: relative;
  counter-increment: benefits-item;
  min-height: 20px;
  padding: 0 0 9px 23px;
}
.benefits-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #481d1c;
  content: counter(benefits-item) ".";
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}
.benefits-list p {
  margin: 0;
  color: #481d1c;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 10px;
  letter-spacing: -.012em;
  line-height: 1.58;
  word-break: keep-all;
}
.benefits-list strong {
  color: #ff3b30 !important;
  font-weight: 800;
}

.benefits-dose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 1px;
  padding: 8px 8px 7px;
  border: 1px solid rgba(59, 59, 67, 0.53);
  color: #323239;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 9px;
}
.benefits-dose > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.benefits-dose strong {
  flex: 0 0 auto;
  color: #481d1c !important;
  font-size: 9px;
}
.benefits-dose span { line-height: 1.35; }
.benefits-seal {
  display: flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 59, 48, 0.7);
  border-radius: 50%;
  color: rgba(255, 59, 48, 0.78);
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-9deg);
}
@media (max-width: 360px) {
  .benefits-photo { height: 130px; }
  .benefits-paper { padding-right: 13px; padding-left: 13px; }
  .theme-history .benefits-notice-heading h1 { font-size: 24px; }
  .benefits-list p { font-size: 9px; }
}

/* Fishing conditions journal. */
.fishing-log-panel { background: #1e1e22; }

body.bass-theme.theme-history {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

body.bass-theme.theme-history main { margin-block: auto; }

@media (min-width: 768px) {
  body.bass-theme.theme-history main {
    width: min(100% - 48px, 1080px);
    max-width: 1080px;
    margin: auto;
    padding: 0;
  }

  body.bass-theme.theme-history .fishing-log-add-button { bottom: 12px; }
}

.fishing-log-add-button {
  position: fixed;
  right: max(14px, calc((100vw - 480px) / 2 + 14px));
  bottom: calc(64px + env(safe-area-inset-bottom));
  z-index: 150;
  display: inline-flex;
  height: 42px;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  border: 1px solid rgba(255, 59, 48, 0.72);
  border-radius: 999px;
  background: linear-gradient(180deg, #8e8e96, #ff3b30);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 7px 18px rgba(0, 0, 0, 0.38);
  color: #efeff1;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.fishing-log-add-button span { font-size: 17px; font-weight: 400; line-height: 1; }
.fishing-log-add-button:hover { filter: brightness(1.08); }
.fishing-log-add-button:focus-visible { outline: 2px solid #ff3b30; outline-offset: 2px; }

.fishing-log-records { padding: 14px 10px 18px; }
.fishing-log-records-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 10px;
}
.fishing-log-records-heading strong { color: #efeff1; font-size: 12px; }
.fishing-log-records-heading span {
  padding: 3px 6px;
  border-radius: 10px;
  background: rgba(142, 142, 150, 0.12);
  color: #8e8e96;
  font-size: 8px;
  font-weight: 800;
}

.fishing-log-form { display: flex; flex-direction: column; gap: 10px; }
.fishing-log-form-grid,
.fishing-log-auto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.fishing-log-auto-grid[hidden] { display: none; }
.fishing-log-auto-grid {
  padding: 10px;
  border: 1px solid rgba(255, 59, 48, 0.13);
  background: #1a1a1e;
}
.fishing-log-field {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  color: #a8a8b1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
}
.fishing-log-field.is-wide { grid-column: 1 / -1; }
.fishing-log-field > span { padding-left: 1px; }
.fishing-log-field > span small {
  margin-left: 3px;
  color: #ff3b30;
  font-size: 7px;
  letter-spacing: .08em;
}
body.bass-theme.theme-history .fishing-log-field input,
body.bass-theme.theme-history .fishing-log-field select,
body.bass-theme.theme-history .fishing-log-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #474751 !important;
  border-radius: 3px !important;
  outline: 0;
  background: #17171a !important;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.35) !important;
  color: #efeff1 !important;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 11px;
}
body.bass-theme.theme-history .fishing-log-field input,
body.bass-theme.theme-history .fishing-log-field select {
  height: 37px;
  padding: 0 9px;
  color-scheme: dark;
}
body.bass-theme.theme-history .fishing-log-field textarea {
  min-height: 92px;
  padding: 9px;
  line-height: 1.55;
  resize: vertical;
}
body.bass-theme.theme-history .fishing-log-field input:focus,
body.bass-theme.theme-history .fishing-log-field select:focus,
body.bass-theme.theme-history .fishing-log-field textarea:focus {
  border-color: #ff3b30 !important;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.35), 0 0 0 1px #ff3b30 !important;
}
body.bass-theme.theme-history .fishing-log-field input[readonly] {
  border-color: #37373d !important;
  background: #222226 !important;
  color: #bebec5 !important;
  cursor: default;
}
body.bass-theme.theme-history .fishing-log-field input::placeholder,
body.bass-theme.theme-history .fishing-log-field textarea::placeholder { color: #676775; }

.fishing-log-reservoir-field { z-index: 3; }
.fishing-log-search-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 3px);
  right: 0;
  left: 0;
  max-height: 230px;
  overflow-y: auto;
  border: 1px solid #5b5b67;
  border-radius: 3px;
  background: #26262b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
}
.fishing-log-search-results[hidden] { display: none; }
.fishing-log-search-results button {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: #efeff1;
  cursor: pointer;
  text-align: left;
}
.fishing-log-search-results button:last-child { border-bottom: 0; }
.fishing-log-search-results button:hover,
.fishing-log-search-results button:focus-visible { outline: 0; background: #36363c; }
.fishing-log-search-results strong { display: block; color: #ffb1ac !important; font-size: 11px; }
.fishing-log-search-results small { display: block; margin-top: 3px; color: #8e8e9b; font-size: 8px; }
.fishing-log-search-empty { padding: 13px 10px; color: #8a8a97; font-size: 9px; text-align: center; }

.fishing-log-condition-status {
  min-height: 16px;
  margin: -1px 1px 0;
  color: #8a8a97;
  font-size: 9px;
  line-height: 1.5;
}
.fishing-log-condition-status.is-loading { color: #ff3b30; }
.fishing-log-condition-status.is-ready { color: #5faf7a; }
.fishing-log-condition-status.is-warning { color: #ff3b30; }
.fishing-log-submit {
  height: 40px;
  border: 1px solid #ff3b30 !important;
  border-radius: 3px !important;
  background: linear-gradient(180deg, #8e8e96, #ff3b30) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 5px 13px rgba(0, 0, 0, 0.2) !important;
  color: #efeff1 !important;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.fishing-log-submit:disabled { opacity: .55; cursor: wait; }

.fishing-log-table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: #232328;
  scrollbar-color: #585863 #25252a;
  scrollbar-width: thin;
}
.fishing-log-table-scroll:focus-visible { outline: 2px solid #ff3b30; outline-offset: 2px; }
.fishing-log-table { min-width: 0; }
.fishing-log-table-heading,
.fishing-log-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 46px 50px 64px;
  align-items: center;
}
.fishing-log-table-heading {
  min-height: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #797988;
  background: #1e1e21;
  font-size: 8px;
  font-weight: 800;
}
.fishing-log-table-heading span,
.fishing-log-card > * { min-width: 0; padding: 7px 8px; }
.fishing-log-table-heading span { text-align: center; }
.fishing-log-table-heading span + span,
.fishing-log-card > * + * { border-left: 1px solid rgba(255, 255, 255, 0.065); }
.fishing-log-list { display: flex; flex-direction: column; }
.fishing-log-card {
  position: relative;
  min-height: 34px;
  color: #ceced4;
  background: #2a2a2f;
  font-size: 9px;
  cursor: pointer;
  transition: background .16s ease;
}
.fishing-log-card + .fishing-log-card { border-top: 1px solid rgba(255, 255, 255, 0.075); }
.fishing-log-card:nth-child(even) { background: #25252a; }
.fishing-log-card:hover { background: #323238; }
.fishing-log-card:focus-visible { z-index: 1; outline: 2px solid #ff3b30; outline-offset: -2px; }
.fishing-log-card > * {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fishing-log-card > *:not(.fishing-log-card-location):not(.fishing-log-card-detail-data) {
  text-align: center;
}
.fishing-log-card-date {
  color: #ff3b30;
  font-family: "Pretendard", -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 700;
}
.fishing-log-card-user { color: #c5d1dc; font-weight: 700; }
.fishing-log-card-region { color: #9494a1; }
.fishing-log-card-location {
  color: #efeff1;
  font-size: 10px;
  font-weight: 800;
}
.fishing-log-card-location b { color: #5b5b66; font-weight: 400; }
.fishing-log-card > .fishing-log-card-weather-brief,
.fishing-log-card > .fishing-log-card-water-brief {
  justify-self: center;
  max-width: calc(100% - 4px);
  padding: 3px 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #d7d7db;
  font-size: 8px;
  line-height: 1.2;
}
.fishing-log-card > .fishing-log-card-water-brief {
  border-color: rgba(142, 142, 150, 0.2);
  background: rgba(142, 142, 150, 0.1);
  color: #8e8e96;
  font-weight: 700;
}
.fishing-log-card-detail-data[hidden] { display: none; }

.fishing-log-empty {
  display: flex;
  min-height: 205px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  border: 1px dashed #43434c;
  border-radius: 5px;
  background: #232327;
  text-align: center;
}
.fishing-log-empty > span { font-size: 30px; filter: grayscale(.25); }
.fishing-log-empty strong { margin-top: 9px; color: #e5e5e8; font-size: 12px; }
.fishing-log-empty p { margin: 5px 0 13px; color: #858592; font-size: 9px; }
.fishing-log-empty button {
  height: 33px;
  padding: 0 11px;
  border: 1px solid #ff3b30;
  border-radius: 3px;
  background: #481d1c;
  color: #ffb1ac;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
body.fishing-log-modal-open { overflow: hidden; }
.fishing-log-modal {
  position: fixed;
  z-index: 520;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.fishing-log-modal[hidden] { display: none; }
.fishing-log-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.79);
  backdrop-filter: blur(5px);
}
.fishing-log-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 460px);
  max-height: min(88vh, 720px);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #4e4e59;
  border-radius: 8px;
  outline: 0;
  background: #222227;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}
.fishing-log-modal-header {
  display: flex;
  min-height: 57px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #1b1b1e;
}
.fishing-log-modal-header > div { display: flex; flex-direction: column; gap: 2px; }
.fishing-log-modal-header small { color: #ff3b30; font-size: 7px; font-weight: 900; letter-spacing: .11em; }
.fishing-log-modal-header strong { color: #efeff1 !important; font-size: 14px; }
.fishing-log-modal-header button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #46464e;
  border-radius: 50%;
  background: #25252a;
  color: #b8b8c0;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.fishing-log-modal-header button:hover { border-color: #6b6b78; color: #efeff1; }
.fishing-log-modal-header button:focus-visible { outline: 2px solid #ff3b30; outline-offset: 1px; }
.fishing-log-modal-body { min-height: 0; padding: 14px; overflow-y: auto; overscroll-behavior: contain; }
.fishing-log-form-intro {
  margin: 0 0 12px;
  padding: 9px 10px;
  border-left: 2px solid #ff3b30;
  background: rgba(255, 59, 48, 0.06);
  color: #9c9ca7;
  font-size: 9px;
  line-height: 1.55;
}

.fishing-log-view-meta { display: flex; align-items: center; justify-content: space-between; }
.fishing-log-view-meta time { color: #ff3b30; font-family: "Pretendard", -apple-system, sans-serif; font-size: 11px; font-weight: 800; }
.fishing-log-view-meta span { padding: 3px 7px; border-radius: 10px; background: rgba(142, 142, 150, 0.12); color: #c5d1dc; font-size: 8px; font-weight: 800; }
.fishing-log-view-region { display: block; margin-top: 16px; color: #828290; font-size: 9px; }
.fishing-log-view-location-row { display: flex; align-items: center; gap: 10px; margin: 5px 0 13px; }
.fishing-log-view-dialog h2 { display: flex; min-width: 0; flex: 1 1 auto; gap: 5px; margin: 0; overflow: hidden; color: #efeff1; font-size: 18px; line-height: 1.35; white-space: nowrap; }
.fishing-log-view-dialog h2 span { overflow: hidden; text-overflow: ellipsis; }
.fishing-log-view-dialog h2 span:first-child { flex: 0 1 auto; }
.fishing-log-view-dialog h2 span:last-child { flex: 1 1 auto; }
.fishing-log-view-dialog h2 b { color: #5b5b66; font-weight: 400; }
.fishing-log-view-conditions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.fishing-log-view-conditions > span {
  display: inline-flex;
  max-width: 62px;
  min-width: 0;
  align-items: center;
  padding: 3px 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}
.fishing-log-view-conditions > .is-water { border-color: rgba(142, 142, 150, 0.2); background: rgba(142, 142, 150, 0.1); }
.fishing-log-view-conditions strong { overflow: hidden; color: #d0d0d5; font-size: 9px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.fishing-log-view-conditions > .is-water strong { color: #8e8e96; }
.fishing-log-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fishing-log-view-features { padding: 15px; border: 1px solid rgba(255, 59, 48, 0.24); background: #29292f; }
.fishing-log-view-features > small { color: #ff3b30; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.fishing-log-view-features h3 { margin: 4px 0 9px; color: #efeff1; font-size: 14px; }
.fishing-log-view-features p { min-height: 42px; margin: 0; color: #e2e2e6; font-size: 13px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.fishing-log-view-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.fishing-log-view-actions button {
  min-width: 82px;
  height: 38px;
  border: 1px solid #ff3b30;
  border-radius: 4px;
  background: linear-gradient(180deg, #8e8e96, #ff3b30);
  color: #efeff1;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.fishing-log-view-actions button:hover { filter: brightness(1.08); }
.fishing-log-view-actions button:focus-visible { outline: 2px solid #ff3b30; outline-offset: 2px; }
.fishing-log-view-actions button.is-danger { border-color: #ff3b30; background: linear-gradient(180deg, #ff3b30, #ff3b30); }
.fishing-log-view-actions button:disabled { cursor: wait; opacity: .55; }
#confirm-overlay, #toast-box { z-index: 700 !important; }

@media (max-width: 600px) {
  .fishing-log-table-heading,
  .fishing-log-card { grid-template-columns: 64px minmax(0, 1fr) 44px 50px 56px; }
  .fishing-log-modal { align-items: center; padding: 12px; }
  .fishing-log-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-radius: 8px;
  }
  .fishing-log-modal-body { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

@media (max-width: 430px) {
  .fishing-log-add-button { right: 12px; }
}

@media (max-width: 380px) {
  body.bass-theme.theme-history main { padding: 4px; }
  .history-tabs { padding: 5px; }
  .history-tab { gap: 6px; padding-right: 6px; padding-left: 6px; }
  .history-tab-number { width: 23px; height: 23px; flex-basis: 23px; }
  .history-tab strong { font-size: 12px; }
  .history-records { padding-right: 4px; padding-left: 4px; }
  .benefits-hero { padding-right: 14px; padding-left: 14px; }
  .benefits-report, .benefits-prescription { padding-right: 6px; padding-left: 6px; }
  .benefit-grid { gap: 5px; }
  .benefit-card { padding-right: 9px; padding-left: 9px; }
  .benefit-card p { font-size: 9px; }
  .benefit-card small { font-size: 7px; }
  .prescription-card { gap: 9px; padding: 10px; }
  .prescription-stamp { width: 48px; height: 48px; flex-basis: 48px; }
  .fishing-log-records { padding-right: 6px; padding-left: 6px; }
  .fishing-log-auto-grid { padding: 7px; }
  .fishing-log-condition-grid { grid-template-columns: 1fr; }
  .fishing-log-condition-grid div + div { border-top: 1px solid rgba(255, 255, 255, 0.075); border-left: 0; }
  .fishing-log-modal-body { padding: 12px 9px max(16px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .benefits-kicker > span { animation: none; }
  .history-tab::after { transition: none; }
}

@media (max-width: 767px) {
  body.bass-theme.theme-history main { margin-block: 0; }
}

/* ── Ultron finish: black canvas, graphite rows, one red signal ── */
body.bass-theme.theme-history { background: #0b0b0d; }
.history-page { background: transparent; color: #ededef; font-family: "Pretendard", -apple-system, "Malgun Gothic", sans-serif; }
.field-log-heading { padding: 22px 16px 14px; background: none; border: 0; }
.field-log-heading small { display: block; color: #ff3b30; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.field-log-heading h1 { margin: 6px 0 0; color: #ededef; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.fishing-log-records-heading { padding: 0 16px 10px; }
.fishing-log-table-scroll { margin: 0 12px; border: 1px solid #2a2a31; border-radius: 14px; background: #141417; overflow: hidden; }
.fishing-log-table-heading { background: #1c1c21; color: #8e8e96; border-bottom: 1px solid #2a2a31; }
.fishing-log-card { background: #141417; }
.fishing-log-card:nth-child(even) { background: #111114; }
.fishing-log-card + .fishing-log-card { border-top: 1px solid #23232a; }
.fishing-log-card > * + * { border-left-color: #23232a; }
.fishing-log-card-date { color: #ff3b30; }
.fishing-log-card > .fishing-log-card-weather-brief, .fishing-log-card > .fishing-log-card-water-brief { border: 1px solid #2a2a31; background: #1c1c21; color: #c9c9cf; }
.fishing-log-add-button { height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #e0261c; color: #fff; font-size: 13px; box-shadow: 0 8px 24px rgba(255, 59, 48, .35); }
.fishing-log-modal-dialog { border: 1px solid #2a2a31; border-radius: 18px; background: #141417; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.fishing-log-auto-grid { border: 1px solid #2a2a31; border-radius: 12px; background: #101013; }
.fishing-log-field input, .fishing-log-field select, .fishing-log-field textarea { border: 1px solid #2a2a31 !important; border-radius: 10px !important; background: #1c1c21 !important; color: #ededef !important; }
.fishing-log-field input:focus, .fishing-log-field select:focus, .fishing-log-field textarea:focus { border-color: #ff3b30 !important; box-shadow: 0 0 0 3px rgba(255, 59, 48, .18) !important; outline: none; }
.fishing-log-submit { height: 46px; border: 0 !important; border-radius: 12px !important; background: #e0261c !important; box-shadow: 0 8px 22px rgba(255, 59, 48, .3) !important; color: #fff !important; font-size: 14px; }
.fishing-log-view-conditions > .is-water, .fishing-log-view-conditions > .is-weather { border-color: #2a2a31; background: #1c1c21; }
.fishing-log-view-conditions > .is-water strong, .fishing-log-view-conditions > .is-weather strong { color: #ededef; }
.history-tab-panel, .fishing-log-panel, .fishing-log-records { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.fishing-log-records-heading { color: #ededef; }
.fishing-log-records-heading span, .fishing-log-records-heading small, .fishing-log-records-heading em { border-color: #2a2a31; background: #1c1c21; color: #a0a0a8; }
.fishing-log-modal-header small { font-family: inherit; color: #ff3b30; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.fishing-log-modal-header h2, .fishing-log-modal-header h3 { font-weight: 800; letter-spacing: -.02em; }
#fishing-log-form-kicker { font-family: "Pretendard", -apple-system, sans-serif !important; color: #ff3b30; font-size: 10px; font-weight: 700; letter-spacing: .22em; }
#fishing-log-add-title { font-weight: 800; letter-spacing: -.02em; }
/* ── Ultron flat ── */
@media (max-width: 600px) {
  .history-page { padding: 0 !important; margin: 0 !important; border: 0 !important; }
  .field-log-heading { padding: 16px 12px 10px !important; }
  .fishing-log-records { padding: 0 0 80px !important; margin: 0 !important; }
  .fishing-log-records-heading { padding: 0 12px 8px !important; }
  .fishing-log-table-scroll { margin: 0 !important; border-left: 0 !important; border-right: 0 !important; border-radius: 0 !important; background: transparent !important; }
  .fishing-log-card, .fishing-log-card:nth-child(even) { background: transparent; }
}