/* Ausbia Sun Clock */
@property --sky-top {
  syntax: '<color>';
  inherits: true;
  initial-value: #8bd3ff;
}
@property --sky-bottom {
  syntax: '<color>';
  inherits: true;
  initial-value: #4f9bff;
}
.sc-widget-wrap { display:flex; justify-content:center; padding:10px; }
.sc-card {
  position:relative; width:100%; max-width:420px; border-radius:34px; overflow:visible;
  box-shadow:0 22px 52px rgba(0,0,0,0.35); background:linear-gradient(180deg,#ffb347 0%,#ff8c42 100%);
  --sun-left:50%; --sun-bottom:54%; font-family:"Courier New", Courier, monospace;
  --sky-top:#8bd3ff;
  --sky-bottom:#4f9bff;
  transition:
    transform .35s cubic-bezier(.175,.885,.32,1.275),
    box-shadow .35s ease,
    --sky-top 1.15s cubic-bezier(.45, 0, .45, 1),
    --sky-bottom 1.15s cubic-bezier(.45, 0, .45, 1);
}
.sc-card:hover { transform:translateY(-6px); box-shadow:0 30px 60px rgba(0,0,0,0.45); }
.sc-landscape { position:relative; height:230px; overflow:hidden; border-radius:34px 34px 0 0; }
.sc-landscape * { position:absolute; }
.sc-sky {
  inset:0;
  background:linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
}
.sc-sun {
  width:44px; height:44px; border-radius:6px; background:#fff; left:var(--sun-left); bottom:var(--sun-bottom);
  transform:translate(-50%,50%); box-shadow:0 0 25px #fff,0 0 50px #ffea00;
  transition: opacity .35s ease;
}
.sc-sun::before,.sc-sun::after { content:""; position:absolute; inset:-12px; border-radius:10px; }
.sc-sun::before {
  background:radial-gradient(circle, rgba(255,255,255,.35) 0%, transparent 70%);
  animation: scSunPulse 3s ease-in-out infinite;
}
.sc-sun::after { inset:0; border:2px solid rgba(255,255,255,.45); }
.sc-ocean { left:0; right:0; bottom:0; height:0; overflow:hidden; background:transparent; transition:background .4s ease; }
.sc-reflection { background:rgba(255,255,255,.6); clip-path:polygon(0 50%,38% 0,62% 0,100% 50%,62% 100%,38% 100%); }
.sc-reflection:nth-child(1){width:90px;height:5px;left:32%;top:14%;}
.sc-reflection:nth-child(2){width:110px;height:7px;left:38%;top:30%;}
.sc-reflection:nth-child(3){width:78px;height:5px;right:9%;top:48%;}
.sc-reflection:nth-child(4){width:120px;height:8px;right:22%;top:64%;}
.sc-hill-1{left:-4%;bottom:0;width:108%;height:36%;border-radius:0;z-index:3;background:#4d6d3d;clip-path:polygon(0 100%,0 60%,16% 50%,31% 58%,49% 38%,75% 56%,100% 35%,100% 100%);}
.sc-hill-2{left:-2%;bottom:0;width:104%;height:28%;border-radius:0;z-index:4;background:#6a994e;clip-path:polygon(0 100%,0 72%,23% 60%,50% 74%,78% 63%,100% 74%,100% 100%);}
.sc-hill-3,.sc-hill-4{display:none;}
.sc-flora{ display:none; }
.sc-filter{inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 35%,rgba(255,255,255,.14) 100%);opacity:.25;z-index:5;pointer-events:none;}
.sc-overlay-top{top:12px;left:12px;right:12px;z-index:6;display:flex;align-items:flex-start;gap:8px;color:#fff;}
.sc-overlay-top *{position:static;}
.sc-overlay-left{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;max-width:72%;}
.sc-overlay-bottom{
  left:12px; right:12px; bottom:8px; z-index:8;
  display:flex; flex-direction:column; align-items:center; gap:4px;
  text-shadow:1px 1px 0 rgba(0,0,0,.3);
}
.sc-region,.sc-phase-badge{
  position:static;
  font-size:13px;
  font-weight:800;
  letter-spacing:.35px;
  border-radius:999px;
  padding:9px 14px;
  background:rgba(68, 68, 68, 0.22);
  border:1px solid rgba(255,255,255,.5);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.65),0 0 1px rgba(0,0,0,.8);
  box-shadow:0 3px 14px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.18);
}
.sc-region{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sc-region.sc-region-error{
  white-space:normal;
  word-break:break-word;
  text-overflow:clip;
  border-color:rgba(255,120,120,.55);
  background:rgba(120,20,20,.35);
  color:#ffe0e0;
  text-shadow:0 1px 2px rgba(0,0,0,.5);
}
.sc-overlay-top .sc-date-trigger{
  margin-left:auto;
  position:relative;
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  flex-shrink:0;
  cursor:pointer;
  min-height:44px;
  -webkit-tap-highlight-color:transparent;
}
.sc-overlay-top .sc-date-trigger:focus-within .sc-phase-badge{
  outline:2px solid rgba(255,255,255,.85);
  outline-offset:2px;
}
.sc-overlay-top .sc-date-trigger .sc-phase-badge{
  white-space:nowrap;
  position:relative;
  z-index:2;
  pointer-events:none;
}
.sc-overlay-top .sc-top-date-input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
  border:0;
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  min-height:44px;
  font-size:24px;
  z-index:1;
  box-sizing:border-box;
}
.sc-content{
  padding:9px;
  background:rgba(255,255,255,.24);
  backdrop-filter:blur(12px) saturate(150%);
  -webkit-backdrop-filter:blur(12px) saturate(150%);
  border-top:1px solid rgba(255,255,255,.36);
  position:relative;
  z-index:50;
  margin-top:-60px;
  border-radius:0 0 34px 34px;
  overflow:visible;
}
.sc-main-temp{
  font-size:34px; font-weight:900; color:#fff; letter-spacing:1.4px;
  line-height:1; margin:2px 0 6px; text-shadow:2px 2px 0 rgba(0,0,0,.16);
}
.sc-main-temp-top{
  margin:0;
  font-size:40px;
  text-shadow:2px 2px 0 rgba(0,0,0,.24);
  letter-spacing:1px;
}
.sc-main-time-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 0 3px;
}
.sc-main-temp-top span[data-active-scene-time]{
  display:inline-block;
  white-space:nowrap;
}
.sc-overlay-top .sc-query-loader{
  display:none;
  position:relative;
  width:36px;
  height:36px;
  flex-shrink:0;
  background:#ff6b6bbc;
  box-sizing:border-box;
  animation:scQueryLoaderSpin 1s linear infinite;
}
.sc-main-time-row--loading .sc-query-loader{
  display:block;
}
.sc-query-loader::before{
  content:'';
  box-sizing:border-box;
  left:0;
  top:0;
  transform:rotate(45deg);
  position:absolute;
  width:36px;
  height:36px;
  background:#ff3d3db4;
  box-shadow:0 0 4px rgba(0,0,0,.15);
}
.sc-query-loader::after{
  content:'';
  box-sizing:border-box;
  width:27px;
  height:27px;
  border-radius:50%;
  position:absolute;
  left:50%;
  top:50%;
  background:rgba(255, 107, 107, 0.668);
  transform:translate(-50%,-50%);
  box-shadow:0 0 4px rgba(0,0,0,.15);
}
@keyframes scQueryLoaderSpin{
  0%{ transform:rotate(0deg); }
  100%{ transform:rotate(360deg); }
}
.sc-current-status{
  display:flex; align-items:center; gap:8px; color:#fff; font-size:13px; font-weight:800;
  text-transform:uppercase; letter-spacing:1.1px; margin-bottom:8px; text-shadow:1px 1px 0 rgba(0,0,0,.15);
}
.sc-current-status-top{
  margin:0;
  font-size:12px;
  letter-spacing:.8px;
  text-transform:none;
  white-space:normal;
  line-height:1.35;
  max-width:100%;
}
.sc-row{margin-bottom:10px;position:relative;}
.sc-label{display:block;font-size:11px;color:#fff;font-weight:800;margin-bottom:6px;letter-spacing:1px;text-shadow:1px 1px 0 rgba(0,0,0,.15);}
.sc-input{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.15);border-radius:12px;padding:10px 12px;font-size:13px;color:#fff;}
.sc-input::placeholder{color:rgba(255,255,255,.85);}
.sc-input:focus{outline:none;border-color:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.18);}
.sc-input::-webkit-calendar-picker-indicator{filter:invert(1);}
.sc-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px;}
.sc-tab{border:1px solid rgba(255,255,255,.35);border-radius:10px;padding:8px 10px;font-size:12px;font-weight:800;color:#fff;background:rgba(255,255,255,.14);cursor:pointer;letter-spacing:.3px;}
.sc-tab.active{background: rgba(255, 100, 151, 0.7);color:#fff;border-color:rgba(255,255,255,.65);box-shadow:0 0 12px rgba(255,255,255,.32);}
.sc-local-tip{display:none;}
.sc-suggestions{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);max-height:200px;overflow-y:auto;background:#1f2937;border:1px solid rgba(255,255,255,.16);border-radius:12px;z-index:80;box-shadow:0 12px 32px rgba(0,0,0,.35);}
.sc-suggest-item{color:#fff;font-size:13px;line-height:1.35;padding:8px 10px;cursor:pointer;border-bottom:1px solid rgba(255,255,255,.09);}
.sc-suggest-item:last-child{border-bottom:none;}
.sc-suggest-item:hover{background:rgba(255,255,255,.1);}
.sc-uiverse-btn{
  --white:#ffe7ff;
  --purple-100:#ffd27f;
  --purple-200:#ffac52;
  --purple-300:#ff8b33;
  --purple-400:#ff6d12;
  --purple-500:#c54b00;
  --uv-radius:18px;
  border-radius:var(--uv-radius);
  outline:none;
  cursor:pointer;
  font-size:23px;
  font-family:Arial;
  background:transparent;
  letter-spacing:-1px;
  border:0;
  position:relative;
  width:220px;
  max-width:220px;
  height:80px;
  margin:20px auto 30px;
  display:block;
  padding:0;
  -webkit-tap-highlight-color:transparent;
}
.sc-uiverse-btn.sc-btn-remote{
  --white:#edfff0;
  --purple-100:#b3ec83;
  --purple-200:#86d956;
  --purple-300:#5fbc35;
  --purple-400:#3f9920;
  --purple-500:#286615;
}
.sc-uiverse-btn .sc-uv-bg{
  position:absolute;
  inset:0;
  border-radius:inherit;
  filter:blur(1px);
}
.sc-uiverse-btn .sc-uv-bg::before,
.sc-uiverse-btn .sc-uv-bg::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:calc(var(--uv-radius) * 1.1);
  background:var(--purple-500);
}
.sc-uiverse-btn .sc-uv-bg::before{
  filter:blur(5px);
  transition:all .3s ease;
  box-shadow:
    -7px 6px 0 0 rgb(197 75 0 / 44%),
    -14px 12px 0 0 rgb(197 75 0 / 34%),
    -21px 18px 4px 0 rgb(197 75 0 / 27%),
    -28px 24px 8px 0 rgb(197 75 0 / 18%),
    -35px 30px 12px 0 rgb(197 75 0 / 14%),
    -42px 36px 16px 0 rgb(197 75 0 / 10%),
    -56px 42px 20px 0 rgb(197 75 0 / 7%);
}
.sc-uiverse-btn.sc-btn-remote .sc-uv-bg::before{
  box-shadow:
    -7px 6px 0 0 rgb(40 102 21 / 42%),
    -14px 12px 0 0 rgb(40 102 21 / 32%),
    -21px 18px 4px 0 rgb(40 102 21 / 24%),
    -28px 24px 8px 0 rgb(40 102 21 / 16%),
    -35px 30px 12px 0 rgb(40 102 21 / 12%),
    -42px 36px 16px 0 rgb(40 102 21 / 9%),
    -56px 42px 20px 0 rgb(40 102 21 / 6%);
}
.sc-uiverse-btn .sc-uv-wrap{
  border-radius:inherit;
  overflow:hidden;
  height:100%;
  transform:translate(6px,-6px);
  padding:3px;
  background:linear-gradient(to bottom,var(--purple-100) 0%,var(--purple-400) 100%);
  position:relative;
  transition:all .3s ease;
}
.sc-uiverse-btn .sc-uv-outline{
  position:absolute;
  overflow:hidden;
  inset:0;
  opacity:0;
  outline:none;
  border-radius:inherit;
  transition:all .4s ease;
}
.sc-uiverse-btn .sc-uv-outline::before{
  content:"";
  position:absolute;
  inset:2px;
  width:120px;
  height:300px;
  margin:auto;
  background:linear-gradient(to right,transparent 0%,white 50%,transparent 100%);
  animation:scUvSpin 3s linear infinite;
  animation-play-state:paused;
}
.sc-uiverse-btn .sc-uv-content{
  pointer-events:none;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1;
  position:relative;
  height:100%;
  gap:12px;
  padding:0 10px;
  border-radius:calc(var(--uv-radius) * .85);
  font-weight:700;
  transition:all .3s ease;
  background:linear-gradient(to bottom,var(--purple-300) 0%,var(--purple-400) 100%);
  box-shadow:
    inset -2px 12px 11px -5px var(--purple-200),
    inset 1px -3px 11px 0 rgb(0 0 0 / 35%);
}
.sc-uiverse-btn .sc-uv-content::before{
  content:"";
  inset:0;
  position:absolute;
  z-index:10;
  width:80%;
  top:45%;
  bottom:35%;
  opacity:.7;
  margin:auto;
  background:linear-gradient(to bottom,transparent,var(--purple-400));
  filter:brightness(1.3) blur(5px);
}
.sc-uiverse-btn .sc-uv-char{
  transition:all .3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:11;
  position:relative;
}
.sc-uiverse-btn .sc-uv-char span{
  display:block;
  color:transparent;
  position:relative;
  font-size:23px;
  font-weight:600;
}
.sc-uiverse-btn .sc-uv-state-1 span{
  animation:scUvCharAppear 1.2s ease backwards calc(var(--i) * .03s);
}
.sc-uiverse-btn .sc-uv-char span::before,
.sc-uiverse-btn .sc-uv-char span::after{
  content:attr(data-label);
  position:absolute;
  left:0;
  color:var(--white);
  text-shadow:-1px 1px 2px var(--purple-500);
}
.sc-uiverse-btn .sc-uv-char span::before{
  opacity:0;
  transform:translateY(-100%);
}
.sc-uiverse-btn .sc-uv-state-1 span::after{
  opacity:1;
}
.sc-uiverse-btn .sc-uv-icon{
  animation:scUvResetArrow .8s cubic-bezier(.7,-.5,.3,1.2) forwards;
  z-index:12;
  flex-shrink:0;
}
.sc-uiverse-btn .sc-uv-icon div,
.sc-uiverse-btn .sc-uv-icon div::before,
.sc-uiverse-btn .sc-uv-icon div::after{
  height:3px;
  border-radius:1px;
  background-color:var(--white);
}
.sc-uiverse-btn .sc-uv-icon div::before,
.sc-uiverse-btn .sc-uv-icon div::after{
  content:"";
  position:absolute;
  right:0;
  transform-origin:center right;
  width:14px;
  border-radius:15px;
  transition:all .3s ease;
}
.sc-uiverse-btn .sc-uv-icon div{
  position:relative;
  width:24px;
  box-shadow:-2px 2px 5px var(--purple-400);
  transform:scale(.9);
  background:linear-gradient(to bottom,var(--white),var(--purple-100));
  animation:scUvSwingArrow 1s ease-in-out infinite;
  animation-play-state:paused;
}
.sc-uiverse-btn .sc-uv-icon div::before{
  transform:rotate(44deg);
  top:1px;
  box-shadow:1px -2px 3px -1px var(--purple-400);
  animation:scUvRotateArrowLine 1s linear infinite;
  animation-play-state:paused;
}
.sc-uiverse-btn .sc-uv-icon div::after{
  bottom:1px;
  transform:rotate(316deg);
  box-shadow:-2px 2px 3px 0 var(--purple-400);
  background:linear-gradient(200deg,var(--white),var(--purple-100));
  animation:scUvRotateArrowLine2 1s linear infinite;
  animation-play-state:paused;
}
.sc-uiverse-btn .sc-uv-path{
  position:absolute;
  z-index:12;
  bottom:0;
  left:0;
  right:0;
  width:100%;
  height:auto;
  stroke-dasharray:150 480;
  stroke-dashoffset:150;
  pointer-events:none;
}
.sc-uiverse-btn .sc-uv-path path{
  fill:none;
  stroke:#fff;
}
.sc-uiverse-btn .sc-uv-splash{
  position:absolute;
  top:0;
  left:0;
  pointer-events:none;
  stroke-dasharray:60 60;
  stroke-dashoffset:60;
  transform:translate(-17%,-31%);
  width:120%;
  height:auto;
  color:var(--purple-300);
}
.sc-uiverse-btn .sc-uv-splash path{
  fill:none;
  stroke:var(--purple-300);
}
.sc-uiverse-btn:hover .sc-uv-wrap{
  transform:translate(8px,-8px);
}
.sc-uiverse-btn:hover .sc-uv-outline{
  opacity:1;
}
.sc-uiverse-btn:hover .sc-uv-outline::before,
.sc-uiverse-btn:hover .sc-uv-icon div::before,
.sc-uiverse-btn:hover .sc-uv-icon div::after,
.sc-uiverse-btn:hover .sc-uv-icon div{
  animation-play-state:running;
}
.sc-uiverse-btn:hover .sc-uv-words{ opacity:1; }
.sc-uiverse-btn:hover .sc-uv-words span{ animation-play-state:running; }
.sc-uiverse-btn:hover .sc-uv-state-1 span::before{
  animation:scUvCharAppear .7s ease calc(var(--i) * .03s);
}
.sc-uiverse-btn:hover .sc-uv-state-1 span::after{
  opacity:1;
  animation:scUvCharAppear .7s ease calc(var(--i) * .03s);
}
.sc-uiverse-btn:active .sc-uv-bg::before{
  filter:blur(5px);
  opacity:.7;
  box-shadow:
    -7px 6px 0 0 rgb(197 75 0 / 42%),
    -14px 12px 0 0 rgb(197 75 0 / 28%),
    -21px 18px 4px 0 rgb(197 75 0 / 18%);
}
.sc-uiverse-btn.sc-btn-remote:active .sc-uv-bg::before{
  box-shadow:
    -7px 6px 0 0 rgb(40 102 21 / 40%),
    -14px 12px 0 0 rgb(40 102 21 / 26%),
    -21px 18px 4px 0 rgb(40 102 21 / 16%);
}
.sc-uiverse-btn:active .sc-uv-content{
  box-shadow:
    inset -1px 12px 8px -5px rgba(197,75,0,.42),
    inset 0 -3px 8px 0 var(--purple-200);
}
.sc-uiverse-btn.sc-btn-remote:active .sc-uv-content{
  box-shadow:
    inset -1px 12px 8px -5px rgba(40,102,21,.42),
    inset 0 -3px 8px 0 var(--purple-200);
}
.sc-uiverse-btn:active .sc-uv-outline{
  opacity:0;
}
.sc-uiverse-btn:active .sc-uv-wrap{
  transform:translate(3px,-3px);
}
.sc-uiverse-btn:active .sc-uv-splash{
  animation:scUvSplash .8s cubic-bezier(.3,0,0,1) forwards .05s;
}
.sc-uiverse-btn:focus .sc-uv-path{
  animation:scUvPath 1.6s ease forwards .2s;
}
.sc-uiverse-btn:focus .sc-uv-icon{
  animation:scUvArrow 1s cubic-bezier(.7,-.5,.3,1.5) forwards;
}
.sc-uiverse-btn:focus .sc-uv-state-1 span{
  animation:scUvCharAppear .8s ease backwards calc(var(--i) * .03s);
}
.sc-uiverse-btn:focus-visible{
  outline:2px solid var(--white);
  outline-offset:4px;
}
@keyframes scUvSpin{
  0%{ transform:rotate(0deg); }
  100%{ transform:rotate(360deg); }
}
@keyframes scUvCharAppear{
  0%{
    transform:translateY(50%);
    opacity:0;
    filter:blur(20px);
  }
  20%{
    transform:translateY(70%);
    opacity:1;
  }
  50%{
    transform:translateY(-15%);
    opacity:1;
    filter:blur(0);
  }
  100%{
    transform:translateY(0);
    opacity:1;
  }
}
@keyframes scUvCharDisappear{
  0%{
    transform:translateY(0);
    opacity:1;
  }
  100%{
    transform:translateY(-70%);
    opacity:0;
    filter:blur(3px);
  }
}
@keyframes scUvArrow{
  0%{ opacity:1; }
  50%{ transform:translateX(60px); opacity:0; }
  51%{ transform:translateX(-200px); opacity:0; }
  100%{ transform:translateX(-128px); opacity:1; }
}
@keyframes scUvSwingArrow{
  50%{ transform:translateX(5px) scale(.9); }
}
@keyframes scUvRotateArrowLine{
  50%{ transform:rotate(30deg); }
  80%{ transform:rotate(55deg); }
}
@keyframes scUvRotateArrowLine2{
  50%{ transform:rotate(330deg); }
  80%{ transform:rotate(300deg); }
}
@keyframes scUvResetArrow{
  0%{ transform:translateX(-128px); }
  100%{ transform:translateX(0); }
}
@keyframes scUvPath{
  from{ stroke:#fff; }
  to{ stroke-dashoffset:-480; stroke:#f9c6fe; }
}
@keyframes scUvSplash{
  to{ stroke-dasharray:2 60; stroke-dashoffset:-60; }
}
.sc-scene-switch{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin:0 0 14px;
}
.sc-scene-cell{
  position:relative;
  min-width:0;
}
.sc-scene-cell .sc-scene-btn{
  width:100%;
}
.sc-info-btn{
  position:absolute;
  top:-6px;
  right:-6px;
  z-index:5;
  width:22px;
  height:22px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:50%;
  padding:0;
  margin:0;
  background:rgba(49, 46, 129, .72);
  color:#fff;
  font-weight:700;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height:1;
  cursor:pointer;
  box-shadow:0 4px 10px rgba(0,0,0,.22);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.sc-scene-cell[data-scene-cell="dawn"] .sc-info-btn{
  background:rgba(49, 46, 129, .72);
}
.sc-scene-cell[data-scene-cell="sunrise"] .sc-info-btn{
  background:rgba(194, 65, 12, .78);
}
.sc-scene-cell[data-scene-cell="noon"] .sc-info-btn{
  background:rgba(3, 105, 161, .78);
}
.sc-scene-cell[data-scene-cell="sunset"] .sc-info-btn{
  background:rgba(157, 23, 77, .78);
}
.sc-info-btn:hover,
.sc-info-btn[aria-expanded="true"]{
  border-color:#fff;
  filter:brightness(1.08);
}
.sc-scene-cell[data-scene-cell="dawn"] .sc-info-btn:hover,
.sc-scene-cell[data-scene-cell="dawn"] .sc-info-btn[aria-expanded="true"]{
  background:rgba(91, 33, 182, .92);
}
.sc-scene-cell[data-scene-cell="sunrise"] .sc-info-btn:hover,
.sc-scene-cell[data-scene-cell="sunrise"] .sc-info-btn[aria-expanded="true"]{
  background:rgba(234, 88, 12, .95);
}
.sc-scene-cell[data-scene-cell="noon"] .sc-info-btn:hover,
.sc-scene-cell[data-scene-cell="noon"] .sc-info-btn[aria-expanded="true"]{
  background:rgba(2, 132, 199, .95);
}
.sc-scene-cell[data-scene-cell="sunset"] .sc-info-btn:hover,
.sc-scene-cell[data-scene-cell="sunset"] .sc-info-btn[aria-expanded="true"]{
  background:rgba(190, 24, 93, .95);
}
.sc-info-popover{
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  width:min(280px, 72vw);
  z-index:90;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(24, 24, 40, .94);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  box-shadow:0 14px 34px rgba(0,0,0,.35);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  text-align:left;
}
.sc-scene-cell[data-scene-cell="noon"] .sc-info-popover,
.sc-scene-cell[data-scene-cell="sunset"] .sc-info-popover{
  left:auto;
  right:0;
  text-align:left;
}
.sc-scene-cell[data-scene-cell="noon"] .sc-info-popover strong,
.sc-scene-cell[data-scene-cell="sunset"] .sc-info-popover strong{
  text-align:right;
}
.sc-info-popover strong{
  display:block;
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
  margin-bottom:6px;
}
.sc-info-popover p{
  margin:0;
  font-size:12px;
  line-height:1.55;
  font-weight:500;
  color:rgba(255,255,255,.92);
  letter-spacing:.02em;
}
.sc-widget-wrap .screen-reader-text{
  border:0;
  clip:rect(1px,1px,1px,1px);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute;
  width:1px;
  word-wrap:normal !important;
}
.sc-scene-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:100%;
  min-width:0;
  aspect-ratio:1;
  box-sizing:border-box;
  padding:6px 1px;
  border:2px solid rgba(255,255,255,.42);
  border-radius:14px;
  font-size:14px;
  font-weight:900;
  color:#fff;
  cursor:pointer;
  letter-spacing:.35px;
  text-transform:none;
  text-shadow:0 1px 2px rgba(0,0,0,.22);
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, filter .18s ease;
}
.sc-scene-btn[data-scene="dawn"]{
  background:linear-gradient(155deg, rgba(67, 56, 202, 0.72) 0%, rgba(109, 40, 217, 0.62) 45%, rgba(168, 85, 247, 0.5) 100%);
  border-color:rgba(199, 210, 254, .55);
  box-shadow:0 6px 18px rgba(49, 46, 129, .28), inset 0 1px 0 rgba(255,255,255,.18);
}
.sc-scene-btn[data-scene="dawn"]:hover{
  background:linear-gradient(155deg, rgba(79, 70, 229, 0.88) 0%, rgba(124, 58, 237, 0.78) 100%);
  border-color:rgba(224, 231, 255, .75);
  filter:saturate(1.05);
  box-shadow:0 10px 26px rgba(67, 56, 202, .38), inset 0 1px 0 rgba(255,255,255,.22);
}
.sc-scene-btn[data-scene="sunrise"]{
  background:linear-gradient(155deg, rgba(234, 88, 12, 0.68) 0%, rgba(251, 146, 60, 0.58) 50%, rgba(252, 211, 77, 0.42) 100%);
  border-color:rgba(254, 215, 170, .6);
  box-shadow:0 6px 18px rgba(194, 65, 12, .26), inset 0 1px 0 rgba(255,255,255,.2);
}
.sc-scene-btn[data-scene="sunrise"]:hover{
  background:linear-gradient(155deg, rgba(249, 115, 22, 0.85) 0%, rgba(251, 191, 36, 0.65) 100%);
  border-color:rgba(255, 237, 213, .85);
  filter:saturate(1.06);
  box-shadow:0 10px 26px rgba(234, 88, 12, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
.sc-scene-btn[data-scene="noon"]{
  background:linear-gradient(155deg, rgba(2, 132, 199, 0.68) 0%, rgba(14, 165, 233, 0.58) 50%, rgba(56, 189, 248, 0.48) 100%);
  border-color:rgba(186, 230, 253, .58);
  box-shadow:0 6px 18px rgba(3, 105, 161, .28), inset 0 1px 0 rgba(255,255,255,.22);
}
.sc-scene-btn[data-scene="noon"]:hover{
  background:linear-gradient(155deg, rgba(14, 165, 233, 0.88) 0%, rgba(56, 189, 248, 0.72) 100%);
  border-color:rgba(224, 242, 254, .85);
  filter:saturate(1.05);
  box-shadow:0 10px 26px rgba(2, 132, 199, .38), inset 0 1px 0 rgba(255,255,255,.28);
}
.sc-scene-btn[data-scene="sunset"]{
  background:linear-gradient(155deg, rgba(190, 24, 93, 0.62) 0%, rgba(244, 63, 94, 0.58) 45%, rgba(251, 146, 60, 0.48) 100%);
  border-color:rgba(251, 207, 232, .55);
  box-shadow:0 6px 18px rgba(157, 23, 77, .26), inset 0 1px 0 rgba(255,255,255,.18);
}
.sc-scene-btn[data-scene="sunset"]:hover{
  background:linear-gradient(155deg, rgba(219, 39, 119, 0.78) 0%, rgba(251, 113, 133, 0.68) 55%, rgba(251, 191, 36, 0.45) 100%);
  border-color:rgba(255, 228, 230, .8);
  filter:saturate(1.06);
  box-shadow:0 10px 26px rgba(190, 24, 93, .34), inset 0 1px 0 rgba(255,255,255,.22);
}
.sc-scene-btn-time{
  font-size:20px;
  font-weight:900;
  line-height:1.05;
  letter-spacing:.05em;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
  text-shadow:0 1px 3px rgba(0,0,0,.28);
}
.sc-scene-btn-label{
  font-size:13px;
  font-weight:800;
  line-height:1.15;
  letter-spacing:.12em;
  opacity:.9;
  text-shadow:0 1px 2px rgba(0,0,0,.18);
}
.sc-scene-btn.active .sc-scene-btn-label{
  font-size:14px;
}
.sc-scene-btn.active{
  text-shadow:none;
  filter:none;
  box-shadow:0 0 0 2px rgba(255,255,255,.55), 0 14px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.9);
}
.sc-scene-btn.active[data-scene="dawn"]{
  background:linear-gradient(180deg, #faf5ff 0%, #fff 100%);
  border-color:#c4b5fd;
  color:#6d28d9;
  box-shadow:0 0 0 2px rgba(139, 92, 246, .35), 0 12px 26px rgba(91, 33, 182, .15), inset 0 1px 0 #fff;
}
.sc-scene-btn.active[data-scene="dawn"] .sc-scene-btn-time{ color:#4c1d95; font-size:21px; text-shadow:none; }
.sc-scene-btn.active[data-scene="dawn"] .sc-scene-btn-label{ color:#7c3aed; opacity:.88; text-shadow:none; }
.sc-scene-btn.active[data-scene="sunrise"]{
  background:linear-gradient(180deg, #fffbeb 0%, #fff 100%);
  border-color:#fcd34d;
  color:#c2410c;
  box-shadow:0 0 0 2px rgba(251, 191, 36, .4), 0 12px 26px rgba(234, 88, 12, .12), inset 0 1px 0 #fff;
}
.sc-scene-btn.active[data-scene="sunrise"] .sc-scene-btn-time{ color:#9a3412; font-size:21px; text-shadow:none; }
.sc-scene-btn.active[data-scene="sunrise"] .sc-scene-btn-label{ color:#ea580c; opacity:.88; text-shadow:none; }
.sc-scene-btn.active[data-scene="noon"]{
  background:linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  border-color:#7dd3fc;
  color:#0369a1;
  box-shadow:0 0 0 2px rgba(14, 165, 233, .35), 0 12px 26px rgba(3, 105, 161, .12), inset 0 1px 0 #fff;
}
.sc-scene-btn.active[data-scene="noon"] .sc-scene-btn-time{ color:#0c4a6e; font-size:21px; text-shadow:none; }
.sc-scene-btn.active[data-scene="noon"] .sc-scene-btn-label{ color:#0284c7; opacity:.88; text-shadow:none; }
.sc-scene-btn.active[data-scene="sunset"]{
  background:linear-gradient(180deg, #fff1f2 0%, #fff 100%);
  border-color:#fda4af;
  color:#be123c;
  box-shadow:0 0 0 2px rgba(244, 63, 94, .3), 0 12px 26px rgba(190, 24, 93, .12), inset 0 1px 0 #fff;
}
.sc-scene-btn.active[data-scene="sunset"] .sc-scene-btn-time{ color:#9f1239; font-size:21px; text-shadow:none; }
.sc-scene-btn.active[data-scene="sunset"] .sc-scene-btn-label{ color:#e11d48; opacity:.88; text-shadow:none; }
.sc-scene-btn.active:hover{
  filter:none;
}
.sc-scene-btn.active[data-scene="dawn"]:hover{
  background:linear-gradient(180deg, #f5f3ff 0%, #fff 100%);
}
.sc-scene-btn.active[data-scene="dawn"]:hover .sc-scene-btn-time{ color:#3b0764; }
.sc-scene-btn.active[data-scene="dawn"]:hover .sc-scene-btn-label{ color:#6d28d9; }
.sc-scene-btn.active[data-scene="sunrise"]:hover{
  background:linear-gradient(180deg, #fef3c7 0%, #fff 100%);
}
.sc-scene-btn.active[data-scene="sunrise"]:hover .sc-scene-btn-time{ color:#7c2d12; }
.sc-scene-btn.active[data-scene="sunrise"]:hover .sc-scene-btn-label{ color:#c2410c; }
.sc-scene-btn.active[data-scene="noon"]:hover{
  background:linear-gradient(180deg, #e0f2fe 0%, #fff 100%);
}
.sc-scene-btn.active[data-scene="noon"]:hover .sc-scene-btn-time{ color:#0a3d5c; }
.sc-scene-btn.active[data-scene="noon"]:hover .sc-scene-btn-label{ color:#0369a1; }
.sc-scene-btn.active[data-scene="sunset"]:hover{
  background:linear-gradient(180deg, #ffe4e6 0%, #fff 100%);
}
.sc-scene-btn.active[data-scene="sunset"]:hover .sc-scene-btn-time{ color:#881337; }
.sc-scene-btn.active[data-scene="sunset"]:hover .sc-scene-btn-label{ color:#be123c; }
.sc-scene-btn:active{
  transform:translateY(0);
}
.sc-summary-grid{display:none;}
.sc-item{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.24);border-radius:12px;padding:8px 5px;text-align:center;cursor:pointer;transition:all .2s ease;}
.sc-item:hover{transform:translateY(-1px);box-shadow:0 6px 12px rgba(0,0,0,.18);}
.sc-item.active{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.3);box-shadow:0 8px 14px rgba(255,255,255,.2);}
.sc-item span{display:block;font-size:10px;color:#fff;margin-bottom:3px;letter-spacing:.8px;}
.sc-item strong{color:#fff;font-size:13px;}
.sc-date-line{font-size:11px;color:#fff;letter-spacing:.6px;background:rgba(0,0,0,.18);padding:4px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.2);}
.sc-message{min-height:18px;font-size:12px;color:#fff;letter-spacing:.4px;background:rgba(0,0,0,.16);padding:4px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.18);}
.sc-error{color:#c84242;} .sc-calculating{color:#5d6a7f;}
.sc-card.sc-phase-dawn{ --sky-top:#6950a1; --sky-bottom:#f7a76d; }
.sc-card.sc-phase-sunrise{ --sky-top:#ffb17a; --sky-bottom:#ff7f8d; }
.sc-card.sc-phase-day{ --sky-top:#8bd3ff; --sky-bottom:#4f9bff; }
.sc-card.sc-phase-noon{ --sky-top:#73c7ff; --sky-bottom:#3d8fff; }
.sc-card.sc-phase-sunset{ --sky-top:#ff9f68; --sky-bottom:#c55ea0; }
.sc-card.sc-phase-night{ --sky-top:#17264d; --sky-bottom:#0b1128; }
.sc-card.sc-phase-night .sc-sun{box-shadow:0 0 15px #fff,0 0 26px #9ec8ff;background:#f0f6ff;}
.sc-scanlines{
  position:absolute; inset:0;
  border-radius:34px;
  overflow:hidden;
  background:linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.05) 50%);
  background-size:100% 4px;
  pointer-events:none;
  z-index:50;
}
@keyframes scSunPulse {
  0%,100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.25); opacity: 0.8; }
}

/* ------------------------------------------------------------
   Square (1×1) layout — homepage tiles / compact embeds
   Keep original scenery + controls; landscape ~55% of card.
------------------------------------------------------------ */
.sc-widget-wrap.sc-layout-square{
  height:100%;
  min-height:0;
  padding:0;
  align-items:stretch;
}
/* Also kill plugin 18px radius on square content when embedded */
.sc-widget-wrap.sc-layout-square .sc-card{
  max-width:none;
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.sc-widget-wrap.sc-layout-square .sc-card:hover{
  transform:none;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.sc-widget-wrap.sc-layout-square .sc-scanlines{
  border-radius:18px;
}
.sc-widget-wrap.sc-layout-square .sc-landscape{
  flex:1.35 1 48%;
  height:auto;
  /* Absolute children don't give intrinsic height — keep a real floor. */
  min-height:130px;
  border-radius:18px 18px 0 0;
}
.sc-widget-wrap.sc-layout-square .sc-content{
  flex:0 0 auto;
  margin-top:0;
  padding:10px 10px 12px;
  border-radius:0 0 18px 18px;
}
.sc-widget-wrap.sc-layout-square .sc-overlay-top{
  top:6px;
  left:6px;
  right:6px;
  gap:4px;
}
.sc-widget-wrap.sc-layout-square .sc-region,
.sc-widget-wrap.sc-layout-square .sc-phase-badge{
  font-size:9px;
  padding:4px 8px;
}
.sc-widget-wrap.sc-layout-square .sc-overlay-top .sc-date-trigger{
  min-height:0;
}
.sc-widget-wrap.sc-layout-square .sc-main-temp-top{
  font-size:clamp(22px, 9vw, 34px);
  font-weight:900;
  letter-spacing:.01em;
  line-height:.95;
  text-shadow:0 2px 10px rgba(47, 34, 22, .28), 0 1px 0 rgba(47, 34, 22, .2);
}
.sc-widget-wrap.sc-layout-square .sc-main-time-row{
  margin:2px 0 0 0;
  gap:6px;
}
.sc-widget-wrap.sc-layout-square .sc-current-status-top{
  font-size:10px;
}
.sc-widget-wrap.sc-layout-square .sc-current-status-top [data-active-scene-emoji]{
  display:none;
}
.sc-widget-wrap.sc-layout-square .sc-overlay-bottom{
  display:none;
}
.sc-widget-wrap.sc-layout-square .sc-panel-status{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  margin:0 0 8px;
  text-align:center;
}
.sc-widget-wrap.sc-layout-square .sc-panel-status .sc-date-line{
  display:none;
}
.sc-widget-wrap.sc-layout-square .sc-panel-status .sc-message{
  position:static;
  width:auto;
  max-width:100%;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:rgba(79, 54, 30, .62);
  font-size:12px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.04em;
  text-shadow:none;
}
.sc-widget-wrap.sc-layout-square .sc-scene-switch{
  gap:3px;
  margin-bottom:5px;
}
.sc-widget-wrap.sc-layout-square .sc-scene-cell{
  min-width:0;
  overflow:visible;
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn{
  gap:0;
  padding:2px 1px;
  min-height:0;
  height:auto;
  border-radius:6px;
  aspect-ratio:auto;
  overflow:hidden;
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn-time,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active .sc-scene-btn-time,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="dawn"] .sc-scene-btn-time,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunrise"] .sc-scene-btn-time,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="noon"] .sc-scene-btn-time,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunset"] .sc-scene-btn-time{
  /* 固定 px，禁止 cqi：格子过窄时 42cqi 会撑爆并横向重叠 */
  font-size:9px !important;
  font-weight:800;
  line-height:1.05 !important;
  letter-spacing:0;
  white-space:nowrap;
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn-label,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active .sc-scene-btn-label,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="dawn"] .sc-scene-btn-label,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunrise"] .sc-scene-btn-label,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="noon"] .sc-scene-btn-label,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunset"] .sc-scene-btn-label{
  font-size:8px !important;
  font-weight:700;
  letter-spacing:0;
  line-height:1.05 !important;
  opacity:.8;
  white-space:nowrap;
}
.sc-widget-wrap.sc-layout-square .sc-info-btn,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="dawn"] .sc-info-btn,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="sunrise"] .sc-info-btn,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="noon"] .sc-info-btn,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="sunset"] .sc-info-btn{
  /* 1×1 太窄，ⓘ 会压到邻格 */
  display:none;
}
.sc-widget-wrap.sc-layout-square .sc-tabs{
  gap:4px;
  margin-bottom:5px;
}
.sc-widget-wrap.sc-layout-square .sc-tab{
  min-height:26px;
  padding:4px 3px;
  font-size:10px;
  font-weight:700;
  letter-spacing:0;
  border-radius:7px;
  line-height:1.1;
  white-space:nowrap;
}
.sc-widget-wrap.sc-layout-square .sc-row{
  margin-bottom:5px;
}
.sc-widget-wrap.sc-layout-square .sc-label{
  font-size:10px;
  margin-bottom:3px;
}
.sc-widget-wrap.sc-layout-square .sc-input{
  padding:7px 9px;
  font-size:12px;
  border-radius:9px;
}
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn{
  --uv-radius:9px;
  --white:#fff8ef;
  --purple-100:#e8c994;
  --purple-200:#d4a85c;
  --purple-300:#c4893a;
  --purple-400:#9c6a2c;
  --purple-500:#6b4420;
  width:100%;
  max-width:100%;
  height:30px;
  margin:0;
  font-size:11px;
  letter-spacing:0;
}
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn.sc-btn-remote{
  --white:#fff8ef;
  --purple-100:#e2d4bc;
  --purple-200:#c9ad7e;
  --purple-300:#b08a4a;
  --purple-400:#8a5f28;
  --purple-500:#5c3d1a;
}
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn .sc-uv-wrap{
  transform:none;
  padding:2px;
}
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn .sc-uv-bg::before{
  filter:none;
  box-shadow:0 2px 6px rgba(107, 68, 32, .22);
}
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn.sc-btn-remote .sc-uv-bg::before{
  box-shadow:0 2px 6px rgba(92, 61, 26, .2);
}
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn .sc-uv-content{
  gap:8px;
  padding:0 12px;
}
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn .sc-uv-char span{
  font-size:13px;
  font-weight:700;
}
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn .sc-uv-icon div{
  width:18px;
  transform:scale(.85);
}
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn .sc-uv-icon div::before,
.sc-widget-wrap.sc-layout-square .sc-uiverse-btn .sc-uv-icon div::after{
  width:11px;
}
.sc-widget-wrap.sc-layout-square .sc-uv-splash{
  display:none;
}

/* Athens warm palette — square embed only */
.sc-widget-wrap.sc-layout-square .sc-card{
  background:linear-gradient(180deg, #f7f3eb 0%, #efe7da 100%);
  box-shadow:0 8px 22px rgba(79, 54, 30, .1);
  --sky-top:#b7c2c6;
  --sky-mid:#d8c8b0;
  --sky-bottom:#f0e2c4;
  --wash-a:rgba(255, 248, 236, .55);
  --wash-b:rgba(214, 196, 168, .42);
  --wash-c:rgba(170, 186, 186, .35);
}
.sc-widget-wrap.sc-layout-square .sc-card:hover{
  box-shadow:0 8px 22px rgba(79, 54, 30, .1);
}
.sc-widget-wrap.sc-layout-square .sc-card.sc-phase-dawn{
  --sky-top:#7d728c;
  --sky-mid:#c9a892;
  --sky-bottom:#f0d2b0;
  --wash-a:rgba(232, 214, 236, .4);
  --wash-b:rgba(255, 206, 170, .45);
  --wash-c:rgba(140, 130, 150, .28);
}
.sc-widget-wrap.sc-layout-square .sc-card.sc-phase-sunrise{
  --sky-top:#e89a6a;
  --sky-mid:#f0c488;
  --sky-bottom:#f7ebc4;
  --wash-a:rgba(255, 236, 196, .55);
  --wash-b:rgba(255, 178, 120, .4);
  --wash-c:rgba(255, 214, 160, .35);
}
.sc-widget-wrap.sc-layout-square .sc-card.sc-phase-day,
.sc-widget-wrap.sc-layout-square .sc-card.sc-phase-noon{
  --sky-top:#8eafc0;
  --sky-mid:#c5d4c8;
  --sky-bottom:#ebe0c4;
  --wash-a:rgba(255, 252, 245, .42);
  --wash-b:rgba(186, 210, 214, .35);
  --wash-c:rgba(214, 198, 164, .28);
}
.sc-widget-wrap.sc-layout-square .sc-card.sc-phase-sunset{
  --sky-top:#c46a52;
  --sky-mid:#e09a68;
  --sky-bottom:#f0d0a0;
  --wash-a:rgba(255, 214, 176, .5);
  --wash-b:rgba(220, 120, 96, .35);
  --wash-c:rgba(255, 188, 130, .32);
}
.sc-widget-wrap.sc-layout-square .sc-card.sc-phase-night{
  --sky-top:#2a2536;
  --sky-mid:#3d3240;
  --sky-bottom:#5a4636;
  --wash-a:rgba(180, 170, 200, .12);
  --wash-b:rgba(90, 70, 50, .35);
  --wash-c:rgba(40, 36, 54, .4);
}

/* Square scenery: watercolor sky + low tangible hills/water/flora */
.sc-widget-wrap.sc-layout-square .sc-landscape{
  isolation:isolate;
}
.sc-widget-wrap.sc-layout-square .sc-sky{
  background:
    radial-gradient(ellipse 85% 70% at 18% 22%, var(--wash-a) 0%, transparent 62%),
    radial-gradient(ellipse 75% 60% at 82% 28%, var(--wash-c) 0%, transparent 58%),
    radial-gradient(ellipse 95% 55% at 48% 92%, var(--wash-b) 0%, transparent 64%),
    radial-gradient(ellipse 60% 40% at 60% 45%, rgba(255,255,255,.18) 0%, transparent 70%),
    linear-gradient(168deg, var(--sky-top) 0%, var(--sky-mid) 48%, var(--sky-bottom) 100%);
}
.sc-widget-wrap.sc-layout-square .sc-sky::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 50% 35% at 30% 60%, rgba(255,255,255,.2) 0%, transparent 70%),
    radial-gradient(ellipse 45% 30% at 70% 70%, rgba(255, 236, 210, .18) 0%, transparent 72%);
  mix-blend-mode:soft-light;
  pointer-events:none;
}
.sc-widget-wrap.sc-layout-square .sc-sky::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:34%;
  background:linear-gradient(180deg, transparent 0%, rgba(255, 248, 236, .2) 100%);
  pointer-events:none;
}
.sc-widget-wrap.sc-layout-square .sc-sun{
  z-index:4;
  width:56px;
  height:56px;
  border-radius:50%;
  background:
    radial-gradient(circle at 36% 32%, #fffefb 0%, #fff4d2 36%, #ffd892 72%, rgba(255, 200, 120, .2) 100%);
  box-shadow:
    0 0 16px rgba(255, 248, 230, .95),
    0 0 36px rgba(255, 214, 140, .55),
    0 0 64px rgba(255, 186, 110, .28);
  filter:saturate(1.05);
}
.sc-widget-wrap.sc-layout-square .sc-sun::before{
  inset:-22px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255, 244, 214, .45) 0%, transparent 68%);
  animation:scSunPulse 4.5s ease-in-out infinite;
}
.sc-widget-wrap.sc-layout-square .sc-sun::after{
  inset:-4px;
  border-radius:50%;
  border:0;
  background:radial-gradient(circle, transparent 52%, rgba(255, 255, 255, .18) 68%, transparent 78%);
}

/* Far mountains — in front of sun (ridge occlusion), above ground layers */
.sc-widget-wrap.sc-layout-square .sc-hill-3{
  display:block;
  left:-10%;
  bottom:18%;
  width:120%;
  height:32%;
  z-index:5;
  background:linear-gradient(180deg, rgba(132, 120, 108, .5) 0%, rgba(110, 100, 92, .68) 100%);
  clip-path:polygon(0 100%, 0 62%, 10% 48%, 22% 58%, 36% 34%, 50% 52%, 64% 30%, 78% 50%, 90% 40%, 100% 54%, 100% 100%);
  filter:blur(.35px);
  opacity:.88;
}
.sc-widget-wrap.sc-layout-square .sc-hill-4{
  display:block;
  left:-8%;
  bottom:14%;
  width:116%;
  height:30%;
  z-index:5;
  background:linear-gradient(180deg, rgba(148, 132, 112, .48) 0%, rgba(118, 108, 94, .66) 100%);
  clip-path:polygon(0 100%, 0 66%, 16% 50%, 30% 62%, 46% 42%, 62% 58%, 80% 38%, 100% 56%, 100% 100%);
  opacity:.84;
}

/* Near hills — also mountain layer (can hide sun behind peaks) */
.sc-widget-wrap.sc-layout-square .sc-hill-1{
  left:-4%;
  bottom:8%;
  width:108%;
  height:26%;
  z-index:5;
  background:
    linear-gradient(180deg, rgba(255, 248, 230, .18) 0%, transparent 36%),
    linear-gradient(165deg, #7f9160 0%, #627248 58%, #516039 100%);
  clip-path:polygon(0 100%, 0 58%, 12% 44%, 28% 56%, 44% 36%, 62% 52%, 80% 40%, 100% 50%, 100% 100%);
}

/* Foreground ground slope — stays behind the sun */
.sc-widget-wrap.sc-layout-square .sc-hill-2{
  left:-2%;
  bottom:0;
  width:104%;
  height:16%;
  z-index:3;
  background:
    linear-gradient(180deg, rgba(255, 248, 230, .2) 0%, transparent 40%),
    linear-gradient(165deg, #95a86f 0%, #748754 60%, #5f7044 100%);
  clip-path:polygon(0 100%, 0 62%, 18% 48%, 38% 64%, 58% 46%, 78% 60%, 100% 50%, 100% 100%);
}

/* Water / shore ground — behind the sun */
.sc-widget-wrap.sc-layout-square .sc-ocean{
  display:block;
  left:0;
  right:0;
  bottom:0;
  height:14%;
  z-index:3;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(148, 178, 176, .55) 0%, rgba(118, 150, 152, .72) 55%, rgba(96, 128, 130, .78) 100%);
  border-top:1px solid rgba(255, 248, 236, .28);
}
.sc-widget-wrap.sc-layout-square .sc-reflection{
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  clip-path:none;
  border-radius:999px;
  height:2px;
  opacity:.7;
}
.sc-widget-wrap.sc-layout-square .sc-reflection:nth-child(1){ width:28%; left:12%; top:28%; }
.sc-widget-wrap.sc-layout-square .sc-reflection:nth-child(2){ width:18%; left:48%; top:46%; opacity:.45; }
.sc-widget-wrap.sc-layout-square .sc-reflection:nth-child(3){ width:22%; right:14%; top:34%; left:auto; }
.sc-widget-wrap.sc-layout-square .sc-reflection:nth-child(4){ width:14%; left:36%; top:68%; opacity:.35; }

/* Trees / bushes / grass / blooms */
.sc-widget-wrap.sc-layout-square .sc-flora{
  display:block;
  inset:0;
  z-index:3;
  pointer-events:none;
}
.sc-widget-wrap.sc-layout-square .sc-flora > *{
  position:absolute;
}
.sc-widget-wrap.sc-layout-square .sc-tree{
  bottom:11%;
  width:18px;
  height:42px;
}
.sc-widget-wrap.sc-layout-square .sc-tree::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:3px;
  height:38%;
  transform:translateX(-50%);
  background:linear-gradient(180deg, #7a5a36 0%, #5c4024 100%);
  border-radius:2px;
}
.sc-widget-wrap.sc-layout-square .sc-tree::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:22%;
  width:22px;
  height:28px;
  transform:translateX(-50%);
  background:
    radial-gradient(circle at 50% 70%, #6f864f 0 42%, transparent 43%),
    radial-gradient(circle at 28% 46%, #7d9458 0 34%, transparent 35%),
    radial-gradient(circle at 72% 44%, #6a804b 0 34%, transparent 35%),
    radial-gradient(circle at 50% 28%, #849b5e 0 36%, transparent 37%);
  filter:drop-shadow(0 1px 1px rgba(47, 34, 22, .18));
}
.sc-widget-wrap.sc-layout-square .sc-tree--l1{ left:6%; height:48px; width:20px; }
.sc-widget-wrap.sc-layout-square .sc-tree--l1::after{ width:26px; height:32px; }
.sc-widget-wrap.sc-layout-square .sc-tree--l2{ left:14%; height:36px; width:16px; opacity:.92; }
.sc-widget-wrap.sc-layout-square .sc-tree--l2::after{ width:20px; height:24px; }
.sc-widget-wrap.sc-layout-square .sc-tree--r1{ right:8%; left:auto; height:46px; width:20px; }
.sc-widget-wrap.sc-layout-square .sc-tree--r1::after{ width:25px; height:30px; }
.sc-widget-wrap.sc-layout-square .sc-tree--r2{ right:16%; left:auto; height:34px; width:15px; opacity:.9; }
.sc-widget-wrap.sc-layout-square .sc-tree--r2::after{ width:18px; height:22px; }

.sc-widget-wrap.sc-layout-square .sc-bush{
  bottom:10%;
  width:22px;
  height:14px;
  border-radius:50% 50% 40% 40%;
  background:
    radial-gradient(circle at 30% 55%, #7f965a 0 38%, transparent 40%),
    radial-gradient(circle at 68% 50%, #6f854c 0 40%, transparent 42%),
    radial-gradient(circle at 50% 40%, #8aa463 0 36%, transparent 38%);
}
.sc-widget-wrap.sc-layout-square .sc-bush--a{ left:24%; }
.sc-widget-wrap.sc-layout-square .sc-bush--b{ left:44%; width:18px; height:12px; opacity:.9; }
.sc-widget-wrap.sc-layout-square .sc-bush--c{ right:26%; left:auto; width:24px; height:15px; }

.sc-widget-wrap.sc-layout-square .sc-grass{
  left:0;
  right:0;
  bottom:8%;
  height:18px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 5px,
      rgba(95, 112, 64, .55) 5px 6px,
      transparent 6px 11px,
      rgba(113, 132, 78, .45) 11px 12px
    );
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 55%, #000 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 55%, #000 100%);
  opacity:.85;
}

.sc-widget-wrap.sc-layout-square .sc-bloom{
  bottom:12%;
  width:7px;
  height:7px;
  border-radius:50%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.25),
    0 1px 2px rgba(79, 54, 30, .15);
}
.sc-widget-wrap.sc-layout-square .sc-bloom::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:50%;
  background:inherit;
  opacity:.35;
  filter:blur(2px);
}
.sc-widget-wrap.sc-layout-square .sc-bloom--1{ left:28%; background:#d88a8a; }
.sc-widget-wrap.sc-layout-square .sc-bloom--2{ left:36%; bottom:14%; background:#e2b36a; width:6px; height:6px; }
.sc-widget-wrap.sc-layout-square .sc-bloom--3{ left:52%; background:#c97b9a; }
.sc-widget-wrap.sc-layout-square .sc-bloom--4{ right:34%; left:auto; background:#d8a06a; width:6px; height:6px; }
.sc-widget-wrap.sc-layout-square .sc-bloom--5{ right:28%; left:auto; bottom:15%; background:#cfa0c2; }
.sc-widget-wrap.sc-layout-square .sc-bloom--6{ left:62%; bottom:13%; background:#e0c878; width:5px; height:5px; }

.sc-widget-wrap.sc-layout-square .sc-filter{
  z-index:6;
  opacity:1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, transparent 22%),
    linear-gradient(180deg, transparent 72%, rgba(244, 240, 232, .22) 100%);
  mix-blend-mode:normal;
  pointer-events:none;
}
.sc-widget-wrap.sc-layout-square .sc-scanlines{
  opacity:0;
}
.sc-widget-wrap.sc-layout-square .sc-overlay-top{
  z-index:8;
}
.sc-widget-wrap.sc-layout-square .sc-overlay-bottom{
  display:none;
}
.sc-widget-wrap.sc-layout-square .sc-region,
.sc-widget-wrap.sc-layout-square .sc-phase-badge{
  background:rgba(47, 34, 22, .22);
  border-color:rgba(255, 248, 239, .4);
  box-shadow:0 2px 12px rgba(47, 34, 22, .14);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.sc-widget-wrap.sc-layout-square .sc-panel-status .sc-date-line,
.sc-widget-wrap.sc-layout-square .sc-panel-status .sc-message{
  background:transparent;
  border:0;
  color:rgba(79, 54, 30, .62);
  text-shadow:none;
}
.sc-widget-wrap.sc-layout-square .sc-content{
  margin-top:0;
  background:rgba(250, 247, 240, .96);
  border-top:1px solid rgba(156, 106, 44, .12);
  backdrop-filter:blur(10px) saturate(115%);
  -webkit-backdrop-filter:blur(10px) saturate(115%);
}

/* Four time buttons: soft cream + gold outline */
.sc-widget-wrap.sc-layout-square .sc-scene-btn,
.sc-widget-wrap.sc-layout-square .sc-scene-btn[data-scene="dawn"],
.sc-widget-wrap.sc-layout-square .sc-scene-btn[data-scene="sunrise"],
.sc-widget-wrap.sc-layout-square .sc-scene-btn[data-scene="noon"],
.sc-widget-wrap.sc-layout-square .sc-scene-btn[data-scene="sunset"]{
  background:linear-gradient(180deg, #fffaf3 0%, #f3eadc 100%);
  border:1px solid rgba(156, 106, 44, .22);
  color:#7a5a36;
  text-shadow:none;
  box-shadow:none;
  filter:none;
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn-time{
  color:#4f361e;
  text-shadow:none;
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn-label{
  color:#9c6a2c;
  opacity:.78;
  text-shadow:none;
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn[data-scene="dawn"]:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-btn[data-scene="sunrise"]:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-btn[data-scene="noon"]:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-btn[data-scene="sunset"]:hover{
  background:linear-gradient(180deg, #fffdf8 0%, #efe4d2 100%);
  border-color:rgba(156, 106, 44, .4);
  filter:none;
  box-shadow:0 4px 12px rgba(79, 54, 30, .08);
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="dawn"],
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunrise"],
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="noon"],
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunset"]{
  background:linear-gradient(180deg, #fff8ef 0%, #f0e4d0 100%);
  border-color:#9c6a2c;
  color:#9c6a2c;
  box-shadow:0 0 0 1px rgba(156, 106, 44, .18), 0 6px 14px rgba(156, 106, 44, .12);
  filter:none;
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active .sc-scene-btn-time,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="dawn"] .sc-scene-btn-time,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunrise"] .sc-scene-btn-time,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="noon"] .sc-scene-btn-time,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunset"] .sc-scene-btn-time{
  color:#4f361e;
  text-shadow:none;
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active .sc-scene-btn-label,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="dawn"] .sc-scene-btn-label,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunrise"] .sc-scene-btn-label,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="noon"] .sc-scene-btn-label,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunset"] .sc-scene-btn-label{
  color:#9c6a2c;
  opacity:.85;
  text-shadow:none;
}
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="dawn"]:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunrise"]:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="noon"]:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-btn.active[data-scene="sunset"]:hover{
  background:linear-gradient(180deg, #fffaf3 0%, #ecdfc8 100%);
}
.sc-widget-wrap.sc-layout-square .sc-info-btn,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="dawn"] .sc-info-btn,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="sunrise"] .sc-info-btn,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="noon"] .sc-info-btn,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="sunset"] .sc-info-btn{
  background:#fffaf3;
  border:1px solid rgba(156, 106, 44, .4);
  color:#9c6a2c;
  box-shadow:0 1px 4px rgba(79, 54, 30, .1);
}
.sc-widget-wrap.sc-layout-square .sc-info-btn:hover,
.sc-widget-wrap.sc-layout-square .sc-info-btn[aria-expanded="true"],
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="dawn"] .sc-info-btn:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="dawn"] .sc-info-btn[aria-expanded="true"],
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="sunrise"] .sc-info-btn:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="sunrise"] .sc-info-btn[aria-expanded="true"],
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="noon"] .sc-info-btn:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="noon"] .sc-info-btn[aria-expanded="true"],
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="sunset"] .sc-info-btn:hover,
.sc-widget-wrap.sc-layout-square .sc-scene-cell[data-scene-cell="sunset"] .sc-info-btn[aria-expanded="true"]{
  background:#9c6a2c;
  border-color:#9c6a2c;
  color:#fff8ef;
}
.sc-widget-wrap.sc-layout-square .sc-tab{
  border:1px solid rgba(156, 106, 44, .28);
  background:rgba(255, 250, 243, .72);
  color:#7a5a36;
  box-shadow:none;
}
.sc-widget-wrap.sc-layout-square .sc-tab.active{
  background:#9c6a2c;
  border-color:#9c6a2c;
  color:#fff8ef;
  box-shadow:0 4px 12px rgba(156, 106, 44, .2);
}
.sc-widget-wrap.sc-layout-square .sc-label{
  color:#7a5a36;
  text-shadow:none;
}
.sc-widget-wrap.sc-layout-square .sc-input{
  border:1px solid rgba(156, 106, 44, .28);
  background:#fffaf3;
  color:#4f361e;
}
.sc-widget-wrap.sc-layout-square .sc-input::placeholder{
  color:rgba(79, 54, 30, .42);
}
.sc-widget-wrap.sc-layout-square .sc-input:focus{
  border-color:#9c6a2c;
  box-shadow:0 0 0 3px rgba(156, 106, 44, .16);
}
.sc-widget-wrap.sc-layout-square .sc-suggestions{
  background:#4f361e;
  border-color:rgba(156, 106, 44, .35);
}
.sc-widget-wrap.sc-layout-square .sc-suggest-item:hover{
  background:rgba(156, 106, 44, .35);
}

@media (max-width: 640px){
  .sc-widget-wrap.sc-layout-square .sc-content{
    margin-top:-12px;
    padding:6px 6px 7px;
  }
  .sc-widget-wrap.sc-layout-square .sc-tab{
    min-height:24px;
    padding:3px 3px;
    font-size:9px;
  }
  .sc-widget-wrap.sc-layout-square .sc-uiverse-btn{
    height:28px;
  }
  .sc-widget-wrap.sc-layout-square .sc-uiverse-btn .sc-uv-char span{
    font-size:10px;
  }
}
