html, body, #container
{
   width: 100%;
   height: 100%;
}
body
{
   background-color: #2B2B2B;
   color: #FFFFFF;
   font-family: "Segoe UI";
   font-weight: normal;
   font-size: 13px;
   line-height: 1.1875;
   margin: 0;
   padding: 0;
   overflow-x: hidden;
   overflow-y: hidden;
}
a
{
   color: #FFFFFF;
   text-decoration: none;
}
a:hover
{
   color: #FFFFFF;
   text-decoration: none;
}
input:focus, textarea:focus, select:focus
{
   outline: none;
}
#head
{
   background-color: rgba(32,32,32,0.86);
   background-image: none;
   border-radius: 0px;
   box-sizing: border-box;
}
#home_space
{
   background-clip: padding-box;
   background-color: rgba(25,26,28,0.78);
   background-image: none;
   border-radius: 0px;
   margin: 0;
}
#home_space
{
   display: inline-flex;
}
#Shape5
{
   width: 39px;
   height: 520px;
   background-color: transparent;
   background-image: none;
   border: 0px #FFFFFF solid;
}
#Shape5_text
{
   position: absolute;
   pointer-events: none;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
    left: 2.56%;
   top: 0.19%;
   width: 94.87%;
   height: 99.62%;
   box-sizing: border-box;
   overflow: hidden;
   text-align: center;
   word-wrap: break-word;
}
#Shape1
{
   width: 21px;
   height: 520px;
   background-color: transparent;
   background-image: none;
   border: 0px #FFFFFF solid;
}
#Shape1_text
{
   position: absolute;
   pointer-events: none;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
    left: 4.76%;
   top: 0.19%;
   width: 90.48%;
   height: 99.62%;
   box-sizing: border-box;
   overflow: hidden;
   text-align: center;
   word-wrap: break-word;
}
#Shape2
{
   width: 21px;
   height: 520px;
   background-color: transparent;
   background-image: none;
   border: 0px #FFFFFF solid;
}
#Shape2_text
{
   position: absolute;
   pointer-events: none;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
    left: 4.76%;
   top: 0.19%;
   width: 90.48%;
   height: 99.62%;
   box-sizing: border-box;
   overflow: hidden;
   text-align: center;
   word-wrap: break-word;
}
#Shape3
{
   width: 39px;
   height: 520px;
   background-color: transparent;
   background-image: none;
   border: 0px #FFFFFF solid;
}
#Shape3_text
{
   position: absolute;
   pointer-events: none;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
    left: 2.56%;
   top: 0.19%;
   width: 94.87%;
   height: 99.62%;
   box-sizing: border-box;
   overflow: hidden;
   text-align: center;
   word-wrap: break-word;
}
#Shape4
{
   width: 39px;
   height: 520px;
   background-color: transparent;
   background-image: none;
   border: 0px #FFFFFF solid;
}
#Shape4_text
{
   position: absolute;
   pointer-events: none;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
    left: 2.56%;
   top: 0.19%;
   width: 94.87%;
   height: 99.62%;
   box-sizing: border-box;
   overflow: hidden;
   text-align: center;
   word-wrap: break-word;
}
#page_footer
{
   background-color: transparent;
   background-image: none;
   border-radius: 0px;
   box-sizing: border-box;
}

