/* Broke Ray — kâğıt-kesik site stili. Palet ve yazı tipleri KANAL_KIMLIGI.md §5 ile aynı. */
@font-face { font-family: Luckiest; src: url(/fonts/LuckiestGuy.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Marker; src: url(/fonts/PermanentMarker.woff2) format("woff2"); font-display: swap; }

:root {
  --mustard: #E0A43A; --mustard-d: #B97F1C; --mustard-l: #F6E2B5;
  --teal: #2E8F8A; --teal-d: #1D5A60;
  --cream: #FBF6EA; --red: #E2402F; --red-d: #A82418;
  --ink: #161211; --bill: #86C26F; --bill-d: #4F8A3C; --navy: #1D2944; --white: #fff;
  --shadow: 6px 7px 0 rgba(22, 18, 17, .26);
  --shadow-sm: 3px 4px 0 rgba(22, 18, 17, .26);
  --display: Luckiest, "Arial Black", Impact, sans-serif;
  --hand: Marker, "Comic Sans MS", cursive;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 18px/1.6 var(--body);
  background: var(--cream) url(/img/paper.webp) repeat; background-size: 960px auto;
  overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-d); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red-d); }
:focus-visible { outline: 4px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .45em; }
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-size: 22px; color: var(--teal-d); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 900px; }
.hand { font-family: var(--hand); }
.small { font-size: 15px; }
.lede { font-size: clamp(18px, 2vw, 21px); }
.fine { font-size: 14px; opacity: .78; }
[hidden] { display: none !important; }

