/* ASİ HABER Portal Pro v31 — integrated finance hero and genuinely hourly weather data. */
.asi31-finance-page .asi31-slider{background:linear-gradient(112deg,var(--asi30-hero-left),var(--asi30-hero-right));border:1px solid #d8e6f4;box-shadow:0 24px 55px rgba(8,32,64,.17);border-radius:22px}
.asi31-finance-page .asi31-hero-link{display:grid;grid-template-columns:51% 49%;background:linear-gradient(115deg,var(--asi30-hero-left),var(--asi30-hero-right));}
.asi31-finance-page .asi31-hero-copy{z-index:2;background:transparent;isolation:auto;padding:clamp(22px,4vw,68px);}
.asi31-finance-page .asi31-hero-copy:after{content:none!important}
.asi31-finance-page .asi31-hero-kicker{font-size:11px;font-weight:850;letter-spacing:.12em;color:#c9e7fa;display:inline-flex;align-items:center;gap:8px}
.asi31-finance-page .asi31-hero-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:#eb4a66;box-shadow:0 0 0 5px #ef4e6530}
.asi31-finance-page .asi31-hero-copy h2{color:var(--asi30-hero-text);font-size:clamp(26px,3vw,48px);line-height:1.16;text-wrap:balance;text-shadow:0 3px 14px rgba(4,19,41,.16)}
.asi31-finance-page .asi31-hero-visual{z-index:1;background:linear-gradient(120deg,#132a4b,#225b81)}
.asi31-finance-page .asi31-hero-visual:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--asi30-hero-right) 0%,rgba(16,42,74,.56) 15%,transparent 55%);}
.asi31-finance-page .asi31-hero-visual img{object-position:center;object-fit:cover}
.asi31-finance-page .asi31-hero-visual.is-fallback{background:#0f2b45}
.asi31-finance-page .asi31-hero-visual.is-fallback img{opacity:.9}
.asi31-finance-page .asi30-slide-index button{border-color:#ffffff37;background:rgba(255,255,255,.14);backdrop-filter:blur(6px)}
.asi31-finance-page .asi30-slide-index button.is-current{background:linear-gradient(135deg,#e3274d,#fe7351);box-shadow:0 0 0 4px #ff8b7b25,0 8px 20px #0004}
.asi31-finance-page .asi30-four-cards .asi29-small-story{border:1px solid #e4eaf2;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(17,39,64,.08)}
.asi31-finance-page .asi30-four-cards .asi29-small-story h3{margin:0;padding:10px 12px 13px}
/* Asset pictograms (the percentage chips remain linked to verified API changes). */
.asi31-finance-page .asi30-price-row{gap:8px}
.asi31-asset-icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:10px;font-size:14px;font-weight:950;background:#eaf2fd;color:#255fba;box-shadow:inset 0 0 0 1px rgba(0,0,0,.03)}
.asi31-icon-gold{background:linear-gradient(135deg,#fff2bc,#ffe5a2);color:#aa7300;font-size:12px}
.asi31-icon-crypto{background:#fff0d4;color:#df8d08;font-size:17px}
.asi31-finance-page .asi30-price-asset{flex:1}
.asi31-finance-page .asi30-market-card{border-radius:18px;box-shadow:0 10px 35px rgba(17,38,65,.09)}
.asi31-finance-page .asi30-market-heading{background:linear-gradient(120deg,#f4f8fd,#fff)}
.asi31-finance-page .asi30-change{animation:asi31-pop .6s ease both}
@keyframes asi31-pop{from{transform:translateY(5px) scale(.96);opacity:.7}to{transform:translateY(0) scale(1);opacity:1}}
/* Premium weather heading: location, location permission button, close as three clear groups. */
.hp7-header.asi11-header .asi11-weather-panel{width:min(660px,calc(100vw - 18px));max-height:min(780px,90vh);overflow-y:auto;padding:17px!important;box-shadow:0 28px 74px rgba(7,30,61,.27)}
.hp7-header.asi11-header .asi11-weather-panel .asi26-weather-head{padding:12px 13px!important;border-radius:18px!important;margin-bottom:13px!important;background:linear-gradient(125deg,rgba(193,224,247,.16),rgba(119,165,218,.075));border:1px solid rgba(173,205,245,.23)!important;gap:9px!important}
.hp7-header.asi11-header .asi26-weather-heading{flex:1 1 205px}
.hp7-header.asi11-header .asi26-weather-city{font-size:17px!important;line-height:1.2!important}
.hp7-header.asi11-header .asi26-forecast-caption{font-size:11px!important;letter-spacing:.02em}
.hp7-header.asi11-header .asi26-weather-tools{gap:8px;flex-wrap:nowrap}
.hp7-header.asi11-header .asi16-weather-location{box-shadow:0 4px 18px rgba(29,113,184,.25)!important;letter-spacing:0!important}
.hp7-header.asi11-header .asi11-weather-close{width:39px;min-width:39px;height:39px;box-shadow:inset 0 0 0 1px #ffffff40}
/* Hourly graph stays beneath temperature, inside the animated condition-specific scene. */
.hp7-header.asi11-header .asi25-weather-summary{min-height:300px!important;gap:5px!important;padding:17px 14px 15px!important}
.asi31-hourly{width:100%;min-width:0;margin-top:10px;border-radius:13px;padding:10px 10px 9px;background:rgba(8,24,47,.26);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(7px);color:#fff;position:relative;z-index:3}
.asi31-hourly-title{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:0 3px 5px;font-size:11px;font-weight:800;letter-spacing:.015em;color:#fff}
.asi31-hourly-title>span:last-child{color:#bfe9ff}
.asi31-hourly-chart{display:block;width:100%;height:50px;overflow:visible;filter:drop-shadow(0 2px 5px rgba(2,22,45,.25))}
.asi31-hourly-points{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;align-items:center}
.asi31-hourly-point{min-width:0;display:flex;flex-direction:column;gap:3px;align-items:center;text-align:center;color:#f4faff;font-variant-numeric:tabular-nums;font-size:10px}
.asi31-hourly-point strong{font-size:12px;color:#fff;font-weight:900}
.asi31-hourly-point b{font-size:10px;color:#cdf0ff;border-radius:8px;background:rgba(255,255,255,.12);padding:3px 2px;min-width:90%}
.asi31-hourly-empty{margin:5px 0 0;color:#e1edfa;font-size:11px;text-align:center}
@media(max-width:740px){
 .hp7-header.asi11-header .asi11-weather-panel{width:calc(100vw - 16px)!important;max-width:100%;left:50%;padding:12px!important}
 .hp7-header.asi11-header .asi26-weather-head{flex-direction:column;align-items:stretch!important}
 .hp7-header.asi11-header .asi26-weather-heading{flex:1 1 auto;width:100%}
 .hp7-header.asi11-header .asi26-weather-tools{justify-content:space-between;width:100%}
 .hp7-header.asi11-header .asi25-weather-summary{min-height:282px!important}
 .asi31-hourly{padding:9px 4px}
 .asi31-hourly-title{font-size:10px}
 .asi31-hourly-point{font-size:9px}.asi31-hourly-point strong{font-size:11px}.asi31-hourly-point b{font-size:9px}
 .asi31-finance-page .asi31-hero-link{grid-template-columns:56% 44%}
 .asi31-finance-page .asi31-hero-copy{padding:14px 10px 14px 13px}
 .asi31-finance-page .asi31-hero-copy h2{font-size:clamp(17px,4.7vw,27px)}
 .asi31-finance-page .asi31-hero-kicker{font-size:9px}
 .asi31-finance-page .asi31-hero-visual:after{background:linear-gradient(90deg,var(--asi30-hero-right),rgba(16,42,74,.42) 25%,transparent 65%)}
}
@media(prefers-reduced-motion:reduce){.asi31-finance-page *, .asi31-hourly *{animation:none!important;transition:none!important}}

/* Small, shaded banknotes and bullion. The names remain visible beside them. */
.asi31-banknote,
.asi31-bullion {
  position: relative;
  isolation: isolate;
}
.asi31-banknote {
  --note-ink: #245887;
  --note-light: #d7ecff;
  --note-dark: #9ac8ec;
  color: var(--note-ink);
  background: #eff5fb;
}
.asi31-note-usd { --note-ink: #225e43; --note-light: #d8f1d9; --note-dark: #94c99f; background: #edf7ef; }
.asi31-note-gbp { --note-ink: #60448a; --note-light: #ece2fa; --note-dark: #c2a9e0; background: #f5effb; }
.asi31-note-cny { --note-ink: #8c3748; --note-light: #ffe2e4; --note-dark: #e8a7ad; background: #fceff0; }
.asi31-banknote::before,
.asi31-banknote > span {
  grid-area: 1 / 1;
  width: 22px;
  height: 14px;
  border: 1px solid var(--note-ink);
  border-radius: 3px;
}
.asi31-banknote::before {
  content: "";
  background: var(--note-dark);
  transform: translate(-1px, 1px) rotate(-16deg);
  opacity: .75;
}
.asi31-banknote > span {
  display: grid;
  place-items: center;
  font: 800 10px/1 system-ui, sans-serif;
  color: var(--note-ink);
  background: radial-gradient(ellipse at center, var(--note-light) 0 31%, transparent 33%),
    repeating-linear-gradient(76deg, transparent 0 2px, #fff5 2px 3px),
    linear-gradient(110deg, var(--note-dark), var(--note-light) 53%, var(--note-dark));
  box-shadow: inset 0 0 0 1px var(--note-light), 0 1px 2px #14324b30;
  transform: translate(1px, -1px) rotate(-6deg);
}
.asi31-bullion { background: #fff5d9; }
:is(.asi31-gold-bar, .asi31-gold-stack) > span {
  display: block;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  clip-path: polygon(20% 11%, 83% 11%, 100% 71%, 91% 94%, 6% 94%, 0 71%);
  background: linear-gradient(175deg, #fff1ae 0%, #f4c75b 57%, #bd7b18 61%, #df9a23 79%, #a77019 100%);
  box-shadow: inset 0 1px 3px #99621380;
  transform: rotate(-10deg);
}
.asi31-gold-stack::before {
  content: "";
  position: absolute;
  inset: auto calc(50% - 11px) calc(50% - 10px);
  width: 22px;
  height: 11px;
  border-radius: 4px;
  background: linear-gradient(160deg, #e7ae40, #985914);
  transform: rotate(12deg);
  z-index: -1;
}
:is(.asi31-gold-coin, .asi31-gold-quarter) > span {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  border: 1px solid #b1791b;
  border-radius: 50%;
  background: linear-gradient(140deg, #fff1b2, #efc255 52%, #d69422 88%);
  box-shadow: inset 0 0 0 1px #ffe69b, 1px 1px 0 #ad7117;
}
.asi31-gold-quarter > span { width: 15px; height: 15px; }
:is(.asi31-gold-coin, .asi31-gold-quarter) > span::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px dotted #a57227;
  border-radius: 50%;
  background: radial-gradient(circle, #c7933580 0 19%, transparent 21% 31%, #fff6cf60 34%);
}
