/* v16.7 destek167: destekçi paketleri */
.d167-btn { width: 100%; margin-top: 8px; background: linear-gradient(#6a4a12, #3a260a); border: 1px solid #ffcf4a; color: #ffe9a8; font-weight: 700; }
.d167-btn:hover { box-shadow: 0 0 14px #ffcf4a55; }
.d167-btn[hidden] { display: none !important; }
.d167-s { display: none; }
/* telefonda Rehber / Yama Notları / Destek tek satır (tam165 satırı varsa onun içinde) */
#auth .t165row .d167-l { display: none; } #auth .t165row .d167-s { display: inline; }
#auth .t165row .d167-btn { margin: 0; }
@media (max-width: 640px), (max-height: 520px) {
  #auth .auth-card:has(> #destek167:not([hidden])) > .guide-btn:not(.d167-btn) { display: inline-block; width: calc((100% - 6px) / 2); margin: 8px 0 0; padding: 7px 2px; font-size: 13px; white-space: nowrap; vertical-align: top; }
  #auth .auth-card:has(> #destek167:not([hidden])) > .guide-btn:not(.d167-btn) + .guide-btn:not(.d167-btn) { margin-left: 6px; }
  #auth .auth-card > .d167-btn { margin-top: 6px; padding: 7px 4px; }
  #auth .auth-card:has(> #destek167:not([hidden])) > .hint { display: none; }
}
#m167 { position: fixed; inset: 0; z-index: 9160; display: flex; align-items: center; justify-content: center; background: rgba(6, 4, 12, .7); backdrop-filter: blur(3px); padding: 12px; }
#m167 .m167-card { width: min(920px, 100%); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; background: linear-gradient(#2a2238, #17121f); border: 1px solid #ffd84a66; border-radius: 16px; box-shadow: 0 18px 50px #000a, 0 0 30px #ffb84a22; overflow: hidden; }
#m167 .m167-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 10px; border-bottom: 1px solid var(--line, #3d3452); }
#m167 .m167-h b { font-size: 18px; color: var(--gold, #ffcf4a); }
#m167 .m167-x { background: none; border: 0; font-size: 18px; color: var(--muted, #a79fb8); padding: 2px 6px; cursor: pointer; }
#m167 .m167-x:hover { color: #fff; }
#m167 .m167-b { padding: 12px 14px 14px; overflow-y: auto; -webkit-overflow-scrolling: touch; color: #d8d0e6; }
.d167-intro { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.d167-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.d167-c { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, transparent), #0004 70%); }
.d167-ch { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.d167-ch b { font-size: 16px; color: var(--c); }
.d167-pr { font-size: 15px; font-weight: 800; color: #fff; white-space: nowrap; }
.d167-left { font-size: 12px; font-weight: 700; color: #ffb84a; }
.d167-c ul { margin: 0; padding-left: 18px; flex: 1; }
.d167-c li { font-size: 13px; line-height: 1.4; margin: 2px 0; }
.d167-buy { display: block; text-align: center; padding: 8px; border-radius: 10px; font-weight: 800; text-decoration: none; color: #1b1208; background: linear-gradient(#ffe27a, #ffb84a); }
.d167-buy:hover { filter: brightness(1.08); }
.d167-buy.off { background: #ffffff14; color: var(--muted, #a79fb8); cursor: default; filter: none; }
.d167-how { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #ffd84a12; border: 1px solid #ffd84a33; font-size: 13.5px; }
.d167-how ol { margin: 6px 0 0; padding-left: 20px; } .d167-how li { margin: 3px 0; line-height: 1.4; }
.d167-wall { margin-top: 12px; font-size: 13px; }
.d167-wall div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.d167-wall span { padding: 2px 9px; border-radius: 999px; border: 1px solid #ffffff33; background: #0003; }
.d167-wall .w-d3 { color: #c77dff; border-color: #c77dff77; } .d167-wall .w-d4 { color: #ffd84a; border-color: #ffd84a88; }
.d167-fine { margin: 12px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--muted, #a79fb8); }
@media (max-height: 520px) { #m167 .m167-b { padding: 8px 10px; } .d167-g { grid-template-columns: repeat(4, minmax(150px, 1fr)); overflow-x: auto; } .d167-c li { font-size: 12px; } }

/* v16.7c Alpha dönemi */
.d167-alpha { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: #59d37a14; border: 1px solid #59d37a55; font-size: 13.5px; line-height: 1.45; }
.d167-alpha b:first-child { color: #8dffb0; margin-right: 4px; }
.d167-a { font-style: normal; font-size: 10px; font-weight: 800; color: #8dffb0; margin-left: 4px; }
.d167me ul { margin: 4px 0 6px; padding-left: 18px; } .d167me li { font-size: 13px; margin: 2px 0; }
.d167-tag { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .5px; padding: 1px 6px; border-radius: 999px; color: #0d2a14; background: #8dffb0; }
.d167-tag.tam { background: #ffd84a; color: #1b1208; }
.d167-note { display: block; margin-top: 4px; }

/* v16.7e: Kalıcı Kolaylık Paketi üstte tam genişlik, 5 Ash Coin kartı altta tek sıra */
@media (min-width: 700px) { .d167-g { grid-template-columns: repeat(5, 1fr); } .d167-c.big { grid-column: 1 / -1; } .d167-c.big ul { columns: 2; column-gap: 24px; } .d167-c.big .d167-buy { max-width: 320px; align-self: center; width: 100%; } }
.d167-c.big .d167-ch b { font-size: 18px; }
@media (max-height: 520px) { .d167-g { grid-template-columns: repeat(5, minmax(130px, 1fr)); } .d167-c.big ul { columns: 2; } }
