/* Shared clan controls inherit the bot theme; map artwork keeps its own palette. */
#tab-clan.clan-renewal {
  --clan-control-bg:var(--bg-card-2,var(--bg-hover));
  --clan-control-ink:var(--text);
  --clan-control-line:var(--border);
}
#tab-clan.clan-renewal button:not(:is(.clan-mode-tile,.clan-overview-shortcut,.land-sheet-backdrop)) {
  min-height:46px;
  border-radius:16px !important;
  border-color:var(--clan-control-line) !important;
  background:var(--clan-control-bg) !important;
  color:var(--clan-control-ink) !important;
  box-shadow:none !important;
  font:600 14px/1.35 ReverseMenu,ClanText,system-ui,sans-serif !important;
  letter-spacing:normal;
  text-transform:none;
  transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,transform 160ms cubic-bezier(.2,.8,.2,1);
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
#tab-clan.clan-renewal button:is(.clan-cta,.clan-join-btn,.cf-primary,.action-btn-large,.accent-btn,.war-primary-btn):not(:is(.ghost,.clan-mode-tile,.clan-overview-shortcut)) {
  min-height:46px;
  padding:11px 16px !important;
  border:1px solid var(--clan-control-line) !important;
  border-radius:16px !important;
  background:var(--text) !important;
  color:var(--bg-card) !important;
  font:600 14px/1.35 ReverseMenu,ClanText,system-ui,sans-serif !important;
  white-space:normal;
  text-align:center;
}
#tab-clan.clan-renewal :is(.clan-cta,.clan-join-btn,.cf-primary,.action-btn-large,.accent-btn,.war-primary-btn):not(:disabled):hover { filter:brightness(.94); }
#tab-clan.clan-renewal button.clan-cta.land-sheet-primary:not(:disabled):hover { background:var(--text) !important; color:var(--bg-card) !important; }
#tab-clan.clan-renewal .clan-cta.ghost {
  background:var(--clan-control-bg) !important;
  color:var(--text) !important;
  border-color:var(--border) !important;
}
#tab-clan.clan-renewal button:not(:is(.clan-mode-tile,.clan-overview-shortcut,.land-sheet-backdrop)):not(:disabled):active { transform:scale(.975); }
#tab-clan.clan-renewal button:disabled:not(:is(.clan-mode-tile,.clan-overview-shortcut)) {
  background:var(--bg-hover) !important;
  color:var(--text-sub) !important;
  border-color:var(--border) !important;
  opacity:.6;
  cursor:not-allowed;
  filter:none;
}
#tab-clan.clan-renewal .clan-subnav {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px !important;
  max-width:820px;margin:0 auto 14px;padding:4px !important;
  border:0 !important;border-bottom:0 !important;border-radius:19px;background:var(--bg-hover) !important;
}
#tab-clan.clan-renewal .clan-subnav .clan-tab-btn {
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  min-height:56px;padding:8px 4px;border:0 !important;border-radius:15px !important;
  background:transparent !important;color:var(--text-sub) !important;font-size:12px !important;box-shadow:none !important;
}
#tab-clan.clan-renewal .clan-subnav .clan-tab-btn>.clan-icon { width:19px;height:19px; }
#tab-clan.clan-renewal .clan-subnav .clan-tab-btn.active {
  background:var(--text) !important;color:var(--bg-card) !important;box-shadow:none !important;
}
#tab-clan.clan-renewal .clan-subnav[hidden],
#tab-clan.clan-renewal:has(#cpanel-lands.active) .clan-subnav { display:none !important; }
#tab-clan.clan-renewal button:is(.clan-filter.on,.filter-pill.active,[data-goal][aria-pressed=true]) {
  background:var(--text) !important;color:var(--bg-card) !important;border-color:var(--text) !important;
}
#tab-clan.clan-renewal .cf-project {
  background:var(--bg-card) !important;border:1px solid var(--border) !important;border-radius:20px !important;padding:18px !important;
}
#tab-clan.clan-renewal .cf-project-heading { grid-template-columns:minmax(0,1fr) 88px !important;gap:10px; }
#tab-clan.clan-renewal .cf-supply-art { display:block;width:88px;height:88px;background:url('assets/clans/overview-atlas-349.webp') 100% 100% / 200% 200% no-repeat; }
#tab-clan.clan-renewal .cf-progress i { background:var(--text) !important; }
#tab-clan.clan-renewal .cf-project-top { font-size:12px;color:var(--text-sub); }
#tab-clan.clan-renewal .cf-status { color:var(--text-sub) !important; }
#tab-clan.clan-renewal .cf :is(.cf-rules,.cf-deposit) { border:1px solid var(--border) !important;border-radius:18px !important;background:var(--bg-card) !important;padding:0 16px !important;margin-top:14px !important; }
#tab-clan.clan-renewal .cf :is(.cf-rules,.cf-deposit)>summary { min-height:54px;padding:12px 0;font-size:14px !important;line-height:20px;list-style:none;color:var(--text); }
#tab-clan.clan-renewal .cf :is(.cf-rules,.cf-deposit)>summary::-webkit-details-marker { display:none; }
#tab-clan.clan-renewal .cf-rules>summary { display:flex;align-items:center;justify-content:space-between;gap:12px; }
#tab-clan.clan-renewal .cf-rules>summary .clan-icon { width:16px;height:16px;transform:rotate(90deg);transition:transform 180ms ease; }
#tab-clan.clan-renewal .cf-rules[open]>summary .clan-icon { transform:rotate(-90deg); }
#tab-clan.clan-renewal .cf-deposit form { padding-bottom:16px; }
#tab-clan.clan-renewal .cf-rules p { font-size:13px;line-height:21px; }
#tab-clan.clan-renewal :is(button,summary,input,select,textarea):focus-visible {
  outline:2px solid var(--text) !important;
  outline-offset:3px;
}
#tab-clan.clan-renewal :is(input,select,textarea) {
  border-radius:14px !important;
  background:var(--bg-card) !important;
  border-color:var(--border) !important;
  color:var(--text) !important;
  min-height:46px;
  font:400 16px/1.45 ReverseMenu,ClanText,system-ui,sans-serif;
}
#tab-clan.clan-renewal :is(.clan-icon-button,.land-room-back) { width:46px; min-width:46px; padding:0; display:grid; place-items:center; }
#tab-clan.clan-renewal .land-room-back>.clan-icon { transform:rotate(180deg); }
#tab-clan.clan-renewal .land-room-header { display:flex; gap:12px; align-items:center; padding:16px 0; }
#tab-clan.clan-renewal .land-room-header>div { flex:1; min-width:0; }
#tab-clan.clan-renewal .land-room-header h2 { font-size:23px; line-height:1.2; margin:0 0 4px; color:var(--text); letter-spacing:-.025em; }
#tab-clan.clan-renewal .land-room-header p { margin:0; color:var(--text-sub); font-size:13px; }
#tab-clan.clan-renewal .land-room-stock { margin:0 0 14px; border:1px solid var(--border); border-radius:16px; background:var(--bg-card); }
#tab-clan.clan-renewal .land-room-stock>summary { min-height:46px; padding:10px 14px; display:flex; align-items:center; gap:8px; cursor:pointer; list-style:none; font-size:13px; }
#tab-clan.clan-renewal .land-room-stock>summary>span { flex:1; }
#tab-clan.clan-renewal .land-room-stock>summary>.clan-icon:last-child { width:16px; transform:rotate(90deg); transition:transform 180ms ease; }
#tab-clan.clan-renewal .land-room-stock[open]>summary>.clan-icon:last-child { transform:rotate(-90deg); }
#tab-clan.clan-renewal .land-room-stock>.land-resources { margin:0; padding:12px; border-bottom:0; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 8px; }
#tab-clan.clan-renewal .land-room-stock .land-resources small { font-size:11px; }
#tab-clan.clan-renewal .land-room-stock .land-resources .clan-icon { color:var(--text-sub); }
#tab-clan.clan-renewal :is(.land-market-surface,.land-task-section) { background:var(--bg-card); border:1px solid var(--border); border-radius:20px; padding:16px; color:var(--text); }
#tab-clan.clan-renewal .land-market-surface { min-height:260px; }
#tab-clan.clan-renewal .land-market-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
#tab-clan.clan-renewal .land-market-toolbar>div { display:grid; gap:3px; }
#tab-clan.clan-renewal .land-market-toolbar>div>span { font-size:12px; color:var(--text-sub); }
#tab-clan.clan-renewal .land-market-toolbar b { font-size:17px; line-height:1.25; }
#tab-clan.clan-renewal .land-market-toolbar>.clan-cta { width:auto; gap:7px; padding-inline:14px !important; }
#tab-clan.clan-renewal .land-market-tabs { position:relative; isolation:isolate; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:4px; gap:0; border-radius:17px; background:var(--bg-hover); margin-bottom:14px; }
#tab-clan.clan-renewal .land-market-indicator { position:absolute; z-index:0; top:4px; bottom:4px; left:calc(4px + (100% - 8px)*var(--market-index)/3); width:calc((100% - 8px)/3); border-radius:13px; background:var(--text); pointer-events:none; }
#tab-clan.clan-renewal .land-market-tabs>button { position:relative; z-index:1; min-width:0; min-height:46px; padding:7px 5px; display:flex; align-items:center; justify-content:center; gap:5px; background:transparent !important; border:0 !important; border-radius:13px !important; color:var(--text-sub) !important; font-size:13px !important; }
#tab-clan.clan-renewal .land-market-tabs>button[aria-pressed="true"] { color:var(--bg-card) !important; }
#tab-clan.clan-renewal .land-market-tabs small { font-size:11px; font-weight:500; opacity:.7; }
#tab-clan.clan-renewal .land-market-content { min-width:0; }
#tab-clan.clan-renewal .land-market-merchant { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; font-size:12px; color:var(--text-sub); }
#tab-clan.clan-renewal .land-market-merchant .clan-cta { flex:none; gap:6px; padding-inline:12px !important; font-size:12px !important; }
#tab-clan.clan-renewal .land-market-merchant .clan-icon { width:14px; height:14px; }
#tab-clan.clan-renewal .land-market-filter { border:1px solid var(--border); border-radius:14px; margin:0 0 12px; overflow:hidden; }
#tab-clan.clan-renewal .land-market-filter>summary { display:flex; align-items:center; gap:8px; min-height:46px; padding:10px 12px; list-style:none; cursor:pointer; font-size:13px; }
#tab-clan.clan-renewal .land-market-filter>summary>span { flex:1; }
#tab-clan.clan-renewal .land-market-filter>summary>.clan-icon:last-child { width:15px; transform:rotate(90deg); }
#tab-clan.clan-renewal .land-market-filter[open]>summary>.clan-icon:last-child { transform:rotate(-90deg); }
#tab-clan.clan-renewal :is(.land-market-filter>div,.land-market-form) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
#tab-clan.clan-renewal .land-market-filter>div { padding:0 12px 12px; }
#tab-clan.clan-renewal :is(.land-market-filter,.land-market-form) label { display:grid; gap:6px; color:var(--text-sub); font-size:12px; min-width:0; }
#tab-clan.clan-renewal :is(.land-market-filter,.land-market-form) :is(input,select) { box-sizing:border-box; width:100%; min-width:0; padding:10px 12px; }
#tab-clan.clan-renewal .land-market-explanation { color:var(--text-sub); font-size:12px; line-height:1.6; margin:0 0 14px; }
#tab-clan.clan-renewal :is(.land-market-lots,.land-market-deliveries) { display:grid; gap:10px; }
#tab-clan.clan-renewal .land-market-lot { padding:14px; border:1px solid var(--border); background:var(--bg); border-radius:17px; min-width:0; }
#tab-clan.clan-renewal .land-market-lot-head { display:flex; align-items:center; gap:10px; }
#tab-clan.clan-renewal :is(.land-market-goods,.land-task-icon) { display:grid; place-items:center; flex:none; width:40px; height:40px; border-radius:13px; background:var(--bg-hover); color:var(--text-sub); }
#tab-clan.clan-renewal :is(.land-market-goods,.land-task-icon)>.clan-icon { width:22px; height:22px; }
#tab-clan.clan-renewal .land-market-lot-head>div { flex:1; min-width:0; }
#tab-clan.clan-renewal :is(.land-market-lot h4,.land-task-row h4) { margin:0; font-size:14px; line-height:1.35; font-weight:600; }
#tab-clan.clan-renewal .land-market-lot h4>span { font-weight:400; color:var(--text-sub); }
#tab-clan.clan-renewal .land-market-lot-head p { margin:4px 0 0; color:var(--text-sub); font-size:11px; line-height:1.4; overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-market-lot-head>strong { flex:none; display:grid; gap:3px; text-align:right; font-size:14px; font-weight:600; max-width:38%; overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-market-lot-head>strong>small { color:var(--text-sub); font-size:10px; font-weight:400; }
#tab-clan.clan-renewal .land-market-unit-price { margin:8px 0 0 50px; font-size:11px; color:var(--text-sub); }
#tab-clan.clan-renewal .land-market-average { display:block; margin:5px 0 0 50px; color:var(--text-sub); font-size:11px; line-height:1.4; }
#tab-clan.clan-renewal .land-market-route-choice { margin-top:12px; border-top:1px solid var(--border); }
#tab-clan.clan-renewal .land-market-route-choice>summary { display:flex; align-items:center; justify-content:space-between; min-height:46px; gap:10px; padding:10px 0 0; cursor:pointer; list-style:none; font-size:13px; font-weight:600; }
#tab-clan.clan-renewal .land-market-route-choice>summary>.clan-icon { width:16px; transform:rotate(90deg); }
#tab-clan.clan-renewal .land-market-route-choice[open]>summary>.clan-icon { transform:rotate(-90deg); }
#tab-clan.clan-renewal .land-market-routes { display:grid; gap:12px; padding-top:12px; }
#tab-clan.clan-renewal .land-market-route { display:flex; gap:12px; align-items:center; border-top:1px solid var(--border); padding-top:12px; }
#tab-clan.clan-renewal .land-market-route>div { flex:1; min-width:0; }
#tab-clan.clan-renewal .land-market-route b { font-size:13px; }
#tab-clan.clan-renewal .land-market-route small { display:block; color:var(--text-sub); margin:4px 0; font-size:11px; line-height:1.45; }
#tab-clan.clan-renewal .land-market-route p { color:var(--text-sub); font-size:11px; line-height:1.5; margin:0; }
#tab-clan.clan-renewal .land-market-route>.clan-cta { flex:none; max-width:45%; min-width:114px; }
#tab-clan.clan-renewal .land-market-own-actions { display:flex; align-items:center; gap:12px; padding-top:12px; margin-top:12px; border-top:1px solid var(--border); }
#tab-clan.clan-renewal .land-market-own-actions>small { color:var(--text-sub); font-size:11px; }
#tab-clan.clan-renewal .land-market-form-header { display:flex; align-items:center; gap:14px; margin:8px 0 16px; }
#tab-clan.clan-renewal .land-market-form-header>.clan-cta { gap:7px; font-size:12px !important; }
#tab-clan.clan-renewal .land-market-form-header .clan-icon { transform:rotate(180deg); }
#tab-clan.clan-renewal .land-market-form-header h3 { margin:0; font-size:17px; }
#tab-clan.clan-renewal .land-market-form :is(.land-market-form-note,.clan-cta,.land-task-footnote) { grid-column:1/-1; }
#tab-clan.clan-renewal .land-market-form [hidden] { display:none !important; }
#tab-clan.clan-renewal .land-market-form-note { border-top:1px solid var(--border); padding-top:12px; }
#tab-clan.clan-renewal .land-market-form-note p { margin:0 0 6px; color:var(--text-sub); font-size:12px; line-height:1.65; }
#tab-clan.clan-renewal .land-market-empty { text-align:center; padding:24px 12px; }
#tab-clan.clan-renewal .land-market-empty>span { display:block; color:var(--text-sub); margin-bottom:12px; }
#tab-clan.clan-renewal .land-market-empty .clan-icon { width:30px; height:30px; }
#tab-clan.clan-renewal .land-market-empty h4 { font-size:16px; margin:0 0 7px; }
#tab-clan.clan-renewal .land-market-empty p { color:var(--text-sub); font-size:13px; line-height:1.65; margin:0 auto 16px; max-width:340px; }
#tab-clan.clan-renewal .land-market-empty>.clan-cta { margin-inline:auto; width:fit-content; }
#tab-clan.clan-renewal .land-delivery-info { color:var(--text-sub); font-size:12px; line-height:1.65; margin:12px 0; }
#tab-clan.clan-renewal .land-delivery-info p { margin:0 0 4px; }
#tab-clan.clan-renewal .land-delivery-info span { font-size:11px; }
#tab-clan.clan-renewal .land-market-delivery>.clan-cta { width:100%; }
#tab-clan.clan-renewal .land-world-sheet .land-market-surface { padding:0; border:0; background:none; border-radius:0; }
#tab-clan.clan-renewal .land-task-summary { display:flex; gap:16px; justify-content:space-between; padding:4px 2px 16px; }
#tab-clan.clan-renewal .land-task-summary>span { display:grid; gap:4px; font-size:12px; color:var(--text-sub); }
#tab-clan.clan-renewal .land-task-summary>span:last-child { text-align:right; }
#tab-clan.clan-renewal .land-task-summary b { font-size:16px; color:var(--text); }
#tab-clan.clan-renewal .land-task-section { margin-bottom:14px; }
#tab-clan.clan-renewal .land-task-heading { margin-bottom:14px; }
#tab-clan.clan-renewal .land-task-heading h3 { margin:0 0 5px; font-size:17px; line-height:1.3; }
#tab-clan.clan-renewal .land-task-heading p { margin:0; font-size:12px; color:var(--text-sub); line-height:1.65; }
#tab-clan.clan-renewal .land-task-list { display:grid; }
#tab-clan.clan-renewal .land-task-row { display:flex; align-items:center; gap:12px; padding:14px 0; border-top:1px solid var(--border); min-width:0; }
#tab-clan.clan-renewal .land-task-row>div { flex:1; min-width:0; }
#tab-clan.clan-renewal .land-task-row p { margin:5px 0 0; color:var(--text-sub); font-size:12px; line-height:1.5; }
#tab-clan.clan-renewal .land-task-row small { display:block; margin-top:4px; color:var(--text-sub); font-size:11px; line-height:1.5; font-weight:400; }
#tab-clan.clan-renewal .land-task-row h4>small { display:inline; margin:0 0 0 4px; }
#tab-clan.clan-renewal .land-task-row>.clan-cta { flex:none; max-width:43%; font-size:12px !important; }
#tab-clan.clan-renewal .land-task-empty { padding:14px 0 0; }
#tab-clan.clan-renewal .land-task-empty>b { font-size:14px; }
#tab-clan.clan-renewal .land-task-empty>p { color:var(--text-sub); font-size:12px; line-height:1.65; margin:5px 0 0; }
#tab-clan.clan-renewal .land-task-link { width:100%; justify-content:space-between; gap:8px; margin-top:8px; }
#tab-clan.clan-renewal .land-task-link>.clan-icon { width:17px; }
#tab-clan.clan-renewal .land-task-progress { display:flex; align-items:center; gap:8px; padding:12px 0; font-size:12px; line-height:1.5; color:var(--text-sub); }
#tab-clan.clan-renewal .land-task-progress>.clan-icon { flex:none; width:16px; }
#tab-clan.clan-renewal .land-task-progress>span { margin-left:auto; }
#tab-clan.clan-renewal .land-task-footnote { margin:12px 0 0; color:var(--text-sub); font-size:12px; line-height:1.6; }
#tab-clan.clan-renewal .land-task-expeditions>.land-section { padding:0; margin:0; border:0; background:none; }
#tab-clan.clan-renewal .land-task-expeditions>.land-section>h3 { display:none; }
#tab-clan.clan-renewal :is(.land-room-stock,.land-market-filter,.land-market-route-choice)>summary::-webkit-details-marker { display:none; }
@media(max-width:460px) {
  #tab-clan.clan-renewal :is(.land-market-surface,.land-task-section) { padding:14px; }
  #tab-clan.clan-renewal .land-task-row { flex-wrap:wrap; gap:9px; }
  #tab-clan.clan-renewal .land-task-row>div { flex-basis:calc(100% - 49px); }
  #tab-clan.clan-renewal .land-task-row>.clan-cta { margin-left:49px; max-width:none; width:calc(100% - 49px); }
  #tab-clan.clan-renewal .land-market-route { flex-wrap:wrap; }
  #tab-clan.clan-renewal .land-market-route>div { flex-basis:100%; }
  #tab-clan.clan-renewal .land-market-route>.clan-cta { max-width:none; width:100%; }
  #tab-clan.clan-renewal .land-market-lot-head { gap:8px; }
  #tab-clan.clan-renewal .land-market-lot-head>strong { font-size:13px; }
  #tab-clan.clan-renewal .land-market-merchant { align-items:flex-start; }
}
@media(max-width:359px) {
  #tab-clan.clan-renewal :is(.land-market-filter>div,.land-market-form) { grid-template-columns:1fr; }
  #tab-clan.clan-renewal .land-market-tabs>button { font-size:11px !important; gap:3px; }
  #tab-clan.clan-renewal .land-market-tabs small { font-size:10px; }
  #tab-clan.clan-renewal .land-market-toolbar>.clan-cta { font-size:12px !important; padding-inline:10px !important; }
}
@media(prefers-reduced-motion:reduce) {
  #tab-clan.clan-renewal :is(button,summary,.land-market-indicator) { transition:none !important; animation:none !important; }
  #tab-clan.clan-renewal button:not(:is(.clan-mode-tile,.clan-overview-shortcut,.land-sheet-backdrop)):not(:disabled):active { transform:none; }
}
@supports (interpolate-size:allow-keywords) {
  #tab-clan.clan-renewal :is(.land-room-stock,.land-market-filter,.land-market-route-choice,.cf-rules,.cf-deposit,.clan-overview-guide,.clan-overview-history) { interpolate-size:allow-keywords; }
  #tab-clan.clan-renewal :is(.land-room-stock,.land-market-filter,.land-market-route-choice,.cf-rules,.cf-deposit,.clan-overview-guide,.clan-overview-history)::details-content {
    block-size:0;overflow:clip;transition:block-size 220ms cubic-bezier(.2,.7,.3,1),content-visibility 220ms allow-discrete;
  }
  #tab-clan.clan-renewal :is(.land-room-stock,.land-market-filter,.land-market-route-choice,.cf-rules,.cf-deposit,.clan-overview-guide,.clan-overview-history)[open]::details-content { block-size:auto; }
  @media(prefers-reduced-motion:reduce) { #tab-clan.clan-renewal details::details-content { transition:none !important; } }
}

