/*
 * Alisan Pano — TV / tablet ekranı
 *
 * Eski Tizen tarayıcıları (Chromium 47) için: CSS değişkeni, grid ve
 * flex `gap` yok. Ölçek rem üzerinden; kök yazı boyunu ekran.js ayarlıyor.
 */

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow: hidden;
	background: #0e1116;
	color: #eef1f5;
	font-family: "SamsungOne", "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	cursor: default;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

.ek-root {
	height: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	padding: 1.4rem 1.8rem 0.8rem;
}

.ek-boot {
	margin: auto;
	font-size: 1.6rem;
	color: #8b95a5;
}

.ek-muted { color: #8b95a5; }

/* ---------- üst şerit ---------- */

.ek-top {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	margin-bottom: 1.2em;
}

.ek-time {
	font-size: 6.2em;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.04em;
}

.ek-colon { position: relative; top: -0.08em; padding: 0 0.04em; opacity: 0.6; }
.ek-time { font-variant-numeric: tabular-nums; -webkit-font-feature-settings: "tnum"; font-feature-settings: "tnum"; }
.ek-sec { font-size: 0.62em; opacity: 0.75; }

.ek-date {
	margin-top: 0.4em;
	font-size: 1.55em;
	color: #aeb7c4;
}

.ek-weather {
	margin-left: auto;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}

.ek-wnow {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	margin-right: 2em;
}

.ek-wnow .ek-wi { width: 5.4em; height: 5.4em; margin-right: 1em; }
.ek-wtemp { font-size: 3.6em; font-weight: 300; line-height: 1; }
.ek-wlabel { font-size: 1.25em; margin-top: 0.2em; }
.ek-wtxt { min-width: 0; }
.ek-wlabel small { font-size: 0.75em; color: #8b95a5; }
.ek-wplace { font-size: 0.95em; color: #8b95a5; margin-top: 0.25em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ek-wplace small { font-size: 0.85em; opacity: 0.8; }
.ek-pin { width: 1em; height: 1em; vertical-align: -0.12em; margin-right: 0.25em; fill: #5fd3b0; }

.ek-wdays { display: -webkit-flex; display: flex; }

.ek-wd {
	width: 4.6em;
	text-align: center;
	font-size: 1em;
	padding: 0.5em 0;
	margin-left: 0.4em;
	border-radius: 0.8em;
	background: #161b23;
}

.ek-wd span { display: block; color: #8b95a5; }
.ek-wd .ek-wi { width: 2.4em; height: 2.4em; display: block; margin: 0.25em auto; }
.ek-wd b { font-weight: 600; }
.ek-wd i { font-style: normal; color: #8b95a5; margin-left: 0.3em; }

.ek-wi {
	fill: none;
	stroke: #cfd6e0;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ek-wi--clear { stroke: #ffc94d; }
.ek-wi--partly g { stroke: #ffc94d; }
.ek-wi--rain path:last-child, .ek-wi--storm path:last-child { stroke: #6cb6ff; }

/* ---------- kartlar ---------- */

.ek-grid {
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	display: -webkit-flex;
	display: flex;
	min-height: 0;
}

.ek-col {
	-webkit-flex: 1 1 0;
	flex: 1 1 0;
	min-width: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	margin-right: 1.2em;
}

.ek-col:last-child { margin-right: 0; }

.ek-card {
	-webkit-flex: 1 1 0;
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
	background: #161b23;
	border-radius: 1.2em;
	padding: 1.1em 1.3em;
	margin-bottom: 1.2em;
	position: relative;
}

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

/* Kart altta kesiliyorsa yumuşak geçiş. */
.ek-card:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1.6em;
	background: -webkit-linear-gradient(top, rgba(22, 27, 35, 0), #161b23);
	background: linear-gradient(to bottom, rgba(22, 27, 35, 0), #161b23);
}

.ek-card h2 {
	margin: 0 0 0.8em;
	font-size: 1.05em;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8b95a5;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}

.ek-card__ic svg {
	width: 1.35em;
	height: 1.35em;
	margin-right: 0.5em;
	fill: none;
	stroke: #5fd3b0;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	display: block;
}

/* Duyuru ve görev kartı içeriği kadar yer alır; kalanı takvim ve alışverişe kalır. */
.ek-card--notes, .ek-card--tasks {
	-webkit-flex: 0 1 auto;
	flex: 0 1 auto;
	max-height: 58%;
}

.ek-card--notes:after, .ek-card--tasks:after { display: none; }

.ek-empty { margin: 0.4em 0; color: #5e6878; font-size: 1.3em; }
.ek-more { margin: 0.4em 0 0; color: #8b95a5; font-size: 1em; }

/* duyuru */

.ek-note {
	border-left: 0.3em solid #5fd3b0;
	padding: 0.15em 0 0.15em 0.9em;
	margin-bottom: 1em;
}

.ek-note.is-imp { border-left-color: #ffc94d; }
.ek-note__t { font-size: 1.65em; font-weight: 600; line-height: 1.25; }
.ek-note__b { font-size: 1.25em; color: #c3cad5; margin-top: 0.25em; line-height: 1.35; white-space: pre-line; }
.ek-note__m { font-size: 0.95em; color: #8b95a5; margin-top: 0.4em; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }

/* takvim */

.ek-day {
	font-size: 1em;
	font-weight: 600;
	color: #5fd3b0;
	margin: 0.6em 0 0.25em;
}

.ek-day:first-child { margin-top: 0; }

.ek-ev {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	font-size: 1.4em;
	padding: 0.3em 0;
}

.ek-ev.is-past { opacity: 0.4; }
.ek-ev__time { width: 5.4em; -webkit-flex: 0 0 auto; flex: 0 0 auto; color: #aeb7c4; font-size: 1.2em; }
.ek-ev__t { -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* görev ve alışveriş */

.ek-row, .ek-shop {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	padding: 0.45em 0;
	border-bottom: 1px solid #222934;
	font-size: 1.45em;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.ek-row:last-child { border-bottom: 0; }
.ek-row__t { -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; }

.ek-check {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	width: 1.35em;
	height: 1.35em;
	border: 0.15em solid #4b5566;
	border-radius: 50%;
	margin-right: 0.8em;
}

.ek-tap { cursor: pointer; }
.is-done { opacity: 0.35; text-decoration: line-through; }
.is-done .ek-check { background: #5fd3b0; border-color: #5fd3b0; }

.ek-due {
	display: inline-block;
	margin-left: 0.6em;
	font-size: 1em;
	color: #8b95a5;
	background: #1e2530;
	padding: 0.1em 0.5em;
	border-radius: 0.4em;
	vertical-align: middle;
}

.ek-due.is-late { color: #ff8a7a; background: #3a1f1f; }
.ek-star { color: #ffc94d; font-weight: normal; }

.ek-shops {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

.ek-shop {
	width: 50%;
	padding-right: 0.8em;
	font-size: 1.35em;
}

.ek-shop__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ek-shop em { font-style: normal; color: #8b95a5; font-size: 1.1em; }

/* kişi rozeti */

.ek-av {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	display: inline-block;
	width: 2em;
	height: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	font-size: 1em;
	font-weight: 700;
	color: #fff;
	margin-left: 0.6em;
}

.ek-av--s { width: 1.5em; height: 1.5em; line-height: 1.5em; font-size: 0.8em; margin: 0 0.4em 0 0; }
.ek-ev .ek-av--s { margin: 0 0 0 0.5em; }

/* fotoğraf */

.ek-col--photo { -webkit-flex-grow: 0.9; flex-grow: 0.9; }

.ek-photo {
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	position: relative;
	border-radius: 1.2em;
	overflow: hidden;
	background: #161b23;
}

.ek-photo img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	-webkit-transition: opacity 1.4s ease;
	transition: opacity 1.4s ease;
}

.ek-photo img.is-on { opacity: 1; }

/* alt bilgi */

.ek-foot {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	padding-top: 0.6rem;
	font-size: 0.85rem;
	color: #4b5566;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}

.ek-dot {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: #2fbf71;
	margin-right: 0.5rem;
}

.ek-dot.is-off { background: #e5534b; }

/* ---------- eşleştirme ---------- */

.ek-pair {
	margin: auto;
	text-align: center;
	max-width: 52rem;
}

.ek-pair h1 { font-size: 2.6rem; font-weight: 400; margin: 0 0 1.4rem; }
.ek-pair p { font-size: 1.3rem; }

.ek-pair__logo svg {
	width: 5rem;
	height: 5rem;
	fill: none;
	stroke: #5fd3b0;
	stroke-width: 2.4;
	stroke-linejoin: round;
}

.ek-pair__steps {
	text-align: left;
	display: inline-block;
	font-size: 1.5rem;
	line-height: 1.8;
	color: #c3cad5;
	margin: 0 0 1.6rem;
}

.ek-pair__code {
	font-size: 7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	font-family: "Roboto Mono", Menlo, Consolas, monospace;
	color: #fff;
	background: #161b23;
	border-radius: 1.4rem;
	padding: 1.2rem 2.4rem;
	display: inline-block;
	margin-bottom: 1.2rem;
}

.ek-pair__code span { display: inline-block; width: 0.5em; }

/* ---------- bildirim ---------- */

.ek-alert {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 30;
	background: rgba(5, 8, 12, 0.82);
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}

.ek-alert__box {
	width: 70%;
	max-width: 70rem;
	background: #1c2430;
	border-radius: 2rem;
	padding: 3rem 3.4rem 2.2rem;
	text-align: center;
	border-top: 0.6rem solid #5fd3b0;
	-webkit-animation: ek-pop 0.45s ease-out;
	animation: ek-pop 0.45s ease-out;
}

.ek-alert--hatirlatma { border-top-color: #ffc94d; }
.ek-alert--duyuru { border-top-color: #6cb6ff; }

.ek-alert__ic { font-size: 5rem; line-height: 1; margin-bottom: 1rem; }
.ek-alert__t { font-size: 3.6rem; font-weight: 600; line-height: 1.15; }
.ek-alert__b { font-size: 2rem; color: #c3cad5; margin-top: 1rem; white-space: pre-line; }
.ek-alert__m { font-size: 1.3rem; color: #8b95a5; margin-top: 1.6rem; display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; }
.ek-alert__ok { font-size: 1rem; color: #4b5566; margin-top: 1.4rem; }

@-webkit-keyframes ek-pop { from { -webkit-transform: scale(0.85); opacity: 0; } to { -webkit-transform: none; opacity: 1; } }
@keyframes ek-pop { from { transform: scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- gece karartma ---------- */

.ek-night {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	background: rgba(0, 0, 0, 0.86);
	pointer-events: none;
}

.ek-night.is-alert { display: none; }

/* ---------- ses ipucu ---------- */

.ek-hint {
	position: fixed;
	right: 1.8rem;
	bottom: 0.7rem;
	z-index: 25;
	font-size: 0.9rem;
	color: #8b95a5;
	background: #161b23;
	padding: 0.4rem 0.8rem;
	border-radius: 0.5rem;
}

/* ---------- dikey tablet ---------- */

.is-portrait .ek-grid {
	-webkit-flex-direction: column;
	flex-direction: column;
}

.is-portrait .ek-col { margin-right: 0; margin-bottom: 1.2em; }
.is-portrait .ek-col:last-child { margin-bottom: 0; }
.is-portrait .ek-wdays { display: none; }


/* ---------- açık tema ----------
 * CSS değişkeni kullanılamadığı için (eski Tizen) gövde sınıfıyla ezilir.
 */

.ek-light, .ek-light body { background: #eef0f3; color: #1d2328; }
html.ek-light { background: #eef0f3; }
.ek-light .ek-boot, .ek-light .ek-muted { color: #6b747d; }
.ek-light .ek-date { color: #4b5563; }
.ek-light .ek-wplace, .ek-light .ek-wd span, .ek-light .ek-wd i { color: #6b747d; }
.ek-light .ek-wd { background: #ffffff; box-shadow: 0 1px 3px rgba(20, 30, 40, 0.06); }
.ek-light .ek-wi { stroke: #4b5563; }
.ek-light .ek-wi--clear, .ek-light .ek-wi--partly g { stroke: #e0a100; }
.ek-light .ek-wi--rain path:last-child, .ek-light .ek-wi--storm path:last-child { stroke: #2e86de; }

.ek-light .ek-card, .ek-light .ek-photo { background: #ffffff; box-shadow: 0 1px 4px rgba(20, 30, 40, 0.06); }
.ek-light .ek-card:after {
	background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #ffffff);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}
.ek-light .ek-card h2 { color: #6b747d; }
.ek-light .ek-card__ic svg { stroke: #1f8a6c; }
.ek-light .ek-empty { color: #9aa2ab; }
.ek-light .ek-more { color: #6b747d; }

.ek-light .ek-note { border-left-color: #1f8a6c; }
.ek-light .ek-note.is-imp { border-left-color: #e0a100; }
.ek-light .ek-note__b { color: #4b5563; }
.ek-light .ek-note__m { color: #6b747d; }
.ek-light .ek-day { color: #1f8a6c; }
.ek-light .ek-ev__time { color: #4b5563; }
.ek-light .ek-row, .ek-light .ek-shop { border-bottom-color: #eceef1; }
.ek-light .ek-check { border-color: #b4bac2; }
.ek-light .is-done .ek-check { background: #1f8a6c; border-color: #1f8a6c; }
.ek-light .ek-due { color: #4b5563; background: #eef0f3; }
.ek-light .ek-due.is-late { color: #c2412d; background: #fbe9e6; }
.ek-light .ek-star { color: #e0a100; }
.ek-light .ek-shop em { color: #6b747d; }
.ek-light .ek-foot { color: #9aa2ab; }

.ek-light .ek-pair__code { background: #ffffff; color: #1d2328; box-shadow: 0 1px 4px rgba(20, 30, 40, 0.08); }
.ek-light .ek-pair__steps { color: #4b5563; }
.ek-light .ek-pair__logo svg { stroke: #1f8a6c; }

.ek-light .ek-alert { background: rgba(30, 36, 44, 0.55); }
.ek-light .ek-alert__box { background: #ffffff; color: #1d2328; border-top-color: #1f8a6c; }
.ek-light .ek-alert--hatirlatma { border-top-color: #e0a100; }
.ek-light .ek-alert--duyuru { border-top-color: #2e86de; }
.ek-light .ek-alert__b { color: #4b5563; }
.ek-light .ek-alert__m { color: #6b747d; }
.ek-light .ek-alert__ok { color: #9aa2ab; }
.ek-light .ek-hint { background: #ffffff; color: #6b747d; }

/* tema düğmesi — sağ üstte, dokunma ve kumanda (ok tuşu + OK) ile */
.ek-theme {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	width: 3.4em;
	height: 3.4em;
	margin-left: 1.2em;
	border-radius: 50%;
	border: 0.1em solid #2a3240;
	background: #161b23;
	color: #cfd6e0;
	padding: 0;
	cursor: pointer;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}

.ek-theme svg {
	width: 1.7em;
	height: 1.7em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ek-theme__moon { display: none; }
.ek-light .ek-theme__moon { display: block; }
.ek-light .ek-theme__sun { display: none; }

.ek-theme:focus { outline: none; box-shadow: 0 0 0 0.25em #5fd3b0; }
.ek-light .ek-theme { background: #ffffff; border-color: #dfe3e8; color: #4b5563; }
.ek-light .ek-theme:focus { box-shadow: 0 0 0 0.25em #1f8a6c; }

.ek-why { margin-top: 1.4rem; font-size: 1.1rem !important; color: #ffc94d; }
.ek-light .ek-why { color: #b07800; }

/* =========================================================
 * Kutucuk ızgarası (1.7.0) — 12 × 8, mutlak konum, yüzdeyle.
 * ======================================================= */

.ek-board {
	position: relative;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	min-height: 0;
	margin: -0.6rem;
}

.ek-w { position: absolute; }

.ek-w__in {
	position: absolute;
	left: 0.6rem;
	top: 0.6rem;
	right: 0.6rem;
	bottom: 0.6rem;
}

.ek-w .ek-card,
.ek-w .ek-photo {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	max-height: none;
	height: auto;
}

.ek-card--center {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	text-align: center;
}

.ek-card--center:after, .ek-note-card:after, .ek-market:after, .ek-prayer:after, .ek-card--weather:after { display: none; }

.ek-foot .ek-theme { margin-left: auto; width: 2.4rem; height: 2.4rem; }
.ek-foot .ek-theme svg { width: 1.2rem; height: 1.2rem; }

/* saat */

.ek-w--saat .ek-clock {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	padding-left: 0.4em;
}

.ek-w--saat .ek-time { white-space: nowrap; }
.ek-w--saat .ek-date { margin-top: 0.3em; white-space: nowrap; }
.ek-clock--analog { -webkit-align-items: center !important; align-items: center !important; padding-left: 0 !important; }
.ek-analog { display: block; }
.ek-analog line { stroke: #cfd6e0; stroke-width: 1.6; stroke-linecap: round; }
.ek-analog .ek-h { stroke-width: 4; stroke: #eef1f5; }
.ek-analog .ek-m { stroke-width: 2.6; stroke: #eef1f5; }
.ek-analog .ek-s { stroke-width: 1.2; stroke: #ff8a7a; }
.ek-analog__face { fill: #161b23; stroke: #2a3240; stroke-width: 1.5; }
.ek-analog__pin { fill: #ff8a7a; }

/* hava */

.ek-card--weather {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}

.ek-card--weather .ek-weather { margin-left: 0; width: 100%; -webkit-justify-content: space-between; justify-content: space-between; }

/* özel kart */

.ek-note-card { border-top: 0.35em solid #5fd3b0; }
.ek-note-card__t { text-transform: none !important; letter-spacing: 0 !important; font-size: 1.5em !important; color: inherit !important; }
.ek-note-card__b { white-space: pre-line; line-height: 1.35; }
.ek-note-card.is-center { text-align: center; }
.ek-card__ic .ek-emoji { display: block; width: 1.35em; height: 1.35em; line-height: 1.35em; margin-right: 0.5em; text-align: center; font-size: 1em; }
.ek-card__ic .ek-emoji .ek-ico { width: 1.35em; height: 1.35em; vertical-align: top; }
.ek-note-card.is-center h2 { -webkit-justify-content: center; justify-content: center; }
.ek-emoji { margin-right: 0.5em; }

/* geri sayım */

.ek-count__n { font-size: 5.5em; font-weight: 300; line-height: 1; }
.ek-count__n--today { font-size: 4em; }
.ek-count__u { font-size: 1.3em; color: #8b95a5; margin-top: 0.2em; }
.ek-count__t { font-size: 1.6em; margin-top: 0.6em; }

/* namaz */

.ek-pr__left { font-size: 1.25em; color: #c3cad5; margin-bottom: 0.7em; }
.ek-pr__left b { color: #5fd3b0; }
.ek-prs { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }

.ek-pr {
	width: 33.333%;
	padding: 0.4em 0.3em;
	text-align: center;
	border-radius: 0.6em;
}

.ek-pr span { display: block; font-size: 1em; color: #8b95a5; }
.ek-pr b { display: block; font-size: 1.7em; font-weight: 500; }
.ek-pr.is-next { background: #1e2a2a; }
.ek-pr.is-next b, .ek-pr.is-next span { color: #5fd3b0; }

/* döviz */

.ek-fx {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: baseline;
	align-items: baseline;
	padding: 0.45em 0;
	border-bottom: 1px solid #222934;
	font-size: 1.4em;
}

.ek-fx:last-child { border-bottom: 0; }
.ek-fx span { -webkit-flex: 1 1 auto; flex: 1 1 auto; color: #c3cad5; }
.ek-fx b { font-weight: 600; margin-left: 0.6em; }
.ek-fx i { font-style: normal; font-size: 1em; width: 5em; text-align: right; color: #8b95a5; }
.ek-fx i.is-up { color: #2fbf71; }
.ek-fx i.is-down { color: #e5534b; }

/* açık tema karşılıkları */

.ek-light .ek-analog line { stroke: #6b747d; }
.ek-light .ek-analog .ek-h, .ek-light .ek-analog .ek-m { stroke: #1d2328; }
.ek-light .ek-analog__face { fill: #ffffff; stroke: #dfe3e8; }
.ek-light .ek-count__u, .ek-light .ek-pr span { color: #6b747d; }
.ek-light .ek-pr__left { color: #4b5563; }
.ek-light .ek-pr__left b, .ek-light .ek-pr.is-next b, .ek-light .ek-pr.is-next span { color: #1f8a6c; }
.ek-light .ek-pr.is-next { background: #e3f0ec; }
.ek-light .ek-fx { border-bottom-color: #eceef1; }
.ek-light .ek-fx span { color: #4b5563; }


/* 1.8.0 — kutucuk içi ölçüler em: .ek-w__in'in yazı boyunu ekran.js kutucuğun
   büyüklüğüne ve seçilen "Yazı boyutu"na göre ayarlar, içerik birlikte büyür. */
.ek-w__in { font-size: 1rem; }
.ek-ico { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -0.2em; object-fit: contain; }
.ek-count__n .ek-ico, .ek-count__n--today .ek-ico { width: 1em; height: 1em; }
.ek-fx--2 b { min-width: 0; }
.ek-fx small { display: block; font-size: 0.7em; color: #8b95a5; }
.ek-fxh { display: -webkit-flex; display: flex; font-size: 0.85em; color: #8b95a5; padding-bottom: 0.3em; border-bottom: 1px solid #222934; }
.ek-fxh span { -webkit-flex: 1 1 auto; flex: 1 1 auto; }
.ek-fxh b, .ek-fx .ek-fx__v { width: 5.6em; text-align: right; font-weight: 600; margin-left: 0.4em; }
.ek-fxh b { font-weight: 400; }
.ek-light .ek-fxh { border-bottom-color: #eceef1; color: #6b747d; }
.ek-src { font-size: 0.75em; color: #5e6878; margin-top: 0.5em; }

/* döviz satırları tek satır: ad kısalır, sayılar kaymaz */
.ek-fx { white-space: nowrap; }
.ek-fx span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ek-fx i { width: auto; min-width: 4.6em; }
.ek-fxh i { min-width: 4.6em; }
.ek-count__t { white-space: nowrap; }

/* ---------- yağmur / kar ---------- */

.ek-sky {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 5;
	border-radius: 1.2em;
}

.ek-sky--page { position: fixed; z-index: 15; border-radius: 0; }

.ek-sky span {
	position: absolute;
	top: 0;
	height: 100%;
	width: 1px;
	-webkit-animation: ek-fall 1s linear infinite;
	animation: ek-fall 1s linear infinite;
	will-change: transform;
}

.ek-sky i { position: absolute; left: 0; bottom: 100%; display: block; }

.ek-sky--yagmur i {
	background: -webkit-linear-gradient(top, rgba(174, 200, 235, 0), rgba(174, 200, 235, 0.55));
	background: linear-gradient(to bottom, rgba(174, 200, 235, 0), rgba(174, 200, 235, 0.55));
	border-radius: 0 0 0.1rem 0.1rem;
}

.ek-sky--yagmur span { -webkit-transform: rotate(8deg); transform: rotate(8deg); }
.ek-sky--kar i { background: rgba(255, 255, 255, 0.9); border-radius: 50%; }
.ek-sky--kar span { -webkit-animation-name: ek-snow; animation-name: ek-snow; }

/* Sütun kutunun boyunda: %100 kaydırma = kutunun bir boyu. */
@-webkit-keyframes ek-fall { from { -webkit-transform: translate3d(0, 0, 0) rotate(8deg); } to { -webkit-transform: translate3d(-8%, 102%, 0) rotate(8deg); } }
@keyframes ek-fall { from { transform: translate3d(0, 0, 0) rotate(8deg); } to { transform: translate3d(-8%, 102%, 0) rotate(8deg); } }
@-webkit-keyframes ek-snow { 0% { -webkit-transform: translate3d(0, 0, 0); } 50% { -webkit-transform: translate3d(1.2rem, 52%, 0); } 100% { -webkit-transform: translate3d(-0.6rem, 104%, 0); } }
@keyframes ek-snow { 0% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(1.2rem, 52%, 0); } 100% { transform: translate3d(-0.6rem, 104%, 0); } }

.ek-sky__flash {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	opacity: 0;
	-webkit-animation: ek-flash 11s linear infinite;
	animation: ek-flash 11s linear infinite;
}

@-webkit-keyframes ek-flash { 0%, 91%, 93.5%, 100% { opacity: 0; } 91.5% { opacity: 0.22; } 92.5% { opacity: 0.08; } 93% { opacity: 0.18; } }
@keyframes ek-flash { 0%, 91%, 93.5%, 100% { opacity: 0; } 91.5% { opacity: 0.22; } 92.5% { opacity: 0.08; } 93% { opacity: 0.18; } }

.ek-light .ek-sky--yagmur i {
	background: -webkit-linear-gradient(top, rgba(60, 95, 140, 0), rgba(60, 95, 140, 0.45));
	background: linear-gradient(to bottom, rgba(60, 95, 140, 0), rgba(60, 95, 140, 0.45));
}

.ek-light .ek-sky--kar i { background: rgba(140, 165, 195, 0.85); }
.ek-light .ek-pin { fill: #1f9e7c; }
.ek-light .ek-wlabel small { color: #6b747d; }

/* Alçak kutuda kur / namaz satırları: boşluklar daralır, yazı büyük kalır. */
.ek-tight { padding: 0.55em 0.9em; }
.ek-tight h2 { margin-bottom: 0.25em; font-size: 0.95em; }
.ek-tight .ek-fx { padding: 0.1em 0; }
.ek-tight .ek-fxh { padding-bottom: 0.1em; }

/* Görev listeli özel kart */
.ek-note-card__sub { margin: 0 0 0.5em; color: #8b95a5; white-space: pre-line; }
.ek-light .ek-note-card__sub { color: #6b747d; }

/* Alçak sayaç: yan yana */
.ek-count--row {
	-webkit-flex-direction: row;
	flex-direction: row;
	padding: 0.4em 0.9em;
}
.ek-count--row .ek-count__n { font-size: 4.6em; margin-right: 0.18em; }
.ek-count--row .ek-count__n--today { font-size: 3.4em; }
.ek-count--row .ek-count__s { text-align: left; min-width: 0; overflow: hidden; }
.ek-count--row .ek-count__u { margin-top: 0; }
.ek-count--row .ek-count__t {
	margin-top: 0.1em;
	font-size: 1.35em;
	line-height: 1.15;
	white-space: normal;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.ek-count__s { max-width: 100%; }
.ek-count .ek-count__t { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Renkli tema (pastel zemin, cam kartlar) ---------- */

html.ek-pastel,
.ek-pastel body {
	background-color: #ffc59a;
	background-image:
		-webkit-radial-gradient(85% 10%, circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 38%),
		-webkit-radial-gradient(10% 95%, circle, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 35%),
		-webkit-linear-gradient(-45deg, #ffb07c 0%, #ff9eaa 26%, #ffd57e 52%, #c9e58f 76%, #8fd6a4 100%);
	background-image:
		radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 38%),
		radial-gradient(circle at 10% 95%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 35%),
		linear-gradient(135deg, #ffb07c 0%, #ff9eaa 26%, #ffd57e 52%, #c9e58f 76%, #8fd6a4 100%);
	background-attachment: fixed;
	color: #23253a;
}

.ek-pastel .ek-card,
.ek-pastel .ek-w--saat .ek-w__in {
	background: rgba(255, 255, 255, 0.8);
	border-radius: 1.5em;
	box-shadow: 0 0.35em 1.4em rgba(120, 60, 30, 0.13);
}

.ek-pastel .ek-photo { border-radius: 1.5em; box-shadow: 0 0.35em 1.4em rgba(120, 60, 30, 0.13); }
.ek-pastel .ek-card:after { display: none; }

/* Kutucuk türüne göre yumuşak renk */
.ek-pastel .ek-w--takvim .ek-card { background: rgba(226, 246, 238, 0.9); }
.ek-pastel .ek-w--gorev .ek-card { background: rgba(232, 233, 252, 0.9); }
.ek-pastel .ek-w--duyuru .ek-card { background: rgba(255, 247, 230, 0.9); }
.ek-pastel .ek-w--hava .ek-card { background: rgba(230, 243, 255, 0.88); }
.ek-pastel .ek-w--geri .ek-card { background: rgba(255, 238, 244, 0.9); }

.ek-pastel .ek-card h2 { color: #3b3e5c; }
.ek-pastel .ek-card__ic svg { stroke: #4b55c8; }
.ek-pastel .ek-time, .ek-pastel .ek-count__n, .ek-pastel .ek-wtemp { color: #1d2033; }
.ek-pastel .ek-date { color: #4a4d68; }
.ek-pastel .ek-w--saat .ek-clock { padding-left: 0.6em; }

.ek-pastel .ek-check { border-color: #8f95d8; background: rgba(255, 255, 255, 0.7); }
.ek-pastel .is-done .ek-check { background: #4b55c8; border-color: #4b55c8; }
.ek-pastel .ek-row, .ek-pastel .ek-shop, .ek-pastel .ek-fx, .ek-pastel .ek-fxh { border-bottom-color: rgba(60, 60, 110, 0.09); }
.ek-pastel .ek-due { color: #3b44b0; background: #e4e6ff; border-radius: 1em; }
.ek-pastel .ek-due.is-late { color: #c2412d; background: #ffe2dc; }
.ek-pastel .ek-day, .ek-pastel .ek-pr__left b { color: #3b44b0; }
.ek-pastel .ek-note { border-left-color: #f08c3c; }
.ek-pastel .ek-pr.is-next { background: rgba(75, 85, 200, 0.12); }
.ek-pastel .ek-pr.is-next b, .ek-pastel .ek-pr.is-next span { color: #3b44b0; }
.ek-pastel .ek-wd { background: rgba(255, 255, 255, 0.75); }

.ek-pastel .ek-foot { color: rgba(40, 30, 50, 0.6); }
.ek-pastel .ek-theme { background: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.9); }
.ek-pastel .ek-alert__box { border-top-color: #4b55c8; }

/* ---------- Renkli temalar (açık/koyu tabanın üstüne) ---------- */

/* ek-sk-okyanus */
html.ek-sk-okyanus, .ek-sk-okyanus body {
	background-color: #6cc3ee;
	background-image: -webkit-linear-gradient(-45deg, #7fd3f7 0%, #5fb8e8 35%, #4fd1c5 70%, #b5f0e0 100%);
	background-image: linear-gradient(135deg, #7fd3f7 0%, #5fb8e8 35%, #4fd1c5 70%, #b5f0e0 100%);
	background-attachment: fixed;
	color: #16293f;
}
.ek-sk-okyanus .ek-card, .ek-sk-okyanus .ek-w--saat .ek-w__in { background: rgba(255, 255, 255, 0.82); border-radius: 1.4em; box-shadow: 0 0.35em 1.4em rgba(0, 0, 0, 0.14); }
.ek-sk-okyanus .ek-photo { border-radius: 1.4em; }
.ek-sk-okyanus .ek-card:after { display: none; }
.ek-sk-okyanus .ek-card h2 { color: #24406a; }
.ek-sk-okyanus .ek-card__ic svg { stroke: #1f74c8; }
.ek-sk-okyanus .is-done .ek-check { background: #1f74c8; border-color: #1f74c8; }
.ek-sk-okyanus .ek-due { color: #1f5fa8; background: #e0efff; border-radius: 1em; }
.ek-sk-okyanus .ek-day, .ek-sk-okyanus .ek-pr__left b { color: #1f74c8; }
.ek-sk-okyanus .ek-note { border-left-color: #1f74c8; }
.ek-sk-okyanus .ek-foot { color: rgba(10, 40, 70, 0.6); }
.ek-sk-okyanus .ek-addbtn { background: #1f74c8; }
.ek-sk-okyanus .ek-w--saat .ek-clock { padding-left: 0.6em; }
.ek-sk-okyanus .ek-w--takvim .ek-card { background: rgba(228, 248, 245, 0.9); }
.ek-sk-okyanus .ek-w--gorev .ek-card { background: rgba(232, 242, 255, 0.9); }
/* ek-sk-lavanta */
html.ek-sk-lavanta, .ek-sk-lavanta body {
	background-color: #e6c8f5;
	background-image: -webkit-linear-gradient(-45deg, #d9c4ff 0%, #f3b8e6 45%, #ffd1dc 75%, #fbe7f3 100%);
	background-image: linear-gradient(135deg, #d9c4ff 0%, #f3b8e6 45%, #ffd1dc 75%, #fbe7f3 100%);
	background-attachment: fixed;
	color: #2e2140;
}
.ek-sk-lavanta .ek-card, .ek-sk-lavanta .ek-w--saat .ek-w__in { background: rgba(255, 255, 255, 0.8); border-radius: 1.4em; box-shadow: 0 0.35em 1.4em rgba(0, 0, 0, 0.14); }
.ek-sk-lavanta .ek-photo { border-radius: 1.4em; }
.ek-sk-lavanta .ek-card:after { display: none; }
.ek-sk-lavanta .ek-card h2 { color: #5a3d7a; }
.ek-sk-lavanta .ek-card__ic svg { stroke: #8a4fd1; }
.ek-sk-lavanta .is-done .ek-check { background: #8a4fd1; border-color: #8a4fd1; }
.ek-sk-lavanta .ek-due { color: #6d3cb0; background: #f0e6ff; border-radius: 1em; }
.ek-sk-lavanta .ek-day, .ek-sk-lavanta .ek-pr__left b { color: #8a4fd1; }
.ek-sk-lavanta .ek-note { border-left-color: #8a4fd1; }
.ek-sk-lavanta .ek-foot { color: rgba(60, 30, 80, 0.6); }
.ek-sk-lavanta .ek-addbtn { background: #8a4fd1; }
.ek-sk-lavanta .ek-w--saat .ek-clock { padding-left: 0.6em; }
.ek-sk-lavanta .ek-w--gorev .ek-card { background: rgba(244, 236, 255, 0.92); }
.ek-sk-lavanta .ek-w--duyuru .ek-card { background: rgba(255, 240, 246, 0.92); }
/* ek-sk-kagit */
html.ek-sk-kagit, .ek-sk-kagit body {
	background-color: #f3ece0;
	background-image: none;
	background-image: none;
	background-attachment: fixed;
	color: #3b3026;
}
.ek-sk-kagit .ek-card, .ek-sk-kagit .ek-w--saat .ek-w__in { background: #fffdf8; border-radius: 1.4em; box-shadow: 0 0.35em 1.4em rgba(0, 0, 0, 0.14); }
.ek-sk-kagit .ek-photo { border-radius: 1.4em; }
.ek-sk-kagit .ek-card:after { display: none; }
.ek-sk-kagit .ek-card h2 { color: #7a6248; }
.ek-sk-kagit .ek-card__ic svg { stroke: #b0652e; }
.ek-sk-kagit .is-done .ek-check { background: #b0652e; border-color: #b0652e; }
.ek-sk-kagit .ek-due { color: #8a4f22; background: #f4e9da; border-radius: 1em; }
.ek-sk-kagit .ek-day, .ek-sk-kagit .ek-pr__left b { color: #b0652e; }
.ek-sk-kagit .ek-note { border-left-color: #b0652e; }
.ek-sk-kagit .ek-foot { color: #9a8a76; }
.ek-sk-kagit .ek-addbtn { background: #b0652e; }
.ek-sk-kagit .ek-w--saat .ek-clock { padding-left: 0.6em; }
.ek-sk-kagit .ek-card { box-shadow: 0 1px 0 rgba(120, 90, 60, 0.12), 0 0.3em 1em rgba(120, 90, 60, 0.08); border: 1px solid #eadfcd; }
.ek-sk-kagit .ek-time, .ek-sk-kagit .ek-count__n, .ek-sk-kagit .ek-wtemp { color: #3b3026; }
/* ek-sk-gece */
html.ek-sk-gece, .ek-sk-gece body {
	background-color: #0f1638;
	background-image: -webkit-radial-gradient(80% 0%, circle, rgba(120, 90, 255, 0.45), rgba(0, 0, 0, 0) 45%), -webkit-radial-gradient(0% 100%, circle, rgba(0, 200, 200, 0.28), rgba(0, 0, 0, 0) 40%), -webkit-linear-gradient(top, #0b1230, #141b45);
	background-image: radial-gradient(circle at 80% 0%, rgba(120, 90, 255, 0.45), rgba(0, 0, 0, 0) 45%), radial-gradient(circle at 0% 100%, rgba(0, 200, 200, 0.28), rgba(0, 0, 0, 0) 40%), linear-gradient(180deg, #0b1230, #141b45);
	background-attachment: fixed;
	color: #eef0ff;
}
.ek-sk-gece .ek-card, .ek-sk-gece .ek-w--saat .ek-w__in { background: rgba(255, 255, 255, 0.07); border-radius: 1.4em; box-shadow: 0 0.35em 1.4em rgba(0, 0, 0, 0.14); }
.ek-sk-gece .ek-photo { border-radius: 1.4em; }
.ek-sk-gece .ek-card:after { display: none; }
.ek-sk-gece .ek-card h2 { color: #aab4ff; }
.ek-sk-gece .ek-card__ic svg { stroke: #8f9bff; }
.ek-sk-gece .is-done .ek-check { background: #8f9bff; border-color: #8f9bff; }
.ek-sk-gece .ek-due { color: #c9cfff; background: rgba(143, 155, 255, 0.18); border-radius: 1em; }
.ek-sk-gece .ek-day, .ek-sk-gece .ek-pr__left b { color: #8f9bff; }
.ek-sk-gece .ek-note { border-left-color: #8f9bff; }
.ek-sk-gece .ek-foot { color: rgba(200, 205, 255, 0.55); }
.ek-sk-gece .ek-addbtn { background: #8f9bff; }
.ek-sk-gece .ek-w--saat .ek-clock { padding-left: 0.6em; }
.ek-sk-gece .ek-card { border: 1px solid rgba(255, 255, 255, 0.08); }
/* ek-sk-orman */
html.ek-sk-orman, .ek-sk-orman body {
	background-color: #123224;
	background-image: -webkit-linear-gradient(-45deg, #0d2a1f 0%, #123b2b 50%, #1d4a2f 100%);
	background-image: linear-gradient(135deg, #0d2a1f 0%, #123b2b 50%, #1d4a2f 100%);
	background-attachment: fixed;
	color: #eaf6ee;
}
.ek-sk-orman .ek-card, .ek-sk-orman .ek-w--saat .ek-w__in { background: rgba(255, 255, 255, 0.07); border-radius: 1.4em; box-shadow: 0 0.35em 1.4em rgba(0, 0, 0, 0.14); }
.ek-sk-orman .ek-photo { border-radius: 1.4em; }
.ek-sk-orman .ek-card:after { display: none; }
.ek-sk-orman .ek-card h2 { color: #9fd6b4; }
.ek-sk-orman .ek-card__ic svg { stroke: #6fd39a; }
.ek-sk-orman .is-done .ek-check { background: #6fd39a; border-color: #6fd39a; }
.ek-sk-orman .ek-due { color: #b9f0cf; background: rgba(111, 211, 154, 0.16); border-radius: 1em; }
.ek-sk-orman .ek-day, .ek-sk-orman .ek-pr__left b { color: #6fd39a; }
.ek-sk-orman .ek-note { border-left-color: #6fd39a; }
.ek-sk-orman .ek-foot { color: rgba(190, 230, 205, 0.55); }
.ek-sk-orman .ek-addbtn { background: #6fd39a; }
.ek-sk-orman .ek-w--saat .ek-clock { padding-left: 0.6em; }
.ek-sk-orman .ek-card { border: 1px solid rgba(255, 255, 255, 0.07); }
/* ek-sk-gunbatimi */
html.ek-sk-gunbatimi, .ek-sk-gunbatimi body {
	background-color: #7a2d58;
	background-image: -webkit-linear-gradient(-45deg, #3a1c4a 0%, #7a2d58 40%, #c8553d 75%, #f2a65a 100%);
	background-image: linear-gradient(135deg, #3a1c4a 0%, #7a2d58 40%, #c8553d 75%, #f2a65a 100%);
	background-attachment: fixed;
	color: #fff3ea;
}
.ek-sk-gunbatimi .ek-card, .ek-sk-gunbatimi .ek-w--saat .ek-w__in { background: rgba(20, 10, 30, 0.42); border-radius: 1.4em; box-shadow: 0 0.35em 1.4em rgba(0, 0, 0, 0.14); }
.ek-sk-gunbatimi .ek-photo { border-radius: 1.4em; }
.ek-sk-gunbatimi .ek-card:after { display: none; }
.ek-sk-gunbatimi .ek-card h2 { color: #ffd3b0; }
.ek-sk-gunbatimi .ek-card__ic svg { stroke: #ffa45c; }
.ek-sk-gunbatimi .is-done .ek-check { background: #ffa45c; border-color: #ffa45c; }
.ek-sk-gunbatimi .ek-due { color: #ffd9b8; background: rgba(255, 164, 92, 0.2); border-radius: 1em; }
.ek-sk-gunbatimi .ek-day, .ek-sk-gunbatimi .ek-pr__left b { color: #ffa45c; }
.ek-sk-gunbatimi .ek-note { border-left-color: #ffa45c; }
.ek-sk-gunbatimi .ek-foot { color: rgba(255, 230, 210, 0.7); }
.ek-sk-gunbatimi .ek-addbtn { background: #ffa45c; }
.ek-sk-gunbatimi .ek-w--saat .ek-clock { padding-left: 0.6em; }
.ek-sk-gunbatimi .ek-card { border: 1px solid rgba(255, 255, 255, 0.1); }
/* ek-sk-grafit */
html.ek-sk-grafit, .ek-sk-grafit body {
	background-color: #0a0a0b;
	background-image: none;
	background-image: none;
	background-attachment: fixed;
	color: #f2f0ea;
}
.ek-sk-grafit .ek-card, .ek-sk-grafit .ek-w--saat .ek-w__in { background: #161618; border-radius: 1.4em; box-shadow: 0 0.35em 1.4em rgba(0, 0, 0, 0.14); }
.ek-sk-grafit .ek-photo { border-radius: 1.4em; }
.ek-sk-grafit .ek-card:after { display: none; }
.ek-sk-grafit .ek-card h2 { color: #c9a75a; }
.ek-sk-grafit .ek-card__ic svg { stroke: #d4af5a; }
.ek-sk-grafit .is-done .ek-check { background: #d4af5a; border-color: #d4af5a; }
.ek-sk-grafit .ek-due { color: #e8cf93; background: rgba(212, 175, 90, 0.15); border-radius: 1em; }
.ek-sk-grafit .ek-day, .ek-sk-grafit .ek-pr__left b { color: #d4af5a; }
.ek-sk-grafit .ek-note { border-left-color: #d4af5a; }
.ek-sk-grafit .ek-foot { color: #77736a; }
.ek-sk-grafit .ek-addbtn { background: #d4af5a; }
.ek-sk-grafit .ek-w--saat .ek-clock { padding-left: 0.6em; }
.ek-sk-grafit .ek-card { border: 1px solid #2a2824; }
.ek-sk-grafit .ek-time { color: #f2f0ea; }
.ek-sk-grafit .ek-date { color: #c9a75a; }
/* ---------- Ekrandan ekleme ---------- */

.ek-addbtn {
	margin-left: auto;
	margin-right: 0.6rem;
	border: 0;
	border-radius: 2rem;
	padding: 0.45rem 1.1rem;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: #1f9e7c;
	cursor: pointer;
}
.ek-addbtn:focus { outline: none; box-shadow: 0 0 0 0.25em rgba(255, 255, 255, 0.7); }
.ek-addbtn + .ek-theme { margin-left: 0; }

.ek-form {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 28;
	background: rgba(5, 8, 12, 0.6);
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	-webkit-justify-content: center;
	justify-content: center;
	padding-top: 6vh;
}
.ek-form__box {
	width: 62%;
	max-width: 56rem;
	background: #1c2430;
	color: #eef1f5;
	border-radius: 1.6rem;
	padding: 1.4rem 1.6rem 1.2rem;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
	-webkit-animation: ek-pop 0.25s ease-out;
	animation: ek-pop 0.25s ease-out;
}
.ek-form__head { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-bottom: 0.8rem; font-size: 1.4rem; }
.ek-form__x { margin-left: auto; border: 0; background: none; color: inherit; font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 0 0.3rem; }
.ek-form__inputs { display: -webkit-flex; display: flex; }
.ek-form input {
	display: block;
	width: 100%;
	font: inherit;
	font-size: 1.6rem;
	padding: 0.7rem 1rem;
	border-radius: 0.9rem;
	border: 2px solid #2f3a4a;
	background: #10151c;
	color: inherit;
	margin: 0.4rem 0;
	-webkit-appearance: none;
}
.ek-form input:focus { outline: none; border-color: #5fd3b0; }
.ek-form__inputs .ek-form__qty { width: 9rem; -webkit-flex: none; flex: none; margin-left: 0.6rem; }
.ek-form__row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-top: 0.7rem; }
.ek-form__row > span { width: 6.5rem; -webkit-flex: none; flex: none; color: #8b95a5; font-size: 1rem; }
.ek-chips { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ek-form__tabs { margin-bottom: 0.4rem; }
.ek-chip {
	border: 2px solid #2f3a4a;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.1rem;
	border-radius: 2rem;
	padding: 0.4rem 1rem;
	margin: 0 0.5rem 0.5rem 0;
	cursor: pointer;
}
.ek-chip.is-on { background: #5fd3b0; border-color: #5fd3b0; color: #0e1116; font-weight: 600; }
.ek-chip:focus, .ek-btn:focus { outline: none; box-shadow: 0 0 0 0.2em rgba(95, 211, 176, 0.6); }
.ek-form__msg { min-height: 1.2em; margin: 0.4rem 0 0; color: #ff8a7a; font-size: 1rem; }
.ek-form__acts { display: -webkit-flex; display: flex; -webkit-justify-content: flex-end; justify-content: flex-end; margin-top: 0.6rem; }
.ek-btn { border: 0; border-radius: 1rem; padding: 0.75rem 1.6rem; font: inherit; font-size: 1.2rem; background: #2a3442; color: inherit; cursor: pointer; margin-left: 0.7rem; }
.ek-btn--primary { background: #5fd3b0; color: #0e1116; font-weight: 700; }

.ek-light .ek-form__box { background: #ffffff; color: #1d2328; }
.ek-light .ek-form input { background: #f3f5f7; border-color: #dfe3e8; }
.ek-light .ek-chip { border-color: #dfe3e8; }
.ek-light .ek-btn { background: #eef0f3; }
.ek-light .ek-chip.is-on, .ek-light .ek-btn--primary { background: #1f9e7c; border-color: #1f9e7c; color: #fff; }

.ek-toast {
	position: fixed;
	left: 50%;
	bottom: 2.5rem;
	z-index: 29;
	-webkit-transform: translate(-50%, 2rem);
	transform: translate(-50%, 2rem);
	opacity: 0;
	background: #1c2430;
	color: #eef1f5;
	padding: 0.7rem 1.4rem;
	border-radius: 2rem;
	font-size: 1.2rem;
	-webkit-transition: all 0.25s;
	transition: all 0.25s;
	pointer-events: none;
}
.ek-toast.is-on { opacity: 1; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); }

/* Dikey asılı TV: sayfa döndürülür (panel → Ekranlar → Döndür). Sabit konumlu
   katmanlar (bildirim, gece, giriş) dönen gövdenin içinde kalır. */
body.ek-rot90,
body.ek-rot270 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vh;
	height: 100vw;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}
body.ek-rot90 { -webkit-transform: translateX(100vw) rotate(90deg); transform: translateX(100vw) rotate(90deg); }
body.ek-rot270 { -webkit-transform: translateY(100vh) rotate(-90deg); transform: translateY(100vh) rotate(-90deg); }

.ek-ver { margin-left: 0.8em; padding: 0.05em 0.5em; border-radius: 0.4em; font-size: 0.85em; opacity: 0.55; border: 1px solid currentColor; }

/* Kur başlığı (Alış / Satış) rakam sütunlarıyla aynı ölçüde: başlık satırı satırla aynı
   yazı boyunda, yalnızca etiket küçük. Değişim sütunu her iki satırda sabit genişlik. */
.ek-fxh { font-size: 1.4em; line-height: 1.1; white-space: nowrap; }
.ek-fxh small { font-size: 0.6em; }
.ek-fx i, .ek-fxh i { -webkit-flex: none; flex: none; width: 4.8em; min-width: 0; overflow: hidden; text-align: right; }
.ek-fxh i { font-size: 1em; }

/* Alış / Satış sütunları ortalı: başlık ve rakam aynı eksende (1.10.5). */
.ek-fxh b, .ek-fx .ek-fx__v { text-align: center; }

/* Alış / Satış başlığı biraz daha büyük, sütunun tam ortasında (1.11.0). */
.ek-fxh small { display: block; font-size: 0.78em; font-weight: 600; text-align: center; letter-spacing: 0.02em; }
.ek-fxh b { text-align: center; }

/* ---------- Google Takvim / haberler ---------- */

.ek-gdot { display: inline-block; width: 0.6em; height: 0.6em; border-radius: 50%; margin-right: 0.45em; vertical-align: 0.1em; }

.ek-news { display: block !important; }
.ek-news .ek-row__t { display: block; white-space: normal; line-height: 1.25; }
.ek-news small { display: block; font-size: 0.75em; color: #8b95a5; margin-top: 0.15em; }
.ek-light .ek-news small { color: #6b747d; }

.ek-news1 { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
.ek-news1__box { position: relative; -webkit-flex: 1 1 auto; flex: 1 1 auto; }
.ek-news1__i { position: absolute; left: 0; right: 0; top: 0; opacity: 0; -webkit-transition: opacity 0.6s; transition: opacity 0.6s; }
.ek-news1__i.is-on { opacity: 1; }
.ek-news1__t { font-size: 1.7em; font-weight: 600; line-height: 1.2; }
.ek-news1__m { font-size: 0.9em; color: #8b95a5; margin-top: 0.5em; }

.ek-tick { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 0 0.8em !important; overflow: hidden; }
.ek-tick__l { -webkit-flex: none; flex: none; margin-right: 0.6em; }
.ek-tick__l svg { width: 1.2em; height: 1.2em; fill: none; stroke: #5fd3b0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ek-tick__win { -webkit-flex: 1 1 auto; flex: 1 1 auto; overflow: hidden; white-space: nowrap; }
.ek-tick__run { display: inline-block; white-space: nowrap; -webkit-animation: ek-tick 60s linear infinite; animation: ek-tick 60s linear infinite; }
.ek-tick__i { margin-right: 2.5em; }
.ek-tick__i b { color: #5fd3b0; font-weight: 700; margin-right: 0.3em; }
.ek-light .ek-tick__i b { color: #1f8a6c; }
@-webkit-keyframes ek-tick { from { -webkit-transform: translateX(0); } to { -webkit-transform: translateX(-50%); } }
@keyframes ek-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- kişiye göre süzme (alt çubuk) ---------- */

.ek-who { display: -webkit-inline-flex; display: inline-flex; margin-left: 1em; }
.ek-who__b {
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.95em;
	border-radius: 2em;
	padding: 0.15em 0.75em;
	margin-right: 0.35em;
	cursor: pointer;
}
.ek-who__b i { display: inline-block; width: 0.6em; height: 0.6em; border-radius: 50%; margin-right: 0.35em; vertical-align: 0.05em; }
.ek-who__b.is-on { background: #5fd3b0; border-color: #5fd3b0; color: #0e1116; font-weight: 600; }
.ek-who__b:focus { outline: none; box-shadow: 0 0 0 0.2em rgba(95, 211, 176, 0.6); }
.ek-light .ek-who__b { border-color: rgba(0, 0, 0, 0.15); }
.ek-light .ek-who__b.is-on { background: #1f8a6c; border-color: #1f8a6c; color: #fff; }

/* ---------- aylık takvim ---------- */

.ek-mo { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; padding: 0.9em 1em !important; }
.ek-mo h2 { margin-bottom: 0.5em; }
.ek-mo__grid { -webkit-flex: 1 1 auto; flex: 1 1 auto; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; min-height: 0; }
.ek-mo__h { width: 14.2857%; height: 1.5em; text-align: center; font-size: 0.8em; color: #8b95a5; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.ek-mo__d {
	width: 14.2857%;
	height: calc((100% - 1.2em) / 6);
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	border-left: 1px solid rgba(255, 255, 255, 0.07);
	padding: 0.2em 0.25em;
	overflow: hidden;
}
.ek-mo__d:nth-child(7n + 8) { border-left: 0; }
.ek-mo__n { display: inline-block; font-size: 0.85em; font-weight: 600; min-width: 1.6em; height: 1.6em; line-height: 1.6em; text-align: center; border-radius: 50%; margin-bottom: 0.1em; }
.ek-mo__d.is-out { opacity: 0.38; }
.ek-mo__d.is-we .ek-mo__n { color: #e5734b; }
.ek-mo__d.is-today { background: rgba(95, 211, 176, 0.1); }
.ek-mo__d.is-today .ek-mo__n { background: #5fd3b0; color: #0e1116; }
.ek-mo__e {
	font-size: 0.68em;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-left: 0.3em solid #5f8bd6;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 0.25em;
	padding: 0.05em 0.35em;
	margin-bottom: 0.15em;
}
.ek-mo__e b { font-weight: 600; opacity: 0.75; }
.ek-mo__more { font-size: 0.65em; color: #8b95a5; }
.ek-light .ek-mo__d { border-color: rgba(0, 0, 0, 0.07); }
.ek-light .ek-mo__e { background: rgba(0, 0, 0, 0.045); }
.ek-light .ek-mo__d.is-today { background: rgba(31, 138, 108, 0.1); }
.ek-light .ek-mo__d.is-today .ek-mo__n { background: #1f8a6c; color: #fff; }

/* ---------- yemek planı ---------- */

.ek-meal { display: -webkit-flex; display: flex; -webkit-align-items: baseline; align-items: baseline; padding: 0.45em 0; border-bottom: 1px solid #222934; }
.ek-meal:last-child { border-bottom: 0; }
.ek-meal span { width: 7.5em; -webkit-flex: none; flex: none; color: #8b95a5; font-size: 0.9em; }
.ek-meal b { font-size: 1.25em; font-weight: 600; }
.ek-meal--w span { width: 4.5em; }
.ek-meal--w b { font-size: 1.05em; }
.ek-meal--w.is-today b { color: #5fd3b0; }
.ek-light .ek-meal { border-bottom-color: #eceef1; }
.ek-light .ek-meal--w.is-today b { color: #1f8a6c; }

/* ---------- iş çizelgesi ---------- */

.ek-ch__who { display: -webkit-flex; display: flex; -webkit-align-items: baseline; align-items: baseline; border-left: 0.3em solid #5fd3b0; padding-left: 0.5em; margin: 0.6em 0 0.25em; }
.ek-ch__who:first-of-type { margin-top: 0; }
.ek-ch__who b { font-size: 1.05em; }
.ek-ch__who span { margin-left: auto; font-size: 0.85em; color: #e0a100; font-weight: 600; }
.ek-ch { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 0.35em 0; cursor: pointer; }
.ek-ch .ek-check { margin-right: 0.6em; }
.ek-ch__t { -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ek-ch i { font-style: normal; color: #e0a100; font-size: 0.85em; letter-spacing: 0.05em; margin-left: 0.4em; }
.ek-ch.is-done .ek-check { background: #5fd3b0; border-color: #5fd3b0; }
.ek-ch.is-done .ek-ch__t { text-decoration: line-through; opacity: 0.55; }
.ek-light .ek-ch.is-done .ek-check { background: #1f8a6c; border-color: #1f8a6c; }

/* Alt çubuk dar (dikey) ekranda sığsın: kişi düğmeleri kalan yere küçülür, taşan kısım
   gizlenir; sürüm etiketi dikeyde gösterilmez (1.12.1). */
.ek-foot { min-width: 0; white-space: nowrap; }
.ek-who { -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ek-who__b { -webkit-flex: none; flex: none; }
.is-portrait .ek-foot { font-size: 0.85em; }
.is-portrait .ek-who__b { padding: 0.1em 0.55em; margin-right: 0.25em; }
.is-portrait .ek-ver { display: none; }

/* ---------- kur barı (Harem → Görünüm: Yatay bar) ---------- */
.ek-fxbar { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 0.4em 0.6em !important; }
.ek-fxbar__i { -webkit-flex: 1 1 0; flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; border-left: 1px solid rgba(255, 255, 255, 0.08); padding: 0 0.3em; }
.ek-fxbar__i:first-child { border-left: 0; }
.ek-fxbar__i small { display: block; font-size: 0.75em; color: #8b95a5; overflow: hidden; text-overflow: ellipsis; }
.ek-fxbar__i b { font-size: 1.35em; font-weight: 700; }
.ek-fxbar__i i { font-style: normal; font-size: 0.8em; margin-left: 0.35em; }
.ek-fxbar__i i.is-up { color: #2fbf71; }
.ek-fxbar__i i.is-down { color: #e5534b; }
.ek-light .ek-fxbar__i { border-left-color: rgba(0, 0, 0, 0.08); }
.ek-light .ek-fxbar__i small { color: #6b747d; }
.ek-meal.is-empty b { opacity: 0.35; font-weight: 400; }

.is-narrow .ek-shop { width: 100%; padding-right: 0; }

/* Kur barı: her kurda Satış / Alış alt alta (1.12.4) */
.ek-fxbar__r { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: baseline; align-items: baseline; line-height: 1.15; }
.ek-fxbar__r em { font-style: normal; font-size: 0.7em; color: #8b95a5; width: 3.6em; text-align: right; margin-right: 0.4em; }
.ek-fxbar__r b { font-size: 1.15em; min-width: 4.6em; text-align: left; }
.ek-fxbar__i small i { font-size: 0.9em; margin-left: 0.25em; }
.ek-light .ek-fxbar__r em { color: #6b747d; }

/* ---------- rezervasyonlar ---------- */
.ek-bk__t { width: 5.2em; -webkit-flex: none; flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.ek-bk .ek-row__t small { color: #8b95a5; font-size: 0.8em; margin-left: 0.3em; }
.ek-bk.is-past { opacity: 0.45; }
.ek-light .ek-bk .ek-row__t small { color: #6b747d; }

.ek-bk__sub { font-size: 0.8em; color: #8b95a5; margin-bottom: 0.3em; }

.is-portrait .ek-form__box { width: 92%; }
.ek-form__inputs input[type=time], .ek-form__inputs input[type=date] { -webkit-flex: 1 1 auto; flex: 1 1 auto; }
