/* TangoTR ortak frontend stilleri. Sıra: temel → düzeltmeler → ilişkiler → kısayol → son görünüm.
 * Aynı seçici/koşuldaki aynı değerler dışında özgüllük ve !important değiştirilmedi.
 * Yüklenme sırasını değiştirmeden ilgili bölümde düzenleyin. */

/* 1. public.css — önceki yükleme sırası korunur. */
:root {
  --wine: #64152f;
  --wine2: #8b2547;
  --ink: #251b20;
  --muted: #70646a;
  --paper: #fffdfb;
  --soft: #f5eeea;
  --line: #e8dcd7;
  --gold: #c99a55;
  --shadow: 0 12px 35px rgba(62,25,38,.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,select,input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: #fff;
  padding: .7rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,253,251,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1240px;
  margin: auto;
  min-height: 74px;
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  display: grid;
}

.brand strong {
  font-size: 1.15rem;
  color: var(--wine);
}

.brand small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.main-nav>a,.world-menu summary {
  padding: .62rem .72rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.main-nav>a:hover,.world-menu summary:hover {
  background: var(--soft);
  color: var(--wine);
}

.account-link {
  background: var(--wine)!important;
  color: #fff!important;
}

.world-menu {
  position: relative;
}

.world-panel {
  position: absolute;
  right: 0;
  top: calc(100% + .6rem);
  width: 260px;
  padding: .55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
}

.world-panel a {
  text-decoration: none;
  padding: .6rem .7rem;
  border-radius: 10px;
}

.world-panel a:hover {
  background: var(--soft);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--soft);
  padding: .6rem .8rem;
  border-radius: 10px;
}

main {
  min-height: 65vh;
}

.page-shell,.home-shell {
  max-width: 1240px;
  margin: auto;
  padding: 1.6rem 1rem 4rem;
}

.hero {
  border-radius: 26px;
  padding: clamp(1.5rem,4vw,3.5rem);
  background: linear-gradient(125deg,#4f1028,#8f294d);
  color: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.hero h1,.page-intro h1 {
  margin: .15rem 0 .45rem;
  font-family: Georgia,serif;
  font-size: clamp(2rem,5vw,4rem);
  line-height: 1.05;
}

.hero p {
  max-width: 720px;
  color: #f5dde6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--gold);
}

.page-intro {
  padding: 1rem 0 1.4rem;
}

.page-intro p {
  max-width: 760px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.2rem 0 1rem;
}

.section-heading h2 {
  font-family: Georgia,serif;
  font-size: clamp(1.55rem,3vw,2.25rem);
  margin: 0;
}

.section-heading p {
  margin: .2rem 0;
  color: var(--muted);
}

.filter-form,.search-form {
  display: flex;
  align-items: end;
  gap: .75rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(62,25,38,.05);
  margin-bottom: 1.5rem;
}

.filter-form label,.search-form label {
  display: grid;
  gap: .3rem;
  color: var(--muted);
  font-size: .85rem;
  min-width: 180px;
}

.filter-form select,.search-form input,.search-form select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: .55rem .7rem;
  color: var(--ink);
}

.button {
  border: 0;
  border-radius: 11px;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
  padding: .7rem 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button-secondary {
  background: var(--soft);
  color: var(--wine);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}

.entry-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 7px 22px rgba(60,25,38,.06);
  transition: .2s;
}

.entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.entry-card.is-cancelled {
  opacity: .72;
}

.card-media {
  border: 0;
  padding: 0;
  width: 100%;
  height: 190px;
  background: var(--soft);
  cursor: zoom-in;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card-topline {
  display: flex;
  gap: .4rem;
  align-items: center;
}

.type-pill,.status-pill {
  font-size: .73rem;
  font-weight: 750;
  border-radius: 999px;
  padding: .25rem .55rem;
  background: var(--soft);
  color: var(--wine);
}

.status-cancelled {
  background: #ffe1e1;
  color: #8b1111;
}

.entry-card h2 {
  font-family: Georgia,serif;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: .65rem 0 .25rem;
}

.card-main-link {
  text-decoration: none;
}

.nickname,.card-date,.card-location,.card-meta,.card-summary {
  margin: .35rem 0;
}

.card-location,.card-meta,.card-summary {
  color: var(--muted);
}

.card-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .85rem;
}

.text-button,.icon-button {
  border: 0;
  background: transparent;
  color: var(--wine);
  cursor: pointer;
  padding: .45rem;
}

.text-button {
  font-weight: 700;
}

.icon-button {
  font-size: 1.25rem;
  margin-left: auto;
}

.icon-button+.icon-button {
  margin-left: 0;
}

.load-more-wrap {
  text-align: center;
  margin: 1.4rem;
}

.js-list-item[hidden] {
  display: none;
}

.day-block {
  margin: 1.5rem 0;
}

.day-title {
  position: sticky;
  top: 74px;
  z-index: 4;
  background: var(--paper);
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(260px,.7fr);
  gap: 1.5rem;
}

.detail-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1rem,3vw,2rem);
}

