:root{
  color-scheme: light;
  --rk-bg:#fffaf3;
  --rk-bg2:#fff1df;
  --rk-surface:rgba(255,255,255,.96);
  --rk-surface-strong:#fffdf9;
  --rk-card:#fff7ee;
  --rk-line:rgba(186,146,92,.18);
  --rk-text:#2c2926;
  --rk-sub:#6d6255;
  --rk-accent:#ff9f6b;
  --rk-accent-2:#65c7d0;
  --rk-danger:#d92d20;
  --rk-radius:22px;
  --rk-shadow:0 18px 38px rgba(206,167,118,.16);
}
@media (prefers-color-scheme: dark){
  :root{
    --rk-bg:#f6efe6;
    --rk-bg2:#f8e8d5;
    --rk-surface:rgba(255,249,241,.96);
    --rk-surface-strong:#fffaf3;
    --rk-card:#fff3e4;
    --rk-line:rgba(186,146,92,.20);
    --rk-text:#2c2926;
    --rk-sub:#6d6255;
    --rk-shadow:0 18px 38px rgba(206,167,118,.16);
  }
}
body.dark, body.dark-mode, body.theme-dark, body[data-theme="dark"], .dark body{
  --rk-bg:#f6efe6;
  --rk-bg2:#f8e8d5;
  --rk-surface:rgba(255,249,241,.96);
  --rk-surface-strong:#fffaf3;
  --rk-card:#fff3e4;
  --rk-line:rgba(186,146,92,.20);
  --rk-text:#2c2926;
  --rk-sub:#6d6255;
  --rk-shadow:0 18px 38px rgba(206,167,118,.16);
}
.rk-studio-page,.rk-gallery-page,.rk-media-sheet,.rk-media-viewer,.rk-toast{font-family:inherit;color:var(--rk-text)}
.rk-surface,.rk-panel,.rk-media-card,.rk-gallery-tile,.rk-album-card,.rk-feed-batch,.rk-viewer-stage,.rk-viewer-info{background:var(--rk-surface);border:1px solid var(--rk-line);box-shadow:var(--rk-shadow);backdrop-filter:blur(16px)}
.rk-media-fab{position:fixed;right:20px;bottom:22px;z-index:9999;border:0;border-radius:999px;background:linear-gradient(135deg,var(--rk-accent),var(--rk-accent-2));color:#fffaf6;padding:14px 18px;font-weight:800;display:flex;align-items:center;gap:10px;box-shadow:0 20px 40px rgba(0,0,0,.22);cursor:pointer}
.rk-media-fab span{font-size:24px;line-height:1}
.rk-media-overlay,.rk-media-viewer{position:fixed;inset:0;z-index:10000;background:rgba(255,244,230,.72);backdrop-filter:blur(14px)}
.rk-media-sheet{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:min(960px,100%);max-height:92vh;overflow:auto;border-radius:28px 28px 0 0;padding:20px}
.rk-sheet-small{width:min(760px,100%)}
.rk-sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:16px}
.rk-sheet-close,.rk-viewer-close{border:1px solid var(--rk-line);background:var(--rk-card);color:var(--rk-text);border-radius:999px;width:42px;height:42px;cursor:pointer;font-size:22px}
.rk-dropzone{display:block;border:2px dashed var(--rk-line);border-radius:22px;padding:28px;text-align:center;background:var(--rk-card);cursor:pointer;color:var(--rk-text)}
.rk-dropzone input{display:none}
.rk-dropzone small,.rk-muted,.rk-gallery-caption span,.rk-media-card-body p,.rk-media-empty,.rk-album-body p,.rk-upload-status{color:var(--rk-sub)}
.rk-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.rk-field-span-2{grid-column:1/-1}
.rk-form-grid label,.rk-options-row,.rk-actions-row{color:var(--rk-sub)}
.rk-form-grid span{display:block;margin-bottom:8px;color:var(--rk-text);font-weight:700}
.rk-form-grid input,.rk-form-grid textarea,.rk-form-grid select{width:100%;border:1px solid var(--rk-line);background:var(--rk-surface-strong);color:var(--rk-text);padding:12px 14px;border-radius:16px}
.rk-form-grid input::placeholder,.rk-form-grid textarea::placeholder{color:var(--rk-sub)}
.rk-options-row,.rk-actions-row{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-top:18px;flex-wrap:wrap}
.rk-btn{border:1px solid var(--rk-line);background:var(--rk-card);color:var(--rk-text);padding:12px 16px;border-radius:16px;cursor:pointer;font-weight:700}
.rk-btn-sm{padding:10px 12px;font-size:13px}
.rk-btn-primary{background:linear-gradient(135deg,var(--rk-accent),var(--rk-accent-2));color:#fffaf6;border:0}
.rk-selected-list,.rk-studio-grid,.rk-gallery-grid,.rk-album-grid{display:grid;gap:16px;margin-top:18px}
.rk-selected-item{display:grid;grid-template-columns:84px 1fr 42px;gap:12px;align-items:center;background:var(--rk-card);padding:10px;border-radius:18px;border:1px solid var(--rk-line)}
.rk-selected-preview img,.rk-selected-preview video{width:84px;height:84px;object-fit:cover;border-radius:14px}
.rk-selected-item button,.rk-card-actions button,.rk-quick-action{border:1px solid var(--rk-line);background:var(--rk-card);color:var(--rk-text);border-radius:14px;padding:10px 12px;cursor:pointer}
.rk-studio-page,.rk-gallery-page{background:transparent}
.rk-studio-hero{display:flex;justify-content:space-between;gap:20px;align-items:end;flex-wrap:wrap;margin-bottom:18px;border-radius:28px;padding:22px}
.rk-eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,159,107,.16);color:var(--rk-text);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rk-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.rk-studio-hero h2{font-size:clamp(28px,4vw,42px);margin:8px 0 0;color:var(--rk-text)}
.rk-studio-hero p{margin:8px 0 0;color:var(--rk-sub)}
.rk-dashboard-grid,.rk-studio-panels{display:grid;gap:22px}
.rk-dashboard-grid{grid-template-columns:1.2fr .8fr;margin-bottom:22px}
.rk-panel{border-radius:26px;padding:18px}
.rk-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.rk-panel-head h3{margin:0;font-size:20px;color:var(--rk-text)}
.rk-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-top:16px}
.rk-stat-card{padding:16px;border-radius:20px;background:var(--rk-card);border:1px solid var(--rk-line)}
.rk-stat-card span{display:block;color:var(--rk-sub);font-size:13px}
.rk-stat-card strong{display:block;margin-top:8px;font-size:28px;line-height:1;color:var(--rk-text)}
.rk-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.rk-quick-action{text-align:left;padding:16px;border-radius:20px}
.rk-quick-action strong{display:block;color:var(--rk-text)}
.rk-quick-action span{display:block;margin-top:6px;color:var(--rk-sub);font-size:13px}
.rk-studio-filters,.rk-gallery-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:0}
.rk-studio-filters button,.rk-gallery-filters button{border:1px solid var(--rk-line);background:var(--rk-card);color:var(--rk-text);border-radius:999px;padding:10px 14px;cursor:pointer}
.rk-studio-filters button.is-active,.rk-gallery-filters button.is-active{background:linear-gradient(135deg,var(--rk-accent),var(--rk-accent-2));color:#fffaf6;border-color:transparent}
.rk-studio-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.rk-album-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.rk-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.rk-media-card,.rk-gallery-tile,.rk-album-card,.rk-feed-batch{overflow:hidden;border-radius:24px}
.rk-media-card.is-highlight,.rk-gallery-tile.is-highlight{box-shadow:0 0 0 1px rgba(30,200,165,.45),0 20px 50px rgba(30,200,165,.16)}
.rk-media-card-visual,.rk-gallery-tile{position:relative;cursor:pointer}
.rk-media-card-visual img,.rk-media-card-visual video,.rk-gallery-tile img,.rk-gallery-tile video{width:100%;height:300px;object-fit:cover;display:block;background:var(--rk-bg2)}
.rk-album-cover img,.rk-album-cover-fallback{width:100%;height:220px;display:block;object-fit:cover}
.rk-album-cover-fallback{display:grid;place-items:center;background:linear-gradient(135deg,#ffcf99,#84d8df);color:#fff;font-size:30px;font-weight:800}
body.dark .rk-album-cover-fallback,body.dark-mode .rk-album-cover-fallback,body.theme-dark .rk-album-cover-fallback,body[data-theme="dark"] .rk-album-cover-fallback,.dark body .rk-album-cover-fallback{background:linear-gradient(135deg,#f0c78e,#c6e9ee)}
.rk-badge{position:absolute;right:12px;top:12px;background:rgba(255,250,243,.92);color:#5f5345;border:1px solid rgba(186,146,92,.22);box-shadow:0 10px 24px rgba(206,167,118,.16);color:#fff;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
.rk-media-card-body,.rk-album-body,.rk-gallery-caption{padding:14px}
.rk-media-card-top{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.rk-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--rk-bg2)}
.rk-card-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.rk-media-empty{padding:26px;border:1px dashed var(--rk-line);border-radius:22px;background:var(--rk-card)}
.rk-card-location{color:#1d98a8;font-size:13px;margin-bottom:8px}
body.dark .rk-card-location,body.dark-mode .rk-card-location,body.theme-dark .rk-card-location,body[data-theme="dark"] .rk-card-location,.dark body .rk-card-location{color:#1d98a8}
.rk-mini-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:var(--rk-card);margin-right:6px;border:1px solid var(--rk-line)}
.rk-media-viewer{display:grid;grid-template-columns:minmax(0,1fr) 360px;padding:30px;gap:22px}
.rk-viewer-stage,.rk-viewer-info{border-radius:26px;padding:18px}
.rk-viewer-stage img,.rk-viewer-stage video{width:100%;max-height:82vh;object-fit:contain;border-radius:18px;background:var(--rk-bg2)}
.rk-viewer-author{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.rk-viewer-close{position:absolute;top:20px;right:20px;z-index:2}
.rk-toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%) translateY(20px);padding:12px 16px;border-radius:999px;background:var(--rk-surface-strong);border:1px solid var(--rk-line);box-shadow:var(--rk-shadow);opacity:0;pointer-events:none;transition:.25s;z-index:12000}
.rk-toast.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}
.rk-feed-batch{padding:12px;background:var(--rk-card)}
.rk-feed-batch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rk-feed-batch-item{position:relative;border-radius:16px;overflow:hidden}
.rk-feed-batch-item{appearance:none;-webkit-appearance:none;border:0;padding:0;background:transparent;cursor:pointer;text-align:left;width:100%;}
.rk-feed-batch-item img,.rk-feed-batch-item video{width:100%;height:150px;object-fit:cover;display:block}
.rk-feed-batch-meta{margin-top:10px;color:var(--rk-sub);font-size:13px}
@media (max-width: 980px){
  .rk-dashboard-grid{grid-template-columns:1fr}
}
@media (max-width: 900px){
  .rk-form-grid,.rk-media-viewer,.rk-quick-actions{grid-template-columns:1fr}
  .rk-media-sheet{padding-bottom:24px}
}


/* ===== V4 Luxury Redesign ===== */
.rk-studio-page,
.rk-gallery-page{
  position:relative;
  padding:18px 0 8px;
}
.rk-studio-page::before,
.rk-gallery-page::before{
  content:"";
  position:absolute;
  inset:-30px 0 auto 0;
  height:320px;
  pointer-events:none;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--rk-accent) 18%, transparent), transparent 42%),
    radial-gradient(circle at 100% 10%, color-mix(in srgb, var(--rk-accent-2) 22%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--rk-surface) 28%, transparent), transparent);
  filter:blur(10px);
}
.rk-studio-hero{
  position:relative;
  overflow:hidden;
  min-height:240px;
  align-items:flex-end;
  padding:28px;
  border-radius:32px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--rk-accent) 16%, transparent), transparent 34%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--rk-accent-2) 18%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--rk-surface-strong) 82%, transparent), color-mix(in srgb, var(--rk-surface) 96%, transparent));
}
.rk-studio-hero::after{
  content:"";
  position:absolute;
  inset:auto -120px -120px auto;
  width:300px;
  height:300px;
  border-radius:50%;
  background:linear-gradient(135deg, color-mix(in srgb, var(--rk-accent) 20%, transparent), color-mix(in srgb, var(--rk-accent-2) 26%, transparent));
  filter:blur(20px);
}
.rk-studio-hero > *{ position:relative; z-index:1; }
.rk-gallery-hero{min-height:200px}
.rk-studio-hero h2{
  max-width:12ch;
  letter-spacing:-.04em;
  font-weight:900;
}
.rk-eyebrow{
  backdrop-filter:blur(14px);
  border:1px solid color-mix(in srgb, var(--rk-line) 90%, transparent);
  background:color-mix(in srgb, var(--rk-card) 70%, transparent);
}
.rk-hero-actions .rk-btn{
  min-height:48px;
  padding-inline:18px;
  border-radius:999px;
}
.rk-dashboard-grid,
.rk-studio-panels{gap:26px}
.rk-panel{
  position:relative;
  overflow:hidden;
  padding:22px;
  border-radius:30px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rk-surface) 100%, transparent), color-mix(in srgb, var(--rk-card) 44%, transparent));
}
.rk-panel::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:1px;
  background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--rk-accent) 38%, var(--rk-line)), transparent);
}
.rk-panel-head{
  margin-bottom:14px;
}
.rk-panel-head h3{
  font-size:clamp(20px, 2vw, 26px);
  letter-spacing:-.03em;
}
.rk-stat-grid{
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:16px;
}
.rk-stat-card{
  position:relative;
  overflow:hidden;
  min-height:118px;
  border-radius:24px;
  padding:18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rk-card) 85%, transparent), color-mix(in srgb, var(--rk-surface-strong) 88%, transparent));
}
.rk-stat-card::after{
  content:"";
  position:absolute;
  inset:auto -14px -26px auto;
  width:88px;
  height:88px;
  border-radius:50%;
  background:linear-gradient(135deg, color-mix(in srgb, var(--rk-accent) 24%, transparent), color-mix(in srgb, var(--rk-accent-2) 20%, transparent));
  filter:blur(6px);
}
.rk-stat-card strong{
  font-size:40px;
  letter-spacing:-.05em;
}
.rk-quick-actions{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.rk-quick-action{
  position:relative;
  overflow:hidden;
  min-height:112px;
  padding:18px;
  border-radius:24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rk-card) 90%, transparent), color-mix(in srgb, var(--rk-surface-strong) 88%, transparent));
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.rk-quick-action::after{
  content:"→";
  position:absolute;
  right:18px;
  bottom:16px;
  font-size:20px;
  opacity:.45;
}
.rk-quick-action:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(16,24,40,.12);
  border-color:color-mix(in srgb, var(--rk-accent) 40%, var(--rk-line));
}
.rk-studio-filters,
.rk-gallery-filters{
  gap:12px;
}
.rk-studio-filters button,
.rk-gallery-filters button{
  min-height:42px;
  padding:10px 16px;
  backdrop-filter:blur(14px);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.rk-studio-filters button:hover,
.rk-gallery-filters button:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb, var(--rk-accent) 35%, var(--rk-line));
}
.rk-studio-grid{
  grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
  gap:20px;
}
.rk-gallery-grid{
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  grid-auto-flow:dense;
  gap:18px;
}
.rk-gallery-grid > :nth-child(7n),
.rk-gallery-grid > :nth-child(11n){
  grid-row:span 2;
}
.rk-gallery-grid > :nth-child(7n) img,
.rk-gallery-grid > :nth-child(7n) video,
.rk-gallery-grid > :nth-child(11n) img,
.rk-gallery-grid > :nth-child(11n) video{
  height:458px;
}
.rk-media-card,
.rk-gallery-tile,
.rk-album-card{
  position:relative;
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.rk-media-card:hover,
.rk-gallery-tile:hover,
.rk-album-card:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 60px rgba(16,24,40,.16);
  border-color:color-mix(in srgb, var(--rk-accent) 30%, var(--rk-line));
}
.rk-media-card-visual,
.rk-gallery-tile,
.rk-album-cover{
  overflow:hidden;
}
.rk-media-card-visual img,
.rk-media-card-visual video,
.rk-gallery-tile img,
.rk-gallery-tile video,
.rk-album-cover img{
  transition:transform .5s ease, filter .3s ease;
}
.rk-media-card:hover .rk-media-card-visual img,
.rk-media-card:hover .rk-media-card-visual video,
.rk-gallery-tile:hover img,
.rk-gallery-tile:hover video,
.rk-album-card:hover .rk-album-cover img{
  transform:scale(1.035);
}
.rk-media-card-visual::after,
.rk-gallery-tile::after,
.rk-album-cover::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:46%;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.45));
  pointer-events:none;
}
.rk-media-card-body,
.rk-gallery-caption,
.rk-album-body{
  position:relative;
  padding:16px 16px 18px;
}
.rk-gallery-caption{
  position:absolute;
  inset:auto 0 0 0;
  z-index:1;
  color:#fff;
}
.rk-gallery-caption strong,
.rk-gallery-caption span{color:#fff}
.rk-gallery-caption span{
  display:block;
  opacity:.86;
  margin-top:4px;
}
.rk-badge{
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.18);
}
.rk-media-card-top strong,
.rk-album-body strong{
  font-size:16px;
  letter-spacing:-.02em;
}
.rk-card-location{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  background:color-mix(in srgb, var(--rk-card) 90%, transparent);
  border:1px solid var(--rk-line);
  margin-bottom:10px;
}
.rk-mini-pill{
  backdrop-filter:blur(8px);
}
.rk-card-actions{
  gap:10px;
}
.rk-card-actions button{
  min-height:40px;
  border-radius:999px;
  padding:10px 14px;
  transition:transform .18s ease, border-color .18s ease;
}
.rk-card-actions button:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb, var(--rk-accent) 36%, var(--rk-line));
}
.rk-album-grid{
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:20px;
}
.rk-album-cover img,.rk-album-cover-fallback{
  height:260px;
}
.rk-album-body small{
  display:block;
  margin-top:6px;
  color:var(--rk-sub);
}
.rk-media-sheet{
  border-radius:32px 32px 0 0;
  padding:24px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--rk-accent) 12%, transparent), transparent 34%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--rk-accent-2) 14%, transparent), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--rk-surface) 98%, transparent), color-mix(in srgb, var(--rk-surface-strong) 100%, transparent));
}
.rk-dropzone{
  position:relative;
  min-height:150px;
  display:grid;
  place-items:center;
  padding:34px 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rk-card) 84%, transparent), color-mix(in srgb, var(--rk-surface-strong) 88%, transparent));
}
.rk-dropzone::before{
  content:"Bilder · Videos · Alben";
  position:absolute;
  top:14px;
  left:14px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--rk-sub);
}
.rk-form-grid input,
.rk-form-grid textarea,
.rk-form-grid select{
  min-height:50px;
  border-radius:18px;
  background:color-mix(in srgb, var(--rk-surface-strong) 92%, transparent);
}
.rk-form-grid textarea{min-height:120px}
.rk-btn{
  min-height:46px;
  border-radius:999px;
  padding-inline:16px;
}
.rk-btn-primary{
  box-shadow:0 14px 30px color-mix(in srgb, var(--rk-accent) 24%, transparent);
}
.rk-selected-item{
  border-radius:20px;
  padding:12px;
}
.rk-selected-preview img,
.rk-selected-preview video{
  border-radius:16px;
}
.rk-media-viewer{
  grid-template-columns:minmax(0,1.2fr) 380px;
  gap:26px;
  background:
    linear-gradient(180deg, rgba(7,10,18,.72), rgba(7,10,18,.82));
}
.rk-viewer-stage,
.rk-viewer-info{
  border-radius:30px;
  background:rgba(11,15,23,.62);
  border-color:rgba(255,255,255,.12);
}
.rk-viewer-info{
  color:#fff;
}
.rk-viewer-info .rk-card-location{
  color:#fff;
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
}
.rk-viewer-info p,
.rk-viewer-info small{
  color:rgba(255,255,255,.78);
}
.rk-media-empty{
  position:relative;
  min-height:180px;
  display:grid;
  place-items:center;
  text-align:center;
  border-style:solid;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--rk-accent) 10%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--rk-card) 70%, transparent), color-mix(in srgb, var(--rk-surface-strong) 72%, transparent));
}
.rk-media-empty::before{
  content:"✦";
  position:absolute;
  top:22px;
  font-size:34px;
  opacity:.25;
}
.rk-feed-batch{
  overflow:hidden;
  border-radius:28px;
  padding:16px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rk-card) 86%, transparent), color-mix(in srgb, var(--rk-surface-strong) 92%, transparent));
}
.rk-feed-batch-grid{
  gap:10px;
}
.rk-feed-batch-item{
  border-radius:18px;
}
.rk-feed-batch-item img,.rk-feed-batch-item video{
  height:180px;
}
.rk-feed-batch-meta{
  margin-top:14px;
  font-size:14px;
}
@media (max-width: 980px){
  .rk-gallery-grid > :nth-child(7n),
  .rk-gallery-grid > :nth-child(11n){grid-row:span 1}
  .rk-gallery-grid > :nth-child(7n) img,
  .rk-gallery-grid > :nth-child(7n) video,
  .rk-gallery-grid > :nth-child(11n) img,
  .rk-gallery-grid > :nth-child(11n) video{height:320px}
}
@media (max-width: 900px){
  .rk-studio-hero{
    min-height:220px;
    padding:22px;
  }
  .rk-studio-grid,
  .rk-album-grid,
  .rk-gallery-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 640px){
  .rk-studio-page,
  .rk-gallery-page{padding-top:8px}
  .rk-studio-hero{
    border-radius:28px;
    min-height:auto;
    padding:20px;
  }
  .rk-studio-hero h2{max-width:none}
  .rk-dashboard-grid,
  .rk-studio-panels{gap:20px}
  .rk-panel{
    padding:18px;
    border-radius:24px;
  }
  .rk-quick-actions,
  .rk-studio-grid,
  .rk-album-grid,
  .rk-gallery-grid{
    grid-template-columns:1fr;
  }
  .rk-gallery-grid > :nth-child(7n) img,
  .rk-gallery-grid > :nth-child(7n) video,
  .rk-gallery-grid > :nth-child(11n) img,
  .rk-gallery-grid > :nth-child(11n) video{height:300px}
  .rk-media-fab{
    right:14px;
    bottom:14px;
    padding:13px 16px;
  }
  .rk-media-sheet{
    border-radius:28px 28px 0 0;
    padding:18px;
  }
}

