/* Masaüstünde görünmez; yalnızca telefonda görünür. */
.hvd-tasi { display: none; }

@media (max-width: 768px) {
  .hvd-tasi {
    display: flow-root;
    position: relative;
    z-index: 50;
    margin: 0 0 14px;
    padding: 0;
    clear: both;
  }

  .hvd {
    display: flow-root;
    position: relative;
    font-family: inherit;
  }

  .hvd * { box-sizing: border-box; }

  .hvd-baslik {
    margin: 0 0 10px;
    font-size: 14pt;
    line-height: 1.2;
  }

  /* Sekme düğmeleri (Spor / Ekonomi ile aynı görünüm) */
  .hvd-sekmeler {
    display: flex;
    gap: 6px;
    margin: 0;
    width: 100%;
  }

  .hvd-sekme {
    flex: 1 1 0;
    min-width: 0;
    min-height: 38px;
    padding: 8px 4px;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 10pt;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s;
    -webkit-tap-highlight-color: transparent;
  }

  /* Aşağı açılır oku */
  .hvd-sekme::after { content: " ▾"; font-size: 7pt; }
  .hvd-sekme.hvd-acik::after { content: " ▴"; }

  .hvd-sekme.r1 { background: #e3f0fc; color: #1565c0; }
  .hvd-sekme.r2 { background: #fdecea; color: #c62828; }
  .hvd-sekme.r3 { background: #e6f4e7; color: #2e7d32; }

  .hvd-sekme.r1.hvd-acik { background: #1565c0 !important; color: #fff !important; box-shadow: 0 3px 8px rgba(21,101,192,.35); }
  .hvd-sekme.r2.hvd-acik { background: #c62828 !important; color: #fff !important; box-shadow: 0 3px 8px rgba(198,40,40,.35); }
  .hvd-sekme.r3.hvd-acik { background: #2e7d32 !important; color: #fff !important; box-shadow: 0 3px 8px rgba(46,125,50,.35); }

  /* Açılır panel sayfanın akışını itmez, sekmelerin altından kayarak açılır. */
  .hvd-kutu {
    position: relative;
    height: 0;
  }

  .hvd-panel {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    z-index: 9999;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    background: #fff;
    border: 2px solid #666;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 -30px 100% -30px);
    transition: clip-path .35s ease, opacity .25s ease, visibility 0s linear .35s;
  }

  .hvd-panel.hvd-acik {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 -30px -40px -30px);
    transition: clip-path .35s ease, opacity .25s ease, visibility 0s;
  }

  .hvd-panel.r1 { --hvd-r: #1565c0; border-color: #1565c0; }
  .hvd-panel.r2 { --hvd-r: #c62828; border-color: #c62828; }
  .hvd-panel.r3 { --hvd-r: #2e7d32; border-color: #2e7d32; }

  .hvd-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--hvd-r, #666);
    font-size: 11pt;
    font-weight: 700;
    color: var(--hvd-r, #333);
  }

  .hvd-kapat {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #e6edf2;
    color: var(--hvd-r, #333);
    font-size: 13pt;
    line-height: 1;
    cursor: pointer;
  }

  .hvd-izgara {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 12px 6px;
  }

  .hvd-oge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #222;
    -webkit-tap-highlight-color: transparent;
  }

  .hvd-ikon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hvd-r, #666);
    color: #fff;
    font: bold 16pt/1 Arial, sans-serif;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
  }

  .hvd-ikon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 9px;
    background: #fff;
    object-fit: contain;
    border-radius: 50%;
  }

  .hvd-ad {
    margin-top: 5px;
    font-size: 9pt;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
  }

  .hvd-et { font-size: 7.5pt; color: #777; line-height: 1.2; }
  .hvd-not { margin: 12px 0 0; font-size: 8pt; color: #777; text-align: center; }
}