.head-glass{
  background: rgba(32,32,32,0.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
  color: white;
  overflow: hidden;
}
  body {
    margin: 0;
    min-height: 100vh;
    transition: background-image 1s ease-in-out;
  }

  :root {
    --bg-panel: rgba(26, 31, 40, 0.86);
    --bg-soft: rgba(255, 255, 255, 0.05);
    --bg-hover: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.16);
    --text: #f5f7ff;
    --subtext: #c2cada;
    --accent: #7f79ff;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  #widgetRadiosRoot,
  #widgetRadiosRoot * {
    box-sizing: border-box;
  }

  #widgetRadiosRoot {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    background: transparent;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--text);
    --wr-player-text: #fff;
    --wr-player-sub: #b6bdc8;
    --wr-player-accent: #785fdf;
    --wr-player-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    --intro-ease: cubic-bezier(0.16, 1, 0.3, 1);
  }

  #widgetRadiosRoot .station-list::-webkit-scrollbar { width: 8px; }
  #widgetRadiosRoot .station-list::-webkit-scrollbar-track { background: #1a1a1a; }
  #widgetRadiosRoot .station-list::-webkit-scrollbar-thumb { background: #444; border-radius: 6px; }
  #widgetRadiosRoot .station-list::-webkit-scrollbar-thumb:hover { background: #666; }

  @keyframes wrIntroRise {
    0% { opacity: 0; transform: translateY(12px) scale(0.98); filter: blur(2px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  }

  @keyframes wrIntroPop {
    0% { opacity: 0; transform: translateY(8px) scale(0.92); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }

  .page-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0;
    width: 100%;
    height: 47px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
  }

  .head-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    justify-self: end;
    min-width: 0;
    height: 100%;
    margin-right: 20px;
    opacity: 0;
    animation: wrIntroRise 0.56s var(--intro-ease) 0.04s forwards;
  }

  .head-logo-img {
    width: 198px;
    height: 24px;
    border-radius: 0;
    object-fit: contain;
    object-position: left center;
    box-shadow: none;
  }

  .head-logo-text strong {
    display: block;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .head-logo-text span {
    font-size: 11px;
    color: var(--subtext);
  }

  #search-box { --r: 120; --g: 150; --b: 255; --toolbar-pad: 118px; --toolbar-pad-clear: 150px; position: relative; width: min(520px, 100%); max-width: 520px; min-width: 0; height: 36px; }
  .head-search { display: flex; align-items: center; justify-content: center; height: 100%; min-width: 0; }
  #search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
    transition: 0.25s ease;
    opacity: 0;
    animation: wrIntroRise 0.6s var(--intro-ease) 0.14s forwards;
  }
  #search-form:focus-within {
    border-color: rgba(var(--r), var(--g), var(--b), 0.55);
    box-shadow: 0 0 0 1px rgba(var(--r), var(--g), var(--b), 0.16), 0 0 22px rgba(var(--r), var(--g), var(--b), 0.18);
  }
  #search-text {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f5f5f5;
    font-size: 14px;
    padding: 9px var(--toolbar-pad) 9px 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  }
  #search-text::placeholder { color: rgba(255, 255, 255, 0.6); }
  #search-text::-webkit-search-cancel-button, #search-text::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

  #clear-button {
    position: absolute;
    right: var(--toolbar-pad);
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
  }
  #search-box.has-text #clear-button { display: inline-flex; }
  #search-box.has-text #search-text { padding-right: var(--toolbar-pad-clear); }
  #clear-button:hover, .icon-btn:hover { background: var(--bg-hover); }

  .icon-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #img-button { right: 72px; }
  #voice-button { right: 38px; }
  #search-button { right: 4px; }
  .icon-btn img { width: 15px; height: 15px; opacity: 0.9; }

  .history-dropdown {
    position: absolute;
    inset: calc(100% + 6px) 0 auto 0;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(14, 17, 23, 0.95);
    max-height: 220px;
    overflow-y: auto;
    padding: 5px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 0.2s ease;
  }
  .history-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .history-title { font-size: 10px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; }
  .history-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; }
  .history-query, .history-remove, .history-pin, .history-unpin, .history-clear-all {
    border: 0;
    background: transparent;
    color: #e9e9e9;
    cursor: pointer;
    font-family: inherit;
  }
  .history-row { display: flex; align-items: center; gap: 4px; border-radius: 6px; }
  .history-query { flex: 1; text-align: left; padding: 8px 10px; border-radius: 6px; }
  .history-query:hover, .history-remove:hover, .history-pin:hover, .history-unpin:hover, .history-clear-all:hover { background: var(--bg-hover); }
  .history-remove, .history-pin, .history-unpin { width: 30px; height: 30px; border-radius: 6px; }
  .history-empty { font-size: 12px; color: rgba(255,255,255,0.45); padding: 10px; }

  .widget-dock {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-self: start;
    margin-left: 20px;
    gap: 8px;
    height: 100%;
    padding: 0;
    opacity: 0;
    animation: wrIntroRise 0.56s var(--intro-ease) 0.26s forwards;
  }
  .dock-button {
    width: 40px;
    min-width: 40px;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 2px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.22s var(--intro-ease), filter 0.22s ease;
    opacity: 0;
    animation: wrIntroPop 0.44s var(--intro-ease) forwards;
  }
  .widget-dock .dock-button:nth-child(1) { animation-delay: 0.34s; }
  .widget-dock .dock-button:nth-child(2) { animation-delay: 0.4s; }
  .widget-dock .dock-button:nth-child(3) { animation-delay: 0.46s; }
  .widget-dock .dock-button:nth-child(4) { animation-delay: 0.52s; }
  .widget-dock .dock-button:nth-child(5) { animation-delay: 0.58s; }
  .widget-dock .dock-button:nth-child(6) { animation-delay: 0.64s; }
  .dock-button:hover {
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.1);
  }
  .dock-button:active {
    transform: translateY(0) scale(0.96);
    filter: brightness(1.02);
    transition-duration: 0.1s;
  }
  .dock-button.active {
    filter: brightness(1.12);
  }
  .dock-button.active:hover {
    filter: brightness(1.05);
  }
  .dock-button.active:active {
    transform: translateY(0) scale(0.96);
  }
  .dock-button:focus-visible {
    outline: none;
  }
  .dock-button img { width: 15px; height: 15px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3)); }
  .dock-button svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3)); }
  .dock-button span { font-size: 9px; line-height: 1; color: #d3d8e3; transition: color 0.2s ease; }
  .dock-button:hover img { transform: translateY(-1px) scale(1.06); }
  .dock-button:hover svg { transform: translateY(-1px) scale(1.06); }
  .dock-button:hover span { transform: translateY(-1px); }
  .dock-button:hover span { color: #eef1f8; }
  .dock-button.active span { color: #e8e6ff; }
  .dock-button.customized img,
  .dock-button.customized svg { filter: drop-shadow(0 0 8px rgba(122, 184, 255, 0.75)); }
  .dock-button.live img {
    animation: wrDockLivePulse 1.15s ease-in-out infinite;
    filter: drop-shadow(0 0 0 rgba(125, 255, 122, 0.65));
  }
  @keyframes wrDockLivePulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(125, 255, 122, 0.28)); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 12px rgba(125, 255, 122, 0.95)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(125, 255, 122, 0.28)); }
  }

  #widgetRadiosRoot #radioPlayer {
    width: 430px;
    height: 340px;
    max-width: min(430px, calc(100vw - 24px));
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(32, 32, 32, 0.65);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 10px;
    box-shadow: var(--wr-player-shadow);
    color: var(--wr-player-text);
    display: flex;
    flex-direction: column;
    transform-origin: top right;
    transition: 0.35s ease;
    z-index: 9998;
    overflow: hidden;
    box-sizing: border-box;
  }
  #widgetRadiosRoot #radioPlayer.player-hidden {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
    pointer-events: none;
  }

  #widgetRadiosRoot #newsPanel {
    position: fixed;
    left: 50%;
    top: 50%;
    width: min(920px, calc(100vw - 24px));
    height: min(720px, calc(100vh - 24px));
    max-height: calc(100vh - 24px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(22, 22, 22, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--wr-player-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: 0.35s ease;
    box-sizing: border-box;
  }
  #widgetRadiosRoot #newsPanel.player-hidden {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 18px)) scale(0.96);
    pointer-events: none;
  }
  #widgetRadiosRoot #newsPanel .news-panel-toolbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
  }
  #widgetRadiosRoot #newsPanel .news-panel-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--wr-player-text);
    letter-spacing: 0.02em;
  }
  #widgetRadiosRoot #newsPanel .news-panel-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--wr-player-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #widgetRadiosRoot #newsPanel .news-panel-close:hover {
    background: rgba(255, 255, 255, 0.14);
  }
  #widgetRadiosRoot #newsPanel .news-panel-frame {
    flex: 1;
    min-height: 0;
    width: 100%;
    border: 0;
    background: #202020;
  }

  #widgetRadiosRoot #gamesPanel {
    position: fixed;
    left: 50%;
    top: 50%;
    width: min(920px, calc(100vw - 24px));
    height: min(720px, calc(100vh - 24px));
    max-height: calc(100vh - 24px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(22, 22, 22, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--wr-player-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: 0.35s ease;
    box-sizing: border-box;
  }
  #widgetRadiosRoot #gamesPanel.player-hidden {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 18px)) scale(0.96);
    pointer-events: none;
  }
  #widgetRadiosRoot #gamesPanel .games-panel-toolbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
  }
  #widgetRadiosRoot #gamesPanel .games-panel-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--wr-player-text);
    letter-spacing: 0.02em;
  }
  #widgetRadiosRoot #gamesPanel .games-panel-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--wr-player-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #widgetRadiosRoot #gamesPanel .games-panel-close:hover {
    background: rgba(255, 255, 255, 0.14);
  }
  #widgetRadiosRoot #gamesPanel .games-panel-frame {
    flex: 1;
    min-height: 0;
    width: 100%;
    border: 0;
    background: #202020;
  }

  #widgetRadiosRoot #radioPlayer .player-main {
    flex: 1;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-radius: 6px;
    background: #2a2a2a;
    overflow: hidden;
  }

  #widgetRadiosRoot #radioPlayer .header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px;
    margin: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  }
  #widgetRadiosRoot #radioPlayer .header img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    border: 0;
  }
  #widgetRadiosRoot #radioPlayer .header-info h1 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--wr-player-text);
  }
  #widgetRadiosRoot #radioPlayer .header-info span {
    font-size: 10px;
    color: var(--wr-player-sub);
    opacity: 0.9;
    letter-spacing: 0.2px;
  }
  #widgetRadiosRoot #radioPlayer .header-meta {
    margin-top: 6px;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  #widgetRadiosRoot #radioPlayer .header-close {
    margin-left: auto;
    width: 29px;
    height: 29px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #d6d6d6;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  #widgetRadiosRoot #radioPlayer .header-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: scale(1.03);
  }
  #widgetRadiosRoot #radioPlayer .header-close:active {
    background: rgba(255, 255, 255, 0.22);
  }

  #widgetRadiosRoot #radioPlayer .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--wr-player-sub);
    background: rgba(255, 255, 255, 0.05);
  }
  #widgetRadiosRoot #radioPlayer .status-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    opacity: 0.85;
  }
  #widgetRadiosRoot #radioPlayer .status-badge.playing {
    color: #ebffea;
    background: rgba(125, 255, 122, 0.08);
    border-color: rgba(125, 255, 122, 0.18);
  }
  #widgetRadiosRoot #radioPlayer .status-badge.playing::before {
    background: #7dff7a;
    box-shadow: 0 0 0 4px rgba(125, 255, 122, 0.18);
    animation: wr-miniPlayingPulse 1.6s ease-in-out infinite;
  }

  #widgetRadiosRoot #radioPlayer .controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    margin: 0;
    background: rgba(255, 255, 255, 0.015);
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.32);
  }
  #widgetRadiosRoot #radioPlayer .controls button {
    width: 29px;
    height: 29px;
    border: 0;
    border-radius: 6px;
    color: var(--wr-player-text);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    opacity: 0.95;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  #widgetRadiosRoot #radioPlayer .controls button:hover {
    transform: translateY(-1px);
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
  }
  #widgetRadiosRoot #radioPlayer .controls button svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
  }
  #widgetRadiosRoot #radioPlayer #toggleMini {
    margin-left: auto;
    background: transparent;
    opacity: 0.75;
    font-size: 14px;
  }
  #widgetRadiosRoot #radioPlayer #toggleMini:hover {
    background: rgba(255, 255, 255, 0.14);
    opacity: 1;
  }
  #widgetRadiosRoot #radioPlayer #volume {
    width: 88px;
    accent-color: var(--wr-player-accent);
  }

  #widgetRadiosRoot #radioPlayer .station-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    margin: 0;
    background: rgba(0, 0, 0, 0.08);
    border: 0;
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  #widgetRadiosRoot #radioPlayer .station {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.2s ease;
  }
  #widgetRadiosRoot #radioPlayer .station:hover {
    background: rgba(62, 62, 62, 0.9);
    border-color: transparent;
  }
  #widgetRadiosRoot #radioPlayer .station.active {
    background: linear-gradient(90deg, rgba(120, 95, 223, 0.27), rgba(120, 95, 223, 0.13));
    border-color: rgba(120, 95, 223, 0.58);
  }
  #widgetRadiosRoot #radioPlayer .station span {
    font-size: 12px;
    line-height: 1.25;
    color: var(--wr-player-text);
  }

  #widgetRadiosRoot #radioPlayer.corner-hidden {
    width: 48px !important;
    height: 48px !important;
    border-radius: 999px !important;
    padding: 0 !important;
    overflow: hidden;
    z-index: 9999;
    animation: wr-normalEnter 0.25s ease;
  }
  #widgetRadiosRoot #radioPlayer.corner-hidden .header,
  #widgetRadiosRoot #radioPlayer.corner-hidden .station-list,
  #widgetRadiosRoot #radioPlayer.corner-hidden #prevBtn,
  #widgetRadiosRoot #radioPlayer.corner-hidden #playBtn,
  #widgetRadiosRoot #radioPlayer.corner-hidden #nextBtn,
  #widgetRadiosRoot #radioPlayer.corner-hidden #volume,
  #widgetRadiosRoot #radioPlayer.corner-hidden audio {
    display: none !important;
  }
  #widgetRadiosRoot #radioPlayer.corner-hidden .player-main {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  #widgetRadiosRoot #radioPlayer.corner-hidden .controls {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    justify-content: center;
  }
  #widgetRadiosRoot #radioPlayer.corner-hidden #toggleMini {
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 999px;
  }

  @keyframes wr-miniPlayingPulse {
    0% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(1); opacity: 0.85; }
  }
  @keyframes wr-normalEnter {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  @media (max-width: 900px) {
    .page-head { grid-template-columns: 1fr; height: auto; min-height: 47px; row-gap: 0; padding: 0; }
    .head-search { justify-content: stretch; }
    #search-box { width: 100%; max-width: none; }
    #widgetRadiosRoot #radioPlayer { width: min(430px, calc(100vw - 24px)); max-width: min(430px, calc(100vw - 24px)); }
    #widgetRadiosRoot #newsPanel,
    #widgetRadiosRoot #gamesPanel {
      width: calc(100vw - 24px);
      height: min(86vh, 720px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .head-logo,
    #search-form,
    .widget-dock,
    .dock-button,
    .icon-btn {
      animation: none !important;
      opacity: 1 !important;
    }
  }
    :root{ --intro-ease:cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes wrIntroRise{
      0%{ opacity:0; transform:translateY(12px) scale(0.98); filter:blur(2px); }
      100%{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
    }
    @media (prefers-reduced-motion: reduce){
      @keyframes wrIntroRise{
        0%{ opacity:1; transform:none; filter:none; }
        100%{ opacity:1; transform:none; filter:none; }
      }
    }
    .news-title{
      font-size:12px;
      color:#d0d0d0;
      margin:4px auto 8px;
      max-width:220px;
      width:100%;
      box-sizing:border-box;
      text-align:left;
      display:flex;
      justify-content:flex-start;
      align-items:center;
      gap:6px;
      opacity:0;
      animation:wrIntroRise 0.56s var(--intro-ease) 0.04s forwards;
    }
    .news-title-icon{
      width:16px;
      height:16px;
      flex-shrink:0;
      display:block;
      object-fit:contain;
      object-position:center;
    }
    /* Más medios: misma grilla (3 columnas), íconos 62×62. Si no entra en el alto del widget, scrollea sin barra visible. */
    .news-scroll{
      max-height:220px;
      overflow-y:auto;
      overflow-x:hidden;
      padding-right:0;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      -ms-overflow-style:none;
    }
    .news-scroll::-webkit-scrollbar{width:0;background:transparent}
    .news-scroll::-webkit-scrollbar-thumb{background:transparent}
    .news-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      width:100%;
      max-width:220px;
      margin:0 auto;
      justify-content:center;
    }
    .news-btn{
      text-decoration:none;color:#fff;display:flex;flex-direction:column;align-items:center;
      opacity:0;
      animation:wrIntroRise 0.52s var(--intro-ease) forwards;
    }
    .news-btn:nth-child(1){ animation-delay:0.1s; }
    .news-btn:nth-child(2){ animation-delay:0.14s; }
    .news-btn:nth-child(3){ animation-delay:0.18s; }
    .news-btn:nth-child(4){ animation-delay:0.22s; }
    .news-btn:nth-child(5){ animation-delay:0.26s; }
    .news-btn:nth-child(6){ animation-delay:0.3s; }
    .news-card{
      background:transparent;
      border:none;
      border-radius:6px;
      padding:8px;
      text-align:center;
      transition:transform .18s ease, opacity .2s ease;
      will-change:transform;
    }
    .news-btn:hover .news-card{
      transform:translateY(-1px) scale(1.02);
      opacity:.98;
    }
    .news-btn:active .news-card{
      transform:translateY(0) scale(0.98);
      opacity:.9;
    }
    .news-icon{
      width:62px;
      height:62px;
      min-width:62px;
      min-height:62px;
      max-width:62px;
      max-height:62px;
      border-radius:6px;
      display:block;
      margin:0 auto 4px;
      object-fit:contain;
      object-position:center;
      filter:drop-shadow(0 2px 6px rgba(0,0,0,.28));
      transition:transform .2s ease, filter .2s ease;
    }
    .news-btn:hover .news-icon{transform:scale(1.02);filter:drop-shadow(0 4px 9px rgba(0,0,0,.33))}
    .news-label{
      font-size:11px;color:#e6e6e6;text-align:center;margin-top:3px;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
      transition:color .2s ease;
    }
    .news-btn:hover .news-label{color:#fff}
      :root{ --intro-ease:cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes wrIntroRise{
      0%{ opacity:0; transform:translateY(12px) scale(0.98); filter:blur(2px); }
      100%{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
    }
    @media (prefers-reduced-motion: reduce){
      @keyframes wrIntroRise{
        0%{ opacity:1; transform:none; filter:none; }
        100%{ opacity:1; transform:none; filter:none; }
      }
    }
    .news-title{
      font-size:12px;
      color:#d0d0d0;
      margin:4px auto 8px;
      max-width:220px;
      width:100%;
      box-sizing:border-box;
      text-align:left;
      display:flex;
      justify-content:flex-start;
      align-items:center;
      gap:6px;
      opacity:0;
      animation:wrIntroRise 0.56s var(--intro-ease) 0.04s forwards;
    }
    .news-title-icon{
      width:16px;
      height:16px;
      flex-shrink:0;
      display:block;
      object-fit:contain;
      object-position:center;
    }
    .news-scroll{
      max-height:220px;
      overflow-y:auto;
      overflow-x:hidden;
      padding-right:0;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      -ms-overflow-style:none;
    }
    .news-scroll::-webkit-scrollbar{width:0;background:transparent}
    .news-scroll::-webkit-scrollbar-thumb{background:transparent}
    .news-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      width:100%;
      max-width:220px;
      margin:0 auto;
      justify-content:center;
    }
    .news-btn{
      text-decoration:none;color:#fff;display:flex;flex-direction:column;align-items:center;
      opacity:0;
      animation:wrIntroRise 0.52s var(--intro-ease) forwards;
    }
    .news-btn:nth-child(1){ animation-delay:0.1s; }
    .news-btn:nth-child(2){ animation-delay:0.14s; }
    .news-btn:nth-child(3){ animation-delay:0.18s; }
    .news-btn:nth-child(4){ animation-delay:0.22s; }
    .news-btn:nth-child(5){ animation-delay:0.26s; }
    .news-btn:nth-child(6){ animation-delay:0.3s; }
    .news-card{
      background:transparent;
      border:none;
      border-radius:6px;
      padding:8px;
      text-align:center;
      transition:transform .18s ease, opacity .2s ease;
      will-change:transform;
    }
    .news-btn:hover .news-card{
      transform:translateY(-1px) scale(1.02);
      opacity:.98;
    }
    .news-btn:active .news-card{
      transform:translateY(0) scale(0.98);
      opacity:.9;
    }
    .news-icon{
      width:62px;
      height:62px;
      min-width:62px;
      min-height:62px;
      max-width:62px;
      max-height:62px;
      border-radius:6px;
      display:block;
      margin:0 auto 4px;
      object-fit:contain;
      object-position:center;
      filter:drop-shadow(0 2px 6px rgba(0,0,0,.28));
      transition:transform .2s ease, filter .2s ease;
    }
    .news-btn:hover .news-icon{transform:scale(1.02);filter:drop-shadow(0 4px 9px rgba(0,0,0,.33))}
    .news-label{
      font-size:11px;color:#e6e6e6;text-align:center;margin-top:3px;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
      transition:color .2s ease;
    }
    .news-btn:hover .news-label{color:#fff}
      :root{ --intro-ease:cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes wrIntroRise{
      0%{ opacity:0; transform:translateY(12px) scale(0.98); filter:blur(2px); }
      100%{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
    }
    @media (prefers-reduced-motion: reduce){
      @keyframes wrIntroRise{
        0%{ opacity:1; transform:none; filter:none; }
        100%{ opacity:1; transform:none; filter:none; }
      }
    }
    .news-title{
      font-size:12px;
      color:#d0d0d0;
      margin:4px auto 8px;
      max-width:220px;
      width:100%;
      box-sizing:border-box;
      text-align:left;
      display:flex;
      justify-content:flex-start;
      align-items:center;
      gap:6px;
      opacity:0;
      animation:wrIntroRise 0.56s var(--intro-ease) 0.04s forwards;
    }
    .news-title-icon{
      width:16px;
      height:16px;
      flex-shrink:0;
      display:block;
      object-fit:contain;
      object-position:center;
    }
    .news-scroll{
      max-height:220px;
      overflow-y:auto;
      overflow-x:hidden;
      padding-right:0;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      -ms-overflow-style:none;
    }
    .news-scroll::-webkit-scrollbar{width:0;background:transparent}
    .news-scroll::-webkit-scrollbar-thumb{background:transparent}
    .news-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      width:100%;
      max-width:220px;
      margin:0 auto;
      justify-content:center;
    }
    .news-btn{
      text-decoration:none;color:#fff;display:flex;flex-direction:column;align-items:center;
      opacity:0;
      animation:wrIntroRise 0.52s var(--intro-ease) forwards;
    }
    .news-btn:nth-child(1){ animation-delay:0.1s; }
    .news-btn:nth-child(2){ animation-delay:0.14s; }
    .news-btn:nth-child(3){ animation-delay:0.18s; }
    .news-btn:nth-child(4){ animation-delay:0.22s; }
    .news-btn:nth-child(5){ animation-delay:0.26s; }
    .news-btn:nth-child(6){ animation-delay:0.3s; }
    .news-card{
      background:transparent;
      border:none;
      border-radius:6px;
      padding:8px;
      text-align:center;
      transition:transform .18s ease, opacity .2s ease;
      will-change:transform;
    }
    .news-btn:hover .news-card{
      transform:translateY(-1px) scale(1.02);
      opacity:.98;
    }
    .news-btn:active .news-card{
      transform:translateY(0) scale(0.98);
      opacity:.9;
    }
    .news-icon{
      width:62px;
      height:62px;
      min-width:62px;
      min-height:62px;
      max-width:62px;
      max-height:62px;
      border-radius:6px;
      display:block;
      margin:0 auto 4px;
      object-fit:contain;
      object-position:center;
      filter:drop-shadow(0 2px 6px rgba(0,0,0,.28));
      transition:transform .2s ease, filter .2s ease;
    }
    .news-btn:hover .news-icon{transform:scale(1.02);filter:drop-shadow(0 4px 9px rgba(0,0,0,.33))}
    .news-label{
      font-size:11px;color:#e6e6e6;text-align:center;margin-top:3px;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
      transition:color .2s ease;
    }
    .news-btn:hover .news-label{color:#fff}
      :root{ --intro-ease:cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes wrIntroRise{
      0%{ opacity:0; transform:translateY(12px) scale(0.98); filter:blur(2px); }
      100%{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
    }
    @media (prefers-reduced-motion: reduce){
      @keyframes wrIntroRise{
        0%{ opacity:1; transform:none; filter:none; }
        100%{ opacity:1; transform:none; filter:none; }
      }
    }
    .news-title{
      font-size:12px;
      color:#d0d0d0;
      margin:4px auto 8px;
      max-width:220px;
      width:100%;
      box-sizing:border-box;
      text-align:left;
      display:flex;
      justify-content:flex-start;
      align-items:center;
      gap:6px;
      opacity:0;
      animation:wrIntroRise 0.56s var(--intro-ease) 0.04s forwards;
    }
    .news-title-icon{
      width:16px;
      height:16px;
      flex-shrink:0;
      display:block;
      object-fit:contain;
      object-position:center;
    }
    .news-scroll{
      max-height:220px;
      overflow-y:auto;
      overflow-x:hidden;
      padding-right:0;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      -ms-overflow-style:none;
    }
    .news-scroll::-webkit-scrollbar{width:0;background:transparent}
    .news-scroll::-webkit-scrollbar-thumb{background:transparent}
    .news-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      width:100%;
      max-width:220px;
      margin:0 auto;
      justify-content:center;
    }
    .news-btn{
      text-decoration:none;color:#fff;display:flex;flex-direction:column;align-items:center;
      opacity:0;
      animation:wrIntroRise 0.52s var(--intro-ease) forwards;
    }
    .news-btn:nth-child(1){ animation-delay:0.1s; }
    .news-btn:nth-child(2){ animation-delay:0.14s; }
    .news-btn:nth-child(3){ animation-delay:0.18s; }
    .news-btn:nth-child(4){ animation-delay:0.22s; }
    .news-btn:nth-child(5){ animation-delay:0.26s; }
    .news-btn:nth-child(6){ animation-delay:0.3s; }
    .news-card{
      background:transparent;
      border:none;
      border-radius:6px;
      padding:8px;
      text-align:center;
      transition:transform .18s ease, opacity .2s ease;
      will-change:transform;
    }
    .news-btn:hover .news-card{
      transform:translateY(-1px) scale(1.02);
      opacity:.98;
    }
    .news-btn:active .news-card{
      transform:translateY(0) scale(0.98);
      opacity:.9;
    }
    .news-icon{
      width:62px;
      height:62px;
      min-width:62px;
      min-height:62px;
      max-width:62px;
      max-height:62px;
      border-radius:6px;
      display:block;
      margin:0 auto 4px;
      object-fit:contain;
      object-position:center;
      filter:drop-shadow(0 2px 6px rgba(0,0,0,.28));
      transition:transform .2s ease, filter .2s ease;
    }
    .news-btn:hover .news-icon{transform:scale(1.02);filter:drop-shadow(0 4px 9px rgba(0,0,0,.33))}
    .news-label{
      font-size:11px;color:#e6e6e6;text-align:center;margin-top:3px;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
      transition:color .2s ease;
    }
    .news-btn:hover .news-label{color:#fff}
      :root{ --intro-ease:cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes wrIntroRise{
      0%{ opacity:0; transform:translateY(12px) scale(0.98); filter:blur(2px); }
      100%{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
    }
    @media (prefers-reduced-motion: reduce){
      @keyframes wrIntroRise{
        0%{ opacity:1; transform:none; filter:none; }
        100%{ opacity:1; transform:none; filter:none; }
      }
    }
    .news-title{
      font-size:12px;
      color:#d0d0d0;
      margin:4px auto 8px;
      max-width:220px;
      width:100%;
      box-sizing:border-box;
      text-align:left;
      display:flex;
      justify-content:flex-start;
      align-items:center;
      gap:6px;
      opacity:0;
      animation:wrIntroRise 0.56s var(--intro-ease) 0.04s forwards;
    }
    .news-title-icon{
      width:16px;
      height:16px;
      flex-shrink:0;
      display:block;
      object-fit:contain;
      object-position:center;
    }
    .news-scroll{
      max-height:220px;
      overflow-y:auto;
      overflow-x:hidden;
      padding-right:0;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      -ms-overflow-style:none;
    }
    .news-scroll::-webkit-scrollbar{width:0;background:transparent}
    .news-scroll::-webkit-scrollbar-thumb{background:transparent}
    .news-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      width:100%;
      max-width:220px;
      margin:0 auto;
      justify-content:center;
    }
    .news-btn{
      text-decoration:none;color:#fff;display:flex;flex-direction:column;align-items:center;
      opacity:0;
      animation:wrIntroRise 0.52s var(--intro-ease) forwards;
    }
    .news-btn:nth-child(1){ animation-delay:0.1s; }
    .news-btn:nth-child(2){ animation-delay:0.14s; }
    .news-btn:nth-child(3){ animation-delay:0.18s; }
    .news-btn:nth-child(4){ animation-delay:0.22s; }
    .news-btn:nth-child(5){ animation-delay:0.26s; }
    .news-btn:nth-child(6){ animation-delay:0.3s; }
    .news-card{
      background:transparent;
      border:none;
      border-radius:6px;
      padding:8px;
      text-align:center;
      transition:transform .18s ease, opacity .2s ease;
      will-change:transform;
    }
    .news-btn:hover .news-card{
      transform:translateY(-1px) scale(1.02);
      opacity:.98;
    }
    .news-btn:active .news-card{
      transform:translateY(0) scale(0.98);
      opacity:.9;
    }
    .news-icon{
      width:62px;
      height:62px;
      min-width:62px;
      min-height:62px;
      max-width:62px;
      max-height:62px;
      border-radius:6px;
      display:block;
      margin:0 auto 4px;
      object-fit:contain;
      object-position:center;
      filter:drop-shadow(0 2px 6px rgba(0,0,0,.28));
      transition:transform .2s ease, filter .2s ease;
    }
    .news-btn:hover .news-icon{transform:scale(1.02);filter:drop-shadow(0 4px 9px rgba(0,0,0,.33))}
    .news-label{
      font-size:11px;color:#e6e6e6;text-align:center;margin-top:3px;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
      transition:color .2s ease;
    }
    .news-btn:hover .news-label{color:#fff}
      :root{ --intro-ease:cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes wrIntroRise{
      0%{ opacity:0; transform:translateY(12px) scale(0.98); filter:blur(2px); }
      100%{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
    }
    @media (prefers-reduced-motion: reduce){
      @keyframes wrIntroRise{
        0%{ opacity:1; transform:none; filter:none; }
        100%{ opacity:1; transform:none; filter:none; }
      }
    }
    .news-title{
      font-size:12px;
      color:#d0d0d0;
      margin:4px auto 8px;
      max-width:220px;
      width:100%;
      box-sizing:border-box;
      text-align:left;
      display:flex;
      justify-content:flex-start;
      align-items:center;
      gap:6px;
      opacity:0;
      animation:wrIntroRise 0.56s var(--intro-ease) 0.04s forwards;
    }
    .news-title-icon{
      width:16px;
      height:16px;
      flex-shrink:0;
      display:block;
      object-fit:contain;
      object-position:center;
    }
    .news-scroll{
      max-height:220px;
      overflow-y:auto;
      overflow-x:hidden;
      padding-right:0;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      -ms-overflow-style:none;
    }
    .news-scroll::-webkit-scrollbar{width:0;background:transparent}
    .news-scroll::-webkit-scrollbar-thumb{background:transparent}
    .news-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      width:100%;
      max-width:220px;
      margin:0 auto;
      justify-content:center;
    }
    .news-btn{
      text-decoration:none;color:#fff;display:flex;flex-direction:column;align-items:center;
      opacity:0;
      animation:wrIntroRise 0.52s var(--intro-ease) forwards;
    }
    .news-btn:nth-child(1){ animation-delay:0.1s; }
    .news-btn:nth-child(2){ animation-delay:0.14s; }
    .news-btn:nth-child(3){ animation-delay:0.18s; }
    .news-btn:nth-child(4){ animation-delay:0.22s; }
    .news-btn:nth-child(5){ animation-delay:0.26s; }
    .news-btn:nth-child(6){ animation-delay:0.3s; }
    .news-card{
      background:transparent;
      border:none;
      border-radius:6px;
      padding:8px;
      text-align:center;
      transition:transform .18s ease, opacity .2s ease;
      will-change:transform;
    }
    .news-btn:hover .news-card{
      transform:translateY(-1px) scale(1.02);
      opacity:.98;
    }
    .news-btn:active .news-card{
      transform:translateY(0) scale(0.98);
      opacity:.9;
    }
    .news-icon{
      width:62px;
      height:62px;
      min-width:62px;
      min-height:62px;
      max-width:62px;
      max-height:62px;
      border-radius:6px;
      display:block;
      margin:0 auto 4px;
      object-fit:contain;
      object-position:center;
      filter:drop-shadow(0 2px 6px rgba(0,0,0,.28));
      transition:transform .2s ease, filter .2s ease;
    }
    .news-btn:hover .news-icon{transform:scale(1.02);filter:drop-shadow(0 4px 9px rgba(0,0,0,.33))}
    .news-label{
      font-size:11px;color:#e6e6e6;text-align:center;margin-top:3px;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
      transition:color .2s ease;
    }
    .news-btn:hover .news-label{color:#fff}
  :root{
  --intro-ease:cubic-bezier(0.16, 1, 0.3, 1);
  --eventos-lineas-max:5;
}

body{
  margin:0;
  background:#121212;
  font-family:Segoe UI;
}

@keyframes wrIntroRise{
  0%{ opacity:0; transform:translateY(12px) scale(0.98); filter:blur(2px); }
  100%{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
}

@media (prefers-reduced-motion: reduce){
  @keyframes wrIntroRise{
    0%{ opacity:1; transform:none; filter:none; }
    100%{ opacity:1; transform:none; filter:none; }
  }
}

/* CONTENEDOR: altura dinámica y responsive */
#widget{
  width:min(310px, 100%);
  height:auto;
  max-height:none;
  display:flex;
  flex-direction:column;
  background:rgba(32,32,32,0.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:6px;
  padding:10px;
  box-sizing:border-box;
  color:white;
  overflow-x:hidden;
  overflow-y:visible;
  -webkit-overflow-scrolling:touch;
}

#widget > .block:not(#festivo){
  flex-shrink:0;
}

/* Intro tipo page header (barra búsqueda): bloques escalonados */
#widget > .block{
  opacity:0;
  animation:wrIntroRise 0.56s var(--intro-ease) forwards;
}
#widget > .block:nth-child(1){ animation-delay:0.04s; }
#widget > .block:nth-child(2){ animation-delay:0.12s; }
#widget > .block:nth-child(3){ animation-delay:0.2s; }
#widget > .block:nth-child(4){ animation-delay:0.28s; }
#widget > .block:nth-child(5){ animation-delay:0.36s; }

/* BLOQUES */
.block{
  background:#2a2a2a;
  border-radius:6px;
  padding:10px;
  margin-bottom:8px;
}

.block.block-clickable{
  cursor:pointer;
  transition:background 0.15s ease;
}

.block.block-clickable:hover{
  background:#333333;
}

/* TITULOS */
.title{
  font-size:12px;
  color:#d0d0d0;
  margin-bottom:6px;
  display:flex;
  align-items:center;
  gap:6px;
}

/* CLIMA */
.clima-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.temp{ font-size:24px; font-weight:600; }

.icon{
  font-size:46px;
  line-height:1;
  filter:drop-shadow(0 0 8px rgba(255,255,255,0.18));
  margin-top:-18px;
}

.subinfo{
  font-size:11px;
  color:#aaa;
  margin-top:3px;
}

/* Contenido del clima (fade interno; sin altura forzada: el tamaño lo marca el #widget) */
#climaBody .clima-placeholder{
  color:#aaa;
  font-size:12px;
}
#climaBody .clima-top{
  width:100%;
}

/* NOTICIAS */
.news-item{
  font-size:12px;
  margin-bottom:6px;
  cursor:pointer;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  opacity:0;
  transform:translateY(6px);
  transition:0.35s ease;
}

.news-item.show{
  opacity:1;
  transform:translateY(0);
}

.refresh-block{
  opacity:0;
  transform:translateY(6px);
  transition:0.35s ease;
}

.refresh-block.show{
  opacity:1;
  transform:translateY(0);
}

.fallback-note{
  font-size:11px;
  color:#aaa;
}

/* DÓLAR */
.dolar-item{
  display:flex;
  justify-content:space-between;
  font-size:12px;
}

/* EVENTO: crece según contenido */
#festivo{
  flex:0 0 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  margin-bottom:0;
}

#festivo .title{
  flex-shrink:0;
}

#festivo #eventosContenido{
  flex:0 0 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
}

#festivo .festivo-empty{
  flex:0 0 auto;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:12px 8px;
  font-size:11px;
  color:#aaa;
}

#festivo .event-card{
  border-radius:6px;
  padding:12px 12px 14px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  position:relative;
  overflow:hidden;
  opacity:0;
  transform:translateY(6px);
  transition:0.35s ease;
  flex:0 0 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

#festivo .event-card .event-headline{
  font-size:14px;
  font-weight:600;
  margin-bottom:6px;
  flex-shrink:0;
}

#festivo .event-card .event-desc{
  font-size:12px;
  color:#ddd;
  line-height:1.45;
  flex:0 0 auto;
  min-height:0;
  overflow:visible;
  display:block;
  word-break:break-word;
}

#festivo .event-card.show{
  opacity:1;
  transform:translateY(0);
}

#festivo .event-card.highlight{
  background:linear-gradient(135deg, rgba(0,120,255,0.18), rgba(255,255,255,0.03));
  border:1px solid rgba(0,120,255,0.35);
  box-shadow:0 0 18px rgba(0,120,255,0.25);
}

#festivo .event-card.highlight::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  animation:shine 6s linear infinite;
}

#festivo .event-card:last-child{
  margin-bottom:0 !important;
}

#widget > .block:last-child{
  margin-bottom:0;
}

