@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* palette: #560C20 · #E3E2DE · #DCB1BA · #8E2350 · #DC587C */
  --wine: #560c20;
  --cream: #e3e2de;
  --blush: #dcb1ba;
  --berry: #8e2350;
  --pink: #dc587c;

  --bg: #1a0710;
  --bg-2: #22091a;
  --panel: #2a0b17;
  --panel-2: #33101f;
  --row: #3a1224;
  --row-hover: #4a1830;
  --border: #4e1a30;
  --border-soft: rgba(220, 177, 186, .14);
  --text: var(--cream);
  --muted: #b98f99;
  --dim: #8a6470;
  --gray-loc: rgba(150, 140, 145, .38);
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); }
.hidden { display: none !important; }
.muted { color: var(--muted); }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 72px; display: flex; align-items: center; gap: 24px;
  padding: 0 40px; background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; white-space: nowrap; }
.brand img { height: 44px; width: auto; }
.nav-links { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; }
.nav-link {
  background: none; border: 0; padding: 10px 16px; border-radius: 8px;
  font-size: 17px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px;
}
.nav-link:hover, .nav-link.active { background: rgba(220, 88, 124, .12); color: #fff; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 230px; max-height: 60vh; overflow: auto; padding: 6px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); display: none;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 7px;
  background: none; border: 0; font-size: 14px;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--row-hover); }
.dropdown-menu .empty { padding: 9px 12px; color: var(--dim); font-size: 14px; }
.chev { width: 16px; height: 16px; opacity: .8; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 9px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; transition: filter .15s, background .15s;
}
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--panel-2); border-color: var(--border); }
.btn-ghost:hover { background: var(--row-hover); }
.btn-danger { background: #7a1a2a; color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 7px; }
.btn-discord { background: var(--pink); color: #fff; }
.btn-discord:hover { filter: brightness(1.08); }

.user-chip { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); }
.user-chip img { width: 34px; height: 34px; border-radius: 50%; }
.user-chip span { font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-burger { display: none; background: none; border: 0; padding: 8px; }

/* ---------- page header (session bar) ---------- */
.subbar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 40px; border-bottom: 1px solid var(--border); background: var(--bg-2);
}
.subbar-title { display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 700; }
.subbar-title .logo-dot { width: 52px; height: 52px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); }
.subbar-title .logo-dot img { width: 44px; }
.lobby-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lobby-tab { padding: 6px 12px; border-radius: 7px; background: var(--panel-2); border: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.lobby-tab.active { background: var(--berry); border-color: var(--pink); }
.badges { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--panel);
  color: var(--blush); font-size: 16px;
}
.badge svg { width: 20px; height: 20px; }
.badge.warn svg { color: var(--pink); }

