
/* KIOSHI — shared pages */
.k-page{width:min(1120px,calc(100% - 36px));margin:0 auto;padding:92px 0 90px}
.k-page-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:34px}
.k-eyebrow{display:inline-block;color:#a65cff;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;margin-bottom:12px}
.k-page h1{margin:0;font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.04em;color:#f7f3ff}
.k-page-hero p{max-width:680px;margin:18px 0 0;color:#9d97aa;font-size:18px;line-height:1.6}
.k-hero-badge{min-width:140px;padding:18px 22px;border:1px solid rgba(173,91,255,.25);border-radius:18px;background:linear-gradient(145deg,rgba(99,40,150,.18),rgba(18,16,27,.65));text-align:center}
.k-hero-badge strong{display:block;color:#b85cff;font-size:34px;line-height:1}
.k-hero-badge span{display:block;margin-top:7px;color:#8f899b;font-size:13px}
.k-panel{margin-top:26px;padding:28px;border:1px solid rgba(255,255,255,.09);border-radius:24px;background:linear-gradient(145deg,rgba(29,22,43,.88),rgba(14,13,20,.94));box-shadow:0 22px 60px rgba(0,0,0,.22)}
.k-panel-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}
.k-panel h2{margin:0;color:#f5f1fb;font-size:28px;letter-spacing:-.02em}
.k-form{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:18px}
.k-form label{display:flex;flex-direction:column;gap:8px;color:#aaa3b6;font-size:14px;font-weight:700}
.k-form .wide{grid-column:1/-1}
.k-form input,.k-form select,.k-form textarea,.k-toolbar input,.k-toolbar select{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#0b0a10;color:#eee8f7;padding:15px 16px;font:inherit;outline:none;transition:.2s}
.k-form textarea{min-height:110px;resize:vertical}
.k-form input:focus,.k-form select:focus,.k-form textarea:focus,.k-toolbar input:focus,.k-toolbar select:focus{border-color:#a34cff;box-shadow:0 0 0 3px rgba(163,76,255,.12)}
.k-form-actions{display:flex;align-items:center;gap:16px;margin-top:2px}
.k-button{border:0;border-radius:13px;padding:13px 18px;font:inherit;font-weight:800;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}
.k-button:hover{transform:translateY(-1px)}
.k-button.primary{background:linear-gradient(135deg,#8e2cff,#b33cff);color:#fff;box-shadow:0 12px 28px rgba(150,54,255,.24)}
.k-button.ghost{background:#171321;color:#c8bfd3;border:1px solid rgba(255,255,255,.09)}
.k-button.danger{background:#3a121d;color:#ff9eb0;border:1px solid rgba(255,90,120,.18)}
.k-message{color:#8f8798;font-size:14px}
.k-list{display:grid;gap:14px}
.k-item{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:18px;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:rgba(7,7,11,.42)}
.k-item-cover{width:76px;height:104px;border-radius:12px;overflow:hidden;background:#191522;display:grid;place-items:center;color:#9d57ff;font-size:25px;flex:none}
.k-item-cover img{width:100%;height:100%;object-fit:cover}
.k-item h3{margin:0 0 7px;color:#f2edf7;font-size:20px}
.k-item p{margin:0;color:#9b94a7;font-size:15px;line-height:1.5}
.k-item-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:9px}
.k-chip{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:rgba(160,76,255,.1);color:#b870ff;font-size:12px;font-weight:800}
.k-item-side{text-align:right;color:#8d8797;font-size:13px}
.k-item-side strong{display:block;color:#b568ff;font-size:13px;margin-bottom:8px}
.k-empty{padding:46px 20px;text-align:center;border:1px dashed rgba(255,255,255,.1);border-radius:18px;color:#8f8998}
.k-empty strong{display:block;color:#f0ebf5;font-size:20px;margin-bottom:8px}
.k-toolbar{display:grid;grid-template-columns:1fr 220px;gap:14px;margin-bottom:22px}
.k-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.k-stat-card{padding:25px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:linear-gradient(145deg,rgba(30,23,43,.88),rgba(13,12,18,.95))}
.k-stat-card span{display:block;color:#a79fad;font-size:13px;font-weight:800;letter-spacing:.08em}
.k-stat-card strong{display:block;color:#f7f2fa;font-size:48px;line-height:1;margin:14px 0 8px}
.k-stat-card small{color:#80798b;font-size:14px}
.k-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(220px,256px));gap:12px;justify-content:center}
.k-mini-stats div{padding:18px;border-radius:16px;background:#0d0b12;border:1px solid rgba(255,255,255,.06)}
.k-mini-stats span{display:block;color:#8f8998;font-size:13px;margin-bottom:8px}
.k-mini-stats strong{font-size:26px;color:#eae4ef}



/* =========================================================
   KIOSHI — EXTENDED PAGE DESIGN
   ========================================================= */

:root{
  --kp-bg:#08070d;
  --kp-surface:rgba(19,16,29,.78);
  --kp-surface-2:rgba(28,22,42,.82);
  --kp-line:rgba(255,255,255,.09);
  --kp-line-strong:rgba(255,255,255,.14);
  --kp-text:#f8f5ff;
  --kp-muted:#9d96aa;
  --kp-purple:#9a4dff;
  --kp-blue:#27b8ff;
  --kp-pink:#ff4d91;
  --kp-cyan:#43e1ff;
  --kp-green:#50e3a4;
  --kp-shadow:0 28px 90px rgba(0,0,0,.34);
}

body{
  background:
    radial-gradient(circle at 15% 10%,rgba(132,53,255,.08),transparent 28%),
    radial-gradient(circle at 85% 35%,rgba(24,165,255,.055),transparent 28%),
    #08070d;
}

/* ---------- shared page atmosphere ---------- */
.k-page,
.suggestions-page,
.collection-hero,
.collection-overview,
.collection-section,
.profile-page{
  position:relative;
}

.k-page::before,
.suggestions-container::before,
.collection-hero::before,
.profile-page::before{
  content:"";
  position:absolute;
  width:460px;
  height:460px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(145,65,255,.12),transparent 68%);
  filter:blur(10px);
  pointer-events:none;
  top:30px;
  right:-180px;
}

.k-page > *,
.suggestions-container > *,
.collection-hero-inner,
.collection-overview > *,
.collection-section > *,
.profile-section > *{
  position:relative;
  z-index:1;
}

/* ---------- header account widget ---------- */
.header-login-button,
.header-account-button,
#accountWidget{
  border:1px solid rgba(160,85,255,.28);
  background:linear-gradient(135deg,rgba(143,57,255,.18),rgba(28,22,43,.72));
  color:#eee8fa;
  border-radius:12px;
  min-height:42px;
  padding:0 15px;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}

.header-login-button:hover,
.header-account-button:hover,
#accountWidget:hover{
  border-color:rgba(171,103,255,.55);
  transform:translateY(-1px);
  box-shadow:0 10px 30px rgba(116,48,220,.2);
}

/* =========================================================
   COLLECTION
   ========================================================= */
.collection-hero{
  overflow:hidden;
  padding-top:130px !important;
  padding-bottom:70px !important;
}

.collection-hero::after{
  content:"";
  position:absolute;
  width:700px;
  height:360px;
  left:-240px;
  top:40px;
  background:radial-gradient(ellipse,rgba(51,172,255,.08),transparent 68%);
  pointer-events:none;
}

.collection-label{
  display:inline-flex;
  padding:7px 11px;
  border:1px solid rgba(151,77,255,.25);
  border-radius:999px;
  background:rgba(126,52,255,.08);
  color:#ae78ff !important;
  font-size:11px !important;
  letter-spacing:.2em !important;
}

.collection-title{
  max-width:900px;
  margin-top:18px !important;
  font-size:clamp(52px,8vw,100px) !important;
  line-height:.9 !important;
  letter-spacing:-.055em !important;
  background:linear-gradient(100deg,#fff 8%,#c98cff 48%,#48c9ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent !important;
}

.collection-description{
  max-width:670px;
  font-size:18px !important;
  color:#a8a0b5 !important;
}

.collection-actions .button{
  border-radius:13px;
  box-shadow:0 16px 35px rgba(116,45,230,.2);
}

.collection-overview{
  padding-top:25px !important;
}

.collection-overview-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--kp-line) !important;
  border-radius:22px !important;
  background:linear-gradient(145deg,rgba(29,23,43,.82),rgba(10,9,14,.9)) !important;
  box-shadow:var(--kp-shadow);
  transition:transform .25s ease,border-color .25s ease,background .25s ease;
}

.collection-overview-card::after{
  content:"";
  position:absolute;
  inset:auto -40px -80px auto;
  width:170px;
  height:170px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(146,67,255,.18),transparent 70%);
}

.collection-overview-card:hover{
  transform:translateY(-5px);
  border-color:rgba(164,93,255,.35) !important;
}

.collection-section{
  padding-top:45px !important;
}

.collection-tools{
  padding:18px;
  border:1px solid var(--kp-line);
  border-radius:20px;
  background:rgba(14,12,20,.72);
  box-shadow:0 20px 60px rgba(0,0,0,.2);
}

.collection-search,
.collection-sort{
  border-color:rgba(255,255,255,.1) !important;
  background:rgba(5,5,9,.7) !important;
  border-radius:13px !important;
}

.collection-filter{
  border:1px solid rgba(255,255,255,.08) !important;
  background:rgba(255,255,255,.025) !important;
  color:#a7a0b1 !important;
  border-radius:999px !important;
  transition:.2s ease;
}

.collection-filter:hover,
.collection-filter.active{
  color:#fff !important;
  border-color:rgba(155,78,255,.42) !important;
  background:linear-gradient(135deg,rgba(140,52,255,.22),rgba(38,165,255,.08)) !important;
}

.collection-card{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075) !important;
  border-radius:21px !important;
  background:linear-gradient(145deg,rgba(27,22,39,.9),rgba(10,9,14,.96)) !important;
  box-shadow:0 20px 55px rgba(0,0,0,.24);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.collection-card:hover{
  transform:translateY(-7px);
  border-color:rgba(163,85,255,.35) !important;
  box-shadow:0 28px 75px rgba(0,0,0,.38),0 0 45px rgba(122,49,255,.08);
}

.collection-poster{
  background:linear-gradient(135deg,#15101f,#0c0b11) !important;
}

.collection-card-body h3{
  color:#f7f2fb !important;
}

.collection-meta{color:#928b9d !important}
.collection-status{border-color:rgba(255,255,255,.07) !important}

/* =========================================================
   PROFILE
   ========================================================= */
.profile-page{
  padding-top:120px !important;
}

.profile-card{
  border-color:rgba(255,255,255,.1) !important;
  background:
    radial-gradient(circle at 10% 0%,rgba(154,76,255,.22),transparent 34%),
    radial-gradient(circle at 100% 100%,rgba(39,184,255,.08),transparent 30%),
    linear-gradient(145deg,rgba(29,23,43,.9),rgba(10,9,15,.96)) !important;
  box-shadow:var(--kp-shadow) !important;
}

.profile-avatar-wrapper{
  border:1px solid rgba(166,93,255,.38) !important;
  box-shadow:0 0 0 8px rgba(137,60,255,.06),0 25px 60px rgba(0,0,0,.35);
}

.profile-main-info h2{color:#fff !important}
.profile-username{color:#9c92aa !important}
.profile-role{color:#bd79ff !important}
.profile-online{color:#65e9ad !important}

.profile-field input,
.profile-field textarea,
.profile-readonly{
  border-color:rgba(255,255,255,.1) !important;
  background:rgba(6,6,10,.68) !important;
  border-radius:14px !important;
}

.profile-actions .button{
  border-radius:13px;
}


/* =========================================================
   PROFILE — AUTH REQUIRED STATE
   ========================================================= */
.profile-auth-prompt{
  width:min(720px,100%);
  margin:28px auto 0;
  padding:42px 28px;
  text-align:center;
  border:1px solid rgba(255,255,255,.1);
  border-radius:24px;
  background:
    radial-gradient(circle at 50% 0%,rgba(143,63,255,.2),transparent 48%),
    linear-gradient(145deg,rgba(29,23,43,.9),rgba(10,9,15,.96));
  box-shadow:var(--kp-shadow);
}
.profile-auth-prompt[hidden],
#profileAuthenticatedContent[hidden]{
  display:none !important;
}
.profile-auth-icon{
  width:76px;
  height:76px;
  margin:0 auto 22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:34px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg,#8b5cf6,#22b8ff);
  box-shadow:0 0 0 8px rgba(139,92,246,.08),0 20px 50px rgba(0,0,0,.35);
}
.profile-auth-prompt h2{
  margin:10px 0 10px;
  color:#fff;
  font-size:clamp(26px,4vw,38px);
}
.profile-auth-prompt p{
  max-width:560px;
  margin:0 auto 24px;
  color:#9f96ae;
  line-height:1.6;
}
.profile-login-button{
  min-width:190px;
}


/* =========================================================
   SUGGESTIONS
   ========================================================= */
.suggestions-page{
  min-height:calc(100vh - 80px);
  padding:115px 20px 90px;
  background:
    radial-gradient(circle at 50% 0%,rgba(143,63,255,.13),transparent 36%),
    radial-gradient(circle at 10% 50%,rgba(34,174,255,.055),transparent 28%);
}

.suggestions-container{
  width:min(1120px,100%);
  margin:0 auto;
  position:relative;
}

.suggestions-header{
  padding:34px 0 55px;
}

.suggestions-header-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:18px;
}

.suggestions-label,
.suggestions-counter,
.suggestions-kicker{
  color:#ae70ff !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.2em !important;
  text-transform:uppercase;
}

.suggestions-counter{
  color:#756d80 !important;
}

.suggestions-header h1{
  margin:0;
  font-size:clamp(52px,8vw,100px);
  line-height:.9;
  letter-spacing:-.06em;
  background:linear-gradient(100deg,#fff,#c68aff 48%,#45caff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.suggestions-header p{
  max-width:700px;
  margin:22px 0 0;
  color:#a49cac;
  font-size:18px;
  line-height:1.7;
}

.suggestions-hero-line{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:30px;
}

.suggestions-hero-line span{
  width:80px;
  height:1px;
  background:linear-gradient(90deg,#9d51ff,transparent);
}

.suggestions-hero-line small{color:#6f6878;letter-spacing:.14em}

.suggestions-info{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-bottom:24px;
}

.suggestions-info-card{
  display:flex;
  gap:16px;
  padding:22px;
  border:1px solid var(--kp-line);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(28,22,41,.82),rgba(11,10,15,.9));
  box-shadow:0 18px 50px rgba(0,0,0,.2);
}

.suggestions-info-number{
  color:#a65cff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.1em;
}

.suggestions-info-card strong{display:block;color:#f4eefb;margin-bottom:7px}
.suggestions-info-card span{display:block;color:#8e8798;font-size:14px;line-height:1.5}

.suggestion-form,
.suggestions-list-section{
  border:1px solid var(--kp-line);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(27,21,40,.9),rgba(9,8,13,.95));
  box-shadow:var(--kp-shadow);
}

.suggestion-form{padding:28px}
.suggestion-form-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}
.suggestion-form-heading h2{margin:4px 0 0;color:#f7f2fb;font-size:28px}
.suggestions-limit{color:#82798d;font-size:13px}

.suggestion-source-tabs{
  display:grid !important;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-bottom:22px;
}

.suggestion-source-tabs .tab{
  min-height:58px;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:14px !important;
  background:rgba(255,255,255,.025) !important;
  color:#8e8797 !important;
  cursor:pointer;
  transition:.2s ease;
}

.suggestion-source-tabs .tab:hover,
.suggestion-source-tabs .tab.on{
  color:#fff !important;
  border-color:rgba(159,79,255,.42) !important;
  background:linear-gradient(135deg,rgba(145,55,255,.18),rgba(38,174,255,.06)) !important;
  box-shadow:0 10px 28px rgba(107,43,218,.13);
}

.suggestion-search-box,
.suggestion-manual,
.suggestion-details{
  border:1px solid rgba(255,255,255,.075);
  border-radius:18px;
  background:rgba(5,5,9,.38);
  padding:20px;
}

.suggestion-search-title{color:#bdb5c9;margin-bottom:12px;font-weight:800}
.suggestion-search-row{display:flex;gap:10px}
.suggestion-main-search{flex:1}
.suggestion-main-search input,
.suggestion-simple-field input,
.suggestion-simple-field textarea,
.suggestion-select,
.suggestion-toolbar-search input{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.1) !important;
  border-radius:13px !important;
  background:#09080e !important;
  color:#f0ebf6 !important;
  padding:14px 15px !important;
  outline:none;
  font:inherit;
}

.suggestion-main-search input:focus,
.suggestion-simple-field input:focus,
.suggestion-simple-field textarea:focus,
.suggestion-select:focus,
.suggestion-toolbar-search input:focus{
  border-color:#9e51ff !important;
  box-shadow:0 0 0 3px rgba(158,81,255,.1);
}

.suggestion-search-button,
.suggestion-submit{
  border:0 !important;
  border-radius:13px !important;
  background:linear-gradient(135deg,#8e32ff,#b54dff) !important;
  color:#fff !important;
  font-weight:900 !important;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(137,43,240,.22);
}

.suggestion-search-results,
.suggestion-picked{margin-top:12px}

.suggestion-simple-fields{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:18px;
}

.suggestion-simple-field{display:flex;flex-direction:column;gap:8px;color:#8f8899;font-size:13px;font-weight:800}
.suggestion-simple-field textarea{min-height:105px;resize:vertical}
.suggestion-simple-field:last-child{grid-column:1/-1}

.suggestion-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:20px}
.suggestion-status{display:flex;align-items:center;gap:8px;color:#81788c;font-size:13px}
.suggestion-status-dot{width:8px;height:8px;border-radius:50%;background:#55e0a5;box-shadow:0 0 14px rgba(85,224,165,.55)}

.suggestions-divider{height:1px;background:rgba(255,255,255,.07);margin:28px 0}

.suggestions-list-section{padding:28px}
.suggestions-list-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}
.suggestions-list-heading h2{margin:5px 0 0;color:#f7f2fb;font-size:28px}

.suggestion-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 190px 190px auto auto;gap:10px;align-items:center;margin-bottom:16px}
.suggestion-toolbar-search{min-width:0}
.suggestion-icon-button{min-height:46px}

.suggestion-filter-group{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.suggestion-filter.chip{
  border:1px solid rgba(255,255,255,.08) !important;
  background:rgba(255,255,255,.025) !important;
  color:#8d8597 !important;
  border-radius:999px !important;
  padding:8px 12px !important;
  cursor:pointer;
}
.suggestion-filter.chip:hover,
.suggestion-filter.chip.active{
  color:#fff !important;
  border-color:rgba(157,78,255,.4) !important;
  background:rgba(143,55,255,.14) !important;
}

.suggestions-loading,
.empty-suggestions{
  padding:50px 20px;
  text-align:center;
  border:1px dashed rgba(255,255,255,.09);
  border-radius:18px;
  color:#8f8799;
}

.suggestions-loading-icon{font-size:28px;color:#a45cff;margin-bottom:10px}

/* =========================================================
   RESPONSIVE
   ========================================================= */







/* =========================================================
   KIOSHI — READABLE SHARED PAGE TEXT
   ========================================================= */
.k-panel h2 { font-size: 30px; }
.k-form label { font-size: 15px; }
.k-form input, .k-form select, .k-form textarea { font-size: 16px; }
.k-message { font-size: 15px; }
.k-item h3 { font-size: 21px; }
.k-item p { font-size: 16px; }
.k-item-side { font-size: 14px; }
.k-chip { font-size: 13px; }

/* =========================================================
   SCHEDULE / ADMIN SCHEDULE
   ========================================================= */
.k-panel-note { margin:.45rem 0 0; color:#8f8799; font-size:14px; line-height:1.55; }
.schedule-public-item {
  grid-template-columns:minmax(220px, 250px) minmax(0, 1fr);
  gap:24px;
  align-items:stretch;
}
.schedule-day {
  width:auto;
  min-width:0;
  min-height:112px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:7px;
  text-align:left;
  padding:18px 20px;
}
.schedule-day strong {
  display:block;
  width:100%;
  font-size:17px;
  line-height:1.3;
  color:#fff;
  text-transform:none;
  overflow-wrap:normal;
  word-break:normal;
}
.schedule-day .schedule-date {
  display:block;
  color:#b8afc5;
  font-size:15px;
  line-height:1.3;
}
.schedule-day .schedule-time {
  display:block;
  color:#9e96aa;
  font-size:13px;
  line-height:1.3;
  white-space:nowrap;
}
.schedule-public-copy {
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.schedule-public-copy h3 {
  overflow-wrap:anywhere;
}
.schedule-public-copy p {
  margin-bottom:0;
}
.admin-schedule-list { display:grid; gap:12px; }
.admin-schedule-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; padding:18px; border:1px solid rgba(255,255,255,.08); border-radius:18px; background:rgba(12,10,18,.72); }
.admin-schedule-row strong { display:block; margin-top:9px; color:#fff; font-size:18px; }
.admin-schedule-row p { margin:6px 0 0; color:#8f8799; line-height:1.5; }
.admin-schedule-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.k-message.is-error { color:#ff8b9a; }




/* =========================================================
   SUGGESTIONS AUTH / ANONYMOUS
========================================================= */

.suggestion-login-gate {
    display: flex;
    animation: suggestionGateIn .22s ease both;
    align-items: center;
    gap: 16px;
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid rgba(150, 120, 255, .28);
    border-radius: 18px;
    background: rgba(20, 17, 36, .82);
}

.suggestion-login-gate[hidden] {
    display: none !important;
}

@keyframes suggestionGateIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.suggestion-login-gate-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 13px;
    background: rgba(130, 95, 255, .14);
    font-size: 20px;
}

.suggestion-login-gate-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.suggestion-login-gate-content strong {
    font-size: 15px;
}

.suggestion-login-gate-content span {
    font-size: 13px;
    opacity: .7;
}

.suggestion-login-button {
    flex: 0 0 auto;
}

.suggestion-anonymous-option {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-top: 4px;
}

.suggestion-anonymous-option input {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px;
    margin-top: 2px;
    accent-color: #8b5cf6;
}

.suggestion-anonymous-option span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.suggestion-anonymous-option strong {
    font-size: 14px;
}

.suggestion-anonymous-option small {
    font-size: 12px;
    opacity: .68;
    line-height: 1.4;
}

.suggestion-form-locked {
    opacity: .94;
}



/* Twitch OAuth button */
.suggestion-login-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:44px;
    padding:0 18px;
    border:1px solid rgba(168,85,247,.48);
    border-radius:12px;
    background:linear-gradient(135deg,#6d28d9,#9333ea);
    color:#fff;
    font:inherit;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 10px 28px rgba(124,58,237,.22);
    transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.suggestion-login-button::before {
    content:"◉";
    font-size:14px;
    opacity:.95;
}
.suggestion-login-button:hover {
    transform:translateY(-1px);
    filter:brightness(1.08);
    box-shadow:0 14px 34px rgba(124,58,237,.32);
}
.suggestion-login-button:active {
    transform:translateY(0);
}


/* =========================================================
   SCHEDULE HISTORY / STREAM CARDS
   ========================================================= */

.schedule-public-section {
  margin-top: 34px;
}

.schedule-public-section:first-child {
  margin-top: 0;
}

.schedule-public-section-head {
  margin-bottom: 16px;
}

.schedule-public-section-head h2 {
  margin: 5px 0 0;
}

.schedule-public-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.schedule-public-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
}

.schedule-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(141,76,255,.16), rgba(25,181,255,.08));
  line-height: 0;
}

/*
   Контейнер остаётся нормального размера для сайта (16:9),
   но сама загруженная картинка НИКОГДА не режется.
   Любые исходные размеры/пропорции помещаются внутрь через contain.
*/
.schedule-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.schedule-card-media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: rgba(255,255,255,.45);
  font-size: 15px;
}

.schedule-card-media-empty span {
  font-size: 36px;
}

.schedule-card-body {
  padding: 22px;
}

.schedule-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
}

.schedule-status.is-upcoming {
  background: rgba(141,76,255,.10);
  color: #b58aff;
  border-color: rgba(141,76,255,.28);
}

.schedule-status.is-live {
  background: rgba(255,65,85,.10);
  color: #ff7188;
  border-color: rgba(255,65,85,.28);
}

.schedule-status.is-completed {
  background: rgba(53,208,127,.10);
  color: #65e49b;
  border-color: rgba(53,208,127,.28);
}

.schedule-status.is-cancelled {
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.52);
}

.schedule-card-date {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 16px;
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

.schedule-card-date strong {
  color: rgba(255,255,255,.78);
  text-transform: capitalize;
}

.schedule-card-body h3 {
  margin: 10px 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
}

.schedule-card-body p {
  margin: 0;
  color: rgba(255,255,255,.60);
  line-height: 1.65;
}

.schedule-state-note {
  margin-top: 13px;
  color: rgba(255,255,255,.43);
  font-size: 13px;
}

.schedule-vod-button {
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
}

.admin-schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
  margin-bottom: 12px;
}

.admin-schedule-preview {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-schedule-preview > img,
.admin-schedule-preview-empty {
  width: 112px;
  height: 64px;
  flex: 0 0 112px;
  border-radius: 11px;
  object-fit: contain;
  background: rgba(255,255,255,.05);
}

.admin-schedule-preview-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.admin-schedule-preview strong {
  display: block;
  margin-top: 7px;
  font-size: 17px;
}

.admin-schedule-preview p {
  margin: 5px 0 0;
  color: rgba(255,255,255,.48);
  font-size: 13px;
}

.admin-schedule-preview small {
  display: inline-block;
  margin-top: 6px;
  color: #65e49b;
}

.admin-schedule-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}





/* Schedule admin controls / local image upload */
.schedule-image-upload { display:flex; flex-direction:column; gap:9px; }
.schedule-image-upload input[type="file"] { padding:10px; cursor:pointer; }
.schedule-upload-hint { display:block; color:rgba(255,255,255,.42); font-size:12px; line-height:1.45; }
.schedule-image-preview {
  display:flex; align-items:center; justify-content:center; gap:8px; height:220px;
  border:1px dashed rgba(192,132,252,.28); border-radius:16px; overflow:hidden;
  background:rgba(255,255,255,.025); color:rgba(255,255,255,.45); flex-direction:column;
}
.schedule-image-preview img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; object-position:center; background:#17131f; }
.schedule-image-preview span { font-size:30px; }
.admin-schedule-preview-copy { min-width:0; }
.admin-schedule-row.is-cancelled { opacity:.72; }
.admin-schedule-actions .live-action { border-color:rgba(255,65,85,.30); color:#ff8a9a; }
.admin-schedule-actions .cancel-action { border-color:rgba(255,255,255,.12); }
.admin-schedule-actions .k-button:disabled { opacity:.55; cursor:wait; }


/* Schedule media: fixed site frame + contain, preserves every uploaded image */

/* Profile controls */
.profile-readonly{cursor:not-allowed !important;user-select:text;opacity:.78}
.profile-readonly::selection{background:rgba(168,85,247,.25)}
.profile-save-disabled{opacity:.45!important;cursor:not-allowed!important}
.profile-role-badge{display:inline-flex;align-items:center;width:max-content;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.04em;border:1px solid}
.profile-role-badge.user{color:#b58aff;border-color:rgba(181,138,255,.35);background:rgba(181,138,255,.09)}
.profile-role-badge.moderator{color:#72d8ff;border-color:rgba(114,216,255,.35);background:rgba(114,216,255,.08)}
.profile-role-badge.superadmin{color:#ffd166;border-color:rgba(255,209,102,.45);background:rgba(255,209,102,.10)}
.profile-role-badge.admin{color:#ff9dff;border-color:rgba(255,157,255,.35);background:rgba(255,157,255,.08)}


/* Twitch username is read-only */
.profile-readonly { cursor: not-allowed !important; user-select: text; }


/* =========================================================
   KAZEMARU — ACCOUNT BUTTON MASTER STYLE
   The account control must look identical on every page.
   ========================================================= */
.account-widget,
#accountWidget {
    position: relative;
    margin-left: 18px;
    z-index: 1000;
}

.account-widget .account-button,
#accountWidget .account-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 44px;
    min-height: 44px;
    width: auto;
    padding: 5px 12px 5px 6px;
    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.04) !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.account-widget .account-button:hover,
#accountWidget .account-button:hover,
.account-widget.is-open .account-button,
#accountWidget.is-open .account-button {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.10) !important;
    box-shadow: none !important;
    transform: none !important;
}

.account-widget .account-avatar,
#accountWidget .account-avatar,
.account-widget .account-avatar-fallback,
#accountWidget .account-avatar-fallback {
    width: 32px;
    height: 32px;
    min-width: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    box-sizing: border-box;
}

.account-widget .account-avatar,
#accountWidget .account-avatar {
    object-fit: cover;
    border: 2px solid #19d8ff !important;
    box-shadow: 0 0 8px rgba(25,216,255,.35);
}

.account-widget .account-name,
#accountWidget .account-name {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
}

.account-widget .account-arrow,
#accountWidget .account-arrow {
    color: rgba(255,255,255,.55) !important;
    font-size: 11px;
    transform: none !important;
}

.account-widget.is-open .account-arrow,
#accountWidget.is-open .account-arrow {
    transform: rotate(180deg) !important;
}

/* Remove page-specific purple styling from the account wrapper. */
.header-account-button,
.header-account-button:hover {
    background: none !important;
}




/* KAZEMARU: remove purple outer account wrapper */
#accountWidget,
.account-widget {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}
#accountWidget:hover,
#accountWidget.is-open,
.account-widget:hover,
.account-widget.is-open {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Clickable suggestion author. Moderators/admins can use it to open the profile. */
.suggestion-author-link {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease, text-decoration-color .15s ease;
}
.suggestion-author-link:hover {
    color: #b77cff;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   KIOSHI — CLICKABLE PROFILE LINKS
   ========================================================= */
.admin-suggestion-author,
.suggestion-author-link {
    position: relative;
    z-index: 100;
}

.admin-suggestion-author-link,
.suggestion-author-link {
    position: relative;
    z-index: 50;
    pointer-events: auto !important;
    cursor: pointer !important;
    color: #c9a7ff !important;
    text-decoration: none;
    font-weight: 800;
}
.admin-suggestion-author-link:hover,
.suggestion-author-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Profile role + ban status */
.profile-role-container{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:inherit!important}
.profile-role-badge.banned{color:#ff8999;border-color:rgba(255,75,100,.35);background:rgba(255,75,100,.09)}
.suggestion-form-banned{opacity:.62}

/* Заблокированный профиль: поля имени и «О себе» не кликаются и не редактируются. */
.profile-field-disabled,
.profile-field-disabled:disabled {
    pointer-events: none !important;
    cursor: not-allowed !important;
    user-select: none !important;
    opacity: .65;
}


/* Superadmin global suggestion action */
.suggestions-global-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 12px;
}


/* =========================================================
   PUBLIC SCHEDULE MODERATOR CONTROLS
========================================================= */
.schedule-hero-actions {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.schedule-add-button { white-space:nowrap; }
.schedule-modal-backdrop {
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(4,3,8,.78);
  backdrop-filter:blur(12px);
}
.schedule-modal-backdrop[hidden] { display:none !important; }
.schedule-modal {
  width:min(620px,calc(100vw - 40px));
  max-width:620px;
  max-height:min(90vh,900px);
  overflow-x:hidden;
  overflow-y:auto;
  box-sizing:border-box;
  padding:24px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  background:#14111b;
  box-shadow:0 30px 100px rgba(0,0,0,.55);
}
.schedule-modal-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}
.schedule-modal-head h2 { margin:5px 0 0; }
.schedule-modal .k-form {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
  min-width:0;
}
.schedule-modal .k-form > * {
  min-width:0;
}
.schedule-modal .k-form label {
  min-width:0;
}
.schedule-modal .k-form input,
.schedule-modal .k-form select,
.schedule-modal .k-form textarea {
  min-width:0;
}
.schedule-modal .schedule-modal-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:14px;
  min-width:0;
}
.schedule-modal .k-form-actions {
  min-width:0;
  flex-wrap:wrap;
}

.schedule-modal-close {
  width:40px;
  height:40px;
  flex:0 0 40px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(255,255,255,.04);
  color:#fff;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
.schedule-modal-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.schedule-twitch-button {
  display:inline-flex;
  margin-top:18px;
  text-decoration:none;
}


/* Moderator+ control for moving a stream to history */
.schedule-complete-button {
  margin-top: 10px;
}


/* =========================================================
   SCHEDULE — debt -> schedule + calendar/time controls
   ========================================================= */

.debts-schedule-button {
  display: inline-flex;
  margin-top: 9px;
  text-decoration: none;
  white-space: nowrap;
}

.schedule-debt-source {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -5px 0 0;
  padding: 10px 13px;
  border: 1px solid rgba(181,138,255,.22);
  border-radius: 12px;
  background: rgba(141,76,255,.07);
  color: rgba(255,255,255,.68);
  font-size: 12px;
}

.schedule-debt-source span {
  color: #b58aff;
  font-weight: 900;
}

.schedule-date-time-field {
  position: relative;
}

.schedule-date-time-field > span:not(.schedule-field-icon) {
  display: block;
}

.schedule-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-right: 7px;
  border: 1px solid rgba(181,138,255,.24);
  border-radius: 8px;
  background: rgba(141,76,255,.10);
  color: #c69cff;
  font-size: 15px;
  font-weight: 900;
  vertical-align: middle;
}

.schedule-date-time-field input[type="date"],
.schedule-date-time-field input[type="time"] {
  color-scheme: dark;
  accent-color: #b58aff;
  cursor: pointer;
}

/* Chromium / Edge: tint the native calendar/clock button to match KAZEMARU. */
.schedule-date-time-field input[type="date"]::-webkit-calendar-picker-indicator,
.schedule-date-time-field input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: .88;
  cursor: pointer;
  filter: invert(76%) sepia(18%) saturate(1100%) hue-rotate(220deg) brightness(105%);
  padding: 5px;
  border-radius: 8px;
  background-color: rgba(181,138,255,.08);
}

.schedule-date-time-field input[type="date"]::-webkit-calendar-picker-indicator:hover,
.schedule-date-time-field input[type="time"]::-webkit-calendar-picker-indicator:hover {
  background-color: rgba(181,138,255,.18);
}

/* Native date/time popup follows the dark site color scheme where the browser allows it. */
.schedule-date-time-field input[type="date"],
.schedule-date-time-field input[type="time"] {
  color-scheme: dark;
}




/* KAZEMARU — редактирование анонсов */
.schedule-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.schedule-icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.schedule-icon-button:hover {
  transform: translateY(-1px);
  background: rgba(139,92,246,.18);
  border-color: rgba(139,92,246,.55);
}

.schedule-icon-button:active {
  transform: translateY(0);
}


/* =========================================================
   KAZEMARU — SCHEDULE CARD POLISH
   ========================================================= */

/* Карандаш модерации — поверх картинки, справа сверху */
.schedule-card-media {
  position: relative;
}

.schedule-edit-button-media {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(12,10,18,.82);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 1px rgba(168,85,247,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.schedule-edit-button-media:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(139,92,246,.28);
  border-color: rgba(168,85,247,.72);
  box-shadow: 0 10px 28px rgba(0,0,0,.34), 0 0 20px rgba(139,92,246,.18);
}

.schedule-edit-button-media:active {
  transform: scale(.98);
}

/* Дата и время — в стиле KAZEMARU */
.schedule-card-date {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.schedule-date-chip,
.schedule-time-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(168,85,247,.18);
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(139,92,246,.10),
    rgba(255,255,255,.035)
  );
  color: rgba(255,255,255,.78);
  box-sizing: border-box;
}

.schedule-date-chip strong,
.schedule-time-chip strong {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.schedule-date-icon,
.schedule-time-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  border: 1px solid rgba(168,85,247,.34);
  border-radius: 7px;
  background: rgba(139,92,246,.14);
  color: #c084fc;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.schedule-time-icon {
  font-size: 17px;
}





/* =========================================================
   KAZEMARU — CUSTOM CALENDAR / TIME POPUP
   Полностью заменяет нативные popup календаря и времени.
   ========================================================= */

body.kaz-datetime-open {
  overflow: hidden;
}

.kaz-datetime-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kaz-datetime-popup[hidden] {
  display: none !important;
}

.kaz-datetime-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 9, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kaz-datetime-dialog {
  position: relative;
  z-index: 1;
  width: min(430px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 32px));
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(168,85,247,.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(168,85,247,.13), transparent 38%),
    linear-gradient(145deg, #171320, #0e0c14);
  box-shadow:
    0 30px 90px rgba(0,0,0,.65),
    0 0 55px rgba(139,92,246,.10);
  color: #fff;
  animation: kazPickerIn .18s ease-out;
}

@keyframes kazPickerIn {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.kaz-datetime-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.kaz-datetime-head h3 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
}

.kaz-datetime-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.86);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: .18s ease;
}

.kaz-datetime-close:hover {
  background: rgba(139,92,246,.18);
  border-color: rgba(168,85,247,.55);
  color: #fff;
}

.kaz-calendar-toolbar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.kaz-calendar-toolbar strong {
  text-align: center;
  color: #fff;
  font-size: 17px;
}

.kaz-calendar-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: #c084fc;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.kaz-calendar-nav:hover {
  background: rgba(139,92,246,.18);
  border-color: rgba(168,85,247,.5);
}

.kaz-calendar-weekdays,
.kaz-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.kaz-calendar-weekdays {
  margin-bottom: 7px;
}

.kaz-calendar-weekdays span {
  text-align: center;
  color: rgba(255,255,255,.38);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kaz-calendar-empty {
  min-height: 42px;
}

.kaz-calendar-day {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.78);
  font-weight: 700;
  cursor: pointer;
  transition: .16s ease;
}

.kaz-calendar-day:hover {
  background: rgba(139,92,246,.18);
  border-color: rgba(168,85,247,.45);
  color: #fff;
  transform: translateY(-1px);
}

.kaz-calendar-day.is-today {
  border-color: rgba(192,132,252,.38);
  color: #c084fc;
}

.kaz-calendar-day.is-selected {
  border-color: rgba(168,85,247,.85);
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139,92,246,.25);
}

.kaz-picker-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}

.kaz-time-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 94px;
  margin-bottom: 18px;
  border: 1px solid rgba(168,85,247,.22);
  border-radius: 18px;
  background: rgba(139,92,246,.08);
}

.kaz-time-preview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(168,85,247,.38);
  border-radius: 13px;
  background: rgba(139,92,246,.15);
  color: #c084fc;
  font-size: 27px;
}

.kaz-time-preview strong {
  color: #fff;
  font-size: 40px;
  letter-spacing: .04em;
}

.kaz-time-selects {
  display: grid;
  grid-template-columns: 1fr 22px 1fr;
  align-items: end;
  gap: 10px;
}

.kaz-time-selects label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.kaz-time-selects label > span {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kaz-time-selects select {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: #100e16;
  color: #fff;
  padding: 0 13px;
  font-size: 17px;
  font-weight: 800;
  outline: none;
  cursor: pointer;
}

.kaz-time-selects select:focus {
  border-color: rgba(168,85,247,.65);
  box-shadow: 0 0 0 3px rgba(139,92,246,.09);
}

.kaz-time-selects select option {
  background: #17131f;
  color: #fff;
}

.kaz-time-colon {
  padding-bottom: 14px;
  text-align: center;
  color: #c084fc;
  font-size: 24px;
  font-weight: 900;
}

.kaz-time-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 17px;
}

.kaz-time-quick-button {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
  font-weight: 800;
  cursor: pointer;
  transition: .16s ease;
}

.kaz-time-quick-button:hover {
  border-color: rgba(168,85,247,.5);
  background: rgba(139,92,246,.15);
  color: #fff;
}

.kaz-datetime-dialog::-webkit-scrollbar {
  width: 7px;
}

.kaz-datetime-dialog::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(168,85,247,.35);
}

.schedule-custom-picker-input {
  cursor: pointer !important;
  user-select: none;
  caret-color: transparent;
}





/* KAZEMARU — раздельный ввод часов и минут */
.kaz-time-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}

.kaz-time-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.kaz-time-field > span {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kaz-time-field input {
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  border: 1px solid rgba(168,85,247,.30);
  border-radius: 14px;
  outline: none;
  background: #100e16;
  color: #fff;
  padding: 0 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  transition: .18s ease;
}

.kaz-time-field input::placeholder {
  color: rgba(255,255,255,.25);
}

.kaz-time-field input:focus {
  border-color: rgba(168,85,247,.78);
  background: rgba(139,92,246,.07);
  box-shadow: 0 0 0 4px rgba(139,92,246,.10);
}

.kaz-time-field input.is-invalid {
  border-color: rgba(248,113,113,.78);
  box-shadow: 0 0 0 4px rgba(248,113,113,.08);
}

.kaz-time-separator {
  padding-bottom: 14px;
  text-align: center;
  color: #c084fc;
  font-size: 26px;
  font-weight: 900;
}

.kaz-time-hint {
  display: block;
  margin-top: 9px;
  color: rgba(255,255,255,.38);
  font-size: 12px;
  text-align: center;
}


/* KAZEMARU — 3 preset times */
.kaz-time-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.kaz-time-quick-button {
  min-height: 68px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  color: rgba(255,255,255,.72);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease,
              background .16s ease, box-shadow .16s ease, color .16s ease;
}

.kaz-time-quick-button:hover {
  transform: translateY(-2px);
  border-color: rgba(168,85,247,.60);
  background: linear-gradient(145deg, rgba(139,92,246,.18), rgba(168,85,247,.08));
  color: #fff;
  box-shadow: 0 9px 25px rgba(139,92,246,.14);
}

.kaz-time-quick-button.is-selected,
.kaz-time-quick-button:focus-visible {
  border-color: rgba(168,85,247,.85);
  background: linear-gradient(145deg, rgba(139,92,246,.24), rgba(168,85,247,.10));
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(139,92,246,.10);
}

.kaz-time-quick-icon {
  color: #c084fc;
  font-size: 20px;
  line-height: 1;
}

.kaz-time-quick-button strong {
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
}




/* KAZEMARU — Twitch real-time live indicator */
.schedule-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.schedule-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(248,113,113,.32);
  border-radius: 999px;
  background: rgba(248,113,113,.08);
  color: #ff8b8b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}

.schedule-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f5f;
  box-shadow: 0 0 12px rgba(255,95,95,.75);
  animation: kazLivePulse 1.35s ease-in-out infinite;
}

@keyframes kazLivePulse {
  0%, 100% { opacity: .55; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.12); }
}

.schedule-public-card.is-live {
  border-color: rgba(248,113,113,.42);
}

.schedule-public-card.is-live .schedule-card-media {
  box-shadow: inset 0 0 0 1px rgba(248,113,113,.18);
}




/* KAZEMARU — активный Twitch-эфир */
.schedule-public-card.is-live .schedule-status {
  border-color: rgba(248,113,113,.42);
  color: #ff8b8b;
}

.schedule-public-card.is-live .schedule-status > span {
  filter: drop-shadow(0 0 7px rgba(255,95,95,.55));
}