/* ===== V5 Travel Lifestyle Redesign ===== */
:root{
  --rk-trip-sand:#f5efe5;
  --rk-trip-coral:#ff8f6b;
  --rk-trip-sky:#74c8ff;
  --rk-trip-sea:#35c7b5;
  --rk-trip-sun:#ffd978;
  --rk-trip-palm:#98d17b;
}

.rk-studio-page,
.rk-gallery-page{
  padding:26px 0 12px;
}

.rk-studio-page::before,
.rk-gallery-page::before{
  inset:-20px 0 auto 0;
  height:420px;
  background:
    radial-gradient(circle at 5% 5%, color-mix(in srgb, var(--rk-trip-sun) 32%, transparent), transparent 28%),
    radial-gradient(circle at 95% 0%, color-mix(in srgb, var(--rk-trip-sky) 28%, transparent), transparent 24%),
    radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--rk-trip-coral) 16%, transparent), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--rk-trip-sand) 42%, transparent), transparent 82%);
  filter:blur(16px);
}

.rk-studio-hero,
.rk-gallery-hero{
  min-height:300px;
  align-items:stretch;
  padding:34px;
  border-radius:36px;
  border-color:color-mix(in srgb, var(--rk-line) 82%, white);
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.54)),
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--rk-trip-sun) 36%, transparent), transparent 28%),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--rk-trip-sky) 32%, transparent), transparent 24%),
    radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--rk-trip-coral) 18%, transparent), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--rk-surface) 85%, white), color-mix(in srgb, var(--rk-card) 92%, white));
  box-shadow:0 28px 80px rgba(16,24,40,.10), inset 0 1px 0 rgba(255,255,255,.68);
}