.detail-meta {
  display: grid;
  gap: .75rem;
  margin: 1.2rem 0;
}

.detail-meta p {
  margin: 0;
}

.detail-actions,.social-links {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .7rem;
}

.media-thumb {
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  min-height: 130px;
  background: var(--soft);
  cursor: pointer;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empty-state {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27,15,20,.75);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px,100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.media-modal .modal-card {
  width: min(1000px,100%);
  background: #120c0f;
  color: #fff;
}

.modal-close {
  position: absolute;
  right: .7rem;
  top: .7rem;
  z-index: 2;
  border: 0;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  background: #fff;
  color: #222;
  cursor: pointer;
}

.modal-media {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.quick-content h2 {
  font-family: Georgia,serif;
  margin-right: 2rem;
}

.quick-row {
  color: var(--muted);
  margin: .4rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  max-width: 1240px;
  margin: auto;
  padding: 2rem 1rem 6rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-right: auto;
}

.footer-brand img {
  width: 48px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  text-decoration: none;
}

.mobile-nav {
  display: none;
}

.notice {
  padding: .8rem 1rem;
  background: #fff5d7;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.calendar-strip {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: .5rem;
}

.calendar-day {
  padding: .75rem;
  background: var(--soft);
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
}

.calendar-day strong,.calendar-day span {
  display: block;
}

.calendar-day.is-selected {
  background: var(--wine);
  color: #fff;
}

@media(max-width:900px) {
  .entry-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 1rem;
    right: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: .7rem;
    box-shadow: var(--shadow);
    align-items: stretch;
    flex-direction: column;
  }

  .main-nav.is-open {
    display: flex;
  }

  .world-panel {
    position: static;
    width: auto;
    box-shadow: none;
    margin-top: .3rem;
  }

  .menu-toggle {
    display: block;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .calendar-strip {
    overflow: auto;
    grid-template-columns: repeat(7,minmax(110px,1fr));
  }
}

@media(max-width:620px) {
  body {
    padding-bottom: 64px;
  }

  .brand small {
    display: none;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .main-nav {
    top: 64px;
  }

  .page-shell,.home-shell {
    padding: 1rem .75rem 3rem;
  }

  .hero {
    border-radius: 20px;
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .card-media {
    height: 210px;
  }

  .filter-form,.search-form {
    align-items: stretch;
  }

  .filter-form label,.search-form label {
    width: 100%;
  }

  .filter-form .button,.search-form .button {
    width: 100%;
  }

  .mobile-nav {
    position: fixed;
    z-index: 45;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(5,1fr);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-nav a {
    text-decoration: none;
    display: grid;
    place-items: center;
    font-size: .72rem;
    color: var(--muted);
  }

  .mobile-nav span {
    font-size: 1.25rem;
    line-height: 1;
  }

  .site-footer {
    padding-bottom: 2rem;
  }

  .site-footer nav {
    width: 100%;
  }

  .media-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .day-title {
    top: 64px;
  }
}

.card-title-row,.detail-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-title-row h2,.detail-title-row h1 {
  margin-block: 0;
}

.entry-logo,.detail-logo {
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
  border-radius: 10px;
}

.entry-logo {
  width: 52px;
  height: 52px;
}

.detail-logo {
  width: 88px;
  height: 88px;
}

@media(max-width:600px) {
  .detail-logo {
    width: 68px;
    height: 68px;
  }
}

.media-grid,.media-thumb,.card-media,.media-modal .modal-card {
  background: var(--paper,#fff)!important;
}

.media-thumb,.card-media {
  border-color: transparent!important;
  box-shadow: none!important;
}

.comparison-table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line,#ddd);
  border-radius: 14px;
}

.comparison-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1000px;
  width: max-content;
  background: var(--paper,#fff);
}

.comparison-table th,.comparison-table td {
  min-width: 135px;
  padding: 8px;
  border-right: 1px solid var(--line,#ddd);
  border-bottom: 1px solid var(--line,#ddd);
  vertical-align: top;
}

.comparison-table th {
  position: sticky;
  top: 0;
  background: #f6f2f3;
  z-index: 2;
}

.comparison-table tbody th {
  position: sticky;
  left: 0;
  z-index: 3;
}

.table-event {
  display: flex;
  flex-direction: column;
  padding: 6px;
  margin: 0 0 5px;
  border-radius: 8px;
  background: #f5e9ed;
  text-decoration: none;
}

.year-density th,.year-density td {
  min-width: 38px;
  width: 38px;
  padding: 3px;
  text-align: center;
}

.year-density tbody th {
  min-width: 120px;
}

.density-dot {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #6e1834;
  color: #fff;
  text-decoration: none;
  margin: 1px;
}

.invalid-day {
  background: #eee;
}

.comparison-table:not(.year-density) tbody tr:nth-child(8n+1) {
  background: #f7eeee;
}

.comparison-table:not(.year-density) tbody tr:nth-child(8n+2) {
  background: #eef5fa;
}

.comparison-table:not(.year-density) tbody tr:nth-child(8n+3) {
  background: #eef8f1;
}

.comparison-table:not(.year-density) tbody tr:nth-child(8n+4) {
  background: #fff7df;
}

.comparison-table:not(.year-density) tbody tr:nth-child(8n+5) {
  background: #f4effa;
}

.comparison-table:not(.year-density) tbody tr:nth-child(8n+6) {
  background: #fff0e6;
}

.comparison-table:not(.year-density) tbody tr:nth-child(8n+7) {
  background: #edf7f5;
}

.comparison-table:not(.year-density) tbody tr:nth-child(8n) {
  background: #f6f2ee;
}

.comparison-table:not(.year-density) .table-event strong {
  font-weight: 400;
  font-size: .82rem;
}

.comparison-table:not(.year-density) .table-event small {
  font-size: .72rem;
}

.comparison-table:not(.year-density) td {
  border-right: 1px solid #d8cccf;
}

.annual-grid-page .page-intro h1 {
  font-size: clamp(1.7rem,4vw,3.2rem);
}

.year-density {
  border-collapse: collapse;
}

.year-density th,.year-density td {
  border: 1px solid #e4dcdf;
  min-width: 34px;
  width: 34px;
  padding: 2px;
}

.year-density thead th {
  font-size: .72rem;
}

.year-density tbody th {
  min-width: 180px;
  text-align: left;
  font-size: .78rem;
  font-weight: 400;
}

.year-density .month-heading th {
  position: static;
  background: #eee5e8;
  color: var(--wine);
  font-weight: 700;
  font-size: .9rem;
  padding: 6px;
}

.event-lane .lane-empty {
  background: rgba(255,255,255,.7);
}

.event-span {
  height: 34px;
}

.event-span a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 2px 5px;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
}

.event-span img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  flex: 0 0 auto;
  background: transparent;
}

.event-span span {
  font-size: .72rem;
}

.event-lane.color-0 .event-span {
  background: #dcecff;
}

.event-lane.color-1 .event-span {
  background: #dff3e5;
}

.event-lane.color-2 .event-span {
  background: #f8dfe8;
}

.event-lane.color-3 .event-span {
  background: #eadfd8;
}

.event-lane.color-4 .event-span {
  background: #fff1b9;
}

.event-lane.color-5 .event-span {
  background: #ffe0c2;
}

.event-lane.color-6 .event-span {
  background: #e8def7;
}

.event-lane.color-7 .event-span {
  background: #dff4f2;
}

.hero-links {
  display: flex!important;
  justify-content: space-between!important;
  align-items: center!important;
  gap: 1rem!important;
  margin-top: 1.4rem!important;
}

.hero-links a {
  color: #fff!important;
  text-transform: uppercase!important;
  font-size: .78rem!important;
  font-style: italic!important;
  text-underline-offset: 3px!important;
}

.hero-links a+a {
  margin-left: auto!important;
}

@media(max-width:620px) {
  .hero-links a {
    font-size: .68rem!important;
  }
}

.detail-layout .media-grid .media-thumb {
  display: grid!important;
  place-items: center!important;
  min-height: 150px!important;
  padding: .45rem!important;
  background: var(--paper,#fff)!important;
  overflow: hidden!important;
}

.detail-layout .media-grid .media-thumb img,.detail-layout .media-grid .media-thumb video {
  display: block!important;
  width: 100%!important;
  height: auto!important;
  max-height: 240px!important;
  object-fit: contain!important;
  background: var(--paper,#fff)!important;
}

.detail-layout .media-grid .media-thumb-video img,.detail-layout .media-grid .media-thumb-video video {
  width: 100%!important;
  height: 100%!important;
  max-height: 220px!important;
  object-fit: contain!important;
}

@media(max-width:620px) {
  .detail-layout .media-grid .media-thumb {
    min-height: 130px!important;
  }

  .detail-layout .media-grid .media-thumb img,.detail-layout .media-grid .media-thumb video {
    max-height: 210px!important;
  }
}

/* 2. hotfix.css — önceki yükleme sırası korunur. */
.status-cancelled {
  background: #8b0000!important;
  color: #fff!important;
  font-size: 1.05rem!important;
  font-weight: 900!important;
  padding: .55rem 1rem!important;
  border: 3px solid #ffb3b3!important;
  box-shadow: 0 0 0 3px rgba(139,0,0,.14);
  text-transform: uppercase;
}

.entry-card.is-cancelled {
  opacity: 1!important;
  border: 2px solid #8b0000!important;
}

.entry-card.is-cancelled h2 {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.card-media {
  height: auto!important;
  min-height: 110px;
  max-height: 170px;
  padding: .75rem!important;
}

.card-media img {
  height: 140px!important;
  object-fit: contain!important;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

.media-thumb--logo {
  display: grid!important;
  place-items: center!important;
  padding: 1rem!important;
}

.media-thumb--logo img {
  width: 30%!important;
  height: auto!important;
  max-height: 90px!important;
  object-fit: contain!important;
}

.card-media-video,.media-thumb-video {
  position: relative;
  display: grid!important;
  place-items: center;
  background: #160c10!important;
  overflow: hidden!important;
}

.card-media-video {
  height: 170px!important;
  min-height: 110px!important;
  max-height: 170px!important;
  padding: .75rem!important;
}

.media-thumb-video {
  height: 180px!important;
  min-height: 130px!important;
  max-height: 220px!important;
  padding: .5rem!important;
}

.card-media-video img,.media-thumb-video img,.card-media-video video,.media-thumb-video video {
  display: block!important;
  width: 100%!important;
  height: 100%!important;
  object-fit: contain!important;
  opacity: .92;
}

.card-media-video video,.media-thumb-video video {
  pointer-events: none;
}

.video-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  padding: .55rem .85rem;
  background: rgba(255,255,255,.94);
  color: #64152f;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.card-media-video--no-thumb,.media-thumb-video--no-thumb {
  min-height: 140px;
}

.video-link-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 999px;
  padding: .42rem .58rem;
  background: var(--soft,#f5eeea);
  color: var(--wine,#64152f);
  font-weight: 800;
  font-size: .86rem;
  text-decoration: none;
}

.video-link-pill:hover {
  background: var(--wine,#64152f);
  color: #fff;
}

.modal-embed {
  width: min(100%,920px);
  aspect-ratio: 16/9;
  height: auto;
  min-height: 320px;
  border: 0;
  background: #000;
}

@media(max-width:700px) {
  .media-thumb-video {
    height: 155px!important;
  }

  .modal-embed {
    min-height: 210px;
  }

  .video-link-pill {
    font-size: .78rem;
    padding: .38rem .5rem;
  }
}

.video-external-wrap {
  margin: .8rem 0 0;
  text-align: center;
}

.translate-menu {
  position: relative;
  margin-left: auto;
}

.translate-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line,#e8dcd7);
  border-radius: 999px;
  background: #fff;
  color: var(--wine,#64152f);
  font-weight: 800;
  font-size: .86rem;
  padding: .48rem .68rem;
}

.translate-menu summary::-webkit-details-marker {
  display: none;
}

.translate-menu summary:after {
  content: " ▾";
  font-size: .78em;
}

.translate-panel {
  position: absolute;
  right: 0;
  top: calc(100% + .45rem);
  z-index: 70;
  min-width: 170px;
  display: grid;
  gap: .15rem;
  padding: .45rem;
  background: #fff;
  border: 1px solid var(--line,#e8dcd7);
  border-radius: 14px;
  box-shadow: var(--shadow,0 12px 35px rgba(62,25,38,.11));
}

.translate-panel a {
  padding: .55rem .65rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink,#251b20);
  font-weight: 700;
  white-space: nowrap;
}

.translate-panel a:hover {
  background: var(--soft,#f5eeea);
  color: var(--wine,#64152f);
}

@media(max-width:720px) {
  .translate-menu {
    margin-left: 0;
  }

  .translate-menu summary {
    font-size: .78rem;
    padding: .42rem .55rem;
  }

  .translate-panel {
    right: 0;
    min-width: 155px;
  }
}

/* 3. relation-info.css — önceki yükleme sırası korunur. */
.quick-warning {
  margin: .3rem 0;
  color: #b00020 !important;
  font-size: .86rem;
  font-weight: 800;
}

.relation-history-list {
  display: grid;
  gap: .45rem;
}

.relation-history-list p {
  margin: 0;
  color: var(--muted, #70646a);
}

/* 4. shortcut.css — önceki yükleme sırası korunur. */
.shortcut-prompt[hidden] {
  display: none;
}

.shortcut-prompt {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: end center;
  padding: 1rem;
  background: rgba(25,13,19,.6);
}

.shortcut-card {
  width: min(560px,100%);
  padding: 1.2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(0,0,0,.3);
}

.shortcut-card h2 {
  margin: .1rem 2.5rem .4rem 0;
  font-family: Georgia,serif;
}

.shortcut-card p {
  color: var(--muted);
}

.shortcut-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.shortcut-close {
  float: right;
  border: 0;
  background: var(--soft);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.shortcut-ios[hidden] {
  display: none;
}

@media(max-width:620px) {
  .shortcut-prompt {
    padding: .6rem;
  }

  .shortcut-card {
    border-radius: 18px;
  }

  .shortcut-actions .button {
    width: 100%;
  }
}

/* 5. v4.css — önceki yükleme sırası korunur. */
.card-media img,
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: var(--paper, #fff);
}

.calendar-event-name {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  margin-bottom: .2rem;
}

.calendar-event-name img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 5px;
  background: transparent;
}

.home-hero-with-radio {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, 150px);
  gap: 1rem;
  align-items: start;
}

.home-hero-content {
  min-width: 0;
}

.hero-radio-player {
  justify-self: end;
  display: grid;
  justify-items: center;
  gap: .28rem;
  width: min(150px, 100%);
  padding-top: .15rem;
  color: #fff;
}

.hero-radio-title {
  color: rgba(255, 255, 255, .84);
  text-decoration: none;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .01em;
}

.hero-radio-logo {
  display: grid;
  place-items: center;
  width: 110px;
  max-width: 100%;
  text-decoration: none;
}

.hero-radio-logo img {
  width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.hero-radio-play {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  padding: 0;
  background: rgba(255, 255, 255, .9);
  color: var(--wine, #64152f);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .18);
  font-size: .9rem;
  line-height: 1;
  cursor: pointer;
}

.hero-radio-play.is-playing {
  background: var(--gold, #c99a55);
  color: #2b121c;
}

.share-whatsapp {
  border: 0;
  background: transparent;
  color: var(--wine);
  display: grid;
  justify-items: center;
  gap: 0;
  padding: 2px;
  cursor: pointer;
  margin-left: 0;
}

.share-whatsapp img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.share-whatsapp small {
  font-size: .52rem;
  line-height: 1;
  color: #368c53;
  text-decoration: underline;
}

.detail-media-section .detail-media-grid .media-thumb {
  display: grid !important;
  place-items: center !important;
  gap: .35rem !important;
  min-height: 150px !important;
  padding: .45rem !important;
  background: var(--paper, #fff) !important;
  overflow: hidden !important;
  color: var(--ink, #251b20) !important;
  text-align: left !important;
}

.detail-media-section .detail-media-grid .media-thumb img,
.detail-media-section .detail-media-grid .media-thumb video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 240px !important;
  object-fit: contain !important;
  background: var(--paper, #fff) !important;
}

.detail-media-section .detail-media-grid .media-thumb-video img,
.detail-media-section .detail-media-grid .media-thumb-video video {
  width: 100% !important;
  height: auto !important;
  max-height: 220px !important;
  object-fit: contain !important;
}

.detail-media-section .detail-media-grid .media-caption {
  display: block !important;
  width: 100% !important;
  padding: .35rem .2rem 0 !important;
  border-top: 1px solid var(--line, #e8dcd7) !important;
  color: var(--muted, #70646a) !important;
  font-size: .82rem !important;
  line-height: 1.32 !important;
  text-align: left !important;
  white-space: normal !important;
}

@media (max-width: 620px) {
  .home-hero-with-radio {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: .5rem;
  }

  .home-hero-with-radio h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .home-hero-with-radio p {
    max-width: 100%;
  }

  .hero-links {
    align-items: center;
  }

  .hero-links a {
    font-size: .68rem;
  }

  .hero-radio-player {
    width: 88px;
    gap: .18rem;
    padding-top: 0;
  }

  .hero-radio-title {
    font-size: .54rem;
  }

  .hero-radio-logo {
    width: 78px;
  }

  .hero-radio-logo img {
    max-height: 38px;
  }

  .hero-radio-play {
    width: 30px;
    height: 30px;
    font-size: .78rem;
  }

  .share-whatsapp img {
    width: 27px;
    height: 27px;
  }

  .detail-media-section .detail-media-grid .media-thumb {
    min-height: 130px !important;
  }

  .detail-media-section .detail-media-grid .media-thumb img,
  .detail-media-section .detail-media-grid .media-thumb video {
    max-height: 210px !important;
  }
}
