@font-face {
  font-family: "OBA Manrope";
  src: url("assets/fonts/Manrope.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OBA Manrope";
  src: url("assets/fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OBA Lexend";
  src: url("assets/fonts/Lexend.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OBA Lexend";
  src: url("assets/fonts/Lexend-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #e8eef6;
  --bg-deep: #d4dde8;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-border: rgba(255, 255, 255, 0.72);
  --shadow: 0 16px 48px rgba(21, 122, 255, 0.07), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.06);
  --primary: #157aff;
  --primary-dark: #0d5bcc;
  --text: #1a1d24;
  --text-muted: #5c6473;
  --sidebar-w: 248px;
  --sidebar-collapsed: 64px;
  --ticker-h: 48px;
  --radius: 22px;
  --radius-sm: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "OBA Manrope", "Manrope", system-ui, sans-serif;
  color: var(--text);
  background-color: #e2e9f3;
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -15%, rgba(21, 122, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 50%, rgba(123, 99, 255, 0.06), transparent 45%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.65) 0%, rgba(228, 234, 244, 0.95) 42%, #d8e2ef 100%);
  padding-bottom: var(--ticker-h);
  overflow-x: clip;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -25deg,
    transparent,
    transparent 72px,
    rgba(21, 122, 255, 0.018) 72px,
    rgba(21, 122, 255, 0.018) 73px
  );
  opacity: 1;
}

body::after {
  content: "";
  position: fixed;
  left: 50%;
  top: clamp(26%, 32vh, 36%);
  transform: translate(-50%, -50%);
  width: min(36rem, 82vw);
  height: min(36rem, 52vh);
  max-width: 94vw;
  background: url("assets/images/logo/oba_512.png") center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.body-watermark-caption {
  position: fixed;
  left: 50%;
  top: calc(clamp(26%, 32vh, 36%) + min(11rem, 18vh));
  transform: translateX(-50%);
  max-width: 98vw;
  text-align: center;
  font-size: clamp(2.4rem, 8.5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(21, 122, 255, 0.16);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  font-family: "OBA Lexend", "OBA Manrope", "Manrope", system-ui, sans-serif;
}

.card-glass {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hamburger {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 120;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--glass);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.sidebar-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.35);
}

.sidebar-scrim.is-open {
  display: block;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--sidebar-w);
  height: 100vh;
  padding: 1rem 0.65rem;
  padding-top: 3.25rem;
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: width 0.22s ease, transform 0.25s ease;
}

.sidebar[data-expanded="false"] {
  width: var(--sidebar-collapsed);
}

.sidebar[data-expanded="false"] .nav-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar-collapse {
  position: absolute;
  top: 12px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgba(21, 122, 255, 0.1);
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.sidebar[data-expanded="false"] .sidebar-collapse {
  right: 50%;
  transform: translateX(50%);
}

.sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.5rem 0.85rem;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 0.35rem;
}

.sidebar-brand__logo {
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.1);
}

.sidebar-brand__title {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.sidebar[data-expanded="false"] .sidebar-brand__title {
  display: none;
}

.sidebar[data-expanded="false"] .sidebar-brand {
  padding-bottom: 0.4rem;
}

.sidebar[data-expanded="false"] .sidebar-brand__logo {
  width: 36px;
  height: 36px;
}

/* Tam sütun genişliği (sidebar yanındaki alan), reklamlardan önce — opak */
.main > .oba-site-head {
  box-sizing: border-box;
  margin-left: -1.35rem;
  margin-right: -1.35rem;
  margin-top: -1.35rem;
  margin-bottom: 1.15rem;
  padding: clamp(0.95rem, 2.5vw, 1.2rem) clamp(1rem, 3vw, 1.5rem);
  background: #e8edf4;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  text-align: center;
}

@media (max-width: 768px) {
  .main > .oba-site-head {
    margin-top: 0;
  }
}

.main > .oba-site-head .oba-site-head__title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 3.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.main > .oba-site-head .oba-site-head__tagline {
  margin: 0;
  font-size: clamp(0.88rem, 2.1vw, 1rem);
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
}

.blog-section-cta {
  margin-top: 1rem;
  text-align: center;
}

.blog-section-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #157aff 0%, #0d5fd4 100%);
  box-shadow: 0 4px 16px rgba(21, 122, 255, 0.35);
}

.blog-section-cta__btn:hover {
  filter: brightness(1.05);
}

.ad-slot--inline {
  margin: 1.15rem auto;
  clear: both;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.sidebar-footer {
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sidebar[data-expanded="false"] .sidebar-footer {
  align-items: center;
  text-align: center;
}

.sidebar[data-expanded="false"] .sidebar-footer-brand,
.sidebar[data-expanded="false"] .sidebar-footer-link {
  display: none;
}

.sidebar-footer-brand {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sidebar-footer-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.sidebar-footer-link:hover {
  text-decoration: underline;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}

.nav-item:hover {
  background: rgba(21, 122, 255, 0.1);
  color: var(--primary-dark);
}

.nav-item.is-active {
  background: rgba(21, 122, 255, 0.16);
  color: var(--primary-dark);
}

.nav-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  color: var(--primary);
  overflow: visible;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.nav-text {
  transition: opacity 0.18s ease;
}

.main {
  position: relative;
  z-index: 1;
  margin-left: var(--sidebar-w);
  margin-right: auto;
  padding: 1.35rem 1.35rem 1.75rem;
  max-width: 1200px;
  width: calc(100% - var(--sidebar-w));
  box-sizing: border-box;
  overflow-x: hidden;
  transition: margin-left 0.22s ease;
}

body.sidebar-collapsed-desktop .main {
  margin-left: var(--sidebar-collapsed);
  width: calc(100% - var(--sidebar-collapsed));
}

.ad-slot {
  min-height: 90px;
  margin: 0.85rem 0 1.1rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(21, 122, 255, 0.32);
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.ad-slot-placeholder {
  pointer-events: none;
}

/* Üst şerit / ara ince yatay reklam (banner yüksekliği düşük) */
.ad-slot--thin {
  min-height: 52px;
  margin: 0.45rem 0 0.65rem;
}

.ad-slot--thin.ad-slot--live {
  min-height: 56px;
}

.ad-slot--thin.ad-slot--live .adsbygoogle {
  min-height: 50px;
}

.ad-slot--live {
  border-style: solid;
  border-color: rgba(21, 122, 255, 0.15);
  background: rgba(255, 255, 255, 0.55);
  min-height: 100px;
}

.ad-slot--live .adsbygoogle {
  min-height: 90px;
  width: 100%;
}

.ad-skyscraper .ad-slot--live {
  min-height: 280px;
}

.ad-skyscraper .ad-slot--live .adsbygoogle {
  min-height: 250px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.section-head .section-title {
  margin: 0;
}

.section-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(21, 122, 255, 0.12);
  transition: background 0.15s, color 0.15s;
}

.section-link:hover {
  background: rgba(21, 122, 255, 0.2);
  color: var(--primary-dark);
}

.news-section {
  padding: 1.25rem;
  margin-bottom: 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.news-slider {
  overflow: hidden;
  max-width: 100%;
  border-radius: 12px;
}

.news-section .slider .media-frame,
.news-section .news-slider .media-frame {
  height: clamp(168px, 22vw, 300px);
}

.slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-track .slide {
  width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  box-sizing: border-box;
}

.media-frame {
  position: relative;
  height: 168px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(145deg, #0f1419 0%, #1a2332 50%, #0d1117 100%);
}

.media-frame-bg {
  position: absolute;
  inset: -28px;
  background-size: cover;
  background-position: center;
  filter: blur(28px);
  opacity: 0.65;
  transform: scale(1.08);
}

.media-frame-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.slide .media-frame-img,
.blog-card .media-frame-img,
.news-page-grid .media-frame-img {
  object-fit: cover;
  object-position: center;
}

.media-frame-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.media-frame--placeholder .media-frame-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--slide-fg, #1a3a5c) 0%, #0a0e14 100%);
  opacity: 0.9;
}

.slide-body {
  padding: 0.9rem 0.15rem 0.35rem;
}

.slide-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.slide-body .card-meta-row {
  margin: 0 0 0.45rem;
}

.slide-meta {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slide-excerpt {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.card-views {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.is-clickable-card {
  cursor: pointer;
}

.is-clickable-card .icon-btn,
.is-clickable-card .slider-btn,
.is-clickable-card .slider-dot {
  cursor: pointer;
}

.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.card-stat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 1.5rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(21, 122, 255, 0.1);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}

.icon-btn:hover {
  background: rgba(21, 122, 255, 0.18);
  transform: scale(1.04);
}

.icon-btn svg {
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  z-index: 4;
}

.slider-btn::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border: 2px solid var(--primary);
  border-bottom: none;
  border-left: none;
}

.slider-prev {
  left: 10px;
}

.slider-prev::after {
  transform: rotate(-135deg);
  margin-left: 12px;
}

.slider-next {
  right: 10px;
}

.slider-next::after {
  transform: rotate(45deg);
  margin-right: 12px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 0.75rem 0 0;
}

.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(21, 122, 255, 0.22);
  cursor: pointer;
  transition: transform 0.15s;
}

.slider-dot.is-active {
  background: var(--primary);
  transform: scale(1.2);
}

.blog-section {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.blog-grid,
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 10px;
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

.blog-card .media-frame,
.news-page-grid .media-frame {
  height: clamp(148px, 20vw, 220px);
  border-radius: calc(var(--radius-sm) - 2px) calc(var(--radius-sm) - 2px) 0 0;
}

.blog-card-body {
  padding: 1rem 1rem 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card-excerpt {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.ticker-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 200;
  height: var(--ticker-h);
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #151b24 0%, #0d1117 100%);
  color: #e6edf3;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  direction: ltr;
}

.ticker-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Kenarlarda mavi → şeffaf yumuşak maske (metin keskin kesilmesin) */
.ticker-inner::before,
.ticker-inner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(36px, 6vw, 72px);
  z-index: 3;
  pointer-events: none;
}

.ticker-inner::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(21, 122, 255, 0.32) 0%,
    rgba(21, 27, 36, 0.55) 42%,
    transparent 100%
  );
}

.ticker-inner::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(21, 122, 255, 0.32) 0%,
    rgba(21, 27, 36, 0.55) 42%,
    transparent 100%
  );
}

/* İki segment: sonsuz sağ→sol; animasyon ölçüm sonrası .ticker-animate ile başlar */
.ticker-track {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  max-width: none;
  height: 100%;
  min-height: var(--ticker-h);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  /* --ticker-distance: tek segment genişliği (px), JS set eder */
  --ticker-distance: 1px;
  transform-origin: 0 50%;
  will-change: transform;
  animation: none;
}

.ticker-track.ticker-animate {
  animation: ticker-scroll linear infinite;
  animation-duration: 45s;
}

.ticker-segment {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 2.75rem;
  padding: 0 1.5rem 0 0;
  white-space: nowrap;
}

.ticker-item {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  padding: 0.35rem 0;
  border-radius: 8px;
  transition: background 0.15s;
}

.ticker-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ticker-item strong {
  margin-right: 0.4rem;
  color: #8b949e;
  font-weight: 600;
}

.ticker-item .up {
  color: #3fb950;
}

.ticker-item .down {
  color: #f85149;
}

.ticker-item .flat {
  color: #8b949e;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--ticker-distance, 1px)));
  }
}

.ticker-track.ticker-animate:hover {
  animation-play-state: paused;
}

.page-feedback {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem 1.25rem;
  max-width: 42rem;
}

.page-feedback-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.page-feedback-lead {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.page-intro {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-root[hidden] {
  display: none !important;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  animation: modal-in 0.28s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-text {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.modal-free-note {
  margin: -0.65rem 0 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.45;
}

.modal-store-row {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.modal-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1 1 140px;
  min-height: 46px;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  border: 1px solid transparent;
}

.modal-store-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.modal-store-btn__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.modal-store-btn--apple {
  color: #fff;
  background: linear-gradient(180deg, #2c2c2e 0%, #1c1c1e 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.modal-store-btn--google {
  color: #fff;
  background: linear-gradient(135deg, #01875f 0%, #006d4d 100%);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(1, 135, 95, 0.35);
}

.modal-store-btn--google .modal-store-btn__icon svg {
  display: block;
}

/* Hafif dikkat çekici nabız (box-shadow; hover’daki transform ile çakışmaz) */
@keyframes modal-store-pulse-apple {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.22),
      0 0 20px rgba(255, 255, 255, 0.12);
  }
}

@keyframes modal-store-pulse-google {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(1, 135, 95, 0.35);
  }
  50% {
    box-shadow:
      0 6px 22px rgba(1, 135, 95, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.2);
  }
}

.modal-root:not([hidden]) .modal-store-btn--apple,
.calc-premium-store-row .modal-store-btn--apple,
.about-store-row .modal-store-btn--apple {
  animation: modal-store-pulse-apple 2.4s ease-in-out infinite;
}

.modal-root:not([hidden]) .modal-store-btn--google,
.calc-premium-store-row .modal-store-btn--google,
.about-store-row .modal-store-btn--google {
  animation: modal-store-pulse-google 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .modal-root:not([hidden]) .modal-store-btn--apple,
  .modal-root:not([hidden]) .modal-store-btn--google,
  .calc-premium-store-row .modal-store-btn--apple,
  .calc-premium-store-row .modal-store-btn--google,
  .about-store-row .modal-store-btn--apple,
  .about-store-row .modal-store-btn--google {
    animation: none;
  }
}

.modal-close {
  min-width: 120px;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.modal-close:hover {
  filter: brightness(1.05);
}

.ticker-chart-root {
  position: fixed;
  inset: 0;
  z-index: 430;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ticker-chart-root[hidden] {
  display: none !important;
}

.ticker-chart-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ticker-chart-box {
  position: relative;
  z-index: 1;
  width: min(46rem, 100%);
  padding: 1rem 1rem 0.8rem;
  border-radius: 16px;
}

.ticker-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.ticker-chart-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ticker-chart-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.ticker-chart-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: rgba(21, 122, 255, 0.12);
  color: var(--primary-dark);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.ticker-chart-table-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: rgba(21, 122, 255, 0.12);
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.ticker-chart-stats {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.ticker-chart-ranges {
  display: inline-flex;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
  padding: 0.2rem;
  border-radius: 10px;
  background: rgba(21, 122, 255, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.ticker-range-btn {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.56rem;
  cursor: pointer;
}

.ticker-range-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ticker-range-btn.is-active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.ticker-chart-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.ticker-chart-diff {
  font-size: 0.88rem;
  font-weight: 700;
}

.ticker-chart-diff.is-up {
  color: #2e9c42;
}

.ticker-chart-diff.is-down {
  color: #d63c33;
}

.ticker-chart-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.58);
  -webkit-overflow-scrolling: touch;
}

#ticker-chart-canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  min-width: 880px;
}

.ticker-chart-note {
  margin: 0.5rem 0 0;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.ticker-chart-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.ticker-chart-value-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}

.ticker-chart-table-wrap {
  margin-top: 0.55rem;
  max-height: 190px;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.ticker-chart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.ticker-chart-table th,
.ticker-chart-table td {
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

@media (max-width: 768px) {
  .ticker-chart-values {
    display: none;
  }
}

/* Aydınlatma — iframe (yeni sekme yok) */
.legal-frame-root {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.legal-frame-root[hidden] {
  display: none !important;
}

.legal-frame-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.legal-frame-panel {
  position: relative;
  width: min(56rem, 100%);
  height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow);
}

.legal-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
}

.legal-frame-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.legal-frame-close {
  border: none;
  background: rgba(21, 122, 255, 0.12);
  color: var(--primary-dark);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 700;
}

.legal-frame-close:hover {
  background: rgba(21, 122, 255, 0.2);
}

.legal-frame-iframe {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

/* Hakkında — mağaza satırı */
.about-store-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.about-store-row .modal-store-btn {
  flex: 1 1 200px;
  max-width: 280px;
  text-decoration: none;
}

/* Soru & Cevap */
.sc-wrap {
  max-width: 52rem;
  margin: 0 auto;
}

.sc-search {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235c6473' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M13 13l4 4'/%3E%3C/svg%3E") 0.85rem center no-repeat;
  box-shadow: var(--shadow-soft);
}

.sc-search:focus {
  outline: 2px solid rgba(21, 122, 255, 0.35);
  outline-offset: 1px;
}

.sc-toolbar {
  margin-bottom: 0.75rem;
  min-height: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.sc-back-btn:hover {
  background: rgba(21, 122, 255, 0.1);
}

.sc-cat-list,
.sc-q-list,
.sc-search-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sc-cat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  text-align: left;
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass);
  cursor: pointer;
  font-family: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}

.sc-cat-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.sc-cat-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.sc-cat-title {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.sc-cat-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.sc-q-item {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s;
}

.sc-q-item:hover {
  background: rgba(21, 122, 255, 0.08);
}

.sc-q-title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.sc-q-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.sc-detail-head {
  margin-bottom: 0.75rem;
}

.sc-detail-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

.sc-detail-meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.sc-detail-prose {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--glass-border);
  margin-bottom: 1rem;
}

.sc-detail-prose img {
  max-width: 100%;
  height: auto;
}

.sc-nav-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.sc-nav-btn {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--primary);
  cursor: pointer;
}

.sc-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sc-feedback-block {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(21, 122, 255, 0.35);
  background: rgba(21, 122, 255, 0.04);
  margin-top: 0.5rem;
}

.sc-feedback-block p {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.sc-feedback-toggle {
  display: block;
  margin: 0 auto;
  padding: 0.55rem 1.2rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.sc-fb-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.5rem 0 0.25rem;
}

.sc-fb-form textarea {
  width: 100%;
  min-height: 5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  font-family: inherit;
  font-size: 0.88rem;
  resize: vertical;
}

.sc-fb-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.65rem 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.sc-fb-row input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.sc-fb-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.sc-fb-actions button {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.82rem;
}

.sc-fb-submit {
  background: var(--primary);
  color: #fff;
}

.sc-fb-cancel {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.sc-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.sc-disclaimer-root {
  position: fixed;
  inset: 0;
  z-index: 460;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sc-disclaimer-root[hidden] {
  display: none !important;
}

.sc-disclaimer-root .modal-scrim {
  position: absolute;
}

.sc-disclaimer-box {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  padding: 1.5rem 1.35rem 1.35rem;
  text-align: left;
}

.sc-disclaimer-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.sc-disclaimer-body {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
}

.sc-disclaimer-box .modal-close {
  width: 100%;
}

.calc-page {
  max-width: 720px;
  margin: 0 auto;
}

.calc-page-lead {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.calc-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.calc-native {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.calc-tool {
  padding: 1.35rem 1.25rem 1.5rem;
  overflow: visible;
}

.calc-tool h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.calc-tool-desc {
  margin: 0 0 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

@media (max-width: 560px) {
  .calc-form-grid {
    grid-template-columns: 1fr;
  }
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calc-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.calc-field input,
.calc-field select {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 122, 255, 0.15);
}

.calc-submit {
  margin-top: 1rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.calc-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.calc-capture-target {
  position: relative;
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(15, 23, 42, 0.06);
  min-height: 3rem;
}

.calc-results {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
}

.calc-results dl {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.calc-results dt {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0;
}

.calc-results dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.calc-results-card-title + dl dt {
  font-size: 0.82rem;
  color: var(--text);
}

.calc-results-card-title + dl dd {
  font-size: 0.92rem;
}

/* PNG yakalama: sağ üst filigran */
.calc-capture-wm {
  display: none;
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(0.5rem, 2vw, 0.85rem) clamp(0.55rem, 2.5vw, 1rem) 0 0;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 20;
}

.calc-capture-wm__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(0.35rem, 2vw, 0.65rem);
  max-width: min(92%, 22rem);
  padding: clamp(0.35rem, 1.5vw, 0.55rem) clamp(0.45rem, 2vw, 0.75rem);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 8px 32px rgba(15, 23, 42, 0.08);
  opacity: 0.5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.calc-capture-wm__logo {
  width: clamp(40px, 12vw, 72px);
  height: clamp(40px, 12vw, 72px);
  object-fit: contain;
  flex-shrink: 0;
}

.calc-capture-wm__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06rem;
  min-width: 0;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 16px rgba(255, 255, 255, 0.85);
}

.calc-capture-wm__title {
  font-family: "OBA Lexend", "OBA Manrope", "Manrope", system-ui, sans-serif;
  font-size: clamp(0.68rem, 2.8vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
  line-height: 1.08;
}

.calc-capture-wm__site {
  font-size: clamp(0.56rem, 2.2vw, 0.74rem);
  font-weight: 700;
  color: rgba(15, 23, 42, 0.45);
  line-height: 1.15;
}

.calc-native [hidden] {
  display: none !important;
}

.calc-share-btn {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(21, 122, 255, 0.35);
  background: rgba(21, 122, 255, 0.08);
  color: var(--primary-dark);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.calc-share-btn:hover {
  background: rgba(21, 122, 255, 0.14);
}

.calc-export-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.calc-export-row .calc-share-btn {
  flex: 1 1 min(168px, 100%);
  margin-top: 0;
}

.calc-share-btn--primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.calc-share-btn--primary:hover {
  filter: brightness(1.05);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.calc-share-btn--ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--text);
}

.calc-share-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.85);
}

.calc-field select {
  position: relative;
  z-index: 1;
}

.calc-enflasyon-api {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(21, 122, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text-muted);
  max-height: 140px;
  overflow: auto;
}

.calc-enflasyon-api table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.calc-enflasyon-api th,
.calc-enflasyon-api td {
  padding: 0.25rem 0.35rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.calc-premium-section {
  margin-top: 0.5rem;
}

.calc-premium-section h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.calc-premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.calc-premium-card {
  position: relative;
  padding: 1.25rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: default;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(123, 99, 255, 0.35);
  background: linear-gradient(
    145deg,
    rgba(123, 99, 255, 0.12) 0%,
    rgba(21, 122, 255, 0.08) 100%
  );
}

.calc-premium-card:hover {
  border-color: rgba(123, 99, 255, 0.55);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.calc-premium-h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.calc-premium-free {
  display: inline;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-premium-store-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}

.calc-premium-store-row .modal-store-btn {
  flex: 1 1 200px;
  max-width: 280px;
  text-decoration: none;
}

.calc-premium-card h3 {
  margin: 0 0 0.35rem;
  padding-right: 0.25rem;
  font-size: 1rem;
  font-weight: 800;
}

.calc-premium-card p {
  margin: 0 0 2.15rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.calc-premium-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  top: auto;
  left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.45rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  max-width: calc(100% - 20px);
  text-align: right;
  line-height: 1.2;
}

.calc-premium-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 0.65rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--primary);
}

.calc-premium-lead {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.calc-input-summary {
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(21, 122, 255, 0.06);
  border: 1px solid rgba(21, 122, 255, 0.12);
  font-size: 0.8rem;
}

.calc-input-summary dl {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.calc-input-summary dt {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0;
}

.calc-input-summary dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.calc-summary-title {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.calc-results-card-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.03em;
  color: var(--primary-dark);
}

.calc-results-sub {
  margin: 1rem 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
}

.calc-results-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-style: italic;
}

.calc-results-tcmb {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.calc-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
  margin-top: 0.35rem;
}

.calc-mini-table th,
.calc-mini-table td {
  padding: 0.35rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-variant-numeric: tabular-nums;
}

.calc-mini-table th {
  font-weight: 800;
  color: var(--text-muted);
  font-size: 0.65rem;
}

.calc-y-toggle-wrap {
  margin: 0.75rem 0 0;
}

.calc-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
}

.calc-link-btn:hover {
  color: var(--primary-dark);
}

.calc-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.calc-seg__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}

.calc-seg__item input {
  accent-color: var(--primary);
}

.calc-enf-yontem-title {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.calc-field__legend {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.calc-aylik-grid,
.calc-yillik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.calc-enf-api-hint {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: #b45309;
  min-height: 1.2em;
}

.calc-enf-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.calc-enf-data-btn {
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(21, 122, 255, 0.4);
  background: rgba(21, 122, 255, 0.1);
  color: var(--primary-dark);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.calc-enf-data-btn:hover {
  background: rgba(21, 122, 255, 0.16);
}

.calc-enf-toolbar__sel {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calc-enf-toolbar__sel label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.calc-enf-toolbar__sel select {
  min-width: 6rem;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.calc-enf-table-wrap {
  margin-top: 0.65rem;
  max-height: 280px;
  overflow: auto;
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.calc-enf-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.calc-enf-data-table th,
.calc-enf-data-table td {
  padding: 0.35rem 0.45rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.calc-enf-empty {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.calc-error {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #991b1b;
  font-size: 0.82rem;
  font-weight: 600;
}

.calc-field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-kredi-disclaimer {
  margin: 1rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 600;
}

.calc-plan-table-wrap {
  margin-top: 0.5rem;
  max-height: min(70vh, 28rem);
  overflow: auto;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.calc-kredi-plan {
  margin: 0;
  min-width: 100%;
}

.calc-chart-wrap {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.calc-chart-title {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.calc-chart-wrap canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.main.main--detail {
  max-width: 1200px;
  overflow: visible;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(100px, 140px) minmax(0, 1fr) minmax(100px, 140px);
  gap: 1.15rem;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
}

.article-main {
  overflow: visible;
  min-width: 0;
}

.ad-skyscraper {
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
  align-self: start;
  height: max-content;
  min-height: 600px;
  z-index: 2;
}

.ad-skyscraper .ad-slot {
  min-height: 600px;
  height: auto;
  margin: 0;
}

.article-main-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Liste / anasayfa / hesaplamalar: orta sütun detay okuma genişliğine sıkışmasın */
.article-main-inner--fluid {
  max-width: 100%;
}

.article-hero {
  margin-bottom: 1.35rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-hero .media-frame {
  height: min(42vh, 380px);
  border-radius: var(--radius-sm);
}

.article-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-family: "OBA Lexend", "OBA Manrope", "Manrope", system-ui, sans-serif;
}

.article-date {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.article-views {
  display: block;
  margin: -0.5rem 0 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hakkında */
.about-wrap {
  max-width: 46rem;
  margin: 0 auto;
}

.about-hero {
  padding: 1.25rem 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(21, 122, 255, 0.12) 0%, rgba(123, 99, 255, 0.08) 100%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.about-hero-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-family: "OBA Lexend", "OBA Manrope", "Manrope", system-ui, sans-serif;
  color: var(--text);
}

.about-hero .about-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.about-card {
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
}

.about-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.about-card p,
.about-card li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
}

.about-card p {
  margin: 0 0 0.75rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card ul {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
}

.about-card li {
  margin-bottom: 0.4rem;
}

.about-warning {
  border-left: 4px solid #d92626;
  background: rgba(217, 38, 38, 0.06);
}

.about-warning h2 {
  color: #b71c1c;
}

.about-cta {
  text-align: center;
  font-weight: 600;
  color: var(--primary-dark);
}

.article-prose {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

.article-prose p {
  margin: 0 0 1rem;
}

.article-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.ad-slot--article {
  min-height: 100px;
  margin: 1.35rem 0;
}

.ad-banner-horizontal {
  box-sizing: border-box;
  min-height: 90px;
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  background: #e9ecef;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-prose .ad-banner-horizontal {
  margin-left: 0;
  margin-right: 0;
}

.article-actions {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.article-actions .card-actions {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.reaction-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.35rem 0.45rem;
  border-radius: 12px;
  background: rgba(21, 122, 255, 0.06);
  cursor: pointer;
  user-select: none;
}

.reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.reaction-chip .reaction-count {
  font-variant-numeric: tabular-nums;
  min-width: 1ch;
}

@media (min-width: 769px) {
  .slide-excerpt {
    -webkit-line-clamp: 4;
  }

  .blog-card-excerpt {
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .ad-skyscraper {
    display: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .sidebar-collapse {
    display: none;
  }

  .sidebar {
    width: min(280px, 82vw);
    transform: translateX(-100%);
    padding-top: 4rem;
  }

  .sidebar.is-open-mobile {
    transform: translateX(0);
  }

  .sidebar[data-expanded="false"] {
    width: min(280px, 82vw);
  }

  .sidebar[data-expanded="false"] .nav-text {
    opacity: 1;
    width: auto;
    overflow: visible;
  }

  .main {
    margin-left: 0;
    margin-right: 0;
    padding-top: 4.75rem;
    max-width: none;
    width: 100%;
    overflow-x: hidden;
  }

  body.sidebar-collapsed-desktop .main {
    margin-left: 0;
    width: 100%;
  }

  .blog-grid,
  .news-page-grid {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
  }

  .media-frame {
    height: 152px;
  }
}

@media (min-width: 769px) {
  .sidebar[data-expanded="false"] .sidebar-collapse::before {
    content: "›";
  }

  .sidebar[data-expanded="true"] .sidebar-collapse::before {
    content: "‹";
  }
}

/* --- Reklam: boş alanda OBA logosu (reklam yüklenince üstte kalır) --- */
.ad-slot {
  position: relative;
  overflow: hidden;
}

.ad-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/logo/oba_512.png") center / min(160px, 42%)
    no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.ad-slot > * {
  position: relative;
  z-index: 1;
}

.ad-slot--live::before {
  opacity: 0.04;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Askeri tesisler (web) --- */

.tesis-info-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(21, 122, 255, 0.28);
  background: rgba(21, 122, 255, 0.08);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text);
}

.tesis-info-note__icon {
  flex-shrink: 0;
  color: #157aff;
  margin-top: 0.05rem;
}

.tesis-info-note p {
  margin: 0;
}

.tesis-toolbar {
  padding: 1rem;
  margin-bottom: 0.5rem;
}

.tesis-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-family: inherit;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.tesis-search-input:focus {
  outline: 2px solid rgba(21, 122, 255, 0.35);
  outline-offset: 1px;
}

.tesis-segmented {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.tesis-seg-btn {
  flex: 1;
  min-width: 120px;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(21, 122, 255, 0.35);
  background: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
}

.tesis-seg-btn.is-active {
  background: var(--primary, #157aff);
  color: #fff;
  border-color: transparent;
}

.tesisler-root {
  min-height: 120px;
}

.tesis-loading,
.tesis-empty,
.tesis-error {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
}

.tesis-error {
  color: #b42318;
}

.tesis-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tesis-search-list li {
  margin-bottom: 0.5rem;
}

.tesis-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease;
}

.tesis-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.tesis-card__icon {
  color: var(--primary, #157aff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tesis-card__title {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
}

.tesis-card__meta {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.tesis-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tesis-acc-item {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.tesis-acc-summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  list-style: none;
}

.tesis-acc-summary::-webkit-details-marker {
  display: none;
}

.tesis-acc-summary__icon {
  color: var(--primary, #157aff);
  display: flex;
}

.tesis-acc-count {
  font-weight: 600;
  color: var(--text-muted);
}

.tesis-acc-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem;
}

.tesis-acc-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem 0.65rem 1.25rem;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tesis-acc-link:hover {
  background: rgba(21, 122, 255, 0.06);
}

.tesis-acc-link__ic {
  color: var(--primary, #157aff);
  display: flex;
}

.tesis-acc-link__sub {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.12rem;
}

.main--tesis-detay .article-main-inner {
  padding-bottom: 0.5rem;
}

.tesis-back-wrap {
  margin: 0 0 1rem;
}

.tesis-back-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, #157aff);
  text-decoration: none;
}

.tesis-back-link:hover {
  text-decoration: underline;
}

.tesis-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #e8ecf1;
  min-height: 220px;
}

.tesis-map-frame {
  display: block;
  width: 100%;
  height: 270px;
  border: 0;
}

.tesis-map-fallback {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.tesis-detail-head {
  margin-bottom: 1rem;
}

.tesis-detail-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tesis-detail-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tesis-detail-city {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tesis-detail-block {
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.tesis-detail-h {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.tesis-detail-addr {
  margin: 0 0 0.65rem;
  line-height: 1.5;
  font-size: 0.9375rem;
}

.tesis-copy-btn {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(21, 122, 255, 0.4);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-family: inherit;
}

.tesis-detail-phone {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.tesis-detail-phone a {
  color: var(--primary, #157aff);
  text-decoration: none;
}

.tesis-detail-phone--muted {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
}

.tesis-map-links {
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.tesis-map-links__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tesis-map-link {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: rgba(21, 122, 255, 0.1);
  color: var(--primary, #157aff);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.tesis-map-link:hover {
  background: rgba(21, 122, 255, 0.18);
}

.tesis-flutter-head {
  margin-bottom: 1rem;
}

.tesis-flutter-head__tip {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.tesis-flutter-head__name {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.tesis-flutter-head__city {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tesis-tile {
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border-left: 4px solid rgba(0, 0, 0, 0.15);
}

.tesis-tile--primary {
  border-left-color: #d92626;
  background: rgba(217, 38, 38, 0.04);
}

.tesis-tile--secondary {
  border-left-color: #157aff;
  background: rgba(21, 122, 255, 0.06);
}

.tesis-tile--notes {
  border-left-color: #00796b;
  background: rgba(0, 121, 107, 0.06);
}

.tesis-tile--muted {
  opacity: 0.85;
}

.tesis-tile__head {
  margin-bottom: 0.5rem;
}

.tesis-tile__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.tesis-tile__addr,
.tesis-tile__phone {
  margin: 0;
  line-height: 1.5;
  font-size: 0.9375rem;
}

.tesis-tile__phone a {
  color: #157aff;
  font-weight: 700;
  text-decoration: none;
}

.tesis-tile__phone--muted {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
}

.tesis-notes-html {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

.tesis-notes-html a {
  color: #157aff;
}

.tesis-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.25rem 0 1rem;
}

@media (max-width: 720px) {
  .tesis-action-grid {
    grid-template-columns: 1fr;
  }
}

.tesis-action-grid__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
}

.tesis-action-grid__btn:disabled,
.tesis-action-grid__btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.tesis-action-grid__btn--dir {
  background: rgba(217, 38, 38, 0.12);
  border-color: rgba(217, 38, 38, 0.45);
  color: #d92626;
}

.tesis-action-grid__btn--call {
  background: rgba(46, 125, 50, 0.12);
  border-color: rgba(46, 125, 50, 0.45);
  color: #2e7d32;
}

.tesis-action-grid__btn--map {
  background: rgba(21, 122, 255, 0.12);
  border-color: rgba(21, 122, 255, 0.45);
  color: #157aff;
}

.tesis-action-grid__btn--share {
  background: rgba(230, 81, 0, 0.12);
  border-color: rgba(230, 81, 0, 0.45);
  color: #e65100;
}

.tesis-map-picker {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.tesis-map-picker[hidden] {
  display: none !important;
}

.tesis-map-picker__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.tesis-map-picker__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tesis-map-picker__title {
  margin: 0 0 0.25rem;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
}

.tesis-map-picker__opt {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(21, 122, 255, 0.35);
  background: rgba(21, 122, 255, 0.08);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}

.tesis-map-picker__opt:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tesis-map-picker__cancel {
  padding: 0.5rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
}

.tesis-report-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1.25rem;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(180, 35, 24, 0.35);
  background: rgba(180, 35, 24, 0.06);
  color: #b42318;
  cursor: pointer;
}

.tesis-report-btn:hover {
  background: rgba(180, 35, 24, 0.1);
}

.tesis-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--ticker-h);
  z-index: 199;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0.45rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.tesis-act {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.4rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--primary, #157aff);
  border-radius: 8px;
  min-width: 0;
  line-height: 1.2;
  font-family: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
}

.tesis-act--btn {
  color: #c25700;
}

.tesis-act.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

@media (min-width: 480px) {
  .tesis-act {
    font-size: 0.75rem;
  }
}

/* --- Nöbetçi eczaneler (üçüncü taraf gömme) --- */
.eczane-legal-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.eczane-legal-box {
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text);
}

.eczane-legal-box a {
  color: var(--primary, #157aff);
  font-weight: 600;
}

.eczane-legal-box--emphasis {
  border-color: rgba(180, 35, 24, 0.35);
  background: rgba(180, 35, 24, 0.06);
}

.eczane-legal-box--muted {
  border-style: dashed;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.eczane-embed-card {
  padding: 1rem 1.1rem 1.15rem;
  margin-bottom: 1rem;
}

.eczane-embed-source {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.eczane-embed-wrap {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.eczane-embed-banner {
  display: block;
  margin-bottom: 0.35rem;
  border-radius: 6px;
  overflow: hidden;
}

.eczane-embed-banner__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  vertical-align: middle;
}

.eczane-embed-iframe {
  display: block;
  width: 100%;
  height: min(70vh, 600px);
  min-height: 420px;
  border: none;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
}