.rk-studio-hero::before,
.rk-gallery-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M110 25c12 0 22 10 22 22 0 13-9 23-22 31-13-8-22-18-22-31 0-12 10-22 22-22Z' fill='rgba(255,255,255,.18)'/%3E%3Cpath d='M40 170c22-18 48-27 77-27 28 0 54 9 76 27' stroke='rgba(255,255,255,.16)' stroke-width='10' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") right 24px bottom 20px/220px 220px no-repeat;
  opacity:.55;
  pointer-events:none;
}

.rk-studio-hero h2,
.rk-gallery-hero h2{
  max-width:11ch;
  font-size:clamp(40px,5.4vw,72px);
  line-height:.98;
  letter-spacing:-.06em;
  color:color-mix(in srgb, var(--rk-text) 90%, #1d4050);
  text-shadow:0 1px 0 rgba(255,255,255,.24);
}

.rk-studio-hero p,
.rk-gallery-hero p{
  max-width:58ch;
  font-size:16px;
  line-height:1.65;
  color:color-mix(in srgb, var(--rk-text) 70%, #496170);
}

.rk-eyebrow{
  background:rgba(255,255,255,.46);
  border-color:rgba(255,255,255,.55);
  color:color-mix(in srgb, var(--rk-text) 68%, #496170);
  box-shadow:0 10px 24px rgba(16,24,40,.08);
}

.rk-hero-actions{
  align-self:flex-end;
  gap:12px;
}

.rk-btn,
.rk-card-actions button,
.rk-studio-filters button,
.rk-gallery-filters button{
  box-shadow:0 10px 24px rgba(16,24,40,.07);
}

.rk-btn-primary{
  background:linear-gradient(135deg,var(--rk-trip-coral),var(--rk-trip-sun));
  color:#3b1d10;
  box-shadow:0 18px 38px rgba(255,143,107,.28);
}
.rk-btn-primary:hover{filter:saturate(1.05) brightness(1.01)}

.rk-btn-secondary{
  background:linear-gradient(135deg,color-mix(in srgb, var(--rk-trip-sky) 22%, white), color-mix(in srgb, var(--rk-trip-sea) 18%, white));
  color:color-mix(in srgb, var(--rk-text) 86%, #1a3850);
}

.rk-panel{
  border-radius:34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.58)),
    linear-gradient(145deg, color-mix(in srgb, var(--rk-surface) 78%, white), color-mix(in srgb, var(--rk-card) 88%, white));
  box-shadow:0 24px 70px rgba(16,24,40,.08), inset 0 1px 0 rgba(255,255,255,.62);
}
.rk-panel::before{
  height:2px;
  background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--rk-trip-coral) 38%, var(--rk-trip-sky)), transparent);
}

.rk-panel-head h3{
  font-size:clamp(24px,2.6vw,34px);
  letter-spacing:-.05em;
}

.rk-muted{
  color:color-mix(in srgb, var(--rk-sub) 92%, #6c8292);
}

.rk-stat-card{
  min-height:136px;
  border-radius:28px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.62)),
    linear-gradient(135deg, color-mix(in srgb, var(--rk-trip-sun) 10%, transparent), color-mix(in srgb, var(--rk-trip-sky) 14%, transparent));
  box-shadow:0 16px 34px rgba(16,24,40,.06);
}
.rk-stat-card:nth-child(2n)::after{background:linear-gradient(135deg, color-mix(in srgb, var(--rk-trip-sky) 30%, transparent), color-mix(in srgb, var(--rk-trip-sea) 24%, transparent));}
.rk-stat-card:nth-child(3n)::after{background:linear-gradient(135deg, color-mix(in srgb, var(--rk-trip-coral) 26%, transparent), color-mix(in srgb, var(--rk-trip-sun) 22%, transparent));}
.rk-stat-card:nth-child(4n)::after{background:linear-gradient(135deg, color-mix(in srgb, var(--rk-trip-palm) 26%, transparent), color-mix(in srgb, var(--rk-trip-sky) 18%, transparent));}
.rk-stat-card span{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:color-mix(in srgb, var(--rk-sub) 82%, #738899);
}
.rk-stat-card strong{
  margin-top:18px;
  font-size:44px;
  color:color-mix(in srgb, var(--rk-text) 90%, #1f4456);
}

.rk-quick-action{
  min-height:132px;
  border-radius:28px;
  border:1px solid color-mix(in srgb, var(--rk-line) 82%, white);
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.60)),
    linear-gradient(145deg, color-mix(in srgb, var(--rk-trip-sun) 10%, transparent), color-mix(in srgb, var(--rk-trip-sea) 12%, transparent));
}
.rk-quick-action:nth-child(2){background:linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.60)),linear-gradient(145deg, color-mix(in srgb, var(--rk-trip-coral) 12%, transparent), color-mix(in srgb, var(--rk-trip-sun) 12%, transparent));}
.rk-quick-action:nth-child(3){background:linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.60)),linear-gradient(145deg, color-mix(in srgb, var(--rk-trip-sky) 12%, transparent), color-mix(in srgb, var(--rk-trip-palm) 12%, transparent));}
.rk-quick-action:nth-child(4){background:linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.60)),linear-gradient(145deg, color-mix(in srgb, var(--rk-trip-sea) 10%, transparent), color-mix(in srgb, var(--rk-trip-coral) 10%, transparent));}
.rk-quick-action strong{
  font-size:20px;
  letter-spacing:-.03em;
  margin-bottom:8px;
}
.rk-quick-action span{
  font-size:14px;
  line-height:1.55;
}
.rk-quick-action::after{
  content:"✈";
  font-size:22px;
  opacity:.32;
}

