/* arkney-roleplay.com/etkinlikler (public/js/etkinlikler.js). site.css'in .page düzenini geniş sayfaya açar; renkler site jetonlarından. */
.et .et-wrap { max-width: 1160px; }
.et-hero { max-width: 820px; }
.et h1 em { font-style: normal; color: var(--muted); }
.et-status { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .4rem .8rem; border: 1px solid var(--line-hi); border-radius: 999px; color: var(--text-soft); font: 600 .82rem/1.2 var(--body); }
.et-status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #34d399; }
.et-status.off::before { background: var(--muted); }

.et-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 1.6rem; align-items: start; margin-top: 2.4rem; }
@media (max-width: 880px) { .et-grid { grid-template-columns: minmax(0, 1fr); } }
.et-cal { position: sticky; top: 90px; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
@media (max-width: 880px) { .et-cal { position: static; } }
.et-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.et-cal-head h2 { margin: 0; font: 800 1.05rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.et-nav { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line-hi); border-radius: 50%; background: none; color: var(--text); cursor: pointer; }
.et-nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.et-nav:hover { border-color: var(--text); }
.et-wd, .et-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.et-wd span { text-align: center; color: var(--muted); font: 700 .68rem/1.6 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.et-d { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; border: 1px solid transparent; border-radius: 10px; background: rgb(255 255 255 / .03); color: var(--text-soft); font: 600 .88rem/1 var(--body); cursor: pointer; padding: 0; }
.et-d.empty { background: none; cursor: default; }
.et-d.has { color: #fff; background: rgb(255 255 255 / .07); }
.et-d.today { border-color: var(--line-hi); }
.et-d.on { border-color: var(--text); background: rgb(255 255 255 / .12); }
.et-d:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.et-d .dots { display: flex; gap: 2px; min-height: 5px; }
.et-d .dots i { width: 5px; height: 5px; border-radius: 50%; }
.et-legend { display: flex; flex-wrap: wrap; gap: .35rem .8rem; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.et-legend span, .et-filters button { display: inline-flex; align-items: center; gap: .35rem; }
.et-legend i, .et-filters i { width: .55rem; height: .55rem; border-radius: 50%; }

.et-list-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.et-list-head h2 { margin: 0; font: 800 1.3rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.et-all { border: 0; background: none; color: var(--text-soft); font: 600 .85rem var(--body); text-decoration: underline; cursor: pointer; }
.et-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 1rem; }
.et-filters button { padding: .38rem .75rem; border: 1px solid var(--line-hi); border-radius: 999px; background: none; color: var(--text-soft); font: 600 .8rem/1 var(--body); cursor: pointer; }
.et-filters button.on { border-color: var(--text); color: #fff; background: rgb(255 255 255 / .08); }

.et-item { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) 190px; gap: 1rem; padding: 1rem; margin-bottom: .7rem; border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 12px; background: var(--panel); }
@media (max-width: 640px) { .et-item { grid-template-columns: 3.4rem minmax(0, 1fr); } .et-map { grid-column: 1 / -1; } }
.et-when { display: flex; flex-direction: column; align-items: center; text-align: center; }
.et-when b { font: 800 1.7rem/1 var(--head); }
.et-when small { color: var(--muted); font: 700 .72rem/1.5 var(--head); text-transform: uppercase; letter-spacing: .08em; }
.et-when span { margin-top: .35rem; padding: .15rem .45rem; border-radius: 6px; background: rgb(255 255 255 / .08); font: 700 .8rem/1.3 var(--body); }
.et-body { min-width: 0; }
.et-tags { display: flex; gap: .4rem; }
.et-kind { color: var(--c); font: 700 .72rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.et-live { padding: .12rem .45rem; border-radius: 5px; background: #ef4444; color: #fff; font: 800 .66rem/1.2 var(--head); text-transform: uppercase; }
.et-body h3 { margin: .35rem 0 .3rem; font: 700 1.12rem/1.3 var(--head); overflow-wrap: anywhere; }
.et-meta { margin: 0; color: var(--text-soft); font-size: .86rem; line-height: 1.5; }
.et-desc { margin: .5rem 0 0; color: var(--text-soft); font-size: .9rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.et-count { display: flex; align-items: center; gap: .4rem; margin: .6rem 0 0; color: var(--muted); font: 600 .8rem/1 var(--body); }
.et-count svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.et-map { position: relative; height: 130px; overflow: hidden; border-radius: 10px; background: #63a0c6; border: 1px solid var(--line); }
.et-map img { position: absolute; max-width: none; }
.et-map .pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 4px rgb(0 0 0 / .35); }
.et-empty { display: flex; flex-direction: column; gap: .3rem; padding: 2rem 1.2rem; border: 1px dashed var(--line-hi); border-radius: 12px; color: var(--muted); text-align: center; }
.et-empty b { color: var(--text); font: 700 1rem var(--head); }

.et-how { margin-top: 3.4rem; }
.et-how h2 { font: 800 1.3rem/1.2 var(--head); margin: 0 0 1rem; text-transform: uppercase; }
.et-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .7rem; counter-reset: s; }
.et-how li { counter-increment: s; position: relative; padding: 1.1rem 1.1rem 1.1rem 3.4rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.et-how li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #fff; color: #000; font: 800 .85rem/1 var(--head); }
.et-how b { display: block; font: 700 1rem/1.3 var(--head); margin-bottom: .3rem; }
.et-how span { color: var(--text-soft); font-size: .9rem; line-height: 1.5; }