/* kalın mürekkep konturlu kapak yazısı (kapaklardaki gibi) */
.ol {
  text-shadow:
    -.05em -.05em 0 var(--ink), .05em -.05em 0 var(--ink), -.05em .05em 0 var(--ink), .05em .05em 0 var(--ink),
    0 -.065em 0 var(--ink), 0 .065em 0 var(--ink), -.065em 0 0 var(--ink), .065em 0 0 var(--ink),
    .1em .12em 0 rgba(22, 18, 17, .28);
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- düğmeler, etiketler ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font: 19px/1 var(--display); letter-spacing: .03em;
  padding: 14px 22px 12px; border: 4px solid var(--ink); border-radius: 14px; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .12s; color: var(--ink); background: var(--cream);
}
.btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 rgba(22, 18, 17, .3); color: inherit; }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 rgba(22, 18, 17, .3); }
.btn svg { width: 28px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { color: var(--white); }
.btn-red svg { color: var(--white); }
.btn-red svg path { fill: var(--red); }
.btn-teal { background: var(--teal); color: var(--cream); }
.btn-teal:hover { color: var(--cream); }
.btn-ghost { background: var(--white); }
.btn-sm { font-size: 16px; padding: 10px 14px 8px; border-width: 3px; }
.btn-lg { font-size: 21px; padding: 16px 24px 14px; }
.kicker {
  display: inline-block; font: 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream); background: var(--teal-d); border: 3px solid var(--ink); border-radius: 999px;
  padding: 8px 14px 6px; transform: rotate(-2deg); margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.ep-no { font: 15px/1.2 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 8px; }
.ep-no a { color: inherit; }
.more { font: 18px/1.2 var(--display); letter-spacing: .03em; color: var(--red-d); text-decoration: none; }
.more:hover { text-decoration: underline; }
.ry-stamp {
  display: inline-flex; align-items: baseline; gap: 8px; font: 28px/1 var(--display); color: var(--red);
  border: 4px solid var(--red); border-radius: 10px; padding: 8px 14px 4px; transform: rotate(-3deg);
  background: rgba(255, 255, 255, .7); margin: 6px 0 18px;
}
.ry-stamp small { font-size: 15px; color: var(--ink); letter-spacing: .05em; text-transform: uppercase; }

/* yayın durumu: data-state="soon" iken .when-live gizli, "live" iken .when-soon gizli */
[data-state="live"] .when-soon, [data-state="soon"] .when-live { display: none !important; }

/* ---------- üst bant ---------- */
.site-head { border-bottom: 4px solid var(--ink); background: rgba(251, 246, 234, .92); position: relative; z-index: 5; }
.head-row { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.brand img { width: 128px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font: 18px/1 var(--display); letter-spacing: .03em; color: var(--ink); text-decoration: none; padding: 8px 2px 4px; border-bottom: 4px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--mustard); color: var(--ink); }
@media (max-width: 640px) {
  .head-row { flex-wrap: wrap; justify-content: space-between; row-gap: 4px; }
  .brand img { width: 108px; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: center; gap: 18px; }
  .nav a { font-size: 16px; }
}

/* ---------- açılış ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 4px solid var(--ink); }
.money-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg opacity='.085'%3E%3Cg transform='rotate(-14 70 62)'%3E%3Crect x='20' y='38' width='100' height='48' rx='6' fill='%2386C26F' stroke='%234F8A3C' stroke-width='4'/%3E%3Ccircle cx='70' cy='62' r='13' fill='none' stroke='%234F8A3C' stroke-width='3'/%3E%3C/g%3E%3Cg transform='rotate(24 200 80)'%3E%3Crect x='155' y='58' width='90' height='44' rx='6' fill='%2386C26F' stroke='%234F8A3C' stroke-width='4'/%3E%3Ccircle cx='200' cy='80' r='11' fill='none' stroke='%234F8A3C' stroke-width='3'/%3E%3C/g%3E%3Ctext x='170' y='225' font-family='Arial Black,Arial,sans-serif' font-weight='900' font-size='90' fill='%23161211' transform='rotate(12 190 195)'%3E$%3C/text%3E%3Ctext x='38' y='236' font-family='Arial Black,Arial,sans-serif' font-weight='900' font-size='58' fill='%23161211' transform='rotate(-10 50 215)'%3E$%3C/text%3E%3C/g%3E%3C/svg%3E");
}
.tag { position: absolute; width: clamp(150px, 17vw, 230px); filter: drop-shadow(5px 6px 0 rgba(22, 18, 17, .22)); pointer-events: none; }
.tag-l { left: -18px; top: 34px; transform: rotate(-12deg); }
.tag-r { right: -14px; top: 64px; transform: rotate(9deg); }
@media (max-width: 900px) { .tag { display: none; } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 24px; padding-block: 28px 40px; }
.ray-stage { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.ray-stage canvas { width: 100%; height: auto; aspect-ratio: 600 / 640; cursor: pointer; touch-action: manipulation; }
.bubble {
  position: absolute; top: 2%; right: -4%; max-width: 62%; margin: 0; z-index: 2;
  font: 19px/1.25 var(--hand); background: var(--white); border: 4px solid var(--ink); border-radius: 20px;
  padding: 12px 16px; box-shadow: var(--shadow-sm); animation: pop .22s ease-out;
}
.bubble::after {
  content: ""; position: absolute; left: 22%; bottom: -16px; width: 24px; height: 24px; background: var(--white);
  border-right: 4px solid var(--ink); border-bottom: 4px solid var(--ink); transform: rotate(35deg) skew(10deg, 10deg);
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hero-copy { text-align: center; }
.title { font-size: clamp(64px, 11vw, 140px); line-height: .92; color: var(--mustard); margin: 0 0 14px; }
.tagline { font-size: clamp(19px, 2.4vw, 27px); margin-bottom: 18px; }
.pill {
  display: inline-block; font: clamp(14px, 1.7vw, 19px)/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase;
  color: var(--cream); background: var(--teal); border: 4px solid var(--ink); border-radius: 999px; padding: 12px 24px 9px;
  box-shadow: var(--shadow-sm);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 18px 34px; gap: 0; }
  .ray-stage { max-width: 300px; order: 2; margin-top: 10px; }
  .hero-copy { order: 1; padding-top: 10px; }
  .bubble { font-size: 16px; right: -10%; }
}

/* ---------- bölümler ---------- */
.section { padding-block: clamp(44px, 7vw, 84px); }
.page-head h1 { margin-bottom: .3em; }
.feat-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 44px); align-items: center; }
.feat-copy h2 a { color: var(--ink); text-decoration: none; }
.feat-copy h2 a:hover { color: var(--red-d); }
@media (max-width: 860px) { .feat-grid { grid-template-columns: 1fr; } }
.next-up {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 30px; padding: 14px;
  background: var(--white); border: 4px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none;
}
.next-up:hover { color: var(--ink); transform: translateY(-2px); }
.next-up img { border: 3px solid var(--ink); border-radius: 10px; filter: saturate(.8); }
.next-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.next-copy .kicker { margin: 0; }
.next-copy strong { font: 22px/1.15 var(--display); font-weight: 400; }
.next-copy [data-countdown] { font-family: var(--display); color: var(--red-d); }
@media (max-width: 560px) { .next-up { grid-template-columns: 1fr; } }
.more-eps:not(:has(.ep-card:not([hidden]))) { display: none; }

