/* ========================================================================== 
   Art Times Floating Creator Controls — final exact behavior
   ========================================================================== */

.atcc,
.atcc * {
  box-sizing: border-box;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.atcc {
  position: relative;
  z-index: 8600;
}

.atcc__desktop,
.atcc__mobile,
.atcc__overlay,
.atcc__sheet {
  position: fixed;
}

.atcc__desktop {
  right: 24px;
  bottom: 24px;
  z-index: 8602;
}

.atcc__desktop-wrap {
  position: relative;
}

.atcc__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(320px, calc(100vw - 32px));
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 48px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(16px);
}

.atcc__panel[hidden],
.atcc__sheet[hidden],
.atcc__overlay[hidden] {
  display: none !important;
}

.atcc__panel--login,
.atcc__panel--account,
.atcc__panel--preview {
  padding: 16px;
}

.atcc__guest-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid #ece3d6;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.98);
  color: #111111;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.10);
}

.atcc__guest-trigger img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.atcc__guest-trigger span {
  font-size: 15px;
  font-weight: 500;
}

.atcc__icon-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #ece6dc;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.98);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.10);
}

.atcc__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid #e9e1d5;
  border-radius: 999px;
  background: #f7f2e9;
  text-decoration: none;
  cursor: pointer;
}

.atcc__icon-btn--account {
  background: #fbf7f0;
}

.atcc__icon-btn img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.atcc__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d61f2c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px #ffffff;
}

.atcc__login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  background: #111111;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.atcc__become-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-top: 12px;
  width: 100%;
  color: #6f6f6f !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.atcc__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.atcc__identity-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  overflow: hidden;
  background: #f4f1eb;
  border: 1px solid #ece6dc;
}

.atcc__identity-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atcc__identity-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.atcc__identity-copy strong {
  color: #111111;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.atcc__identity-copy span {
  color: #6f6f6f;
  font-size: 13px;
  line-height: 1.35;
}

.atcc__divider {
  height: 1px;
  margin: 14px 0;
  background: #ebe5dc;
}

.atcc__menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atcc__menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: #111111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.atcc__menu-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.atcc__preview-title {
  margin: 0 0 6px;
  color: #111111;
  font-size: 14px;
  font-weight: 600;
}

.atcc__preview-text {
  margin: 0 0 10px;
  color: #6f6f6f;
  font-size: 13px;
  line-height: 1.5;
}

.atcc__preview-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  background: #f4f1eb;
  color: #111111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.atcc__overlay {
  inset: 0;
  z-index: 8601;
  background: rgba(17, 17, 17, 0.16);
}

.atcc__mobile {
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 8602;
}

.atcc__mobile-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 10px;
  border: 1px solid #ece3d6;
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.98);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.12);
}

.atcc__mobile-bar--single {
  grid-template-columns: 1fr;
}

.atcc__mobile-item {
  position: relative;
  display: flex;
  min-height: 62px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: #111111;
  text-decoration: none;
  cursor: pointer;
}

.atcc__mobile-label {
  color: #111111;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.atcc__mobile-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.atcc__mobile-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.atcc__mobile-icon .atcc__badge {
  top: -6px;
  right: -10px;
}

.atcc__sheet {
  left: 12px;
  right: 12px;
  bottom: 86px;
  z-index: 8603;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 48px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(16px);
}

.atcc__sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.atcc__sheet-title {
  color: #111111;
  font-size: 18px;
  font-weight: 600;
}

.atcc__sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ece3d6;
  border-radius: 999px;
  background: #f7f2e9;
  cursor: pointer;
}

.atcc__sheet-close img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.atcc__sheet-body {
  margin-top: 12px;
}

@media (min-width: 901px) {
  .atcc__mobile,
  .atcc__overlay,
  .atcc__sheet {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .atcc__desktop {
    display: none !important;
  }
}