.rk-studio-filters,
.rk-gallery-filters{
  gap:10px;
  padding:4px 0;
}
.rk-studio-filters button,
.rk-gallery-filters button{
  background:rgba(255,255,255,.68);
  border-color:rgba(255,255,255,.62);
  color:color-mix(in srgb, var(--rk-text) 85%, #334e5c);
}
.rk-studio-filters button.is-active,
.rk-gallery-filters button.is-active{
  background:linear-gradient(135deg,var(--rk-trip-sea),var(--rk-trip-sky));
  color:white;
  box-shadow:0 14px 26px rgba(53,199,181,.24);
}

.rk-studio-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}
.rk-album-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}
.rk-gallery-grid{
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:20px;
}
.rk-gallery-grid > :nth-child(6n+1){grid-column:span 2}
.rk-gallery-grid > :nth-child(6n+1) img,
.rk-gallery-grid > :nth-child(6n+1) video{height:360px}

.rk-media-card,
.rk-album-card,
.rk-gallery-tile{
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.58);
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.72));
  box-shadow:0 24px 60px rgba(16,24,40,.10);
}
.rk-media-card:hover,
.rk-album-card:hover,
.rk-gallery-tile:hover{
  transform:translateY(-6px) rotate(-.15deg);
  box-shadow:0 30px 72px rgba(16,24,40,.14);
}

.rk-media-card-visual img,
.rk-media-card-visual video{
  height:360px;
}
.rk-gallery-tile img,
.rk-gallery-tile video{
  height:320px;
}
.rk-album-cover img,
.rk-album-cover-fallback{
  height:290px;
}
.rk-media-card-visual::before,
.rk-gallery-tile::before,
.rk-album-cover::before{
  content:"";
  position:absolute;
  inset:16px 16px auto auto;
  width:54px;
  height:54px;
  border-radius:18px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.24);
  backdrop-filter:blur(12px);
  box-shadow:0 10px 20px rgba(0,0,0,.08);
}
.rk-media-card-visual::after,
.rk-gallery-tile::after,
.rk-album-cover::after{
  height:58%;
  background:linear-gradient(180deg, transparent, rgba(22,33,44,.55));
}

.rk-media-card-body,
.rk-gallery-caption,
.rk-album-body{
  padding:18px 18px 20px;
}
.rk-media-card-top{
  margin-bottom:14px;
}
.rk-avatar{
  width:46px;
  height:46px;
  border:2px solid rgba(255,255,255,.72);
  box-shadow:0 8px 18px rgba(16,24,40,.10);
}
.rk-media-card-top strong,
.rk-album-body strong{
  font-size:18px;
  letter-spacing:-.03em;
}
.rk-media-card-body p,
.rk-album-body p{
  color:color-mix(in srgb, var(--rk-text) 72%, #597080);
  line-height:1.6;
}

.rk-card-location{
  background:rgba(255,255,255,.64);
  border-color:rgba(255,255,255,.62);
  color:#21607a;
  box-shadow:0 10px 20px rgba(16,24,40,.06);
}

.rk-mini-pill{
  background:rgba(255,255,255,.60);
  border-color:rgba(255,255,255,.62);
  color:color-mix(in srgb, var(--rk-text) 72%, #5a7484);
}

.rk-card-actions button{
  background:rgba(255,255,255,.72);
  border-color:rgba(255,255,255,.68);
}
.rk-card-actions button:first-child{
  background:linear-gradient(135deg, color-mix(in srgb, var(--rk-trip-sky) 34%, white), color-mix(in srgb, var(--rk-trip-sea) 30%, white));
}
.rk-card-actions button:nth-child(2){
  background:linear-gradient(135deg, color-mix(in srgb, var(--rk-trip-sun) 40%, white), color-mix(in srgb, var(--rk-trip-coral) 22%, white));
}

.rk-gallery-caption{
  color:#fff;
}
.rk-gallery-caption strong{
  font-size:18px;
  letter-spacing:-.03em;
}
.rk-gallery-caption span{
  max-width:28ch;
  font-size:14px;
  line-height:1.5;
}

.rk-badge{
  top:16px;
  right:16px;
  background:rgba(255,255,255,.18);
  color:white;
  border-color:rgba(255,255,255,.26);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.rk-dropzone{
  min-height:190px;
  border-radius:28px;
  border-style:dashed;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.70)),
    linear-gradient(145deg, color-mix(in srgb, var(--rk-trip-sky) 10%, transparent), color-mix(in srgb, var(--rk-trip-sun) 12%, transparent));
}
.rk-dropzone::before{
  content:"Reels · Postkarten · Sommermomente";
  color:color-mix(in srgb, var(--rk-sub) 92%, #6f8494);
}
.rk-dropzone span{
  font-size:22px;
  font-weight:800;
  letter-spacing:-.03em;
}
.rk-dropzone small{
  color:color-mix(in srgb, var(--rk-sub) 92%, #6f8494);
  font-size:14px;
}
.rk-selected-item{
  background:rgba(255,255,255,.72);
  border-color:rgba(255,255,255,.56);
}

.rk-media-sheet{
  border-radius:36px 36px 0 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92)),
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--rk-trip-sun) 16%, transparent), transparent 30%),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--rk-trip-sky) 14%, transparent), transparent 28%);
}
.rk-sheet-head strong,
[data-rk-album-headline],
.rk-edit-sheet .rk-sheet-head strong{
  font-size:28px;
  letter-spacing:-.05em;
}

.rk-form-grid input,
.rk-form-grid textarea,
.rk-form-grid select{
  background:rgba(255,255,255,.84);
  border-color:rgba(255,255,255,.62);
}
.rk-form-grid label{
  color:color-mix(in srgb, var(--rk-text) 86%, #45606f);
}

.rk-media-empty{
  min-height:220px;
  border-style:solid;
  border-color:rgba(255,255,255,.56);
  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.64)),
    linear-gradient(145deg, color-mix(in srgb, var(--rk-trip-sun) 10%, transparent), color-mix(in srgb, var(--rk-trip-sky) 12%, transparent));
}
.rk-media-empty::before{
  content:"☼";
  font-size:42px;
  opacity:.26;
}

.rk-media-fab{
  background:linear-gradient(135deg,var(--rk-trip-coral),var(--rk-trip-sun));
  color:#482516;
  box-shadow:0 18px 42px rgba(255,143,107,.28);
}
.rk-media-fab em{font-style:normal;font-weight:800}

.rk-media-viewer{
  background:
    linear-gradient(180deg, rgba(10,18,28,.72), rgba(10,18,28,.84)),
    radial-gradient(circle at top right, rgba(116,200,255,.12), transparent 25%),
    radial-gradient(circle at top left, rgba(255,217,120,.08), transparent 28%);
}
.rk-viewer-stage,
.rk-viewer-info{
  background:rgba(11,18,26,.64);
}
.rk-viewer-stage img,
.rk-viewer-stage video{
  border-radius:24px;
}
.rk-viewer-info{
  backdrop-filter:blur(16px);
}
.rk-viewer-close{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}

@media (prefers-color-scheme: dark){
  .rk-studio-hero,
  .rk-gallery-hero,
  .rk-panel,
  .rk-media-card,
  .rk-album-card,
  .rk-gallery-tile,
  .rk-media-sheet,
  .rk-dropzone,
  .rk-stat-card,
  .rk-quick-action,
  .rk-media-empty{
    box-shadow:0 24px 70px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.04);
  }
}

body.dark .rk-studio-hero,
body.dark-mode .rk-studio-hero,
body.theme-dark .rk-studio-hero,
body[data-theme="dark"] .rk-studio-hero,
.dark body .rk-studio-hero,
body.dark .rk-gallery-hero,
body.dark-mode .rk-gallery-hero,
body.theme-dark .rk-gallery-hero,
body[data-theme="dark"] .rk-gallery-hero,
.dark body .rk-gallery-hero{
  background:
    linear-gradient(135deg, rgba(17,25,34,.86), rgba(17,25,34,.74)),
    radial-gradient(circle at 0% 0%, rgba(255,217,120,.14), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(116,200,255,.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(255,143,107,.10), transparent 28%);
}

body.dark .rk-panel,
body.dark-mode .rk-panel,
body.theme-dark .rk-panel,
body[data-theme="dark"] .rk-panel,
.dark body .rk-panel,
body.dark .rk-media-card,
body.dark-mode .rk-media-card,
body.theme-dark .rk-media-card,
body[data-theme="dark"] .rk-media-card,
.dark body .rk-media-card,
body.dark .rk-album-card,
body.dark-mode .rk-album-card,
body.theme-dark .rk-album-card,
body[data-theme="dark"] .rk-album-card,
.dark body .rk-album-card,
body.dark .rk-gallery-tile,
body.dark-mode .rk-gallery-tile,
body.theme-dark .rk-gallery-tile,
body[data-theme="dark"] .rk-gallery-tile,
.dark body .rk-gallery-tile,
body.dark .rk-stat-card,
body.dark-mode .rk-stat-card,
body.theme-dark .rk-stat-card,
body[data-theme="dark"] .rk-stat-card,
.dark body .rk-stat-card,
body.dark .rk-quick-action,
body.dark-mode .rk-quick-action,
body.theme-dark .rk-quick-action,
body[data-theme="dark"] .rk-quick-action,
.dark body .rk-quick-action,
body.dark .rk-media-sheet,
body.dark-mode .rk-media-sheet,
body.theme-dark .rk-media-sheet,
body[data-theme="dark"] .rk-media-sheet,
.dark body .rk-media-sheet,
body.dark .rk-dropzone,
body.dark-mode .rk-dropzone,
body.theme-dark .rk-dropzone,
body[data-theme="dark"] .rk-dropzone,
.dark body .rk-dropzone,
body.dark .rk-media-empty,
body.dark-mode .rk-media-empty,
body.theme-dark .rk-media-empty,
body[data-theme="dark"] .rk-media-empty,
.dark body .rk-media-empty{
  background:
    linear-gradient(180deg, rgba(16,23,32,.92), rgba(16,23,32,.82)),
    linear-gradient(145deg, rgba(255,217,120,.04), rgba(116,200,255,.04));
  border-color:rgba(255,255,255,.08);
}

body.dark .rk-studio-filters button,
body.dark-mode .rk-studio-filters button,
body.theme-dark .rk-studio-filters button,
body[data-theme="dark"] .rk-studio-filters button,
.dark body .rk-studio-filters button,
body.dark .rk-gallery-filters button,
body.dark-mode .rk-gallery-filters button,
body.theme-dark .rk-gallery-filters button,
body[data-theme="dark"] .rk-gallery-filters button,
.dark body .rk-gallery-filters button,
body.dark .rk-card-actions button,
body.dark-mode .rk-card-actions button,
body.theme-dark .rk-card-actions button,
body[data-theme="dark"] .rk-card-actions button,
.dark body .rk-card-actions button,
body.dark .rk-form-grid input,
body.dark-mode .rk-form-grid input,
body.theme-dark .rk-form-grid input,
body[data-theme="dark"] .rk-form-grid input,
.dark body .rk-form-grid input,
body.dark .rk-form-grid textarea,
body.dark-mode .rk-form-grid textarea,
body.theme-dark .rk-form-grid textarea,
body[data-theme="dark"] .rk-form-grid textarea,
.dark body .rk-form-grid textarea,
body.dark .rk-form-grid select,
body.dark-mode .rk-form-grid select,
body.theme-dark .rk-form-grid select,
body[data-theme="dark"] .rk-form-grid select,
.dark body .rk-form-grid select,
body.dark .rk-selected-item,
body.dark-mode .rk-selected-item,
body.theme-dark .rk-selected-item,
body[data-theme="dark"] .rk-selected-item,
.dark body .rk-selected-item{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.10);
  color:var(--rk-text);
}