@media (max-width:360px){
  :root{ --eventos-lineas-max:4; }
  .title{ font-size:11px; }
  .temp{ font-size:22px; }
  .clock-greet{ font-size:13px; }
  .news-item, .dolar-item, .subinfo, #festivo .event-card .event-headline, #festivo .event-card .event-desc{ font-size:11px; }
  .event-tag{ font-size:10px; }
}

@keyframes shine{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}

/* FECHA + SALUDO */
.clock-date{
  font-size:12px;
  color:#aaa;
  margin-bottom:4px;
}

.clock-greet{
  font-size:14px;
  font-weight:600;
  color:#fff;
}

.clock-season{
  margin-top:6px;
  font-size:12px;
  font-weight:500;
  letter-spacing:0.2px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 8px;
  border-radius:6px;
  border:1px solid transparent;
  background:rgba(255,255,255,0.05);
}

.clock-title{
  justify-content:space-between;
}

.clock-title .clock-season{
  margin-top:0;
  font-size:10px;
  padding:2px 7px;
  margin-left:8px;
  flex-shrink:0;
}

.clock-season.verano{
  color:#ffe7b0;
  background:rgba(255, 170, 45, 0.14);
  border-color:rgba(255, 170, 45, 0.35);
}

.clock-season.otono{
  color:#ffd7b5;
  background:rgba(210, 120, 60, 0.14);
  border-color:rgba(210, 120, 60, 0.35);
}