.player {
  position: relative; aspect-ratio: 16 / 9; border: 5px solid var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--navy); margin-bottom: 22px;
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-facade:focus-visible { outline: 5px solid var(--mustard); outline-offset: -8px; }
.play {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 64px; margin: -32px 0 0 -46px; display: grid; place-items: center;
  background: var(--red); color: var(--white); border: 4px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: transform .15s;
}
.play svg { width: 40px; height: 40px; }
.yt-facade:hover .play { transform: scale(1.08) rotate(-2deg); }
.player[data-state="soon"] .yt-facade { pointer-events: none; }
.player[data-state="soon"] .yt-facade img { filter: saturate(.7) brightness(.42); }
.soon-veil {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center; color: var(--cream); padding: 16px;
}
.soon-veil .kicker { margin-bottom: 6px; }
.soon-veil .countdown { font: clamp(30px, 6vw, 58px)/1 var(--display); color: var(--mustard); margin: 0; letter-spacing: .02em; }
.soon-veil .small { margin: 4px 0 12px; }
.soon-veil .btn { font-size: 16px; padding: 10px 14px 8px; }
@media (max-width: 480px) { .soon-veil .btn { display: none; } .soon-veil .small { margin-bottom: 0; } }

.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; margin: 26px 0; }
.ep-card a { display: block; color: var(--ink); text-decoration: none; }
.ep-card .thumb { position: relative; display: block; border: 4px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 12px; transition: transform .15s; }
.ep-card a:hover .thumb { transform: rotate(-1deg) translateY(-3px); }
.ep-card[data-state="soon"] .thumb img { filter: saturate(.7) brightness(.5); }
.ep-card .badge { position: absolute; left: 10px; bottom: 10px; font: 15px/1 var(--display); background: var(--mustard); border: 3px solid var(--ink); border-radius: 999px; padding: 7px 12px 5px; }
.ep-card h3 { font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.ep-card .ry-stamp { font-size: 20px; padding: 6px 10px 3px; border-width: 3px; }

/* ---------- hesap makinesi ---------- */
.math { background: rgba(224, 164, 58, .16); border-block: 4px solid var(--ink); }
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin-top: 26px;
  background: var(--white); border: 5px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden;
}
.calc-in { padding: clamp(20px, 3.4vw, 36px); }
.calc-in label { font: 20px/1 var(--display); letter-spacing: .04em; display: block; margin-bottom: 10px; }
.money-input { display: flex; align-items: center; border: 4px solid var(--ink); border-radius: 16px; background: var(--cream); }
.money-input:focus-within { outline: 4px solid var(--mustard); outline-offset: 2px; }
.money-input span { font: 44px/1 var(--display); color: var(--red); padding: 8px 0 0 16px; }
.money-input input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--ink);
  font: clamp(32px, 5vw, 46px)/1 var(--display); padding: 16px 14px 10px 8px;
}
.money-input input::placeholder { color: rgba(22, 18, 17, .28); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips button {
  font: 15px/1 var(--display); letter-spacing: .03em; color: var(--ink); background: var(--cream); cursor: pointer;
  border: 3px solid var(--ink); border-radius: 999px; padding: 9px 14px 6px; box-shadow: 2px 3px 0 rgba(22, 18, 17, .25);
}
.chips button:hover, .chips button[aria-pressed="true"] { background: var(--mustard); }
.calc-out {
  position: relative; text-align: center; color: var(--cream); padding: 18px clamp(16px, 3vw, 30px) 26px;
  background: radial-gradient(circle at 50% 30%, #3AA19B, var(--teal-d) 72%); border-left: 5px solid var(--ink);
}
.calc-out canvas { width: 200px; height: 200px; margin: 0 auto -6px; }
.calc-out .react { font: 22px/1.1 var(--display); color: var(--mustard); margin: 0 0 6px; letter-spacing: .02em; }
.calc-out .big { font: clamp(46px, 7.5vw, 82px)/1 var(--display); color: var(--white); margin: 0; overflow-wrap: anywhere; }
.calc-out .unit { font: 18px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--mustard-l); margin: 6px 0 12px; }
.calc-out .say { font-size: 19px; line-height: 1.35; margin: 0 auto 14px; max-width: 34ch; }
.stats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 0; margin: 0 0 14px; font-size: 15px; }
.stats b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--mustard-l); }
.calc-out .btn-ghost { color: var(--ink); }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px) rotate(-1deg); } 40%, 80% { transform: translateX(6px) rotate(1deg); } }
@media (max-width: 820px) {
  .calc { grid-template-columns: 1fr; }
  .calc-out { border-left: 0; border-top: 5px solid var(--ink); }
}