/* ---------- drop map layout ---------- */
.dm-wrap {
  display: grid; grid-template-columns: 470px 1fr; gap: 0;
  margin: 12px 40px 16px; height: calc(100vh - 72px - 80px - 28px);
  min-height: 520px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--panel);
}
.side { display: flex; flex-direction: column; padding: 12px; gap: 12px; border-right: 1px solid var(--border); min-height: 0; }
.lb-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 14px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--border);
  font-size: 18px; font-weight: 500;
}
.lb-btn:hover { background: var(--row-hover); }
.lb-btn .l { display: flex; align-items: center; gap: 10px; }
.lb-btn svg { width: 20px; height: 20px; }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 0; }
.side-head h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--blush); }
.search { display: flex; align-items: center; gap: 6px; color: var(--muted); background: none; border: 0; }
.search input { background: transparent; border: 0; outline: none; width: 120px; color: var(--text); font-size: 15px; }
.search input::placeholder { color: var(--muted); }
.search svg { width: 17px; height: 17px; }
.players { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 6px; min-height: 0; }
.players::-webkit-scrollbar { width: 6px; }
.players::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 3px; }
.player {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px;
  background: var(--row); border: 1px solid transparent; cursor: pointer; min-height: 60px;
}
.player:hover { background: var(--row-hover); }
.player.me { border-color: var(--pink); }
.player .av { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--c, var(--pink)); object-fit: cover; flex: none; background: var(--panel-2); }
.player .nm { flex: 1; min-width: 0; }
.player .nm b { display: block; font-size: 19px; font-weight: 600; color: var(--c, var(--pink)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .nm small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .st { width: 22px; height: 22px; color: var(--muted); flex: none; }
.player .st.ok { color: var(--c, var(--pink)); }
.player .x { background: none; border: 0; color: var(--dim); padding: 2px; display: none; }
.player:hover .x { display: block; }
.side-foot { display: flex; gap: 8px; flex-wrap: wrap; }
.side-foot .btn { flex: 1; }
.notice { padding: 12px; border-radius: 8px; background: rgba(220, 88, 124, .1); border: 1px solid rgba(220, 88, 124, .35); color: var(--blush); font-size: 14px; line-height: 1.4; }

.map-view { position: relative; overflow: hidden; background: radial-gradient(ellipse at center, #3a1024 0%, #1e0812 70%); cursor: grab; user-select: none; }
.map-view.panning { cursor: grabbing; }
.map-inner { position: absolute; transform-origin: 0 0; }
.map-inner > img { display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.overlay { position: absolute; inset: 0; }
.loc {
  position: absolute; border: 2px solid rgba(190, 180, 185, .7); background: var(--gray-loc);
  border-radius: 2px; transition: background .15s, border-color .15s;
}
.loc:hover { background: rgba(220, 177, 186, .38); border-color: var(--blush); cursor: crosshair; }
.loc.claimed { background: color-mix(in srgb, var(--c) 30%, transparent); border-color: var(--c); }
.loc.claimed:hover { background: color-mix(in srgb, var(--c) 45%, transparent); }
.loc .loc-name { position: absolute; left: 4px; top: 2px; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px #000; pointer-events: none; opacity: 0; transition: opacity .15s; white-space: nowrap; }
.loc:hover .loc-name { opacity: 1; }
.spots { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.spot {
  fill: rgba(150, 140, 145, .35); stroke: rgba(205, 198, 202, .85); stroke-width: 3px;
  vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .15s, stroke .15s; cursor: crosshair;
}
.spot:hover { fill: rgba(220, 177, 186, .38); stroke: var(--blush); }
.spot.claimed { fill: color-mix(in srgb, var(--c) 28%, transparent); stroke: var(--c); }
.spot.claimed:hover { fill: color-mix(in srgb, var(--c) 42%, transparent); }
.map-locked .spot { cursor: not-allowed; }
.marker {
  position: absolute; display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%, -50%) scale(var(--ms, 1)); transform-origin: 50% 50%;
  pointer-events: none; z-index: 2;
}
.marker img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--c); object-fit: cover; background: var(--panel-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.marker .lbl {
  margin-top: -6px; font-weight: 800; font-size: 16px; color: #fff; white-space: nowrap; line-height: 1.05; text-align: center;
  text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000, 0 2px 4px #000;
}
.can-move .marker { pointer-events: auto; cursor: grab; }
.can-move .player { cursor: grab; touch-action: none; }
.marker.moving { opacity: .3; }
.dragging, .dragging * { cursor: grabbing !important; user-select: none; }
.spot.drop-target { fill: rgba(220, 88, 124, .45) !important; stroke: #fff !important; }
.drag-ghost {
  position: fixed; z-index: 200; pointer-events: none; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
}
.drag-ghost img { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--c); object-fit: cover; box-shadow: 0 6px 18px rgba(0, 0, 0, .6); }
.drag-ghost span { margin-top: -4px; font-weight: 800; color: #fff; text-shadow: 0 0 3px #000, 0 1px 2px #000; white-space: nowrap; }
.marker.pulse img { animation: pulse 1s ease-out 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--c); } 100% { box-shadow: 0 0 0 26px transparent; } }
.map-tools { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 5; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: rgba(26, 7, 16, .85); border: 1px solid var(--border); }
.icon-btn:hover { background: var(--row-hover); }
.icon-btn svg { width: 22px; height: 22px; }
.hide-overlay .overlay { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100;
  padding: 12px 18px; border-radius: 10px; background: var(--panel); border: 1px solid var(--pink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-weight: 500; max-width: 90vw;
}

/* ---------- generic pages ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 32px 24px 60px; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 30px; }
.hero h1 { font-size: 52px; line-height: 1.05; margin: 0 0 16px; letter-spacing: -.02em; }
.hero h1 span { color: var(--pink); }
.hero p { color: var(--blush); font-size: 18px; line-height: 1.5; margin: 0 0 26px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero img { width: 100%; max-width: 460px; justify-self: center; filter: drop-shadow(0 20px 50px rgba(220, 88, 124, .35)); }
.section-title { font-size: 22px; font-weight: 700; margin: 34px 0 14px; display: flex; align-items: center; gap: 10px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--pink); transform: translateY(-2px); }
.card h3 { margin: 0; font-size: 18px; }
.card .meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--blush); }
.pill.live { background: rgba(220, 88, 124, .18); border-color: var(--pink); color: #fff; }
.progress { height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--berry), var(--pink)); }
.empty-state { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: 12px; }

/* ---------- sessions page (servers) ---------- */
.banner { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #2a0a18, var(--bg)); }
.banner-bg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none;
  font-weight: 900; font-size: clamp(64px, 13vw, 210px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; user-select: none; }
.banner-bg span:first-child { color: rgba(227, 226, 222, .07); }
.banner-bg span:last-child { color: rgba(220, 88, 124, .13); }
.banner-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 70px 24px 60px; }
.banner h1 { margin: 0 0 10px; font-size: 48px; }
.banner p { margin: 0 0 18px; color: var(--blush); font-size: 18px; }
.servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.server-btn { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); font-size: 17px; font-weight: 500; text-align: left; }
.server-btn:hover { background: var(--row-hover); }
.server-btn.active { border-color: var(--pink); background: rgba(220, 88, 124, .16); color: var(--pink); }
.server-btn .sico { position: relative; width: 42px; height: 42px; flex: none; }
.server-btn .sico img, .server-btn .sico .gi { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--panel-2); display: grid; place-items: center; font-weight: 700; color: var(--text); }
.server-btn .sico .ok { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 11px; display: grid; place-items: center; border: 2px solid var(--panel); }
.server-btn .cnt { margin-left: auto; font-size: 12px; }

/* ---------- resources ---------- */
.brand-ico { display: inline-grid; place-items: center; border-radius: 12px; flex: none; }
.brand-ico svg { width: 55%; height: 55%; }
.res-card { flex-direction: row; align-items: center; gap: 16px; }
.res-card .txt { flex: 1; min-width: 0; }
.res-card h3 { margin: 0 0 4px; }
.res-card .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.res-card .go { color: var(--muted); }
a.res-card:hover .go { color: var(--pink); }

/* ---------- admin ---------- */
.admin { display: grid; grid-template-columns: 230px 1fr; gap: 24px; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; align-self: start; }
.admin-nav button { text-align: left; padding: 10px 14px; border-radius: 8px; background: none; border: 0; font-weight: 600; }
.admin-nav button.active, .admin-nav button:hover { background: var(--panel-2); color: #fff; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.panel h2 { margin: 0 0 6px; font-size: 20px; }
.panel h3 { margin: 18px 0 8px; font-size: 16px; color: var(--blush); }
.panel > p.muted { margin: 0 0 16px; font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.input, select.input, textarea.input { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; outline: none; width: 100%; }
.input:focus { border-color: var(--pink); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 160px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 9px 8px; border-bottom: 1px solid var(--border-soft); text-align: left; vertical-align: middle; }
.table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.guild-card { border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 12px; background: var(--bg-2); }
.guild-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.guild-head img, .guild-head .gi { width: 40px; height: 40px; border-radius: 10px; background: var(--panel-2); display: grid; place-items: center; font-weight: 700; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.editor { position: relative; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #1e0812; cursor: crosshair; user-select: none; }
.editor img { display: block; width: 100%; pointer-events: none; -webkit-user-drag: none; }
.editor .spot { cursor: move; }
.editor .spot.sel { stroke: var(--pink); fill: rgba(220, 88, 124, .35); }
.editor .vtx { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; cursor: grab; z-index: 3; }
.editor .ghost { stroke: var(--pink); stroke-dasharray: 4 3; fill: rgba(220, 88, 124, .15); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.editor .spot-name { position: absolute; transform: translate(-50%, -50%); font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; pointer-events: none; white-space: nowrap; }
.editor .draft { position: absolute; border: 2px dashed var(--pink); background: rgba(220, 88, 124, .2); pointer-events: none; }
.editor .handle { position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; background: var(--pink); border-radius: 3px; cursor: nwse-resize; }
.role-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.role-pick { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-2); color: var(--rc); font-weight: 600; font-size: 14px; cursor: pointer; user-select: none; }
.role-pick input { display: none; }
.role-pick.on { border-color: var(--rc); background: color-mix(in srgb, var(--rc) 18%, transparent); }
.role-pick.on::before { content: '✓'; }
.loc-list { max-height: 420px; overflow: auto; }
.lock-box { max-width: 420px; margin: 60px auto; text-align: center; }
.lock-box img { width: 180px; margin-bottom: 10px; }
code.k { background: var(--bg-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 5px; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { padding: 0 16px; gap: 12px; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 10px; }
  .nav-links.open { display: flex; }
  .nav-links .dropdown-menu { position: static; transform: none; box-shadow: none; margin-top: 4px; }
  .nav-burger { display: block; margin-left: auto; }
  .subbar { padding: 12px 16px; }
  .dm-wrap { grid-template-columns: 1fr; height: auto; margin: 12px 16px; }
  .side { border-right: 0; border-bottom: 1px solid var(--border); max-height: 420px; }
  .map-view { height: 92vw; max-height: 80vh; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .cta { justify-content: center; }
  .hero h1 { font-size: 38px; }
  .admin { grid-template-columns: 1fr; }
  .admin-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .container { padding: 20px 16px 40px; }
  .badge { font-size: 13px; padding: 7px 10px; }
  .subbar-title { font-size: 19px; }
}

/* ---------- profile ---------- */
.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pf-av { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--pink); }
.pf-bal { text-align: right; }
.pf-amt { font-size: 36px; font-weight: 800; color: var(--pink); }
button[disabled] { pointer-events: auto; }

/* ---------- tickets ---------- */
.tk-ico { width: 42px; height: 42px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; font-size: 20px; flex: none; }
.tk-actions { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); gap: 8px; }
.tk-thread { display: flex; flex-direction: column; gap: 14px; }
.tk-msg { display: flex; gap: 12px; align-items: flex-start; max-width: 80%; }
.tk-msg img { width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--panel-2); object-fit: cover; }
.tk-msg.staff { flex-direction: row-reverse; align-self: flex-end; }
.tk-bubble { background: var(--row); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; min-width: 0; }
.tk-msg.staff .tk-bubble { background: rgba(220, 88, 124, .14); border-color: rgba(220, 88, 124, .45); }
.tk-msg.system .tk-bubble { border-style: dashed; }
.tk-head { font-size: 13px; margin-bottom: 4px; }
.tk-body { white-space: pre-wrap; word-wrap: break-word; line-height: 1.45; }
@media (max-width: 700px) { .tk-msg { max-width: 100%; } }
