/* Tahta Cep v12.20 — distinct occasion art, not a site-wide repaint.
   Default mode changes nothing. Theme components never replace main app cards. */
.tc-theme-bar[hidden],.tc-theme-showcase[hidden]{display:none!important}
.tc-theme-showcase{--tc-day-dark:#243e6b;--tc-day-accent:#e8ac55;--tc-day-soft:#f7f1e8;--tc-paper:#fff;--tc-ink:#1e2e49;position:relative;isolation:isolate;padding:clamp(18px,3vw,35px) 20px clamp(24px,3.7vw,48px);background:linear-gradient(180deg,#fff,var(--tc-day-soft));color:var(--tc-ink);overflow:hidden}
.tc-theme-showcase::before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle at 9% 20%,rgba(255,255,255,.65) 0 4px,transparent 4px),radial-gradient(circle at 85% 81%,rgba(255,255,255,.7) 0 3px,transparent 3px);background-size:140px 145px;opacity:.5;pointer-events:none}
.tc-occasion-inner{max-width:1200px;margin:0 auto;position:relative;display:grid;grid-template-columns:minmax(0,1.07fr) minmax(270px,.93fr);gap:clamp(22px,5vw,65px);align-items:center;padding:clamp(26px,4.7vw,64px);border-radius:clamp(20px,3vw,33px);background:#fff;box-shadow:0 15px 55px rgba(23,44,75,.075);border:1px solid rgba(34,62,98,.10);overflow:hidden}
.tc-occasion-inner::before{content:'';position:absolute;top:0;left:0;right:0;height:7px;background:linear-gradient(90deg,var(--tc-day-dark),var(--tc-day-accent),var(--tc-day-dark));opacity:.95}
.tc-occasion-copy{z-index:1;min-width:0}
.tc-occasion-eyebrow{display:inline-flex;align-items:center;gap:8px;min-height:34px;border-radius:100px;padding:8px 13px;margin-bottom:21px;font-weight:850;font-size:11px;letter-spacing:.115em;line-height:1.3;color:var(--tc-day-dark);background:var(--tc-day-soft);border:1px solid color-mix(in srgb,var(--tc-day-dark) 17%,transparent);text-transform:uppercase}
.tc-occasion-eyebrow::before{content:'';height:7px;width:7px;border-radius:50%;background:var(--tc-day-accent);flex:none}
.tc-occasion-copy h2{font-size:clamp(32px,4.1vw,59px);line-height:1.11;letter-spacing:-.052em;margin:0 0 22px;color:var(--tc-ink);font-weight:870;max-width:680px;overflow-wrap:break-word}
.tc-occasion-copy h2 em{font-style:normal;color:var(--tc-day-dark);text-wrap:balance}
.tc-occasion-lead{font-size:clamp(15px,1.22vw,17px);font-weight:450;color:#4f6177;line-height:1.83;max-width:550px;margin:0 0 20px;overflow-wrap:anywhere}
.tc-occasion-wish{display:flex;align-items:flex-start;gap:11px;margin:0 0 22px;padding:14px 17px;border-radius:14px;background:var(--tc-day-soft);border-left:3px solid var(--tc-day-accent);font-size:14px;font-weight:800;color:var(--tc-day-dark);line-height:1.5;max-width:535px}
.tc-occasion-wish span:first-child{flex:none;font-size:18px;line-height:1.2}
.tc-occasion-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.tc-occasion-primary,.tc-occasion-secondary{min-height:43px;display:inline-flex;justify-content:center;align-items:center;padding:12px 18px;border-radius:11px;font:inherit;font-size:13px;font-weight:800;text-decoration:none;cursor:pointer;transition:transform .16s,box-shadow .16s,border-color .16s}
.tc-occasion-primary{background:#214e91;color:#fff!important;border:1px solid #214e91}.tc-occasion-primary:hover{background:#153c75;color:#fff!important;box-shadow:0 6px 19px #173c7a22;transform:translateY(-1px)}
.tc-occasion-secondary{background:#fff;color:#2d4665;border:1px solid #cfdae6}.tc-occasion-secondary:hover{background:#f8faff;color:#1f3a61;border-color:#9aafc6}
.tc-occasion-primary:focus-visible,.tc-occasion-secondary:focus-visible{outline:3px solid #80b5ff;outline-offset:3px}
.tc-occasion-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:350px;padding:26px 20px 22px;border-radius:24px;overflow:hidden;background:linear-gradient(150deg,var(--tc-day-dark),#182b4e);color:#fff;text-align:center}
.tc-occasion-art:before{content:'';position:absolute;width:370px;height:370px;border:1px solid rgba(255,255,255,.17);border-radius:50%;left:50%;top:44%;transform:translate(-50%,-50%);box-shadow:0 0 0 46px rgba(255,255,255,.045),0 0 0 103px rgba(255,255,255,.027)}
.tc-occasion-art::after{content:'';position:absolute;inset:12px;border:1px solid rgba(255,255,255,.18);border-radius:18px;pointer-events:none}
.tc-occasion-figure{display:block;width:min(100%,310px);height:226px;z-index:1;position:relative;filter:drop-shadow(0 16px 15px rgba(5,12,30,.15))}
.tc-occasion-art-note{z-index:1;font-size:10px;letter-spacing:.17em;font-weight:800;color:#fff9;line-height:1.4;text-transform:uppercase;margin-top:5px}
.tc-occasion-art-quote{z-index:1;font-size:clamp(17px,1.8vw,23px);font-weight:780;letter-spacing:-.02em;line-height:1.4;max-width:325px;margin:10px 0 0;color:#fff}
.tc-occasion-star{position:absolute;z-index:1;color:#fff;opacity:.62;font-size:18px;pointer-events:none}.tc-occasion-star.a{left:10%;top:14%}.tc-occasion-star.b{right:12%;top:19%;font-size:12px}.tc-occasion-star.c{right:13%;bottom:17%}
.tc-occasion-small{position:absolute;top:17px;right:19px;font-weight:850;letter-spacing:.07em;font-size:10px;color:#fff8;z-index:2}
.tc-theme-showcase[data-group='Millî'] .tc-occasion-art{background:linear-gradient(140deg,#9e2530,#c9434a)}
.tc-theme-showcase[data-kind='remembrance'] .tc-occasion-art{background:linear-gradient(140deg,#28394c,#46546a)}
.tc-theme-showcase[data-group='Doğa'] .tc-occasion-art{background:linear-gradient(138deg,#23634a,#317e6b)}
.tc-theme-showcase[data-group='Haklar'] .tc-occasion-art{background:linear-gradient(138deg,#274d83,#4a76a5)}
.tc-theme-showcase[data-theme-id='teachers']{--tc-day-dark:#1e508a;--tc-day-accent:#e9ab55;--tc-day-soft:#fff7ec;--tc-ink:#182d4a}
.tc-theme-showcase[data-theme-id='teachers'] .tc-occasion-art{background:linear-gradient(155deg,#163d70,#285993)}
.tc-theme-showcase[data-theme-id='teachers'] .tc-occasion-inner{background:radial-gradient(ellipse at 24% 4%,#fffaf2,transparent 58%),#fff}
.tc-theme-bar{--tc-day-dark:#243e6b;--tc-day-accent:#e8ac55;--tc-day-soft:#f7f1e8;display:flex;align-items:center;justify-content:center;gap:12px;min-height:65px;padding:11px 20px;color:#203b5a;background:linear-gradient(90deg,#f9fbff,var(--tc-day-soft));border-bottom:1px solid #dae3ef;box-shadow:0 4px 14px rgba(16,42,75,.04)}
.tc-theme-bar-symbol{display:grid;place-items:center;flex:none;height:41px;width:41px;background:#fff;border-radius:12px;border:1px solid #dce6ee;font-size:24px}
.tc-theme-bar-copy{display:flex;flex-wrap:wrap;align-items:center;gap:5px 13px;min-width:0}.tc-theme-bar-copy strong{font-size:13px;color:#253e5e;font-weight:850}.tc-theme-bar-copy span{font-size:12px;color:#566d82}.tc-theme-bar-date{font-size:10px!important;font-weight:800;color:#59718b!important;letter-spacing:.08em;text-transform:uppercase}
/* Intentional scope: decorations around home and footer only. Never recolor feature buttons,
   icon backgrounds or card hover states, so text contrast remains stable. */
body[data-tc-theme] .tc26-home{background:linear-gradient(180deg,var(--tc-day-soft) 0%,#fff 32%,#fff 100%)}
body[data-tc-theme] .tc26-home .tc24-home-top{position:relative}
body[data-tc-theme] .site-header{border-bottom-color:#dbe6f0}
body[data-tc-theme] .footer{border-top:3px solid var(--tc-day-accent);background:linear-gradient(180deg,#fff,var(--tc-day-soft))}
body[data-tc-theme] .tc24-choice:hover,body[data-tc-theme] .tc24-choice:focus-visible{background:#fff!important;color:#172e4d!important;border-color:#9bb6d9!important}
body[data-tc-theme] .tc24-choice>span:not(.tc24-choice-icon):not(.tc24-choice-who){color:#63778d!important}
body[data-tc-theme] .tc24-choice .tc24-choice-who{color:#617a98!important}
body[data-tc-theme] .tc24-choice strong{color:#172e4d!important}
body[data-tc-theme] .tc24-choice b{background:#2464d0;color:#fff!important}
body[data-tc-theme] .tc24-choice-student b{background:#127754}
body.lesson-active .tc-theme-bar,body.lesson-active .tc-theme-showcase{display:none!important}
@media(max-width:900px){.tc-occasion-inner{grid-template-columns:minmax(0,1fr) minmax(200px,.75fr);gap:22px;padding:32px}.tc-occasion-art{min-height:320px}.tc-occasion-figure{height:190px}}
@media(max-width:690px){.tc-theme-showcase{padding:14px 12px 22px}.tc-occasion-inner{grid-template-columns:1fr;gap:16px;padding:26px 20px 20px;border-radius:22px}.tc-occasion-copy h2{font-size:clamp(32px,8.3vw,43px);line-height:1.14;margin-bottom:14px}.tc-occasion-eyebrow{font-size:10px;margin-bottom:15px}.tc-occasion-lead{font-size:14px;line-height:1.65;margin-bottom:14px}.tc-occasion-wish{margin-bottom:16px}.tc-occasion-art{min-height:270px;padding:15px 20px 18px;border-radius:18px}.tc-occasion-figure{height:155px;width:min(100%,250px)}.tc-occasion-art-quote{font-size:19px;max-width:290px}.tc-theme-bar{padding:10px 14px;justify-content:flex-start;gap:10px}.tc-theme-bar-symbol{width:36px;height:36px;font-size:20px}.tc-theme-bar-copy{display:grid;gap:2px}.tc-theme-bar-copy strong{font-size:12px}.tc-theme-bar-copy span{font-size:11px}}
@media(max-width:370px){.tc-occasion-inner{padding:22px 16px}.tc-occasion-copy h2{font-size:30px}.tc-occasion-actions>*{flex:1 1 100%}.tc-occasion-art{min-height:260px}}
@media(prefers-reduced-motion:reduce){.tc-occasion-primary,.tc-occasion-secondary{transition:none}}

/* Founder controls: unchanged selection and data model */
.tc-theme-admin{--tc-theme-admin-highlight:var(--tc-day-dark)}
/* National themes receive a subtle double stripe: no flags or official seals are impersonated. */
body[data-tc-group='Millî'] .tc-theme-bar{box-shadow:inset 0 -5px 0 rgba(255,255,255,.6),0 4px 22px rgba(4,23,50,.09)}
/* Accessibility: visible focus, reduced motion and mobile wrapping. */
.tc-theme-admin{margin-top:22px;padding:0;border:0;min-width:0;font-family:inherit}
.tc-theme-admin .tc-theme-admin-heading{padding:0 0 20px;display:flex;gap:18px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.tc-theme-admin-heading h2{font-size:clamp(20px,3vw,27px);margin:0 0 6px;letter-spacing:-.03em;color:#1c3557}
.tc-theme-admin-heading p{color:#657994;font-size:13px;max-width:660px;margin:0;line-height:1.6}
.tc-theme-admin .tc-theme-mode{border:1px solid #d6e2f1;background:linear-gradient(120deg,#fff,#eff6ff);padding:17px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:16px}
.tc-theme-mode p{margin:3px 0 0;font-size:12px;color:#546f8d;line-height:1.5}
.tc-theme-mode b{font-size:15px;color:#25446a}
.tc-theme-mode-actions{display:flex;gap:8px;flex-wrap:wrap}
.tc-theme-btn{min-height:42px;font:inherit;font-size:13px;font-weight:800;border-radius:10px;border:1px solid #bdd0e7;background:white;color:#1d4d87;padding:10px 14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.tc-theme-btn:focus-visible,.tc-theme-search:focus-visible,.tc-theme-filter:focus-visible{outline:3px solid #90baf0;outline-offset:2px}
.tc-theme-btn:disabled{opacity:.58;cursor:not-allowed}
.tc-theme-btn.primary{background:#225eb3;color:white;border-color:#225eb3}.tc-theme-btn.active{background:#e8f3fb;border-color:#238a6f;color:#137c64}
.tc-theme-admin .tc-theme-search-row{display:flex;gap:10px;margin:15px 0;flex-wrap:wrap;align-items:center}
.tc-theme-search{min-height:44px;min-width:190px;flex:1 1 260px;background:white;border:1px solid #cbdceb;border-radius:10px;padding:10px 13px;color:#234267;font-size:14px}
.tc-theme-filter{min-height:44px;padding:9px 12px;background:white;border:1px solid #cbdceb;border-radius:10px;font:inherit;color:#234267;font-size:13px}
.tc-theme-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px}
.tc-theme-item{min-width:0;display:flex;align-items:stretch;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dae4f1;border-radius:14px;box-shadow:0 4px 18px rgba(22,54,93,.03);transition:border-color .15s}
.tc-theme-item.is-active{border:2px solid #258567}
.tc-theme-item-head{display:flex;align-items:center;gap:11px;padding:15px 14px 10px}
.tc-theme-symbol{height:47px;width:47px;flex:none;border-radius:13px;display:grid;place-items:center;font-size:26px;background:linear-gradient(130deg,var(--theme-soft),#fff);border:1px solid var(--theme-accent)}
.tc-theme-item-info{flex:1;min-width:0}.tc-theme-item-info b{font-size:13.5px;line-height:1.4;display:block;color:#243d5f;overflow-wrap:anywhere}.tc-theme-item-info small{font-size:11px;line-height:1.4;color:#60738c}
.tc-theme-item>p{font-size:12px;line-height:1.5;color:#60738c;margin:0 14px 13px;flex:1}
.tc-theme-item-foot{border-top:1px solid #eef1f5;margin:0 14px;padding:11px 0 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.tc-theme-palette{display:flex;gap:4px}.tc-theme-palette i{width:17px;height:17px;border-radius:6px;border:1px solid #e6eaf1}
.tc-theme-item-foot .tc-theme-btn{font-size:12px;padding:8px 11px;min-height:38px}
.tc-theme-message{font-size:13px;line-height:1.6;padding:11px 14px;color:#28604d;background:#eaf9f1;border-radius:10px;border:1px solid #cdebd9;margin-bottom:14px}
.tc-theme-message[data-error='true']{color:#9b372f;background:#fff1ee;border-color:#f6d7d1}
.tc-theme-empty{padding:20px;color:#64758b;font-size:13px;border-radius:12px;background:white;border:1px dashed #d2deea}
@media(max-width:680px){.tc-theme-admin .tc-theme-mode{padding:13px}.tc-theme-mode-actions{width:100%}.tc-theme-mode-actions .tc-theme-btn{flex:1 1 130px}.tc-theme-search-row{flex-direction:column;align-items:stretch}.tc-theme-search,.tc-theme-filter{flex:unset;width:100%}.tc-theme-list{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.tc-theme-item{transition:none}}

/* Admin button styles retained from v12.19. */

