/* ==== block-c49b8d6687 ==== */

 .tr-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  z-index: 10010;
  background: linear-gradient(135deg, var(--ink, #003087) 0%, #005EB5 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 48, 135, 0.15);
  padding: 10px 16px calc(10px + env(safe-area-inset-top, 0px));
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  pointer-events: none;
 }
 .tr-banner.is-visible {
  transform: translateY(0);
  pointer-events: auto;
 }
 body.tr-banner-active { padding-top: 56px; transition: padding-top 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
 @media (max-width: 600px) {
  body.tr-banner-active { padding-top: 62px; }
 }
 body.tr-banner-active .nav,
 body.tr-banner-active header.nav,
 body.tr-banner-active .header { top: 56px !important; }
 @media (max-width: 600px) {
  body.tr-banner-active .nav,
  body.tr-banner-active header.nav,
  body.tr-banner-active .header { top: 62px !important; }
 }
 
 .tr-banner-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cyan, #00A9CE);
  display: flex;
  align-items: center;
  justify-content: center;
 }
 .tr-banner-icon svg {
  width: 16px;
  height: 16px;
  color:#14181F;
 }
 .tr-banner-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
 }
 .tr-banner-greeting {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--cyan, #00A9CE);
  text-transform: uppercase;
  transition: opacity 0.5s ease;
  font-weight: 600;
  white-space: nowrap;
 }
 .tr-banner-greeting::after {
  content: '·';
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.3);
 }
 .tr-banner-title {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
 }
 .tr-banner-cta {
  flex-shrink: 0;
  background: var(--cyan, #00A9CE);
  color:#14181F;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
 }
 .tr-banner-cta:hover, .tr-banner-cta:focus-visible {
  background:#BCDFF4;
  transform: translateY(-1px);
 }
 .tr-banner-close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
 }
 .tr-banner-close:hover, .tr-banner-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
 }
 .tr-banner-close svg { width: 14px; height: 14px; }
 @media (max-width: 600px) {
  .tr-banner {
   padding: 9px 10px;
   gap: 9px;
  }
  .tr-banner-icon { width: 28px; height: 28px; flex-shrink: 0; }
  .tr-banner-icon svg { width: 14px; height: 14px; }
  .tr-banner-text { min-width: 0; }
  .tr-banner-title { font-size: 0.78rem; line-height: 1.3; }
  .tr-banner-greeting { font-size: 0.58rem; }
  .tr-banner-cta { font-size: 0.72rem; padding: 6px 10px; }
  .tr-banner-close { padding: 4px; }
 }
 @media (prefers-reduced-motion: reduce) {
  .tr-banner { transition: opacity 0.2s ease; }
  .tr-banner-greeting { transition: none; }
 }

/* Search modal styles */
.search-modal { position: fixed; inset: 0; z-index: 99000; display: flex; align-items: flex-start; justify-content: center; padding: 80px 16px 16px; }
.search-modal[hidden] { display: none; }
.search-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 14, 50, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: smFadeIn 0.18s ease-out; }
.search-modal-panel { position: relative; width: 100%; max-width: 640px; background:#ffffff; border-radius: 8px; box-shadow:var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 120px); animation: smSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1); }
.search-modal-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--hairline, #B8C8D8); }
.search-modal-icon { width: 22px; height: 22px; color:#14181F; flex-shrink: 0; }
#searchInput { flex: 1; border: none; outline: none; background: transparent; font-family: 'Manrope', system-ui, sans-serif; font-size: 1.04rem; color:#14181F; padding: 6px 0; }
#searchInput::placeholder { color:#14181F; opacity: 0.65; }
.search-modal-kbd, .search-modal-hint kbd { display: inline-block; padding: 2px 7px; background: var(--paper, #EDF2F8); border: 1px solid var(--hairline, #B8C8D8); border-bottom-width: 2px; border-radius: 8px; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 600; color:#14181F; line-height: 1.2; }
.search-modal-close { background: transparent; border: none; padding: 6px; border-radius: 8px; cursor: pointer; color:#14181F; display: flex; align-items: center; justify-content: center; }
.search-modal-close:hover { background: var(--paper, #EDF2F8); color:#14181F; }
.search-modal-status { padding: 16px 22px; color:#14181F; font-size: 0.86rem; font-family: 'JetBrains Mono', monospace; }
.search-modal-status[hidden] { display: none; }
.search-modal-results { flex: 1; overflow-y: auto; padding: 6px; }
.search-modal-result { display: block; padding: 12px 16px; border-radius: 8px; text-decoration: none; color: inherit; cursor: pointer; transition: background-color 0.12s; }
.search-modal-result:hover, .search-modal-result.is-active { background: var(--lavender-tint, #E6EFFA); }
.search-modal-result-cat { display: inline-block; padding: 2px 8px; background: var(--paper, #EDF2F8); border-radius: 8px; font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color:#14181F; font-weight: 600; margin-bottom: 4px; }
.search-modal-result-title { display: block; font-family: 'Fraunces', serif; font-size: 1.02rem; color:#14181F; font-weight: 500; margin-bottom: 2px; }
.search-modal-result-desc { display: block; font-size: 0.84rem; color:#14181F; line-height: 1.4; }
.search-modal-result mark { background: var(--accent-cyan, #00A9CE); color:#14181F; padding: 0 2px; border-radius: 8px; font-weight: 700; }
.search-modal-footer { display: flex; gap: 18px; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--hairline, #B8C8D8); background: var(--paper, #EDF2F8); }
.search-modal-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; color:#14181F; font-family: 'Manrope', sans-serif; }
@keyframes smFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes smSlideIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 540px) {
 .search-modal { padding: 16px; padding-top: 16px; }
 .search-modal-panel { max-height: calc(100vh - 32px); }
 .search-modal-footer { display: none; }
}
