/* v10.8 */
.e108 .v9-day { min-height: 0; padding: 6px 4px; }
.e108-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.e108-it { position: relative; width: 40px; height: 40px; border-radius: 10px; background: radial-gradient(circle, #ffffff22, #0004); border: 2px solid var(--rc); display: flex; align-items: center; justify-content: center; }
.e108-it i, .e108-it canvas { width: 32px !important; height: 32px !important; }
.e108-it em { position: absolute; right: -3px; bottom: -4px; font: 800 10px/1 system-ui; color: #fff; background: #000a; border-radius: 6px; padding: 1px 3px; font-style: normal; }
.e108-it em.e { left: -3px; right: auto; top: -4px; bottom: auto; color: #ffd84a; }
.e108-cur { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; }
.e108-cur span { font-size: 10.5px; font-weight: 700; background: #0006; border: 1px solid #ffffff22; border-radius: 999px; padding: 1px 6px; white-space: nowrap; }
.e108-cur .coin { width: 11px; height: 11px; vertical-align: -1px; }
.e108 .v9-ok { position: absolute; top: 4px; right: 6px; color: #8dffb0; font-weight: 900; }
.box108{font-size:12px;color:#ffd98a;background:rgba(255,200,80,.1);border:1px solid rgba(255,200,80,.3);border-radius:6px;padding:2px 6px;margin:4px 0;text-align:center}
/* ui108: sınıf seçimi tek ekranda */
.c108l, .c108r { display: contents; }
body.ui108 #create .create-box { width: min(1080px, 100%); display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 18px; align-items: start; }
body.ui108 #create .c108l, body.ui108 #create .c108r { display: block; min-width: 0; }
body.ui108 #create .c108r h4:first-child { margin-top: 4px; }
body.ui108 #create #clsCards.picks.four { grid-template-columns: 1fr 1fr; }
body.ui108 #create .c108r .row { margin-top: 10px; }
body.ui108 #create #lore102 ul { margin: 4px 0; }
@media (max-height: 520px) {
  body.ui108 #create { justify-content: center; }
  body.ui108 #create .create-box { padding: 8px 12px; margin: auto; }
  body.ui108 #create .create-box h2 { font-size: 17px; margin: 0 0 4px; }
  body.ui108 #create .create-box h4 { margin: 5px 0 3px; font-size: 12px; } body.ui108 #create .create-box h4 small { display: none; }
  body.ui108 #create #preview { width: 64px; height: 58px; }
  body.ui108 #create .pick { padding: 5px 7px; } body.ui108 #create #clsCards .pick b { font-size: 13px; }
  body.ui108 #create #clsCards .clsico.big { width: 26px; height: 26px; }
  body.ui108 #create #clsCards .pick em .skico.sm { width: 18px; height: 18px; }
  body.ui108 #create #lore102 { padding: 4px 8px; font-size: 11px; max-height: 70px; overflow: hidden; } body.ui108 #create #lore102 ul, body.ui108 #create #lore102 .l102-f { display: none; } body.ui108 #create #lore102 p { margin: 2px 0; }
  body.ui108 #create #modeCards .pick small { display: none; }
  body.ui108 #create .c108r .row { margin-top: 6px; } body.ui108 #create #cMake { padding: 8px; font-size: 14px; }
}
/* ui108: karakter penceresi bilgisayarda geniş ve 3 sütun, kaydırmasız */
body.ui108:not(.ls106) #panel[data-p106="character"] .panel-box { width: min(1260px, 97vw) !important; max-width: none !important; max-height: 95vh; }
body.ui108:not(.ls106) #panel[data-p106="character"] #panelBody { column-count: 3; column-gap: 14px; }
body.ui108:not(.ls106) #panel[data-p106="character"] #panelBody > * { break-inside: avoid; }
body.ui108:not(.ls106) #panel[data-p106="character"] #panelBody > .tabs { margin-top: 0; }
body.ui108 #panel[data-p106="character"] .stat-row { padding: 4px 0; }
/* ui108: ☰ menü opak (arkadaki harita ve düğmeler içinden görünmesin), ayarların üstünde oyun düğmeleri */
body.ui108 #menu106 { background: linear-gradient(180deg, #2a2236, #1b1626); z-index: 62; }
.set108 { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #ffffff1a; column-span: all; }
.set108 .btn { flex: 1 1 auto; }
#lv108 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; margin: 4px 0 6px; padding: 4px 8px; border: 1px solid #ffd36a44; border-radius: 8px; background: #ffd36a10; }
#lv108 select { background: #1b1626; color: #fff; border: 1px solid #ffffff33; border-radius: 6px; padding: 2px 4px; }
.buy98.b108 { display: block; }
.b108g { display: grid; grid-template-columns: auto 1fr 1fr; gap: 4px 6px; align-items: center; width: 100%; }
.b108g .b108h { font-size: 11px; color: var(--muted, #aaa); text-transform: uppercase; letter-spacing: .5px; }
.b108g .b108l { display: flex; flex-direction: column; line-height: 1.15; font-size: 12px; } .b108g .b108l small { color: var(--muted, #aaa); font-size: 10px; }
.b108g .btn { width: 100%; justify-content: center; white-space: nowrap; }
.b108 > small { display: none; }
.hwallet.w108 { margin-left: 8px; font-size: 12px; }
#mb108t { margin-left: 8px; vertical-align: middle; }
.mb108-l { font-size: 12px; max-height: 120px; overflow: hidden; }
/* melt108: eritme ekranı kaydırmasız (uzun açıklama kısalır) */
body.ui108 #panel[data-p106="smith"] .smith + * {}
@media (max-height: 520px) { body.ui108 #panel[data-p106="smith"] #panelBody > p.muted.small { font-size: 10px; line-height: 1.25; margin: 2px 0 4px; max-height: 26px; overflow: hidden; } body.ui108 #panel[data-p106="smith"] .melt95-out { padding: 6px 8px; font-size: 11px; } }
.sm-list .inv-grid .pick95 { outline: 3px solid #ffd84a; outline-offset: -2px; box-shadow: 0 0 10px #ffd84a88; position: relative; }
.sm-list .inv-grid .pick95::after { content: '✔'; position: absolute; right: 2px; top: 0; color: #ffd84a; font-size: 12px; font-weight: bold; text-shadow: 0 0 3px #000; }
/* ui108: demirci PC'de kaydırmasız (örs kartı kısalır) */
body.ui108:not(.ls106) #panel[data-p106="smith"] .smc1 .anvil { height: 120px; transform: none; padding-bottom: 18px; }
body.ui108:not(.ls106) #panel[data-p106="smith"] .smc1 .anvil canvas { width: 84px; height: 84px; }
body.ui108:not(.ls106) #panel[data-p106="smith"] .panel-box { max-height: 96vh; }
body.ui108:not(.ls106) #panel[data-p106="smith"] .sm-tabs .tab { padding-top: 6px; padding-bottom: 6px; }
body.ui108:not(.ls106) #panel[data-p106="smith"] .smc2 .sm-cost { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
body.ui108:not(.ls106) #panel[data-p106="smith"] .smc2 .sm-cost > div { margin: 0; }
body.ui108:not(.ls106) #panel[data-p106="smith"] .smc2 .cost98 { font-size: 11px; padding: 4px 8px; margin-top: 4px; }
.jw108 { border: 1px solid #c17fff66; background: #c17fff14; border-radius: 10px; padding: 8px 10px; margin: 6px 0; font-size: 13px; }
.jw108 p { margin: 4px 0; } .jw108 .btn.big { width: 100%; margin-top: 6px; }
#oto108 { position: fixed; inset: 0; z-index: 70; background: #0008; display: flex; align-items: center; justify-content: center; padding: 10px; }
#oto108 .o8-box { width: min(560px, 100%); max-height: 96vh; overflow: auto; background: linear-gradient(180deg, #2a2236, #1b1626); border: 1px solid #ffd36a66; border-radius: 14px; padding: 10px 14px 14px; color: #fff; box-shadow: 0 12px 40px #000c; }
#oto108 .o8-h { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 6px; } #oto108 .o8-h .kfox { width: 26px; height: 26px; }
#oto108 .o8-st { font-size: 12px; color: #aaa; } #oto108 .o8-st.on { color: #8dffb0; }
#oto108 .o8-x { margin-left: auto; background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; }
#oto108 h5 { margin: 8px 0 4px; font-size: 13px; color: #ffd98a; }
#oto108 .o8-g { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#oto108 .o8-pots { display: flex; flex-direction: column; gap: 4px; }
#oto108 .o8-pot { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 6px; text-align: left; background: #120f19; border: 2px solid #ffffff22; border-radius: 8px; padding: 3px 6px; color: #fff; font-size: 12px; cursor: pointer; }
#oto108 .o8-pot.on { border-color: #ffd84a; background: #2a2439; } #oto108 .o8-pot[disabled] { opacity: .4; }
#oto108 label { display: flex; flex-direction: column; font-size: 12px; margin-top: 6px; } #oto108 input[type=range] { width: 100%; }
#oto108 .o8-ck { flex-direction: row; gap: 6px; align-items: center; }
#oto108 .o8-r { display: flex; gap: 6px; flex-wrap: wrap; }
#oto108 .btn.big { width: 100%; margin-top: 6px; }
@media (max-height: 520px) { #oto108 .o8-box { padding: 6px 10px 10px; } #oto108 h5 { margin: 4px 0 2px; } #oto108 p.small { display: none; } #oto108 .o8-pot { padding: 1px 6px; } }
