:root {
  --red: #e50914;
  --bg: #141414;
  --panel: #1c1c1c;
  --line: #2b2b2b;
  --text: #f5f5f5;
  --muted: #9a9a9a;
}

* { box-sizing: border-box; }

body {
  width: 340px;
  margin: 0;
  padding: 14px;
  background: var(--bg);
  color: var(--text);
  font: 13px/1.45 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
body.big { width: min(520px, 100vw); font-size: 14px; }
body.big .chat { height: 180px; }
body.big .bigcode { font-size: 32px; }

.head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; row-gap: 8px; margin-bottom: 12px; }
.brand { font-size: 18px; font-weight: 800; letter-spacing: -0.4px; }
.brand .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-right: 6px; }
.tag { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }

.hidden { display: none !important; }

.warn {
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.45);
  color: #ffb3b7;
  padding: 8px 10px; border-radius: 8px; margin-bottom: 12px; font-size: 12px;
}

.field { display: block; margin-bottom: 10px; }
.field span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }

input {
  width: 100%; padding: 9px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font-size: 13px; outline: none;
}
input:focus { border-color: var(--red); }

.btn {
  width: 100%; padding: 9px 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font-size: 13px; font-weight: 600;
}
.btn:hover { border-color: #3d3d3d; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: #f6121d; }
.btn.danger { background: transparent; border-color: rgba(229, 9, 20, 0.6); color: #ff6b73; margin-top: 10px; }
.btn.tiny { width: auto; padding: 6px 10px; font-size: 11px; }
.btn.ghost { background: transparent; }

.sep { text-align: center; color: var(--muted); font-size: 11px; margin: 12px 0; position: relative; }
.sep::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.sep span { position: relative; background: var(--bg); padding: 0 8px; }

.joinrow { display: flex; gap: 8px; }
.codeinput { text-transform: uppercase; letter-spacing: 3px; font-weight: 700; text-align: center; }
.joinrow .btn { width: 120px; flex: none; }

.error { color: #ff6b73; font-size: 12px; margin: 8px 0 0; }
.note { color: var(--muted); font-size: 11px; margin-top: 12px; }

.codebox {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 12px;
}
.bigcode { font-size: 26px; font-weight: 800; letter-spacing: 4px; color: var(--red); }
.codeactions { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 10px 0 6px; }

.people { list-style: none; margin: 0; padding: 0; max-height: 92px; overflow: auto; }
.people li { display: flex; align-items: center; gap: 7px; padding: 4px 0; font-size: 12px; }
.people .on { width: 7px; height: 7px; border-radius: 50%; background: #38d17a; flex: none; }
.people .me { color: var(--muted); font-size: 10px; }

.chat {
  height: 120px; overflow: auto; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px; font-size: 12px;
}
.chat .msg { margin-bottom: 6px; word-break: break-word; }
.chat .who { color: var(--red); font-weight: 700; margin-right: 4px; }
.chat .empty { color: var(--muted); }

.chatform { display: flex; gap: 6px; margin-top: 8px; }
.chatform .btn { width: 76px; flex: none; }

.nomargin { margin: 0 !important; }
.syncbox { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; margin-bottom: 4px; }
.syncrow { display: flex; align-items: center; justify-content: space-between; }
.badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #2b2b2b; color: var(--muted); }
.badge.good { background: rgba(56, 209, 122, .16); color: #38d17a; }
.badge.warn { background: rgba(255, 176, 32, .16); color: #ffb020; }
.badge.bad { background: rgba(229, 9, 20, .18); color: #ff6b73; }
.bar { height: 4px; border-radius: 3px; background: #2b2b2b; margin: 8px 0 6px; overflow: hidden; }
.bar > div { height: 100%; width: 0; border-radius: 3px; background: #38d17a; transition: width .3s ease, background .3s ease; }
.synctext { font-size: 11px; color: var(--muted); }

.emojibar { display: flex; gap: 6px; }
.emoji {
  flex: 1; padding: 6px 0; font-size: 19px; line-height: 1; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); border-radius: 9px;
  transition: transform .12s ease, border-color .12s ease;
}
.emoji:hover { border-color: var(--red); transform: translateY(-2px); }
.emoji:active { transform: scale(.9); }
.chatemoji { display: flex; gap: 4px; margin-top: 6px; }
.chatemoji button { padding: 3px 6px; font-size: 14px; cursor: pointer; border: 1px solid var(--line); background: var(--panel); border-radius: 7px; color: inherit; }

.namerow { display: flex; gap: 6px; align-items: center; }
.namerow input { flex: 1; }
#openwatch { margin-bottom: 6px; }
#watchinfo { margin-bottom: 10px; }

.people { max-height: 140px; overflow: visible; }
.people li { position: relative; justify-content: space-between; }
.pname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hosttag { font-size: 9px; text-transform: uppercase; letter-spacing: .6px; color: var(--red); border: 1px solid rgba(229,9,20,.5); border-radius: 5px; padding: 0 4px; }
.pctl { display: flex; gap: 4px; flex: none; }
.mini { cursor: pointer; font-size: 10px; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); }
.mini:hover { color: var(--text); border-color: #3d3d3d; }
.mini.dots { font-size: 13px; line-height: 1; padding: 2px 7px; }
.menu {
  position: absolute; right: 0; top: 100%; z-index: 20; min-width: 150px;
  background: #202020; border: 1px solid var(--line); border-radius: 9px; padding: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.55);
}
.menu button {
  display: block; width: 100%; text-align: left; padding: 6px 8px; font-size: 12px;
  background: transparent; border: 0; color: var(--text); border-radius: 6px; cursor: pointer;
}
.menu button:hover:not(:disabled) { background: rgba(229,9,20,.18); color: #fff; }
.menu button:disabled { color: var(--muted); cursor: not-allowed; }
.confirmbox { margin-top: 8px; background: var(--panel); border: 1px solid rgba(229,9,20,.45); border-radius: 9px; padding: 8px 10px; }
.confirmbox .ctext { font-size: 12px; margin-bottom: 8px; }
.confirmbox .ctext.err { color: #ff6b73; margin: 0; }
.confirmbox .crow { display: flex; gap: 6px; }
.chat .msg.sys { color: var(--muted); font-style: italic; }

.goldbox{display:flex;align-items:center;gap:6px;background:#20160a;border:1px solid #6b4b12;color:#f6c453;
  border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;line-height:1}
.goldbox .coin{font-size:13px}
.goldstate{font-size:10px;font-weight:600;color:#9a8253}
.goldstate.on{color:#38d17a}

.brand { display: flex; align-items: center; gap: 8px; }
.headright { display: flex; align-items: center; gap: 6px; }
.avatar {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--red); background: #2a0a0d; color: #ff8b91;
  font-weight: 800; font-size: 12px; line-height: 1; padding: 0;
}
.avatar:hover { background: var(--red); color: #fff; }
.overlay { background: var(--bg); }
.ohead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.otitle { font-size: 15px; font-weight: 800; }
.pcard { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.pavatar { width: 38px; height: 38px; border-radius: 50%; background: #2a0a0d; border: 1px solid var(--red); color: #ff8b91; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.pbig { font-size: 14px; font-weight: 700; }
.statgrid { display: flex; gap: 6px; margin-top: 10px; }
.stat { flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px; text-align: center; }
.stat span { display: block; font-size: 17px; font-weight: 800; }
.stat small { color: var(--muted); font-size: 10px; }
.rewards { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.reward { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.reward .ricon { font-size: 18px; }
.reward .rmain { flex: 1; }
.reward .rtitle { font-size: 12px; font-weight: 700; }
.reward .rdesc { font-size: 10px; color: var(--muted); }
.reward button { flex: none; }
.reward.ownedr { border-color: #6b4b12; }

.bjtable { background: radial-gradient(circle at 50% 0%, #14502f, #0b2b1b 70%); border: 1px solid #2a2a2a; border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: inset 0 0 24px rgba(0,0,0,.45); }
.cards { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; min-height: 46px; }
.card { background: #fff; color: #111; border-radius: 6px; padding: 8px 9px; font-weight: 700; font-size: 15px; min-width: 34px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.card.red { color: #e50914; }
.card.back { background: linear-gradient(135deg, #e50914, #7a060c); color: #fff; }
.bjactions { display: flex; gap: 6px; margin-bottom: 8px; }
.bjactions .btn { flex: 1; }
.synctext.err { color: #ff6b6b; }

.seats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.seat { border: 1px solid #2a2a2a; border-radius: 8px; padding: 6px 8px; background: #131313; }
.seat.turn { border-color: #e50914; box-shadow: 0 0 0 1px rgba(229, 9, 20, 0.35); }
.seathead { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.cards.small .card { padding: 3px 6px; font-size: 12px; min-width: 24px; }

/* hesap kutusu */
.account { border: 1px solid #2a2a2a; border-radius: 10px; padding: 10px; margin-bottom: 12px; background: #1a1a1a; }
.account .plain { display: block; width: 100%; box-sizing: border-box; margin-bottom: 6px; text-transform: none; letter-spacing: normal; text-align: left; font-weight: 400; }
.account .joinrow .btn { width: auto; flex: 1; }
#acctsigned { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* platform + dil */
.headright { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.langsel { background: #1f1f1f; color: #f5f5f5; border: 1px solid #333; border-radius: 6px; font-size: 11px; padding: 3px 4px; cursor: pointer; }
.platrow { display: flex; gap: 8px; margin-bottom: 10px; align-items: center; }
.platrow.room { margin-top: 4px; }
.platbtn, .platbtn2 {
  flex: 1; padding: 8px 6px; border-radius: 8px; cursor: pointer;
  background: #1a1a1a; color: #cfcfcf; border: 1px solid #2f2f2f; font-size: 12px; font-weight: 600;
}
.platbtn.active, .platbtn2.active { background: #e50914; color: #fff; border-color: #e50914; }
.platbtn2 { flex: 0 1 auto; padding: 5px 8px; font-size: 11px; }

/* --- sekmeler --- */
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tab {
  flex: 1; padding: 8px 4px; border-radius: 9px; cursor: pointer;
  background: #1a1a1a; color: #cfcfcf; border: 1px solid #2f2f2f;
  font-size: 12px; font-weight: 700;
}
.tab.active { background: var(--red); color: #fff; border-color: var(--red); }
.pane.overlay { position: static; }

/* --- blackjack masasi --- */
.bjtable { position: relative; overflow: hidden; }
.tabletop { position: relative; z-index: 1; }
.handrow { display: flex; align-items: center; gap: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #cfe8d8; }
.handname { flex: 1; }
.handscore {
  min-width: 24px; text-align: center; font-weight: 800; font-size: 12px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 1px 7px; color: #fff;
}
.feltline { height: 1px; background: rgba(255,255,255,.12); margin: 8px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800;
  background: #20160a; border: 1px solid #6b4b12; color: #f6c453; border-radius: 999px; padding: 1px 8px;
}
.card { animation: dealin .28s ease both; }
@keyframes dealin {
  from { opacity: 0; transform: translateY(-14px) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}
.bjfloatwrap { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.bjfloat {
  position: absolute; left: 50%; top: 45%; transform: translate(-50%, 0);
  font-size: 20px; font-weight: 900; text-shadow: 0 3px 10px rgba(0,0,0,.7);
  animation: floatup 1.8s ease-out forwards; white-space: nowrap;
}
.bjfloat.win { color: #4ee08a; }
.bjfloat.lose { color: #ff6b73; }
.bjfloat.push { color: #ffd166; }
@keyframes floatup {
  0% { opacity: 0; transform: translate(-50%, 16px) scale(.7); }
  18% { opacity: 1; transform: translate(-50%, 0) scale(1.15); }
  35% { transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -46px) scale(1); }
}
.seat .chip { margin-left: 6px; }

/* --- dairesel masa --- */
.bjtable.round {
  border-radius: 50% / 26%;
  padding: 14px 10px 18px;
  background: radial-gradient(ellipse at 50% 22%, #1a6b3f, #0a2418 78%);
  border: 3px solid #3a2412;
  box-shadow: inset 0 0 30px rgba(0,0,0,.55), 0 6px 18px rgba(0,0,0,.4);
}
.dealerzone { text-align: center; }
.dealerfig {
  position: relative; width: 46px; height: 46px; margin: 0 auto 4px; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #2c2c2c, #101010);
  border: 2px solid rgba(255,255,255,.18); border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,.5);
}
.dealerfig .dhead {
  position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 15px; height: 15px; border-radius: 50%; background: #e8c49a;
}
.dealerfig .dbody {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  width: 32px; height: 24px; border-radius: 16px 16px 0 0;
  background: linear-gradient(#f5f5f5 0 40%, #1d1d1d 40%);
  box-shadow: inset 0 0 0 3px #1d1d1d;
}
.handrow.center { justify-content: center; }
.handrow.center .handname { flex: 0 0 auto; }
.cards.center { justify-content: center; }
.seatring { display: flex; align-items: flex-end; justify-content: center; gap: 6px; margin-top: 10px; }
.myseat { flex: 1 1 auto; min-width: 0; }
.sidecol { display: flex; flex-direction: column; gap: 6px; flex: 0 0 76px; }
.sidecol:empty { flex: 0 0 0; }
.sideseat {
  background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 4px 5px; text-align: center;
}
.sideseat.turn { border-color: #f6c453; box-shadow: 0 0 0 1px rgba(246,196,83,.35); }
.sideseat .sname { font-size: 10px; font-weight: 700; color: #dff2e6; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sideseat .cards { min-height: 0; margin: 3px 0 2px; justify-content: center; }
.sideseat .cards .card { padding: 2px 4px; font-size: 10px; min-width: 18px; }
.sideseat .sinfo { font-size: 9px; color: #a9c9b6; }
.sideseat .sinfo.bad { color: #ff9b9b; }
.sideseat .sinfo.good { color: #7ee0a5; }

/* --- altin cerceve --- */
.avatar.goldframe, .pavatar.goldframe {
  border: 2px solid #f6c453;
  box-shadow: 0 0 0 2px rgba(246,196,83,.25), 0 0 12px rgba(246,196,83,.45);
}

/* --- ev (pixel oda) --- */
.housewrap {
  position: relative;
  border: 2px solid #3a2412;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1210;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.5);
}
#housecanvas {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  cursor: pointer;
  outline: none;
}

/* ev bilgi cubugu + magaza kategorileri + is yeri */
.houseinfo { display: flex; align-items: center; gap: 8px; margin: 6px 0; flex-wrap: wrap; }
.storecats { display: flex; gap: 6px; margin: 8px 0; }
.catbtn {
  flex: 1; padding: 6px 8px; border-radius: 8px; cursor: pointer;
  border: 1px solid #2b2b2b; background: #1c1c1c; color: #a3a3a3;
  font-size: 11px; font-weight: 700;
}
.catbtn:hover { border-color: #3d3d3d; color: #f5f5f5; }
.catbtn.active { border-color: #E50914; color: #fff; background: #241417; }
#joblist .reward.ownedr { border-color: #f6c453; }

/* --- buyutme tusu --- */
.zoombtn {
  cursor: pointer; border: 1px solid #333; background: #1f1f1f; color: #cfcfcf;
  border-radius: 6px; font-size: 13px; line-height: 1; padding: 4px 7px; font-weight: 700;
}
.zoombtn:hover { color: #fff; border-color: var(--red); }
.zoombtn.on { background: var(--red); border-color: var(--red); color: #fff; }

/* --- yonetici paneli --- */
.adminpanel { margin-top: 12px; border: 1px solid #6b4b12; border-radius: 10px; padding: 10px; background: #191512; }
.adminpanel .plain { text-transform: none; letter-spacing: normal; text-align: left; font-weight: 400; margin-bottom: 8px; }
.acat {
  flex: 1; padding: 6px 8px; border-radius: 8px; cursor: pointer;
  border: 1px solid #2b2b2b; background: #1c1c1c; color: #a3a3a3; font-size: 11px; font-weight: 700;
}
.acat.active { border-color: #f6c453; color: #f6c453; }
.arow { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.arow .atop { display: flex; align-items: center; gap: 6px; }
.arow .aname { flex: 1; font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arow .amail { font-size: 10px; color: var(--muted); display: block; font-weight: 400; }
.arow input[type="number"] { width: 78px; padding: 4px 6px; font-size: 12px; text-align: right; }
.arow .aitems { display: flex; gap: 4px; margin-top: 6px; }
.arow select {
  flex: 1; background: var(--panel); color: var(--text); border: 1px solid var(--line);
  border-radius: 6px; font-size: 11px; padding: 4px;
}

/* liman / balikci / oda listesi */
.hiderow { display: flex; align-items: center; justify-content: flex-start; text-align: left; gap: 6px; font-size: 11px; color: #b9b9bd; margin: 8px 0; cursor: pointer; }
.hiderow span { flex: 1; }
.hiderow input { width: 14px; height: 14px; flex: none; }
.hiderow input { accent-color: #e5484d; }
.btn.wide { width: 100%; margin-top: 8px; }
.roomlist { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; max-height: 190px; overflow: auto; }
.roomrow { display: flex; align-items: center; gap: 8px; background: #1b1b1f; border: 1px solid #2a2a30; border-radius: 8px; padding: 7px 9px; }
.roomrow .rbody { flex: 1; display: flex; flex-direction: column; }
.roomrow .rbody b { font-size: 12px; color: #f2f2f4; }
.roomrow .rbody span { font-size: 10px; color: #9a9aa2; }
.fishdialog { position: absolute; inset: 10px; z-index: 8; overflow: auto; background: rgba(15,15,18,.97); border: 1px solid #6b4b12; border-radius: 8px; padding: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.72); }
.fishdialog > img { float: left; width: 42px; height: 42px; image-rendering: pixelated; margin: 0 9px 5px 0; }
.fishspeech { min-height: 48px; }
.fishspeech b { color: #f6c453; }
.fishspeech p { margin: 3px 22px 8px 0; font-size: 11px; color: #d6d6d8; }
.fishclose { position: absolute; left: 6px; top: 5px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #555; background: #211; color: #fff; cursor: pointer; z-index: 2; }
.fishrods { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.fishrods .reward { padding: 6px; min-width: 0; }
.fishrods .rbody span { display: block; font-size: 9px; color: var(--muted); }
.fishrods .btn { padding: 4px 5px; font-size: 9px; }
.courierhud { position: absolute; right: 6px; top: 6px; z-index: 6; width: 116px; background: rgba(13,15,18,.92); border: 1px solid #f6c453; border-radius: 6px; padding: 6px 24px 6px 7px; box-shadow: 0 3px 10px rgba(0,0,0,.5); }
.courierhud b, .courierhud span { display: block; font-size: 9px; }
.courierhud span { color: #d1d1d3; }
.courierhud.collapsed span { display: none; }
.courierhud.collapsed { width: 78px; }
.hudtoggle { position: absolute; right: 3px; top: 3px; border: 0; background: transparent; color: #ddd; cursor: pointer; }
#fishstat.bite { color: #ffd166; font-weight: 700; }
#fishlist .reward .rbody span { text-transform: capitalize; }

.cityeditor canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; border: 1px solid #3b3b42; background: #26351f; cursor: crosshair; }
.citytools, .citynums { display: flex; gap: 4px; margin-top: 6px; }
.citytools .mini { flex: 1; }
.cityfields { margin-top: 6px; }
.cityfields .plain, .cityfields select { width: 100%; margin-bottom: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); color: var(--text); }
.citynums input { min-width: 46px; flex: 1 1 46px; padding: 5px; }
.citynums { flex-wrap: wrap; }
.cityfields .citynums select { width: auto; flex: 1 1 90px; margin-bottom: 0; }
.cityvenues .citynums .plain { width: auto; flex: 1 1 120px; margin-bottom: 0; }
.citytools .modebtn.active { background: var(--brand); color: #fff; }
.cityfields .chk, .cityeditor .chk { display: flex; align-items: center; gap: 5px; font-size: 11px; margin: 4px 0; }
.cityvenues { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
.fnum { display: flex; flex-direction: column; gap: 2px; font-size: 10px; flex: 1; min-width: 54px; opacity: .9; }
.fnum input { width: 100%; padding: 4px; }
.warn { position: relative; }
.warnx { position: absolute; top: 4px; right: 6px; background: transparent; border: 0; color: inherit; font-size: 14px; line-height: 1; cursor: pointer; opacity: .75; }
.warnx:hover { opacity: 1; }
.filepick { display: inline-flex; align-items: center; }
.filepick input { display: none; }
#citysave { margin-top: 7px; }

/* ---- video uyarisi kapatma ---- */
.warn { position: relative; padding-right: 26px; }
.warnx {
  position: absolute; top: 4px; right: 6px;
  background: none; border: 0; color: #ffb3b7; cursor: pointer;
  font-size: 15px; line-height: 1; padding: 2px 4px;
}
.warnx:hover { color: #fff; }

/* ---- slot makinesi ---- */
.slotmachine {
  position: relative;
  margin: 10px 0;
  padding: 14px 12px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #5b1220, #2a0a12);
  border: 2px solid #c9a227;
  box-shadow: inset 0 0 18px rgba(0,0,0,.6);
}
.slotmute {
  position: absolute; top: 6px; right: 8px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18);
  color: #ffe9a8; border-radius: 8px; cursor: pointer; font-size: 12px; padding: 2px 6px;
}
.slotbody { display: flex; align-items: center; gap: 10px; }
.slotreels {
  display: flex; gap: 6px; flex: 1;
  padding: 8px; border-radius: 10px;
  background: #120508; border: 2px solid #8c6d14;
}
.slotreel {
  flex: 1; height: 62px; overflow: hidden; border-radius: 8px;
  background: linear-gradient(180deg,#fdf6e3,#e8d9b5);
  box-shadow: inset 0 6px 10px rgba(0,0,0,.35), inset 0 -6px 10px rgba(0,0,0,.35);
}
.slotstrip { display: flex; flex-direction: column; will-change: transform; }
.slotstrip span { height: 62px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.slotlever { width: 22px; height: 70px; position: relative; cursor: pointer; }
.leverbar {
  position: absolute; left: 8px; top: 14px; width: 6px; height: 52px; border-radius: 3px;
  background: linear-gradient(180deg,#d9d9d9,#8a8a8a);
  transform-origin: bottom center; transition: transform .18s ease;
}
.leverball {
  position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff7b7b, #b40f18);
  transition: transform .18s ease;
}
.slotlever.pulled .leverbar { transform: scaleY(.55); }
.slotlever.pulled .leverball { transform: translateY(24px); }
.slotwin {
  min-height: 18px; text-align: center; font-weight: 700; font-size: 13px;
  color: #ffe08a; margin-bottom: 6px;
}
.slotwin.big { animation: slotpop .6s ease 2; color: #fff3b0; text-shadow: 0 0 12px #ffcc33; }
@keyframes slotpop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.22); } }
.slotmachine.hit { animation: slotshake .45s ease; }
@keyframes slotshake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Yonetici: hazir asset galerisi */
.assetgrid { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.assetchip { display: flex; align-items: center; gap: 4px; background: #20242c; border: 1px solid #333a46; color: #dfe3ea; border-radius: 6px; padding: 3px 6px; font-size: 10px; cursor: pointer; }
.assetchip img { width: 16px; height: 16px; image-rendering: pixelated; }
.assetchip i { width: 12px; height: 12px; display: inline-block; border-radius: 2px; }
.assetdel { background: transparent; border: 0; color: #ff6b6b; cursor: pointer; font-size: 12px; padding: 0 2px; }
#cityroom { width: auto; flex: 1 1 110px; margin-bottom: 0; }

/* --- en genis goruntu modu (3. buyutme kademesi) --- */
body.huge { width: min(940px, 100vw); font-size: 15px; }
body.huge .chat { height: 260px; }
body.huge .bigcode { font-size: 38px; }
body.huge #housecanvas { width: 100%; height: auto; }

/* kostum karti onizlemesi */
.cosicon { width: 22px; height: 22px; object-fit: contain; image-rendering: pixelated; }
.cospreview { background: #1b1b1b; border: 1px solid #333; border-radius: 6px; image-rendering: pixelated; }
.synctext.ok { color: #7bd88f; }
