

.tc-notice {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 600;
  width: min(340px, calc(100% - 2rem));
  max-height: calc(100vh - 2.2rem); 
  overflow-y: auto;
  background: #2e1f48;
  border-radius:12.6px;
  border: 1px solid rgba(242, 242, 225, 0.2);
  box-shadow: 0 22px 42px -22px rgba(25, 16, 38, 0.65);
  padding:1.3rem 1.1rem 0.9rem;
  display: grid;
  gap:0.5rem;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tc-notice[hidden] { display: none; }

.tc-notice__tag {
  position: absolute;
  top: -0.65rem;
  left: 1.1rem;
  background: #bf7223;
  color: #f2f2e1;
  font-weight: 700;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding:0.32em 0.8em;
  border-radius:699.3px;
  border: 1px solid #2e1f48;
  white-space: nowrap;
}

.tc-notice__text {
  margin:0.3rem 0 0;
  font-size: 0.82rem;
  line-height: 1.48;
  color: #f2f2e1;
  opacity: 0.94;
}

.tc-notice__link-row { margin:0; }

.tc-notice__link {
  color: #e09c55;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tc-notice__link:hover { color: #f2f2e1; }
.tc-notice__link:focus-visible { outline: 2px solid #bf7223; outline-offset: 2px; }

.tc-notice__actions {
  display: flex;
  justify-content: flex-end;
  margin-top:0.2rem;
}

.tc-notice__dismiss {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  background: #f2f2e1;
  color: #2e1f48;
  border: none;
  border-radius:699.3px;
  padding:0.5em 1.25em;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.tc-notice__dismiss:hover { background: #bf7223; color: #f2f2e1; }
.tc-notice__dismiss:focus-visible { outline: 3px solid #bf7223; outline-offset: 2px; }

@media (max-width: 420px) {
  .tc-notice {
    left: 0.75rem;
    bottom: 0.75rem;
    width: calc(100% - 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-notice { transition: none; }
}
