/* =====================================================================
   SkinNebula — صفحه تیکت (فایل اصلی)
   فقط ایمپورت می‌کنه؛ همه‌ی استایل‌ها داخل پوشه‌ی css/ هستن. base اول از همه.
   پیشوند کلاس‌ها tn- هست (tk- مال صفحه‌ی کلید TF2 در index.css سایته).
   ===================================================================== */
@import url(./css/base.css?v=3);
@import url(./css/channels.css?v=1);
@import url(./css/form.css?v=3);
@import url(./css/list.css?v=3);
@import url(./css/chat.css?v=4);
@import url(./css/help.css?v=1);
@import url(./css/steps.css?v=1);

/* ===== چت باز کنار صفحه (۱۱۰۱px به بالا): ۳۰۰px از عرض محتوا کم می‌شه ولی media queryها عرض پنجره رو می‌بینن.
   پس breakpointها تا عرض ۱۴۰۰/۱۳۰۰ جابه‌جا می‌شن. با بستن چت (chat-closed) چیدمان همون قبلیه. ===== */
@media(min-width:1101px) and (max-width:1400px){
    body:not(.chat-closed) .tn-ch-grid{ grid-template-columns:repeat(2,1fr); }
}
@media(min-width:1101px) and (max-width:1300px){
    body:not(.chat-closed) .tn-grid{ grid-template-columns:1fr; }
    body:not(.chat-closed) .tn-side{ position:static; display:grid; grid-template-columns:1fr 1fr; }
    body:not(.chat-closed) .tn-box--tips{ grid-column:1/-1; }
    body:not(.chat-closed) .tn-help-grid{ grid-template-columns:repeat(2,1fr); }
    body:not(.chat-closed) .tn-steps{ grid-template-columns:repeat(2,1fr); row-gap:30px; }
    body:not(.chat-closed) .tn-steps::before{ display:none; }
    body:not(.chat-closed) .tn-inbox{ grid-template-columns:1fr; height:auto; min-height:0; }
    body:not(.chat-closed) .tn-listcard{ max-height:560px; }
    body:not(.chat-closed) .tn-inbox.is-chat .tn-listcard{ display:none; }
    body:not(.chat-closed) .tn-inbox:not(.is-chat) .tn-chat{ display:none; }
    body:not(.chat-closed) .tn-chat{ height:min(680px,calc(100vh - 140px)); }
    body:not(.chat-closed) .tn-back{ display:grid; }
}