.clock-season.invierno{
  color:#d7ecff;
  background:rgba(100, 160, 230, 0.14);
  border-color:rgba(100, 160, 230, 0.35);
}

.clock-season.primavera{
  color:#ffe0f3;
  background:rgba(220, 110, 190, 0.14);
  border-color:rgba(220, 110, 190, 0.35);
}

.event-tag{
  display:inline-block;
  font-size:10px;
  padding:2px 7px;
  border-radius:6px;
  margin-bottom:6px;
  font-weight:600;
  align-self:flex-start;
  width:auto;
  flex-shrink:0;
}

.event-tag.local{
  background:rgba(46, 204, 113, 0.18);
  border:1px solid rgba(46, 204, 113, 0.45);
  color:#b8ffd6;
}

.event-tag.nacional{
  background:rgba(52, 152, 219, 0.18);
  border:1px solid rgba(52, 152, 219, 0.45);
  color:#cfeaff;
}

.event-tag.internacional{
  background:rgba(155, 89, 182, 0.18);
  border:1px solid rgba(155, 89, 182, 0.45);
  color:#ecd9ff;
}
    :root {
      --dock-label: #d3d8e3;
      --dock-label-hover: #eef1f8;
      --dock-label-muted: rgba(211, 216, 227, 0.45);
      --dock-focus: rgba(127, 121, 255, 0.55);
      --intro-ease: cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes wrIntroRise {
      0% { opacity: 0; transform: translateY(12px) scale(0.98); filter: blur(2px); }
      100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    }
    .page-footer-root,
    .page-footer-root * {
      box-sizing: border-box;
    }
    .page-footer-root {
      margin: 0;
      padding: 0;
      width: 100%;
      max-width: 100%;
      font-family: "Segoe UI", system-ui, sans-serif;
      background: transparent;
      -webkit-font-smoothing: antialiased;
    }
    .site-footer {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-width: 0;
      height: 26px;
      min-height: 26px;
      max-height: 26px;
      margin: 0;
      padding: 0;
      background: transparent;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
      overflow: hidden;
    }
    .footer-meta-inner {
      display: inline-flex;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: center;
      gap: 4px 10px;
      white-space: nowrap;
      max-width: 100%;
      min-width: min-content;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding: 0 2px;
      margin: 0;
      font-size: 9px;
      font-weight: 400;
      line-height: 1;
      letter-spacing: normal;
      color: var(--dock-label);
      text-align: center;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
      opacity: 0;
      animation: wrIntroRise 0.6s var(--intro-ease) 0.14s forwards;
    }
    .footer-meta-inner::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }
    .footer-meta-inner .sep {
      color: var(--dock-label-muted);
      font-weight: 400;
      -webkit-user-select: none;
      user-select: none;
      flex-shrink: 0;
      padding: 0;
      margin: 0;
    }
    .footer-meta-inner .sep--amp {
      color: var(--dock-label-muted);
      padding: 0 2px;
      margin: 0;
      font-weight: 400;
    }
    .footer-meta-inner .pf-year {
      font-variant-numeric: tabular-nums;
    }
    .footer-meta-inner .meta-strong {
      color: var(--dock-label);
      font-weight: 400;
      letter-spacing: normal;
    }
    .footer-meta-inner .meta-loc {
      color: var(--dock-label);
      font-weight: 400;
    }
    .footer-meta-inner a {
      color: var(--dock-label);
      text-decoration: none;
      font-weight: 400;
      border-radius: 2px;
      transition: color 0.2s ease;
      flex-shrink: 0;
      padding: 0;
      margin: 0;
    }
    .footer-meta-inner a:hover {
      color: var(--dock-label-hover);
    }
    .footer-meta-inner a:active {
      color: var(--dock-label-hover);
    }
    .footer-meta-inner a:focus {
      outline: none;
    }
    .footer-meta-inner a:focus-visible {
      outline: 2px solid var(--dock-focus);
      outline-offset: 1px;
    }
    @media (prefers-reduced-motion: reduce) {
      .footer-meta-inner {
        animation: none !important;
        opacity: 1 !important;
      }
    }
  