/* GeekHouse 3.23.7.0 — uporządkowany edytor motywów i lekkie animacje bez cieni */

/* =========================================================
   Edytor motywów
   ========================================================= */
.geeksajt-theme-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
  gap:18px;
  margin:20px 0 0;
}
.geeksajt-theme-choice{
  --theme-preview-accent:#4fd1ff;
  --theme-preview-secondary:#a45bff;
  position:relative;
  display:flex;
  min-width:0;
  min-height:348px;
  flex-direction:column;
  gap:14px;
  padding:16px;
  border:1px solid #1b4659;
  border-radius:16px;
  background:linear-gradient(155deg,#081c27,#041018 72%);
  cursor:pointer;
  overflow:hidden;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.geeksajt-theme-choice:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--theme-preview-accent) 70%,#1b4659);
  background:linear-gradient(155deg,color-mix(in srgb,var(--theme-preview-accent) 8%,#081c27),#041018 72%);
}
.geeksajt-theme-choice>input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.geeksajt-theme-choice.is-selected,
.geeksajt-theme-choice:has(input:checked){
  border-color:var(--theme-preview-accent);
  outline:3px solid color-mix(in srgb,var(--theme-preview-accent) 18%,transparent);
  background:linear-gradient(155deg,color-mix(in srgb,var(--theme-preview-accent) 12%,#081c27),#041018 72%);
}
.geeksajt-theme-choice.is-locked{
  cursor:not-allowed;
  filter:saturate(.58);
  opacity:.78;
}
.geeksajt-theme-choice.is-locked:hover{
  transform:none;
  border-color:#294b5b;
  background:linear-gradient(155deg,#081c27,#041018 72%);
}
.geeksajt-theme-preview{
  position:relative;
  display:block;
  width:100%;
  height:148px;
  flex:0 0 auto;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--theme-preview-accent) 62%,#17394a);
  border-radius:12px;
  background:
    radial-gradient(circle at 78% 15%,color-mix(in srgb,var(--theme-preview-secondary) 22%,transparent),transparent 35%),
    linear-gradient(145deg,color-mix(in srgb,var(--theme-preview-accent) 18%,#06131d),color-mix(in srgb,var(--theme-preview-secondary) 10%,#030b12));
  background-size:140% 140%,100% 100%;
}
.geeksajt-theme-preview::before{
  content:"";
  position:absolute;
  inset:18px 16px 48px;
  border:1px solid color-mix(in srgb,var(--theme-preview-accent) 45%,transparent);
  border-left-width:3px;
  background:
    linear-gradient(90deg,color-mix(in srgb,var(--theme-preview-accent) 14%,transparent),transparent 62%);
}
.geeksajt-theme-preview::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(110deg,transparent 35%,color-mix(in srgb,var(--theme-preview-accent) 24%,transparent) 49%,transparent 63%);
  background-size:220% 100%;
  background-position:130% 0;
}
.geeksajt-theme-preview>i{
  position:absolute;
  left:16px;
  right:16px;
  height:6px;
  border-radius:999px;
  background:color-mix(in srgb,var(--theme-preview-accent) 42%,#203a49);
}
.geeksajt-theme-preview>i:nth-child(1){bottom:32px;right:55px}
.geeksajt-theme-preview>i:nth-child(2){bottom:21px}
.geeksajt-theme-preview>i:nth-child(3){bottom:10px;right:88px}
.geeksajt-theme-preview>b{
  position:absolute;
  right:14px;
  top:12px;
  color:var(--theme-preview-accent);
  font:800 20px var(--font-display,'Oxanium',sans-serif);
}
.geeksajt-theme-copy{
  display:grid;
  gap:5px;
  min-width:0;
}
.geeksajt-theme-copy small,
.geeksajt-theme-copy strong,
.geeksajt-theme-copy em{display:block}
.geeksajt-theme-copy small{
  color:var(--theme-preview-accent);
  font:800 8px var(--font-display,'Oxanium',sans-serif);
  letter-spacing:.16em;
  text-transform:uppercase;
}
.geeksajt-theme-copy strong{
  color:#f2fbff;
  font:800 18px var(--font-display,'Oxanium',sans-serif);
}
.geeksajt-theme-copy em{
  min-height:48px;
  color:#88a0ac;
  font-size:10px;
  font-style:normal;
  line-height:1.6;
}
.geeksajt-theme-state{
  align-self:flex-start;
  padding:6px 9px;
  border-radius:999px;
  font:800 7px var(--font-display,'Oxanium',sans-serif);
  letter-spacing:.11em;
  white-space:nowrap;
}
.geeksajt-theme-state.unlocked{
  border:1px solid color-mix(in srgb,var(--theme-preview-accent) 55%,#1d4658);
  background:color-mix(in srgb,var(--theme-preview-accent) 10%,#06151f);
  color:var(--theme-preview-accent);
}
.geeksajt-theme-state.locked{
  border:1px solid #46535a;
  background:#151d22;
  color:#9ba6ab;
}
.geeksajt-theme-requirement{
  margin-top:auto;
  color:#a9bec8;
  font-size:9px;
  line-height:1.45;
}
.geeksajt-theme-progress{
  height:6px;
  overflow:hidden;
  border-radius:999px;
  background:#031018;
}
.geeksajt-theme-progress>i{
  display:block;
  height:100%;
  background:linear-gradient(90deg,var(--theme-preview-accent),var(--theme-preview-secondary));
}
.geeksajt-theme-progress-copy{
  color:#6f8793;
  font-size:8px;
}
.profile-choice-check{
  position:absolute;
  top:12px;
  right:12px;
  display:none;
  width:28px;
  height:28px;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--theme-preview-accent) 70%,#21495c);
  border-radius:50%;
  background:#06141d;
  color:var(--theme-preview-accent);
  font:800 13px var(--font-display,'Oxanium',sans-serif);
}
.geeksajt-theme-choice.is-selected .profile-choice-check,
.geeksajt-theme-choice:has(input:checked) .profile-choice-check{display:grid}

.geeksajt-motion-status{
  display:flex;
  align-items:center;
  gap:12px;
  margin:14px 0 0;
  padding:13px 15px;
  border:1px solid color-mix(in srgb,#4fd1ff 35%,#1d4658);
  border-radius:11px;
  background:linear-gradient(135deg,rgba(79,209,255,.075),rgba(7,23,34,.96));
}
.geeksajt-motion-status b,.geeksajt-motion-status p{display:block;margin:0}
.geeksajt-motion-status b{color:#e8f9ff;font-size:10px}
.geeksajt-motion-status p{margin-top:3px;color:#7f9aa7;font-size:9px;line-height:1.45}
.geeksajt-motion-indicator{
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  border:1px solid rgba(79,209,255,.38);
  border-radius:50%;
  background:rgba(79,209,255,.07);
}
.geeksajt-motion-indicator::before,.geeksajt-motion-indicator i{
  content:"";
  display:block;
  border-radius:50%;
  background:#65dcff;
}
.geeksajt-motion-indicator::before{width:8px;height:8px}
.geeksajt-motion-indicator i{position:absolute;width:20px;height:20px;opacity:.18}
.motion-paused-copy{display:none}

.geeksajt-module-help{
  margin-bottom:15px;
  padding:15px 17px;
  border:1px solid #1c465a;
  border-radius:10px;
  background:#061722;
}
.geeksajt-module-help b{display:block;color:#eaf8ff}
.geeksajt-module-help p{margin:5px 0 0;color:#7f98a5;font-size:10px}
.widget-toggle:has(input:checked){
  border-color:#3aaee0;
  background:linear-gradient(145deg,rgba(14,61,82,.66),rgba(5,18,27,.95));
}
.widget-toggle:has(input:checked) b{color:#eefbff}

/* =========================================================
   Publiczny GeekSajt — fundament motywów
   ========================================================= */
.geeksajt-classic{
  --theme-page:#02090e;
  --theme-panel:#06151f;
  --theme-panel-2:#071b27;
  --theme-border:#183d50;
  --theme-text:#e9f7fd;
  --theme-muted:#8198a5;
  isolation:isolate;
  background-color:var(--theme-page);
}
.geeksajt-classic .geeksajt-module{
  background:linear-gradient(145deg,var(--theme-panel),color-mix(in srgb,var(--theme-panel-2) 70%,#02080d));
  border-color:var(--theme-border);
  box-shadow:none!important;
}
.geeksajt-classic .geeksajt-module-head{
  border-color:color-mix(in srgb,var(--accent) 30%,var(--theme-border));
  background-repeat:no-repeat;
}
.geeksajt-classic .geeksajt-tabs{
  background:color-mix(in srgb,var(--theme-panel) 94%,transparent);
  border-color:var(--theme-border);
}
.geeksajt-classic .geeksajt-tabs a.active,
.geeksajt-classic .geeksajt-tabs a:hover{
  color:var(--theme-text);
  border-bottom-color:var(--accent);
  background:color-mix(in srgb,var(--accent) 10%,transparent);
}
.geeksajt-classic .geeksajt-banner{
  border-color:color-mix(in srgb,var(--accent) 45%,var(--theme-border));
  border-left-width:3px;
  box-shadow:none!important;
  filter:none!important;
}
.geeksajt-classic .geeksajt-role-badge{box-shadow:none!important}
.geeksajt-classic .geeksajt-module-head h2,
.geeksajt-classic .geeksajt-entry h2 a{color:var(--theme-text)}
.geeksajt-classic .geeksajt-module p,
.geeksajt-classic .geeksajt-module small{color:var(--theme-muted)}

/* Motyw standardowy — zawsze statyczny */
.geeksajt-classic.geeksajt-theme-portal{
  background-color:#02090e;
  background-image:
    radial-gradient(circle at 12% 8%,color-mix(in srgb,var(--accent) 10%,transparent),transparent 30%),
    radial-gradient(circle at 88% 86%,color-mix(in srgb,var(--theme-secondary) 6%,transparent),transparent 34%);
  background-size:100% 100%;
}

/* Motywy odblokowywane — statyczne tło, animowane wyłącznie akcenty */
.geeksajt-classic.geeksajt-theme-first_light{
  --theme-page:#071019;--theme-panel:#0a1c29;--theme-panel-2:#0d2432;--theme-border:#28566b;--theme-text:#f4fbff;--theme-muted:#9ab2be;
  background-color:var(--theme-page);
  background-image:radial-gradient(circle at 82% 0,rgba(99,221,255,.10),transparent 34%);
}
.geeksajt-classic.geeksajt-theme-retro_grid{
  --theme-page:#010903;--theme-panel:#041407;--theme-panel-2:#071c0a;--theme-border:#1b5b27;--theme-text:#ddffda;--theme-muted:#82aa7d;
  background-color:var(--theme-page);
  background-image:linear-gradient(rgba(73,255,80,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(73,255,80,.02) 1px,transparent 1px);
  background-size:24px 24px;
}
.geeksajt-classic.geeksajt-theme-arcade_violet{
  --theme-page:#08040f;--theme-panel:#12091d;--theme-panel-2:#0d1124;--theme-border:#4a2f69;--theme-text:#fff1ff;--theme-muted:#b39abd;
  background-color:var(--theme-page);
  background-image:radial-gradient(circle at 15% 10%,rgba(177,108,255,.10),transparent 30%),radial-gradient(circle at 90% 70%,rgba(255,92,168,.07),transparent 34%);
}
.geeksajt-classic.geeksajt-theme-library_gold{
  --theme-page:#0d0903;--theme-panel:#181105;--theme-panel-2:#211707;--theme-border:#735525;--theme-text:#fff7df;--theme-muted:#bea982;
  background-color:var(--theme-page);
  background-image:linear-gradient(135deg,rgba(255,198,90,.045),transparent 45%);
}
.geeksajt-classic.geeksajt-theme-completion_red{
  --theme-page:#100507;--theme-panel:#1b090d;--theme-panel-2:#180e0a;--theme-border:#713442;--theme-text:#fff0f2;--theme-muted:#c39aa2;
  background-color:var(--theme-page);
  background-image:radial-gradient(circle at 85% 8%,rgba(255,101,120,.09),transparent 32%);
}
.geeksajt-classic.geeksajt-theme-community_wave{
  --theme-page:#03100f;--theme-panel:#071b1a;--theme-panel-2:#111024;--theme-border:#22625c;--theme-text:#eafffb;--theme-muted:#8ebcb5;
  background-color:var(--theme-page);
  background-image:radial-gradient(circle at 5% 18%,rgba(70,240,209,.08),transparent 28%),radial-gradient(circle at 94% 55%,rgba(255,104,180,.06),transparent 30%);
}
.geeksajt-classic.geeksajt-theme-author_legend{
  --theme-page:#08060e;--theme-panel:#15101e;--theme-panel-2:#16100a;--theme-border:#6f5a2d;--theme-text:#fff9e8;--theme-muted:#c0b28d;
  background-color:var(--theme-page);
  background-image:radial-gradient(circle at 50% -10%,rgba(255,216,107,.13),transparent 35%),linear-gradient(120deg,rgba(156,114,255,.035),transparent 45%);
}

/* Stabilna nawigacja bez suwaka i bez wpływu animacji na szerokość */
.geeksajt-classic > .geeksajt-tabs{
  position:relative!important;
  inset:auto!important;
  z-index:12;
  display:flex;
  width:100%;
  max-width:none;
  min-height:52px;
  margin:0;
  box-sizing:border-box;
  transform:none!important;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.geeksajt-classic > .geeksajt-tabs::-webkit-scrollbar{display:none;width:0;height:0}
.geeksajt-classic > .geeksajt-tabs > a{
  flex:1 1 0;
  min-width:118px;
  box-sizing:border-box;
  white-space:nowrap;
}
.geeksajt-classic > .geeksajt-layout{
  position:relative;
  z-index:1;
  width:100%;
  clear:both;
}

/* Lekka animacja: wyłącznie linia akcentu oraz nagłówki modułów. */
.geeksajt-classic:not(.geeksajt-theme-portal) > .geeksajt-tabs::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:3;
  width:100%;
  height:2px;
  pointer-events:none;
  background-image:linear-gradient(90deg,transparent,var(--accent),var(--theme-secondary),transparent);
  background-repeat:no-repeat;
  background-size:30% 100%;
  background-position:-42% 100%;
  animation:gh-theme-accent-line 7s ease-in-out infinite;
}
.geeksajt-classic:not(.geeksajt-theme-portal) .geeksajt-module-head{
  background-image:linear-gradient(100deg,transparent 0,color-mix(in srgb,var(--accent) 7%,transparent) 48%,transparent 72%);
  background-size:220% 100%;
  background-position:120% 0;
  animation:gh-theme-header-sweep 14s ease-in-out infinite;
}
.geeksajt-classic.geeksajt-theme-retro_grid .geeksajt-module-head{
  background-image:linear-gradient(90deg,rgba(73,255,80,.025),rgba(73,255,80,.08),rgba(73,255,80,.025));
}
.geeksajt-classic.geeksajt-theme-library_gold .geeksajt-module-head{
  background-image:linear-gradient(90deg,rgba(255,198,90,.02),rgba(255,198,90,.11),rgba(255,198,90,.02));
}
.geeksajt-classic.geeksajt-theme-author_legend .geeksajt-module-head{
  background-image:linear-gradient(90deg,rgba(255,216,107,.02),rgba(255,216,107,.10),rgba(156,114,255,.025));
}

/* Podglądy kart motywów — Portalowy pozostaje nieruchomy. */
.geeksajt-theme-choice:not([data-theme-preview="portal"]) .geeksajt-theme-preview{
  animation:gh-theme-preview-background 11s ease-in-out infinite alternate;
}
.geeksajt-theme-choice:not([data-theme-preview="portal"]) .geeksajt-theme-preview::after{
  opacity:.52;
  animation:gh-theme-preview-sheen 8s ease-in-out infinite;
}
.geeksajt-theme-choice:not([data-theme-preview="portal"]) .geeksajt-theme-preview>b{
  animation:gh-theme-preview-mark 5s ease-in-out infinite;
}
.geeksajt-theme-choice.is-locked .geeksajt-theme-preview::after{opacity:.22;animation-duration:12s}
.geeksajt-theme-choice.is-locked .geeksajt-theme-preview>b{animation-duration:8s}
[data-theme-preview="portal"] .geeksajt-theme-preview,
[data-theme-preview="portal"] .geeksajt-theme-preview::after,
[data-theme-preview="portal"] .geeksajt-theme-preview>b{animation:none!important}
[data-theme-preview="portal"] .geeksajt-theme-preview::after{display:none}

@keyframes gh-theme-accent-line{
  0%{background-position:-42% 100%;opacity:0}
  18%{opacity:1}
  78%{opacity:1}
  100%{background-position:142% 100%;opacity:0}
}
@keyframes gh-theme-header-sweep{
  0%,18%{background-position:120% 0}
  62%,100%{background-position:-120% 0}
}
@keyframes gh-theme-preview-background{
  from{background-position:100% 0,0 0}
  to{background-position:68% 28%,0 0}
}
@keyframes gh-theme-preview-sheen{
  0%,20%{background-position:130% 0;opacity:0}
  36%{opacity:.5}
  65%,100%{background-position:-130% 0;opacity:0}
}
@keyframes gh-theme-preview-mark{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-2px)}
}

html.quiet-mode .geeksajt-classic *,
html.quiet-mode .geeksajt-theme-preview,
html.quiet-mode .geeksajt-theme-preview::after{animation:none!important}
html.quiet-mode .geeksajt-motion-status .motion-active-copy{display:none}
html.quiet-mode .geeksajt-motion-status .motion-paused-copy{display:block}

@media(prefers-reduced-motion:reduce){
  .geeksajt-classic *,
  .geeksajt-theme-preview,
  .geeksajt-theme-preview::after{animation:none!important}
  .geeksajt-motion-status .motion-active-copy{display:none}
  .geeksajt-motion-status .motion-paused-copy{display:block}
}
@media(max-width:900px){
  .geeksajt-theme-gallery{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
}
@media(max-width:700px){
  .geeksajt-classic > .geeksajt-tabs > a{flex:0 0 auto;min-width:128px}
}
@media(max-width:580px){
  .geeksajt-theme-gallery{grid-template-columns:1fr}
  .geeksajt-theme-choice{min-height:0}
  .geeksajt-theme-preview{height:128px}
}