@media (max-width: 900px){
  .rk-studio-hero,
  .rk-gallery-hero{
    min-height:250px;
    padding:26px 22px;
    border-radius:28px;
  }
  .rk-studio-hero h2,
  .rk-gallery-hero h2{
    font-size:clamp(34px,10vw,48px);
    max-width:none;
  }
  .rk-studio-grid,
  .rk-album-grid,
  .rk-gallery-grid{
    grid-template-columns:1fr;
  }
  .rk-gallery-grid > :nth-child(6n+1){
    grid-column:span 1;
  }
  .rk-gallery-grid > :nth-child(6n+1) img,
  .rk-gallery-grid > :nth-child(6n+1) video{
    height:320px;
  }
}


/* ===== V6 Sunshine Holiday ===== */
:root{
  color-scheme: light;
  --rk-bg:#fffaf2;
  --rk-bg2:#fff2de;
  --rk-surface:rgba(255,252,246,.92);
  --rk-surface-strong:#fffdf9;
  --rk-card:rgba(255,255,255,.82);
  --rk-line:rgba(220,170,120,.18);
  --rk-text:#2f2a24;
  --rk-sub:#7b6c5b;
  --rk-accent:#ff8f63;
  --rk-accent-2:#5ec9d8;
  --rk-danger:#d94e3f;
  --rk-shadow:0 24px 55px rgba(196,143,92,.14);
}
@media (prefers-color-scheme: dark){
  :root{
    color-scheme: dark;
    --rk-bg:#1c1a1a;
    --rk-bg2:#2a2624;
    --rk-surface:rgba(34,29,28,.9);
    --rk-surface-strong:#231f1d;
    --rk-card:#fff3e4;
    --rk-line:rgba(255,230,210,.12);
    --rk-text:#fff8f0;
    --rk-sub:rgba(255,240,225,.72);
    --rk-shadow:0 24px 55px rgba(0,0,0,.35);
  }
}
.rk-media-overlay,.rk-media-viewer{background:rgba(255,244,227,.72);backdrop-filter:blur(12px)}
@media (prefers-color-scheme: dark){.rk-media-overlay,.rk-media-viewer{background:rgba(12,10,10,.62)}}
.rk-studio-page,.rk-gallery-page{position:relative;padding:34px 0 20px}
.rk-studio-page::before,.rk-gallery-page::before{content:"";position:absolute;inset:0 0 auto 0;height:420px;background:radial-gradient(circle at 8% 8%, rgba(255,215,126,.45), transparent 28%),radial-gradient(circle at 95% 5%, rgba(94,201,216,.26), transparent 22%),radial-gradient(circle at 50% 0%, rgba(255,143,99,.2), transparent 28%),linear-gradient(180deg, rgba(255,247,233,.88), rgba(255,250,242,0));pointer-events:none;filter:blur(10px)}
.rk-studio-hero,.rk-gallery-hero{position:relative;overflow:hidden;min-height:340px;padding:42px;border-radius:40px;background:linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.52)),linear-gradient(135deg, rgba(255,214,145,.34), rgba(94,201,216,.14) 46%, rgba(255,143,99,.18));border:1px solid rgba(255,255,255,.72);box-shadow:0 28px 70px rgba(225,170,102,.18)}
.rk-studio-hero::after,.rk-gallery-hero::after{content:"";position:absolute;right:-40px;bottom:-70px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle, rgba(255,255,255,.45), rgba(255,255,255,0) 70%)}
.rk-studio-hero h2,.rk-gallery-hero h2{max-width:12ch;font-size:clamp(42px,6vw,82px);line-height:.93;letter-spacing:-.07em;color:#3b2d24;text-wrap:balance}
.rk-studio-hero p,.rk-gallery-hero p{max-width:56ch;font-size:17px;line-height:1.7;color:#786555}
.rk-eyebrow{background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.78);color:#8b6f59;box-shadow:0 10px 24px rgba(215,169,116,.12)}
.rk-panel{background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,251,245,.78));border:1px solid rgba(255,240,225,.9);box-shadow:0 22px 48px rgba(216,170,108,.12)}
.rk-panel,.rk-media-card,.rk-gallery-tile,.rk-album-card,.rk-feed-batch,.rk-viewer-stage,.rk-viewer-info{backdrop-filter:none}
.rk-stat-card,.rk-quick-action,.rk-selected-item,.rk-dropzone,.rk-feed-batch{background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,248,239,.8));border-color:rgba(226,183,134,.18);box-shadow:0 14px 28px rgba(223,179,120,.1)}
.rk-quick-action{min-height:138px}
.rk-quick-action::after{content:"☼";opacity:.22}
.rk-btn,.rk-card-actions button,.rk-studio-filters button,.rk-gallery-filters button,.rk-sheet-close,.rk-viewer-close{background:rgba(255,255,255,.9);border:1px solid rgba(226,183,134,.22);color:#4a392f;box-shadow:0 10px 22px rgba(223,179,120,.1)}
.rk-btn-primary{background:linear-gradient(135deg, #ff8f63, #ffc96b);color:#4b250f;border:0;box-shadow:0 18px 35px rgba(255,143,99,.24)}
.rk-btn-secondary{background:linear-gradient(135deg, rgba(94,201,216,.22), rgba(255,255,255,.95));color:#254653}
.rk-media-fab{background:linear-gradient(135deg, #ff8f63, #ffd66f);color:#522713;box-shadow:0 22px 45px rgba(255,143,99,.28)}
.rk-media-card,.rk-gallery-tile,.rk-album-card{border-radius:30px;overflow:hidden;background:#fffdf8;border:1px solid rgba(234,198,162,.28);box-shadow:0 20px 44px rgba(211,167,110,.13)}
.rk-media-card:hover,.rk-gallery-tile:hover,.rk-album-card:hover{transform:translateY(-6px);box-shadow:0 28px 56px rgba(205,154,92,.2);border-color:rgba(255,143,99,.24)}
.rk-media-card-visual img,.rk-media-card-visual video,.rk-gallery-tile img,.rk-gallery-tile video{height:340px}
.rk-gallery-tile::after,.rk-media-card-visual::after,.rk-album-cover::after{background:linear-gradient(180deg, transparent, rgba(63,39,22,.18) 55%, rgba(63,39,22,.62))}
.rk-gallery-caption{padding:18px 16px 20px}
.rk-gallery-caption strong,.rk-gallery-caption span{color:#fff9f5;text-shadow:0 1px 14px rgba(45,29,18,.28)}
.rk-card-location{background:rgba(255,250,244,.86);color:#9c5f2d;border-color:rgba(255,192,132,.22)}
.rk-album-cover img,.rk-album-cover-fallback{height:280px}
.rk-album-cover-fallback{background:linear-gradient(135deg, #7ad1df, #ffd775 70%, #ff9c73);color:#fff8f2}
.rk-media-sheet{background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,248,239,.94));border:1px solid rgba(255,229,203,.9);box-shadow:0 30px 70px rgba(204,154,90,.18)}
.rk-dropzone{border-style:solid;border-width:1px;min-height:170px}
.rk-dropzone::before{content:"Foto · Video · Album";color:#a3856b}
.rk-form-grid input,.rk-form-grid textarea,.rk-form-grid select{background:rgba(255,255,255,.94);border-color:rgba(226,183,134,.24)}
.rk-media-viewer{background:linear-gradient(180deg, rgba(255,249,238,.96), rgba(255,243,226,.96));grid-template-columns:minmax(0,1.1fr) 380px}
.rk-viewer-stage,.rk-viewer-info{background:rgba(255,255,255,.9);border:1px solid rgba(234,198,162,.28)}
.rk-viewer-info,.rk-viewer-info .rk-card-location,.rk-viewer-info p,.rk-viewer-info small{color:#544338}
.rk-viewer-info .rk-card-location{background:rgba(255,248,240,.9);border-color:rgba(226,183,134,.22)}
.rk-toast{background:rgba(255,255,255,.96);border-color:rgba(226,183,134,.22)}
.rk-media-empty{background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,245,233,.76));border:1px dashed rgba(226,183,134,.3)}
@media (max-width: 900px){.rk-studio-hero,.rk-gallery-hero{padding:28px;min-height:280px}.rk-studio-hero h2,.rk-gallery-hero h2{font-size:clamp(36px,11vw,58px)}}
@media (max-width: 640px){.rk-studio-page,.rk-gallery-page{padding-top:16px}.rk-studio-hero,.rk-gallery-hero{padding:22px;border-radius:30px;min-height:auto}.rk-media-card-visual img,.rk-media-card-visual video,.rk-gallery-tile img,.rk-gallery-tile video{height:300px}.rk-album-cover img,.rk-album-cover-fallback{height:240px}.rk-media-viewer{grid-template-columns:1fr;padding:18px}}


.rk-studio-page,.rk-gallery-page{padding:10px 0 30px;background:linear-gradient(180deg,#fffaf3 0%,#fffdf9 38%,#fff7ee 100%);}
.rk-studio-hero,.rk-gallery-hero{background:linear-gradient(135deg,rgba(255,244,225,.96),rgba(255,255,255,.94) 48%,rgba(218,245,246,.9));border:1px solid rgba(186,146,92,.16);box-shadow:0 18px 38px rgba(206,167,118,.14);position:relative;overflow:hidden;}
.rk-studio-hero:after,.rk-gallery-hero:after{content:"";position:absolute;right:-40px;top:-40px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(255,174,122,.28),rgba(255,174,122,0));}
.rk-panel{background:rgba(255,255,255,.88);border:1px solid rgba(186,146,92,.14);box-shadow:0 14px 34px rgba(206,167,118,.12);}
.rk-btn,.rk-quick-action,.rk-selected-item button,.rk-card-actions button{background:#fffdf9;border:1px solid rgba(186,146,92,.18);box-shadow:0 8px 18px rgba(206,167,118,.08);}
.rk-btn:hover,.rk-quick-action:hover,.rk-selected-item button:hover,.rk-card-actions button:hover,.rk-studio-filters button:hover,.rk-gallery-filters button:hover{transform:translateY(-1px);box-shadow:0 12px 22px rgba(206,167,118,.12);}
.rk-studio-filters button,.rk-gallery-filters button{background:#fffdf9;border:1px solid rgba(186,146,92,.18);}
.rk-media-card,.rk-gallery-tile,.rk-album-card,.rk-feed-batch{background:#fffdf9;border:1px solid rgba(186,146,92,.14);box-shadow:0 16px 32px rgba(206,167,118,.12);}
.rk-media-card-visual img,.rk-media-card-visual video,.rk-gallery-tile img,.rk-gallery-tile video{height:320px;}
.rk-media-card-body,.rk-album-body,.rk-gallery-caption{background:linear-gradient(180deg,rgba(255,253,249,.82),rgba(255,249,241,.98));}
.rk-sheet-head strong,.rk-panel-head h3,.rk-studio-hero h2,.rk-gallery-hero h2{letter-spacing:-.03em;}
.rk-form-grid input,.rk-form-grid textarea,.rk-form-grid select{background:#fffdf9;border:1px solid rgba(186,146,92,.18);}
.rk-dropzone{background:linear-gradient(180deg,#fffaf4,#fff3e5);border-color:rgba(255,159,107,.28);}
.rk-media-empty{background:linear-gradient(180deg,#fffdf9,#fff5ea);border-style:solid;}
.rk-badge{font-weight:700;}
.rk-avatar{border:2px solid rgba(255,255,255,.9);box-shadow:0 8px 18px rgba(206,167,118,.14);}
.rk-viewer-stage,.rk-viewer-info,.rk-media-sheet{background:rgba(255,252,246,.96);}
.rk-media-fab{background:linear-gradient(135deg,#ff9f6b,#ffb86c 48%,#65c7d0);box-shadow:0 18px 34px rgba(255,159,107,.28);}
.rk-eyebrow{background:rgba(255,159,107,.14);color:#8a5530;}
.rk-stat-card{background:linear-gradient(180deg,#fffdf9,#fff3e7);}
.rk-mini-pill{background:#fffaf4;}
.rk-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));}
@media (prefers-color-scheme: dark){.rk-studio-page,.rk-gallery-page{background:linear-gradient(180deg,#1d2230,#22283a 50%,#18202e 100%)}.rk-panel,.rk-media-card,.rk-gallery-tile,.rk-album-card,.rk-feed-batch,.rk-media-sheet,.rk-viewer-stage,.rk-viewer-info{background:rgba(30,36,50,.92);border-color:rgba(255,255,255,.08);box-shadow:0 18px 36px rgba(0,0,0,.28)}.rk-text,.rk-studio-page,.rk-gallery-page{color:#f9f3ea}.rk-btn,.rk-quick-action,.rk-selected-item button,.rk-card-actions button,.rk-studio-filters button,.rk-gallery-filters button,.rk-form-grid input,.rk-form-grid textarea,.rk-form-grid select{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.10);color:#f9f3ea}.rk-media-empty,.rk-dropzone,.rk-stat-card,.rk-media-card-body,.rk-album-body,.rk-gallery-caption{background:rgba(255,255,255,.04)}.rk-eyebrow,.rk-badge{color:#fffaf6}}


/* ===== V8 Reisekasse Holiday Style ===== */
:root{
  --rk-bg:#faf6ef;
  --rk-bg2:#fff0dc;
  --rk-surface:#ffffff;
  --rk-surface-strong:#fffdfa;
  --rk-card:#fffaf4;
  --rk-line:rgba(219,194,160,.52);
  --rk-text:#31414f;
  --rk-sub:#6d7b86;
  --rk-accent:#ff8f6b;
  --rk-accent-2:#69cfd0;
  --rk-accent-3:#7cbcff;
  --rk-shadow:0 16px 38px rgba(205,164,112,.12);
}

.rk-studio-page,
.rk-gallery-page{
  background:linear-gradient(180deg,#fffaf4 0%,#f9f5ee 100%) !important;
  padding:24px 0 10px !important;
}
.rk-studio-page::before,
.rk-gallery-page::before{
  inset:-20px 0 auto 0 !important;
  height:220px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,143,107,.14), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(105,207,208,.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.7), transparent) !important;
  filter:blur(4px) !important;
}

.rk-surface,.rk-panel,.rk-media-card,.rk-gallery-tile,.rk-album-card,.rk-feed-batch,.rk-viewer-stage,.rk-viewer-info{
  background:#ffffff !important;
  border:1px solid rgba(220,194,162,.52) !important;
  box-shadow:0 14px 32px rgba(205,164,112,.11) !important;
  backdrop-filter:none !important;
}

.rk-studio-hero,
.rk-gallery-hero{
  min-height:230px !important;
  align-items:center !important;
  padding:32px !important;
  border-radius:32px !important;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.92), transparent 38%),
    radial-gradient(circle at top right, rgba(105,207,208,.16), transparent 28%),
    linear-gradient(135deg, #fff8ed 0%, #ffe8ca 34%, #ffd8c2 66%, #e6fbf6 100%) !important;
}
.rk-studio-hero::after,
.rk-gallery-hero::after{
  width:220px !important;
  height:220px !important;
  inset:auto -80px -80px auto !important;
  background:radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0)) !important;
  filter:blur(8px) !important;
}
.rk-studio-hero h2,
.rk-gallery-hero h2{
  max-width:11ch !important;
  color:#31414f !important;
  font-size:clamp(38px,4.8vw,64px) !important;
  line-height:.95 !important;
  letter-spacing:-.055em !important;
  margin-top:12px !important;
}
.rk-studio-hero p,
.rk-gallery-hero p{
  max-width:760px !important;
  margin-top:14px !important;
  color:#5e6d78 !important;
  font-size:18px !important;
  line-height:1.65 !important;
}
.rk-eyebrow{
  background:rgba(255,255,255,.76) !important;
  color:#7d6b57 !important;
  border:1px solid rgba(220,194,162,.7) !important;
  box-shadow:0 8px 24px rgba(205,164,112,.10) !important;
}
.rk-hero-actions .rk-btn{
  min-height:50px !important;
  padding:0 22px !important;
  border-radius:999px !important;
}

.rk-btn,
.rk-studio-filters button,
.rk-gallery-filters button,
.rk-card-actions button,
.rk-selected-item button,
.rk-quick-action{
  background:#ffffff !important;
  color:#33424f !important;
  border:1px solid rgba(220,194,162,.7) !important;
  box-shadow:none !important;
}
.rk-btn-primary,
.rk-studio-filters button.is-active,
.rk-gallery-filters button.is-active{
  background:linear-gradient(135deg,#ff9b77,#ffb37c 55%,#72d6d3 100%) !important;
  color:#ffffff !important;
  border-color:transparent !important;
  box-shadow:0 12px 28px rgba(255,143,107,.22) !important;
}
.rk-btn-secondary{
  background:rgba(255,255,255,.78) !important;
}

.rk-panel{
  padding:24px !important;
  border-radius:28px !important;
  background:linear-gradient(180deg,#ffffff 0%,#fffaf5 100%) !important;
}
.rk-panel::before{display:none !important;}
.rk-panel-head h3{
  color:#31414f !important;
  font-size:clamp(24px,2.3vw,32px) !important;
}
.rk-muted,.rk-dropzone small,.rk-gallery-caption span,.rk-media-card-body p,.rk-media-empty,.rk-album-body p,.rk-upload-status{
  color:#6d7b86 !important;
}

.rk-stat-card,
.rk-quick-action{
  background:linear-gradient(180deg,#ffffff 0%,#fff7ef 100%) !important;
  border:1px solid rgba(220,194,162,.56) !important;
  border-radius:24px !important;
}
.rk-stat-card::after{
  background:radial-gradient(circle, rgba(255,143,107,.18), rgba(105,207,208,.12) 60%, transparent 68%) !important;
  filter:blur(0) !important;
}
.rk-stat-card span,
.rk-quick-action span{color:#74828d !important;}
.rk-stat-card strong,
.rk-quick-action strong{color:#31414f !important;}
.rk-quick-action::after{content:"☼" !important; opacity:.32 !important;}

.rk-media-card,
.rk-album-card,
.rk-gallery-tile{
  border-radius:28px !important;
  overflow:hidden !important;
}
.rk-media-card:hover,
.rk-gallery-tile:hover,
.rk-album-card:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 22px 44px rgba(205,164,112,.18) !important;
  border-color:rgba(255,143,107,.42) !important;
}
.rk-media-card-visual::after,
.rk-gallery-tile::after,
.rk-album-cover::after{
  height:34% !important;
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(49,65,79,.18) 100%) !important;
}
.rk-media-card-visual img,
.rk-media-card-visual video,
.rk-gallery-tile img,
.rk-gallery-tile video{
  height:320px !important;
  background:#f4ede2 !important;
}
.rk-gallery-grid > :nth-child(7n) img,
.rk-gallery-grid > :nth-child(7n) video,
.rk-gallery-grid > :nth-child(11n) img,
.rk-gallery-grid > :nth-child(11n) video{
  height:430px !important;
}
.rk-media-card-body,
.rk-album-body{
  padding:18px 18px 20px !important;
  background:#fffdf9 !important;
}
.rk-gallery-caption{
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(49,65,79,.46) 100%) !important;
}
.rk-gallery-caption strong,
.rk-gallery-caption span{color:#ffffff !important;}
.rk-badge{
  background:rgba(255,255,255,.92) !important;
  color:#6a5a4a !important;
  border:1px solid rgba(220,194,162,.64) !important;
  box-shadow:0 10px 26px rgba(205,164,112,.15) !important;
}
.rk-card-location{
  display:inline-flex !important;
  background:#fef2e7 !important;
  color:#db7f59 !important;
  border:1px solid rgba(255,143,107,.20) !important;
}
.rk-mini-pill{
  background:#f8fbfc !important;
  color:#60707e !important;
}

.rk-album-cover img,.rk-album-cover-fallback{height:240px !important;}
.rk-album-cover-fallback{
  background:linear-gradient(135deg,#ffd8bb,#fff0d8 52%,#dff8f7 100%) !important;
  color:#7b6757 !important;
}

.rk-gallery-filters,
.rk-studio-filters{
  gap:10px !important;
}
.rk-gallery-filters{
  margin:10px 0 18px !important;
}

.rk-media-empty{
  min-height:160px !important;
  background:linear-gradient(180deg,#fffdf9 0%,#fff7ef 100%) !important;
  border:1px dashed rgba(220,194,162,.8) !important;
}
.rk-media-empty::before{content:"☼" !important; opacity:.22 !important;}

.rk-dropzone{
  background:linear-gradient(180deg,#fffdfa 0%,#fff5ea 100%) !important;
  border:2px dashed rgba(220,194,162,.72) !important;
  min-height:170px !important;
}
.rk-dropzone::before{color:#7b8a95 !important;}
.rk-form-grid input,.rk-form-grid textarea,.rk-form-grid select{
  background:#fffdfa !important;
  border:1px solid rgba(220,194,162,.7) !important;
  color:#31414f !important;
}

.rk-media-overlay{
  background:rgba(250,244,234,.72) !important;
  backdrop-filter:blur(12px) !important;
}
.rk-media-sheet{
  background:linear-gradient(180deg,#fffdfa 0%,#fff6eb 100%) !important;
  border:1px solid rgba(220,194,162,.6) !important;
  box-shadow:0 -8px 34px rgba(205,164,112,.14) !important;
}
.rk-sheet-close,.rk-viewer-close{
  background:#ffffff !important;
  color:#485663 !important;
}

.rk-media-viewer{
  background:rgba(248,242,232,.84) !important;
  grid-template-columns:minmax(0,1.15fr) 380px !important;
}
.rk-viewer-stage,.rk-viewer-info{
  background:#fffdfa !important;
  border-color:rgba(220,194,162,.62) !important;
  color:#31414f !important;
}
.rk-viewer-info p,
.rk-viewer-info small{color:#6d7b86 !important;}
.rk-viewer-info .rk-card-location{
  background:#fef2e7 !important;
  color:#db7f59 !important;
  border-color:rgba(255,143,107,.18) !important;
}
.rk-viewer-stage img,
.rk-viewer-stage video{background:#f5ecdf !important;}

.rk-feed-batch{
  background:linear-gradient(180deg,#ffffff 0%,#fff8f0 100%) !important;
}
.rk-feed-batch-meta{color:#6d7b86 !important;}

.rk-media-fab{
  background:linear-gradient(135deg,#ff9c78 0%,#ffc486 56%,#78d8d6 100%) !important;
  color:#ffffff !important;
  box-shadow:0 16px 34px rgba(255,143,107,.28) !important;
}

@media (max-width: 900px){
  .rk-studio-hero,
  .rk-gallery-hero{padding:24px !important; min-height:210px !important;}
  .rk-studio-hero h2,
  .rk-gallery-hero h2{font-size:clamp(34px,10vw,48px) !important;}
  .rk-studio-hero p,
  .rk-gallery-hero p{font-size:16px !important;}
}

.rk-card-location a{color:inherit;text-decoration:none}
.rk-card-location a:hover{text-decoration:underline}
.rk-card-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.rk-viewer-actions-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}
.rk-viewer-owner-box{margin:14px 0;padding:14px;border:1px solid var(--rk-line);border-radius:18px;background:var(--rk-card)}
.rk-viewer-comments{margin-top:14px;padding-top:14px;border-top:1px solid var(--rk-line)}
.rk-viewer-comments strong{display:block;margin-bottom:10px}
.rk-comment-list{display:grid;gap:12px;max-height:300px;overflow:auto}
.rk-comment{display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:start}
.rk-comment p{margin:4px 0 0}
.rk-comment-form textarea{width:100%;border:1px solid var(--rk-line);background:var(--rk-surface-strong);color:var(--rk-text);padding:12px 14px;border-radius:16px;margin:12px 0 10px}
.rk-viewer-info p{color:var(--rk-text)}


/* ===== V10 Viewer Redesign ===== */
.rk-media-viewer[hidden]{display:none !important}
.rk-media-viewer{
  position:fixed;
  inset:0;
  z-index:12000;
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:0;
  padding:0 !important;
  background:rgba(15,18,22,.78) !important;
  backdrop-filter:blur(10px);
}
.rk-viewer-close{
  position:fixed !important;
  top:18px;
  right:18px;
  z-index:6;
  width:46px;
  height:46px;
  border-radius:999px;
  background:rgba(255,255,255,.14) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
}
.rk-viewer-stage{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:22px 18px 22px 22px !important;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
.rk-viewer-info{
  background:linear-gradient(180deg,#fffdfa,#fff7ee) !important;
  border:none !important;
  border-left:1px solid rgba(227,190,150,.25) !important;
  box-shadow:none !important;
  padding:18px 18px 18px !important;
  overflow:auto;
}
.rk-viewer-frame{
  position:relative;
  width:100%;
  height:calc(100vh - 44px);
  background:#0d1014;
  border-radius:30px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.rk-viewer-media-wrap{
  position:relative;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.rk-viewer-media-wrap img,
.rk-viewer-media-wrap video{
  width:100%;
  height:100%;
  object-fit:contain !important;
  background:#0d1014 !important;
  border-radius:0 !important;
  max-height:none !important;
}
.rk-viewer-topmeta{
  position:absolute;
  top:18px;
  left:18px;
  right:90px;
  z-index:3;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.rk-viewer-topmeta-left{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:20px;
  background:rgba(10,12,15,.42);
  backdrop-filter:blur(12px);
}
.rk-viewer-authorline strong{display:block;color:#fff;font-size:15px;line-height:1.2}
.rk-viewer-authorline .rk-viewer-location-pill{margin-top:4px}
.rk-viewer-location-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
  color:#fff !important;
  text-decoration:none;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
}
.rk-viewer-media-fade{
  position:absolute;
  inset:auto 0 0 0;
  height:210px;
  background:linear-gradient(180deg,rgba(13,16,20,0),rgba(13,16,20,.8));
  pointer-events:none;
}
.rk-viewer-actions-rail{
  position:absolute;
  right:16px;
  bottom:24px;
  z-index:3;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.rk-viewer-rail-btn{
  border:none;
  cursor:pointer;
  width:64px;
  min-height:64px;
  padding:8px 6px;
  border-radius:22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  background:rgba(255,255,255,.12);
  color:#fff;
  backdrop-filter:blur(12px);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.rk-viewer-rail-btn.is-liked{background:linear-gradient(180deg,#ff9f80,#ff7d91);color:#fff}
.rk-viewer-rail-icon{font-size:20px;line-height:1}
.rk-viewer-rail-count,.rk-viewer-rail-label{font-size:11px;font-weight:700}
.rk-viewer-caption-overlay{
  position:absolute;
  left:18px;
  right:96px;
  bottom:20px;
  z-index:3;
  color:#fff;
}
.rk-viewer-caption-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.rk-viewer-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
}
.rk-viewer-caption-text{
  max-width:640px;
  font-size:15px;
  line-height:1.5;
}
.rk-viewer-caption-text strong{margin-right:6px}
.rk-viewer-caption-text.is-collapsed span{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.rk-viewer-more{
  margin-top:8px;
  border:none;
  background:none;
  color:#fff;
  font-weight:700;
  padding:0;
  cursor:pointer;
}
.rk-viewer-sheet-handle{
  width:54px;
  height:5px;
  border-radius:999px;
  background:rgba(202,171,132,.45);
  margin:0 auto 14px;
  cursor:pointer;
}
.rk-viewer-side-head{display:flex;flex-direction:column;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(227,190,150,.28)}
.rk-viewer-side-user{display:flex;align-items:center;gap:10px}
.rk-viewer-side-scroll{display:flex;flex-direction:column;gap:16px;padding-top:16px}
.rk-viewer-info-card,.rk-viewer-comments,.rk-viewer-owner-box{
  background:#fff;
  border:1px solid rgba(227,190,150,.24);
  border-radius:22px;
  padding:16px;
}
.rk-viewer-info-card h4,.rk-viewer-comments h4{margin:0 0 8px;font-size:15px}
.rk-viewer-comments-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.rk-comment-list{display:flex;flex-direction:column;gap:12px;max-height:42vh;overflow:auto;padding-right:4px}
.rk-comment{display:flex;gap:10px;align-items:flex-start}
.rk-comment-body{background:#fff9f2;border:1px solid rgba(227,190,150,.18);border-radius:16px;padding:10px 12px;flex:1}
.rk-comment-headline{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:4px}
.rk-comment-headline small{color:#8a7b6f;font-size:11px}
.rk-comment-body p{margin:0;color:#473a33;font-size:14px;line-height:1.45}
.rk-comment-form{display:flex;flex-direction:column;gap:10px;margin-top:12px;position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,253,250,.7),#fffdfa 26%);padding-top:10px}
.rk-comment-form textarea{min-height:88px;border-radius:16px}
.rk-owner-stats-grid{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.rk-viewer-empty{padding:8px 0}

@media (max-width: 980px){
  .rk-media-viewer{
    display:block;
    background:rgba(8,10,14,.88) !important;
  }
  .rk-viewer-stage{padding:0 !important}
  .rk-viewer-frame{height:100vh;border-radius:0}
  .rk-viewer-topmeta{top:16px;left:14px;right:72px}
  .rk-viewer-topmeta-left{max-width:calc(100vw - 110px)}
  .rk-viewer-actions-rail{right:12px;bottom:118px}
  .rk-viewer-rail-btn{width:58px;min-height:58px;border-radius:20px}
  .rk-viewer-caption-overlay{left:14px;right:82px;bottom:24px}
  .rk-viewer-info{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    top:auto;
    max-height:78vh;
    border-left:none !important;
    border-top-left-radius:26px;
    border-top-right-radius:26px;
    transform:translateY(calc(100% - 108px));
    transition:transform .28s ease;
    z-index:4;
    padding-bottom:calc(18px + env(safe-area-inset-bottom));
  }
  .rk-media-viewer.rk-comments-open .rk-viewer-info{transform:translateY(0)}
  .rk-viewer-side-scroll{padding-top:8px}
  .rk-comment-list{max-height:28vh}
}

/* V10.1 familiar social viewer */
.rk-media-viewer{
  position:fixed !important;
  inset:0 !important;
  z-index:99999 !important;
  background:rgba(6,8,12,.96) !important;
  grid-template-columns:minmax(0,1fr) 380px;
}
.rk-viewer-close{
  background:rgba(18,22,28,.7) !important;
  border-color:rgba(255,255,255,.16) !important;
}
.rk-viewer-stage{padding:0 !important;}
.rk-viewer-frame{
  height:100vh;
  border-radius:0;
  background:#07090d;
}
.rk-viewer-topmeta-left{
  background:rgba(12,14,18,.48);
  border:1px solid rgba(255,255,255,.12);
}
.rk-viewer-actions-rail{right:18px;bottom:34px;gap:14px}
.rk-viewer-rail-btn{
  width:68px;
  min-height:68px;
  border-radius:24px;
  background:rgba(14,16,20,.42);
  border:1px solid rgba(255,255,255,.12);
}
.rk-viewer-rail-btn[data-rk-next-item]{display:none}
.rk-viewer-caption-overlay{left:20px;right:106px;bottom:28px;max-width:680px}
.rk-viewer-caption-text{font-size:16px;line-height:1.55}
.rk-viewer-caption-text strong{display:block;margin:0 0 4px}
.rk-viewer-chip{background:rgba(14,16,20,.42)}
.rk-viewer-info{
  width:380px;
  max-width:380px;
  background:linear-gradient(180deg,#fffdfa,#fff7ef) !important;
  color:#3b342f;
  border-left:1px solid rgba(227,190,150,.22) !important;
  display:flex;
  flex-direction:column;
}
.rk-viewer-side-head{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.rk-viewer-comments-close{
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  background:#fff2e6;
  color:#4d3a2f;
  font-size:24px;
  cursor:pointer;
}
.rk-viewer-info-topline{display:grid;gap:12px;margin-bottom:8px}
.rk-viewer-side-scroll{min-height:0;overflow:auto;padding-bottom:24px}
.rk-viewer-comments{display:grid;gap:12px}
.rk-comment-list{max-height:none;overflow:visible}
.rk-comment-form{position:sticky;bottom:0;padding-bottom:8px}
.rk-comment-form textarea{
  min-height:56px;
  max-height:120px;
  border-radius:18px;
}
.rk-viewer-sheet-handle{display:none !important;}

@media (max-width: 980px){
  .rk-media-viewer{
    display:block !important;
    background:#05070b !important;
  }
  .rk-viewer-stage{
    position:relative;
    height:100vh;
    width:100vw;
  }
  .rk-viewer-frame{height:100vh;border-radius:0;}
  .rk-viewer-media-wrap img,
  .rk-viewer-media-wrap video{
    object-fit:contain !important;
  }
  .rk-viewer-topmeta{
    top:14px;
    left:12px;
    right:78px;
  }
  .rk-viewer-topmeta-left{
    max-width:calc(100vw - 102px);
    padding:9px 11px;
    border-radius:18px;
  }
  .rk-viewer-location-pill{font-size:11px;padding:6px 10px}
  .rk-viewer-actions-rail{
    right:10px;
    bottom:108px;
    gap:10px;
  }
  .rk-viewer-rail-btn{
    width:54px;
    min-height:54px;
    border-radius:18px;
    padding:8px 4px;
  }
  .rk-viewer-rail-icon{font-size:18px}
  .rk-viewer-rail-count,.rk-viewer-rail-label{font-size:10px}
  .rk-viewer-caption-overlay{
    left:12px;
    right:74px;
    bottom:18px;
    max-width:none;
  }
  .rk-viewer-caption-meta{margin-bottom:8px}
  .rk-viewer-caption-text{font-size:14px;line-height:1.45}
  .rk-viewer-info{
    position:fixed !important;
    inset:auto 0 0 0;
    width:100vw;
    max-width:none;
    height:72vh;
    border:none !important;
    border-top-left-radius:24px;
    border-top-right-radius:24px;
    transform:translateY(100%);
    transition:transform .24s ease;
    z-index:100000;
    box-shadow:0 -18px 40px rgba(0,0,0,.28);
    padding:16px 14px calc(16px + env(safe-area-inset-bottom));
  }
  .rk-media-viewer.rk-comments-open .rk-viewer-info{transform:translateY(0)}
  .rk-viewer-side-scroll{padding-top:10px}
  .rk-viewer-info-card,
  .rk-viewer-comments,
  .rk-viewer-owner-box{
    border-radius:18px;
    padding:14px;
  }
  .rk-comment-list{display:grid;gap:10px}
  .rk-comment-form{
    position:sticky;
    bottom:0;
    background:linear-gradient(180deg,rgba(255,253,250,.84),#fffdfa 20%);
    margin-top:4px;
  }
}


body.rk-viewer-lock{overflow:hidden !important;touch-action:none;}
.rk-viewer-comments-close{position:relative;z-index:100001;pointer-events:auto;touch-action:manipulation;}
.rk-media-viewer{overscroll-behavior:contain;}
.rk-viewer-side-scroll,.rk-comment-list{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}


/* V10.2 fixes */
.rk-media-card-visual::before,
.rk-gallery-tile::before,
.rk-album-cover::before{display:none !important; content:none !important;}
.rk-gallery-tile video,
.rk-media-card-visual video{appearance:none; -webkit-appearance:none; background:#f4ede2 !important;}
.rk-gallery-tile img,
.rk-media-card-visual img{display:block; object-fit:cover;}
.rk-badge{backdrop-filter:none !important;}
.rk-viewer-ad{padding:0 !important; overflow:hidden;}
.rk-viewer-ad > a, .rk-viewer-ad > div{display:flex; gap:14px; align-items:stretch; padding:16px; text-decoration:none; color:inherit;}
.rk-viewer-ad-image{width:96px; min-width:96px; height:96px; object-fit:cover; border-radius:16px; background:#f3ede3;}
.rk-viewer-ad-copy{display:flex; flex-direction:column; gap:6px; min-width:0;}
.rk-viewer-ad-copy strong{font-size:16px; line-height:1.25; color:#243746;}
.rk-viewer-ad-copy span{color:#6f7c86; line-height:1.4;}
.rk-viewer-ad-label{font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#ff8f63;}
.rk-viewer-ad-cta{margin-left:auto; align-self:flex-end; display:inline-flex; align-items:center; justify-content:center; padding:10px 14px; border-radius:999px; background:linear-gradient(135deg,#ff9f6b,#65c7d0); color:#fff7f0; font-size:12px; font-weight:800; white-space:nowrap;}
.rk-viewer-ad-code{padding:16px;}
@media (max-width:980px){.rk-viewer-ad > a,.rk-viewer-ad > div{padding:14px;gap:12px}.rk-viewer-ad-image{width:76px;min-width:76px;height:76px}.rk-viewer-ad-cta{width:100%;margin-left:0;align-self:stretch}}

.rk-dropzone-trigger{margin-top:12px;pointer-events:auto;}
.rk-feed-batch-item{text-decoration:none;display:block;}
.rk-feed-batch-item img{width:100%;height:150px;object-fit:cover;display:block;background:var(--rk-bg2);}
.rk-gallery-loader{padding:16px;text-align:center;color:var(--rk-sub);}


.rk-gallery-loadmore-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:22px 0 10px}.rk-gallery-status{font-size:14px;color:var(--rk-muted);text-align:center}.rk-gallery-sentinel{width:100%;height:1px}.rk-gallery-loadmore-wrap [data-rk-gallery-loadmore][hidden]{display:none !important}