/* Context panels must grow with their copy instead of competing with fixed controls. */
#tab-clan.clan-renewal :is(.land-map-selection,.land-world-sheet) {
  box-sizing:border-box;
  min-width:0;
  overflow-wrap:anywhere;
}
#tab-clan.clan-renewal .land-world-sheet>div:not(.land-sheet-grabber) {
  box-sizing:border-box;
  min-width:0;
  container:clan-sheet / inline-size;
}
#tab-clan.clan-renewal :is(.land-map-selection,.land-world-sheet)>header {
  display:grid;
  grid-template-columns:minmax(0,1fr) 46px;
  align-items:center;
  gap:12px;
}
#tab-clan.clan-renewal :is(.land-map-selection,.land-world-sheet)>header>h3 {
  min-width:0;
  margin:0;
  line-height:1.45;
  overflow-wrap:anywhere;
}
#tab-clan.clan-renewal :is(.land-map-selection,.land-world-sheet)>header>button {
  width:46px;
  min-width:46px;
  height:46px;
  padding:0;
  justify-self:end;
  flex:none;
}
#tab-clan.clan-renewal :is(.land-cell-meta,.land-order-cost,.land-cell-row>span,.land-notice>span) {
  min-width:0;
  line-height:1.55;
  overflow-wrap:anywhere;
}
#tab-clan.clan-renewal .land-object-card>div { flex:1;min-width:0; }
#tab-clan.clan-renewal .land-object-card :is(b,small) { display:block;min-width:0;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-cell-row { flex-wrap:wrap;align-items:flex-start; }
#tab-clan.clan-renewal .land-cell-row>span { flex:1 1 160px; }
#tab-clan.clan-renewal .land-cell-row>.clan-cta { max-width:100%; }
#tab-clan.clan-renewal .land-world-sheet .land-choice {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(0,1fr);
  align-items:stretch;
  padding:4px;
  gap:4px;
  border-radius:18px;
}
#tab-clan.clan-renewal .land-world-sheet .land-choice>button {
  min-width:0;
  width:100%;
  height:auto;
  min-height:46px;
  padding:10px 8px;
  white-space:normal;
  overflow-wrap:anywhere;
  align-self:stretch;
}
#tab-clan.clan-renewal .land-world-sheet .land-choice>button[aria-pressed="true"] {
  background:var(--text) !important;
  color:var(--bg-card) !important;
  border-color:transparent !important;
}
#tab-clan.clan-renewal .land-merchant {
  display:grid;
  grid-template-columns:66px minmax(0,1fr);
  align-items:center;
  gap:12px;
}
#tab-clan.clan-renewal .land-merchant>svg { width:66px;height:66px; }
#tab-clan.clan-renewal .land-merchant>div { min-width:0;align-content:start;gap:5px; }
#tab-clan.clan-renewal .land-merchant b { display:block;font-size:15px;line-height:1.45;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-merchant small { display:block;margin:0;line-height:1.55;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-wallet-strip {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  align-items:start;
}
#tab-clan.clan-renewal .land-wallet-strip>span { min-width:0;line-height:1.5;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-wallet-strip b { line-height:1.5;white-space:normal;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-village-catalog { display:grid;gap:0;min-width:0; }
#tab-clan.clan-renewal .land-village-good { display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;padding:16px 0; }
#tab-clan.clan-renewal .land-good-title {
  display:grid;
  grid-template-columns:24px minmax(0,1fr) fit-content(40%);
  align-items:center;
  gap:8px;
  min-width:0;
}
#tab-clan.clan-renewal .land-good-title>.clan-icon { width:21px;height:21px; }
#tab-clan.clan-renewal .land-good-title>div { display:grid;gap:4px;min-width:0; }
#tab-clan.clan-renewal .land-good-title h4 { margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-good-title small { display:block;margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-good-title>strong {
  min-width:0;
  max-width:100%;
  font-size:14px;
  line-height:1.5;
  text-align:right;
  white-space:normal;
  overflow-wrap:anywhere;
  font-variant-numeric:tabular-nums;
}
#tab-clan.clan-renewal .land-good-action {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(86px,max-content);
  align-items:center;
  gap:10px 14px;
  min-width:0;
}
#tab-clan.clan-renewal .land-good-action>span { display:block;min-width:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-good-action>.clan-cta { min-width:86px;max-width:100%;height:auto;min-height:46px;white-space:normal;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-village-card { min-width:0;height:auto;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-trade-blocked {
  grid-column:1 / -1;
  min-width:0;
  margin:0;
  font-size:12px;
  line-height:1.6;
  color:var(--text-sub);
  white-space:normal;
  overflow-wrap:anywhere;
}
#tab-clan.clan-renewal .land-village-transport {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
  min-width:0;
  padding:14px;
  margin:14px 0;
  border:1px solid var(--border);
  border-radius:17px;
  background:var(--bg-card-2);
  color:var(--text);
}
#tab-clan.clan-renewal .land-village-transport :is(h3,h4,b) { margin:0;line-height:1.45;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-village-transport :is(p,small) { display:block;margin:0;font-size:12px;line-height:1.6;color:var(--text-sub);overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-village-transport>.clan-cta { width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-village-transport .land-order-cost { margin:0;line-height:1.6; }
#tab-clan.clan-renewal :is(.land-market-lot-head h4,.land-market-route b,.land-market-unit-price,.land-market-average,.land-delivery-info) { overflow-wrap:anywhere; }
#tab-clan.clan-renewal :is(.land-market-route-choice,.land-market-filter)>summary>span { min-width:0;line-height:1.55;overflow-wrap:anywhere; }
#tab-clan.clan-renewal .land-market-lot-head>strong { white-space:normal; }
#tab-clan.clan-renewal .land-market-merchant { flex-wrap:wrap; }
#tab-clan.clan-renewal .land-market-form-header { flex-wrap:wrap; }
#tab-clan.clan-renewal :is(.land-plot-price,.land-building-benefits) { grid-template-columns:repeat(2,minmax(0,1fr)); }
#tab-clan.clan-renewal :is(.land-plot-price,.land-building-benefits)>* { min-width:0;overflow-wrap:anywhere; }
@media(max-width:480px) {
  #tab-clan.clan-renewal .land-good-action { grid-template-columns:minmax(0,1fr);gap:9px; }
  #tab-clan.clan-renewal .land-good-action>.clan-cta { width:100%;min-width:0; }
  #tab-clan.clan-renewal .land-cell-row>.clan-cta { width:100%; }
}
@media(max-width:359px) {
  #tab-clan.clan-renewal .land-good-title { grid-template-columns:24px minmax(0,1fr); }
  #tab-clan.clan-renewal .land-good-title>strong { grid-column:2;text-align:left; }
  #tab-clan.clan-renewal .land-merchant { grid-template-columns:56px minmax(0,1fr);gap:10px; }
  #tab-clan.clan-renewal .land-merchant>svg { width:56px;height:56px; }
  #tab-clan.clan-renewal .land-wallet-strip { gap:8px; }
}
/* A narrow app panel can be displayed inside a wide desktop Telegram window. */
@container clan-sheet (max-width:420px) {
  #tab-clan.clan-renewal .land-good-action { grid-template-columns:minmax(0,1fr);gap:9px; }
  #tab-clan.clan-renewal .land-good-action>.clan-cta { width:100%;min-width:0; }
}
@container clan-sheet (max-width:290px) {
  #tab-clan.clan-renewal .land-good-title { grid-template-columns:24px minmax(0,1fr); }
  #tab-clan.clan-renewal .land-good-title>strong { grid-column:2;text-align:left; }
}
