/* FabrikaTycoon 2.2 — final handcrafted cherry layer (always loaded last) */
body.tc-page {
  background:
    radial-gradient(circle at 12% 10%,rgba(238,112,157,.24),transparent 25rem),
    radial-gradient(circle at 88% 22%,rgba(244,151,183,.28),transparent 30rem),
    linear-gradient(180deg,#f8dce7 0%,#fce8ef 48%,#f4d2de 100%) !important;
}
body.tc-page::before { opacity:.95; }
.tc-section--muted { background:rgba(239,190,207,.48);border-color:#d895ad; }

/* Equal header controls */
.tc-nav { background:linear-gradient(180deg,#fae6e8 0%,#f4cfd9 100%) !important;border-bottom-color:#70404f; }
.tc-nav__inner { gap:7px; }
.tc-nav__brand,.tc-nav__link,.tc-nav__ip-group,.tc-nav__actions>.tc-btn,.tc-nav__toggle,.tc-nav__avatar {
  height:44px !important;min-height:44px !important;border-radius:2px !important;
}
.tc-nav__brand { padding:3px 9px 3px 4px;border-bottom-width:3px; }
.tc-nav__brand-mark { width:34px;height:34px;border-radius:1px; }
.tc-nav__links { align-self:auto;height:44px;padding:0; }
.tc-nav__link { padding-inline:10px;border-bottom-width:3px; }
.tc-nav__ip-group { border-bottom-width:3px; }
.tc-nav__avatar { width:44px;display:grid;place-items:center; }
.tc-nav__toggle { width:44px;border-bottom-width:3px; }
.tc-mega,.tc-dropdown__menu { border-radius:3px;border-bottom-width:3px;background:#fbe5ed !important; }
.tc-mega__item,.tc-dropdown__item,.tc-mega__icon { border-radius:2px; }

/* Fewer white boxes and no decorative side bars */
.tc-card,.card,.tc-panel,.tc-surface,.tc-feature,.tc-info,.tc-product,.tc-rank,
.tc-wiki-card,.tc-wiki-panel,.tc-quest-card,.tc-mc-slot,.tc-focus-card,.tc-news-card,
.tc-guide-link,.tc-step-card,.tc-gem-detail,.tc-gem-info-block,.tc-gem-choice,
.tc-wiki-header,.tc-wiki-fact,.tc-mc-stat,.tc-wiki-stat {
  border:1px solid #bd6b87 !important;
  border-radius:3px !important;
  background:rgba(255,240,246,.96) !important;
  box-shadow:var(--tc-shadow-sm) !important;
}
.tc-wiki-panel,.tc-gem-detail { background:rgba(250,225,235,.97) !important; }
.tc-wiki-header { background:linear-gradient(135deg,#f8d7e3,#fdebf1) !important; }
.tc-wiki-header__icon,.tc-feature__icon,.tc-wiki-card__icon,.tc-mc-slot__icon,.tc-item-card__icon {
  border-radius:2px !important;background:#f4cfdd !important;
}
.tc-wiki-list li,.tc-mini-quest-list>div,.tc-world-route a,.tc-start-economy-list article {
  border:1px solid #d99ab0;border-radius:2px;background:rgba(255,238,244,.82);
}
.tc-quest-card,.tc-world-page .tc-wiki-list li,.tc-world-page .tc-mini-quest-list>div { border-left-width:1px !important; }
.tc-world-page .tc-wiki-fact { border-top-width:1px !important;border-color:color-mix(in srgb,var(--world-accent) 50%,#bd6b87) !important; }
.tc-world-page .tc-world-header { border:2px solid var(--world-accent);border-bottom-width:3px;border-radius:4px;box-shadow:0 6px 0 rgba(var(--world-rgb),.18); }
.tc-world-page .tc-wiki-panel { border-color:color-mix(in srgb,var(--world-accent) 45%,#bd6b87) !important; }
.tc-world-page .tc-world-pager a { border-radius:2px; }

.tc-btn,.btn { border-radius:3px !important;border-bottom-width:3px !important; }
input,textarea,select,.form-control,.form-select,.tc-input,.select2-container .select2-selection,
code,.tc-cmd,.tc-quest-card__cmd { border-radius:2px !important; }
.tc-category-scroller__button,.tc-quest-tab,.tc-quest-gui { border-radius:3px !important; }
.tc-quest-gui { border:1px solid #bd6b87;background:rgba(246,211,224,.72); }
.tc-quest-tab { border-bottom-width:3px !important;background:#f9e2ea !important; }
.tc-quest-tab.is-active { background:color-mix(in srgb,var(--world-color,var(--tc-pink)) 17%,#f9e2ea) !important; }
.tc-gem-detail { border-bottom-width:2px !important; }
.tc-gem-detail__image,.tc-ore-source,.tc-ore-source__popover { border-radius:2px; }
.tc-gem-choice { border-bottom-width:2px; }
.tc-gem-choice.is-active { box-shadow:inset 0 -3px 0 var(--gem-color),var(--tc-shadow-sm) !important; }

/* Clear intentional hover feedback */
.tc-guide-link,a.tc-wiki-card { transition:transform 180ms ease,background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease; }
.tc-guide-link:hover,a.tc-wiki-card:hover {
  border-color:#8f3557 !important;background:#efbfd0 !important;color:#472330 !important;
  transform:translateY(-3px);box-shadow:0 5px 0 rgba(102,43,64,.20) !important;
}
.tc-guide-link:hover>i,a.tc-wiki-card:hover .tc-wiki-card__icon { background:#e89ab6 !important;color:#61253d !important; }
.tc-guide-link:hover h3,a.tc-wiki-card:hover h3 { color:#472330; }

/* Home stays warm cherry, never purple or pure white */
.tc-home-hero::after { background:linear-gradient(90deg,rgba(63,17,31,.92) 0%,rgba(137,36,68,.76) 48%,rgba(236,112,151,.22) 82%,rgba(96,22,45,.36) 100%); }
.tc-home-hero__content .tc-btn-outline,.tc-home-hero__content .tc-btn-ghost { background:rgba(252,218,230,.92) !important;color:#542538 !important; }
.tc-news-card__body { background:#f3cdd9; }
.tc-news-card h3 a { color:#482936 !important; }
.tc-news-card h3 a:hover { color:#a73360 !important; }
.tc-join-band { background:linear-gradient(135deg,#9f3d62,#d7658e);border-color:#6f2d46; }

/* World index colour wash */
.tc-world-hover-atmosphere {
  position:fixed;inset:var(--tc-header-h) 0 0;z-index:70;pointer-events:none;opacity:0;
  background-color:var(--world-hover-color,#dc2626);mix-blend-mode:multiply;
  transition:background-color 380ms cubic-bezier(.22,.7,.2,1),opacity 220ms ease;
}
.tc-world-hover-atmosphere.is-active { opacity:.17; }
[data-world-hover] { border:2px solid #91516a;border-radius:3px;transition:transform 280ms cubic-bezier(.22,.7,.2,1),border-color 280ms ease,box-shadow 280ms ease,filter 280ms ease; }
[data-world-hover]:hover,[data-world-hover]:focus-visible { border-color:var(--world-accent);transform:translateY(-5px);box-shadow:0 7px 0 color-mix(in srgb,var(--world-accent) 35%,rgba(65,28,42,.35));filter:saturate(1.08); }
.tc-world-preview { border-bottom-width:2px; }

/* Integrated start guide */
.tc-start-guide { scroll-margin-top:calc(var(--tc-header-h) + 22px); }
.tc-start-guide__columns { display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:22px; }
.tc-start-guide__columns>div>h3 { display:flex;align-items:center;gap:8px;margin-bottom:12px; }
.tc-start-guide__columns>div>h3 i { color:var(--tc-pink-deep); }
.tc-start-economy-list { display:grid;gap:8px; }
.tc-start-economy-list article { display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:11px; }
.tc-start-economy-list article>span { color:var(--tc-pink-deep);font:700 .75rem var(--tc-font-mono); }
.tc-start-economy-list strong,.tc-start-economy-list p,.tc-start-economy-list code { display:block; }
.tc-start-economy-list p { margin:3px 0 7px;font-size:.78rem; }
.tc-start-guide__commands { margin:18px 0 0; }

.tc-page-auth .tc-auth-main { background:radial-gradient(circle at 85% 12%,rgba(222,85,133,.22),transparent 25rem),#f5d5e0 !important; }
.tc-page-auth .card,.tc-page-auth .tc-auth-card { background:#fae6ed !important;border-radius:3px !important; }
.tc-footer { background:linear-gradient(180deg,#f3c9d7,#edb9cb) !important; }
.tc-footer .tc-cta-band { background:rgba(250,226,235,.82) !important;border-radius:3px !important; }
.tc-mobile-nav { background:#f2c8d7 !important; }

@media (max-width:940px) { .tc-start-guide__columns { grid-template-columns:1fr; } }
@media (max-width:640px) {
  .tc-world-hover-atmosphere { display:none; }
  .tc-nav__brand,.tc-nav__toggle { height:42px !important;min-height:42px !important; }
}