/* ---------- kartlar ---------- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 24px; }
.card { background: var(--white); border: 4px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 22px 22px 8px; }
.card:nth-child(2n) { transform: rotate(.6deg); }
.card:nth-child(2n+1) { transform: rotate(-.5deg); }
.card p { font-size: 17px; }

.next-band { background: var(--mustard); border-top: 4px solid var(--ink); }
.next-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.next-band h2 { color: var(--white); font-size: clamp(36px, 5vw, 56px); margin-bottom: .2em; }
.next-band p { margin: 0; font-size: 19px; }

/* ---------- bölüm sayfası ---------- */
.episode h1 { font-size: clamp(32px, 5vw, 54px); }
.meta { font-size: 16px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.meta svg { display: inline; width: 14px; height: 14px; vertical-align: -1px; }
.ep-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 56px); align-items: start; max-width: 900px; margin-block: 18px 34px; }
@media (max-width: 760px) { .ep-cols { grid-template-columns: 1fr; } }
.chapters { list-style: none; margin: 0; padding: 0; }
.chapters button {
  all: unset; box-sizing: border-box; display: flex; gap: 12px; width: 100%; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: 17px;
}
.chapters button:hover { background: rgba(224, 164, 58, .25); }
.chapters button:focus-visible { outline: 3px solid var(--mustard); }
.chapters .t { font: 17px/1.5 var(--display); color: var(--teal-d); min-width: 3.2em; }

.receipt {
  position: relative; margin: 0; background: var(--white); border: 4px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow);
  padding: 22px 24px 30px; font-family: var(--hand); transform: rotate(1deg);
}
.receipt::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(22, 18, 17, .35); border-radius: 8px; pointer-events: none; }
.receipt figcaption { font: 32px/1 var(--display); color: var(--red); text-align: center; margin-bottom: 14px; }
.receipt dl { margin: 0; font-size: 17px; }
.receipt dl div { display: flex; align-items: baseline; gap: 6px; padding: 3px 0; }
.receipt dl div::after { content: ""; flex: 1; order: 1; border-bottom: 2px dotted rgba(22, 18, 17, .35); }
.receipt dt { order: 0; }
.receipt dd { order: 2; margin: 0; text-align: right; }
.receipt .total { margin: 14px 0 0; padding-top: 10px; border-top: 3px solid var(--ink); font-size: 18px; }
.stamp {
  position: absolute; right: 14px; bottom: -14px; font: 20px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--red);
  border: 4px solid var(--red); border-radius: 8px; padding: 6px 10px 3px; transform: rotate(-10deg); background: rgba(255, 255, 255, .85);
}
.sources { padding-left: 20px; font-size: 16px; }
.sources li { margin-bottom: 8px; }
.note { opacity: .85; font-style: italic; }
.shorts { list-style: none; padding: 0; margin: 18px 0 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.short[data-state="soon"] { display: none; }
.shorts-wrap:not(:has([data-state="live"])) { display: none; }
.short a { display: block; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.short img { border: 4px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow-sm); margin-bottom: 8px; aspect-ratio: 9 / 16; object-fit: cover; }
.ep-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; }
.ep-nav a { font: 19px/1 var(--display); text-decoration: none; }

/* ---------- hakkında, 404, yazı ---------- */
.about-grid, .nf-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 60px); align-items: center; }
.small-stage { max-width: 380px; }
.big-hand { font-size: clamp(22px, 3vw, 30px); color: var(--red); transform: rotate(-2deg); display: inline-block; }
@media (max-width: 760px) {
  .about-grid, .nf-grid { grid-template-columns: 1fr; }
  .small-stage { max-width: 260px; }
}
.prose h2 { font-size: 26px; margin-top: 1.4em; }

/* ---------- alt bant ---------- */
.site-foot { background: var(--teal-d); color: var(--cream); border-top: 5px solid var(--ink); padding: 40px 0 26px; }
.site-foot a { color: var(--cream); }
.site-foot a:hover { color: var(--mustard-l); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 28px; align-items: start; }
.foot-logo { width: 170px; margin-bottom: 10px; }
.site-foot nav { display: flex; flex-direction: column; gap: 8px; }
.site-foot nav a { font: 17px/1.3 var(--display); letter-spacing: .03em; text-decoration: none; }
.site-foot .btn { margin-bottom: 12px; color: var(--white); }
.site-foot .fine { border-top: 2px solid rgba(251, 246, 234, .25); margin-top: 26px; padding-top: 16px; }
.site-foot .fine p { margin-bottom: 6px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
