/* No More Mondays — single-frame interface v5.
   One game canvas on desktop and phones; optional information in an in-canvas drawer. */
html,body{max-width:100%;overflow-x:hidden}
body{min-height:100dvh}
body:has(.app){overflow:hidden}
.arcade-return{height:40px;min-height:40px;padding-top:5px;padding-bottom:5px}
.app{
  height:calc(100dvh - 40px);min-height:0;max-height:none;
  max-width:1240px;margin:auto;padding:9px 12px 10px;
  display:flex;flex-direction:column;overflow:hidden;isolation:isolate;position:relative
}
.app .header{flex:0 0 auto;margin:0 0 6px;min-height:42px}
.app .header h1{font-size:clamp(19px,2.4vw,29px);line-height:1.1;white-space:nowrap}
.app .header h1 small{font-size:10px}
.app .tagline{font-size:10px;margin:2px 0 0;line-height:1.2}
.app .top-actions .button{min-height:32px;padding:5px 9px;font-size:11px;border-radius:9px}
.app .stats{flex:0 0 auto;gap:6px;margin-bottom:5px;grid-template-columns:.72fr 1.36fr 1fr 1fr}
.app .stat{min-width:0;padding:5px 10px 6px;border-radius:12px;text-align:left;box-shadow:none}
.app .stat strong{font-size:18px;line-height:1.15;margin:2px 0 1px}
.app .stat .label{font-size:9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.app .stat-button{width:100%;color:var(--ink);cursor:pointer}
.app .stat-button:hover{border-color:#b69aca}
.app .stat small{display:block;font-size:9px;line-height:1.2;color:#918195;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app .stat-track{display:block;margin-top:3px;height:3px;border-radius:8px;background:#eadfe6;overflow:hidden}
.app #wonderMeter{display:block;height:100%;width:0;background:linear-gradient(90deg,#eca8bc,#917ac1);transition:width .2s}
.app .progress{flex:0 0 3px;height:3px;margin:0 1px 7px}
.app .stage{
 flex:1 1 0;min-height:0;min-width:0;
 display:grid;grid-template-columns:minmax(0,1fr) minmax(248px,305px);
 gap:9px;align-items:stretch;overflow:hidden
}
.app .map-panel{padding:9px;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.app .panel-top{flex:0 0 auto;margin:0 3px 7px}
.app .panel-top strong{font-size:14px}
.app .panel-top span{font-size:10px}
.app .world{flex:1 1 0;min-height:0!important;aspect-ratio:auto!important;padding:7px!important;overflow:hidden}
.app .board{
 height:min(100%,485px);width:auto;max-width:100%;min-height:0;aspect-ratio:1;
 margin:auto;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));
 gap:clamp(3px,.6vw,7px);filter:drop-shadow(0 4px 7px #204e483e)
}
.app .tile{min-height:0;width:100%;height:100%;aspect-ratio:auto}
.app .tile-icon{font-size:clamp(18px,3.7vh,37px)}
.app .tile-name{font-size:clamp(8px,.85vw,11px)}
.app .tile-people{font-size:clamp(10px,1.7vw,14px)}
.app .town-bubble{
 flex:0 0 auto;text-align:center;min-height:27px;max-height:40px;
 border-radius:10px;padding:6px 9px;margin-top:6px;
 background:#fff7ec;color:#75677d;font-size:11px;font-weight:700;line-height:1.25;
 overflow:hidden;display:flex;align-items:center;justify-content:center
}
.app #guide{display:none}
.app #preview{
 flex:0 0 auto;min-height:0;max-height:37px;overflow:hidden;
 margin:5px 0 0;padding:6px 8px;border-radius:10px;font-size:10px;
 background:#f9f0ef;line-height:1.2;gap:6px
}
.app #preview>*{font-size:10px}
.app .city-extras,.app .journey-passport{display:none!important}
.app .sidebar{
 width:100%;height:100%;padding:12px 11px;min-width:0;min-height:0;overflow:hidden;
 display:flex;flex-direction:column;gap:6px;justify-content:flex-start
}
.app .sidebar-head{font-size:9px}
.app .sidebar h2{font-size:17px;line-height:1.18;margin:0 0 1px}
.app .sidebar>p:not(.pick-hint){font-size:10px;line-height:1.3;margin:0;color:#8f8394}
.app .cards{flex:0 1 auto;min-height:0;display:flex;flex-direction:column;gap:6px}
.app .wish-card{
 min-height:0;flex:1 1 auto;max-height:113px;padding:8px 9px;gap:9px;
 border-radius:13px;align-items:center;overflow:hidden
}
.app .wish-icon{font-size:26px;width:35px}
.app .wish-copy{gap:3px}
.app .wish-copy b{font-size:12px;line-height:1.1}
.app .wish-copy small{font-size:10px;line-height:1.2}
.app .wish-copy em{font-size:9px;margin-top:0}
.app .wish-next{font-size:18px}
.wish-reactions{display:flex;gap:5px;flex-wrap:wrap;min-width:0;font-size:9px;line-height:1.1}
.wish-reactions span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.wish-reactions .fan{color:#519878;font-weight:800}
.wish-reactions .critic{color:#be7888;font-weight:800}
.app .pick-hint{flex:0 0 auto;margin:1px 0!important;font-size:10px!important;line-height:1.2}
.app .citizen-panel,.app .petition,.app .tip-box{display:none!important}
.app #moveWish:not([hidden]){
 flex:0 0 auto;padding:6px;min-height:29px;margin:0;font-size:10px;order:2
}
.app .town-tabs{flex:0 0 auto;margin-top:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.app .town-tabs button{
 min-height:39px;padding:6px 2px;background:#fff6ef;border:1px solid #eadadf;
 border-radius:12px;color:#806886;font-weight:800;font-size:11px;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.app .town-tabs button:hover,.app .town-tabs button.active{background:#f2e6fa;border-color:#b99ac9}
.app .town-inspector{
 position:absolute;z-index:80;right:12px;top:68px;bottom:10px;width:min(390px,calc(100% - 24px));
 display:flex;flex-direction:column;min-height:0;
 background:linear-gradient(145deg,#fffdf7,#fff4ee);
 border:1px solid #e8d4e3;border-radius:18px;
 box-shadow:0 17px 48px #513e6566;overflow:hidden
}
.app .town-inspector[hidden]{display:none!important}
.app .town-inspector>header{
 display:flex;justify-content:space-between;align-items:center;gap:7px;padding:13px 15px 9px;
 border-bottom:1px solid #f1e2e9;flex:0 0 auto
}
.app .town-inspector h2{font-size:17px;color:#5e4b74;margin:0}
.app #closeInspector{height:34px;width:34px;min-width:34px;border:0;background:#f6e7ed;color:#755875;border-radius:50%;font-size:24px}
.app .inspector-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:13px 14px 18px}
.inspect-intro,.inspect-note{font-size:12px;line-height:1.5;color:#89778c;margin:0 0 10px}
.inspect-note{background:#f5eaf4;padding:10px;border-radius:11px;margin:12px 0}
.inspect-person{border:1px solid #e9dfe3;border-radius:12px;background:#fffefa;margin:0 0 9px;padding:10px}
.inspect-person header{display:flex;align-items:center;gap:9px;margin:0 0 7px}
.inspect-person .face{font-size:25px}
.inspect-person header div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.inspect-person header div strong{font-size:13px;color:#665272}
.inspect-person header div small{font-size:10px;color:#9c899d}
.inspect-person .hearts{font-size:12px;color:#b97b96;white-space:nowrap;font-weight:800}
.inspect-person .hearts small{display:block;text-align:center;font-size:9px;color:#908096}
.inspect-person p{font-size:11px;line-height:1.35;margin:4px 0;color:#776778}
.inspect-person b.good{color:#4b9d78;margin-right:6px}
.inspect-person b.bad{color:#b36b7a;margin-right:6px}
.inspector-content h3{font-size:13px;color:#78647f;margin:12px 0 7px}
.inspect-mechanics{display:grid;gap:8px}
.inspect-mechanics section{border-radius:13px;padding:11px;background:#fffefa;border:1px solid #eedfe6}
.inspect-mechanics section strong{font-size:13px;color:#715877}
.inspect-mechanics section p{font-size:11px;line-height:1.45;color:#8e7e8c;margin:5px 0 0}
.inspect-found{display:flex;gap:7px;flex-wrap:wrap}
.inspect-found span{padding:7px 9px;border-radius:10px;background:#f2e8dd;color:#8f6f83;font-size:11px}
.inspect-empty{padding:15px 10px;border-radius:10px;background:#f9f0ed;color:#a28f9e;font-size:11px;line-height:1.5}
.inspect-trips{display:grid;gap:7px}
.inspect-trip{display:flex;align-items:center;gap:9px;background:#f7eeec;padding:8px;border-radius:11px}
.inspect-trip>span{font-size:24px}
.inspect-trip div{display:flex;flex-direction:column;gap:2px}
.inspect-trip strong{font-size:12px;color:#78647a}
.inspect-trip small{font-size:10px;color:#a08b97}
.inspect-souvenirs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.inspect-souvenirs>div{display:flex;flex-direction:column;align-items:center;gap:5px;background:#fffdf6;padding:10px 4px;border:1px solid #ede0e4;border-radius:11px;text-align:center}
.inspect-souvenirs span{font-size:28px}
.inspect-souvenirs small{font-size:10px;line-height:1.3;color:#927d8f}
.app .overlay{position:absolute;inset:0;z-index:1000;overscroll-behavior:contain}
.app #freedomModal{position:absolute;inset:0;z-index:1500;overscroll-behavior:contain}
.app .modal,.app .freedom-shell{max-height:calc(100% - 20px);overscroll-behavior:contain}
.app .freedom-shell{max-height:100%;width:min(920px,100%);overflow-y:auto}
.freedom-collect{width:clamp(78px,10vw,118px);height:clamp(78px,10vw,118px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:7px}
.freedom-collect span{font-size:clamp(27px,4vw,42px)}
.freedom-collect small{font-size:9px;line-height:1.2;font-weight:900;color:#6f557f;background:#fffaf0cc;border-radius:99px;padding:3px 5px;text-align:center}
.freedom-collect.found{opacity:.48}
.freedom-option .destination-bonus{padding:0 12px 10px;font-size:11px;font-weight:900;color:#8666a8}
.freedom-finding{font-size:11px;min-height:32px}
html.mw-fs-active .app{height:100dvh!important;max-width:none!important;min-height:0!important}
html.mw-fs-active .arcade-return{display:none}
@media(max-width:700px){
 .app{padding:5px 7px 6px;height:calc(100dvh - 40px)}
 .app .header{min-height:34px;margin-bottom:4px}
 .app .header h1{font-size:21px}
 .app .header h1 small,.app .tagline{display:none}
 .app .top-actions{gap:5px}
 .app .top-actions .button{min-height:30px;padding:5px 8px;font-size:10px}
 .app .stats{gap:4px;margin-bottom:4px;grid-template-columns:.68fr 1.32fr 1fr 1fr}
 .app .stat{padding:5px 5px;border-radius:9px}
 .app .stat .label{font-size:8px}
 .app .stat strong{font-size:16px}
 .app .stat small{font-size:8px}
 .app .stat-track{height:2px;margin-top:2px}
 .app .progress{margin-bottom:5px}
 .app .stage{display:flex;flex-direction:column;gap:5px;overflow:hidden}
 .app .sidebar{display:contents}
 .app .sidebar-head,.app .sidebar h2,.app .sidebar>p:not(.pick-hint),.app .sidebar .pick-hint{display:none!important}
 .app .cards{order:0;width:100%;flex:0 0 auto;min-height:79px;max-height:112px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .app .wish-card{max-height:112px;min-height:79px;padding:5px 3px;gap:3px;border-radius:10px;display:flex;flex-direction:column;justify-content:center;text-align:center}
 .app .wish-icon{font-size:23px;width:auto}
 .app .wish-copy{gap:2px;align-items:center}
 .app .wish-copy b{font-size:10px;line-height:1.1}
 .app .wish-copy small{font-size:9px;line-height:1.1;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
 .app .wish-copy em{font-size:8px}
 .app .wish-next{display:none}
 .app .wish-reactions{font-size:8px;display:block;max-width:100%;line-height:1;white-space:nowrap;overflow:hidden}
 .app .wish-reactions .critic{display:block}
 .app .map-panel{order:1;flex:1 1 0;min-height:0;max-height:none;width:100%;padding:5px}
 .app .panel-top{display:none}
 .app .world{flex:1 1 0;min-height:0!important;border-width:2px!important;padding:4px!important;border-radius:13px}
 .app .board{height:min(100%,100vw - 26px);width:auto;aspect-ratio:1;max-width:100%;gap:4px}
 .app .tile{border-radius:9px}
 .app .tile-icon{font-size:clamp(18px,6vw,30px)}
 .app .tile-name{font-size:clamp(7px,2.2vw,10px)}
 .app .town-bubble{font-size:10px;max-height:30px;min-height:24px;margin-top:3px;padding:4px 6px}
 .app #preview{min-height:0;max-height:30px;margin-top:3px;padding:5px;font-size:9px}
 .app #preview>*{font-size:9px}
 .app .town-tabs{order:3;display:grid;gap:5px;width:100%;margin:0}
 .app .town-tabs button{min-height:35px;padding:4px 2px;font-size:10px;border-radius:10px}
 .app #moveWish:not([hidden]){order:2;margin:0;width:100%;min-height:27px;padding:4px}
 .app .town-inspector{top:10px;right:6px;bottom:6px;left:6px;width:auto;border-radius:14px}
 .app .town-inspector>header{padding:8px 12px}
 .app .inspector-content{padding:10px 12px}
 .app .overlay{padding:7px}
 .app .modal{padding:12px;max-height:100%}
 .app .freedom-shell{padding:10px;max-height:100%}
 .app .freedom-paint{height:min(38dvh,320px)}
 .app .freedom-option .destination-bonus{padding:0 5px 7px;font-size:9px}
 .app .freedom-collect{width:clamp(65px,18vw,80px);height:clamp(65px,18vw,80px);padding:3px}
 .app .freedom-collect span{font-size:25px}
 .app .freedom-collect small{font-size:8px}
}
@media(max-width:700px) and (max-height:650px){
 .app .cards{min-height:66px;max-height:80px}
 .app .wish-card{min-height:65px;max-height:80px}
 .app .wish-icon{font-size:18px}
 .app .wish-copy small,.app .wish-reactions{display:none}
 .app .stats{margin-bottom:2px}
 .app .stat small{display:none}
 .app .town-tabs button{min-height:30px}
 .app .town-bubble{display:none}
 .app #preview{max-height:23px}
}

html.mw-fs-active[data-mw-fullscreen-game="tiny-town"] .app{overflow:hidden!important;padding:8px!important;height:100dvh!important}

/* Residents are part of the playfield, not a buried optional dashboard tab. */
.app .resident-ribbon{
 flex:0 0 auto;min-height:98px;margin-top:auto;
 background:linear-gradient(122deg,#625079,#826188);
 border:1px solid #e3c8e8;border-radius:14px;
 padding:9px 9px 10px;box-shadow:0 7px 15px #735d7f2b;
 color:#fff9f5;overflow:hidden
}
.app .resident-ribbon-heading{
 display:flex;justify-content:space-between;align-items:center;gap:5px;
 margin-bottom:8px;line-height:1.1
}
.app .resident-ribbon-heading strong{font-size:12px;color:#fff8e9;letter-spacing:.01em;white-space:nowrap}
.app .resident-ribbon-heading span{font-size:9px;color:#f5deeb;font-weight:700;text-align:right;line-height:1.2}
.app .resident-ribbon-people{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.app .resident-avatar{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:1px;min-width:0;min-height:60px;padding:4px 0 3px;
 color:#4e3a60;background:#fff8f5;border:2px solid transparent;border-radius:11px;
 box-shadow:0 2px 5px #3d2a5541;cursor:pointer;
 transition:transform .16s,background .16s,border-color .16s
}
.app .resident-avatar:hover,.app .resident-avatar:focus-visible{
 transform:translateY(-3px);box-shadow:0 5px 12px #33244863;outline:2px solid #ffeda8;outline-offset:1px
}
.app .resident-avatar .resident-face{font-size:24px;line-height:1;filter:drop-shadow(0 2px 2px #6e638055)}
.app .resident-avatar b{font-size:10px;line-height:1.1;color:#655273}
.app .resident-avatar small{
 display:block;line-height:1.1;padding:2px 3px;border-radius:5px;
 font-size:10px;font-weight:900;color:#9b699a;background:#f7eafa
}
.app .resident-avatar.happy{background:#f2fff1}
.app .resident-avatar.sad{background:#fff1e9;border-color:#f4ada4}
.app .resident-avatar.likes{background:#e5fbea;border-color:#76d4a3}
.app .resident-avatar.likes small{background:#bfeccc;color:#276e49}
.app .resident-avatar.dislikes{background:#ffe6e6;border-color:#ee8b9b}
.app .resident-avatar.dislikes small{background:#ffd0d8;color:#a43251}
.app .resident-avatar.neutral small{background:#ece5f2;color:#7e6c91}
.app .town-tabs{margin-top:0}
.app .wish-reactions{gap:3px;margin-top:3px;font-size:10px;line-height:1.2}
.app .wish-reactions .fan,.app .wish-reactions .critic{
 display:inline-flex;max-width:100%;
 padding:3px 6px;border-radius:6px;font-weight:850;white-space:nowrap
}
.app .wish-reactions .fan{color:#286d48;background:#dff7e7}
.app .wish-reactions .critic{color:#ad3d58;background:#ffebed}
@media(max-width:700px){
 .app .resident-ribbon{
  order:2;width:100%;min-height:0;margin:0;
  padding:6px 7px 7px;border-radius:12px;box-shadow:0 4px 9px #735d7f25
 }
 .app .resident-ribbon-heading{margin-bottom:5px}
 .app .resident-ribbon-heading strong{font-size:11px}
 .app .resident-ribbon-heading span{font-size:9px}
 .app .resident-ribbon-people{gap:5px}
 .app .resident-avatar{min-height:50px;padding:2px 0 3px;border-width:1.5px;border-radius:9px}
 .app .resident-avatar .resident-face{font-size:22px}
 .app .resident-avatar b{font-size:9px}
 .app .resident-avatar small{font-size:9px;padding:1px 3px}
 .app .town-tabs{order:4}
 .app #moveWish:not([hidden]){order:3}
 .app .wish-reactions{font-size:8px;margin-top:1px;line-height:1.1}
 .app .wish-reactions .fan,.app .wish-reactions .critic{display:inline;padding:1px 3px}
 .app .wish-card{min-height:0}
}
@media(max-width:700px) and (max-height:650px){
 .app .resident-ribbon{padding:4px 5px}
 .app .resident-ribbon-heading{margin-bottom:2px}
 .app .resident-ribbon-heading strong{font-size:10px}
 .app .resident-ribbon-heading span{font-size:8px}
 .app .resident-avatar{min-height:44px;padding:2px 0}
 .app .resident-avatar .resident-face{font-size:17px}
 .app .resident-avatar b{font-size:8px}
 .app .resident-avatar small{font-size:8px}
}

/* Two clear navigation levels: one resident profile or all-five comparison. */
.app .resident-compare-list{display:grid;gap:7px}
.app .resident-compare-row{
 display:grid;grid-template-columns:37px minmax(0,1fr) 48px 12px;
 align-items:center;gap:8px;min-height:67px;width:100%;text-align:left;
 padding:7px 9px;background:#fffdf9;border:1px solid #eadde4;
 border-radius:12px;box-shadow:0 2px 4px #a68d9a12;color:#67566d
}
.app .resident-compare-row:hover,.app .resident-compare-row:focus-visible{
 border-color:#b695c6;background:#fff7f5;outline-offset:2px
}
.app .resident-compare-face{font-size:27px}
.app .resident-compare-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.app .resident-compare-main strong{font-size:12px;color:#694e72}
.app .resident-compare-main small{font-size:10px;line-height:1.2;white-space:nowrap}
.app .resident-compare-main small b{display:inline-block;min-width:42px;font-size:9px}
.app .resident-compare-like b{color:#4e9f7e}
.app .resident-compare-dislike b{color:#b97484}
.app .resident-compare-state{
 font-size:11px;font-weight:900;color:#a77a9f;text-align:center;
 background:#f6edf3;border-radius:8px;padding:5px 2px
}
.app .resident-compare-row.positive .resident-compare-state{background:#dbf5e7;color:#32764f}
.app .resident-compare-row.negative .resident-compare-state{background:#ffdee2;color:#b14060}
.app .resident-compare-chevron{font-size:21px;color:#ab89b2;font-weight:700}
.app .resident-back{
 padding:8px 11px;display:inline-flex;align-items:center;min-height:36px;
 margin:0 0 11px;background:#f4e8f5;border:1px solid #d8bbdf;border-radius:10px;
 color:#755583;font-size:12px;font-weight:900
}
.app .resident-focus-card{padding:12px;background:#fffdfa;border:1px solid #e9d9e4;border-radius:14px}
.app .resident-focus-card .inspect-person{
 margin:0;padding:2px;background:transparent;border:0;box-shadow:none
}
.app .resident-focus-card .inspect-person .face{font-size:42px}
.app .resident-focus-card .inspect-person header div strong{font-size:17px}
.app .resident-focus-card .inspect-person header div small{font-size:12px}
.app .resident-focus-card .inspect-person p{font-size:12px;margin:10px 0;line-height:1.5}
.app .resident-impact{
 background:#f1edf5;border-radius:10px;padding:11px;font-size:12px;
 font-weight:800;line-height:1.45;margin:11px 0 0;color:#76607e
}
.app .resident-impact.good{background:#e4f7e9;color:#2e815a}
.app .resident-impact.bad{background:#ffe6e8;color:#a54a63}
.app .resident-switch-title{margin:14px 0 8px!important}
.app .resident-switch-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.app .resident-switch{
 display:flex;flex-direction:column;align-items:center;gap:4px;min-height:59px;
 background:#fff7f2;border:1px solid #eadfe7;border-radius:11px;
 padding:6px 2px;color:#776381
}
.app .resident-switch span{font-size:24px;line-height:1}
.app .resident-switch small{font-size:10px;font-weight:800}
.app .resident-switch.selected{background:#f1e5f8;border:2px solid #ae82bf}
@media(max-width:700px){
 .app .resident-compare-row{min-height:64px;padding:6px 8px}
 .app .resident-focus-card{padding:10px}
}

/* Residents genuinely live in the town: five labeled, tappable homes. */
.app .tile.resident-home{
 cursor:pointer!important;position:relative;overflow:hidden;
 background:linear-gradient(160deg,#fff6e6f0,#f5dfccf5)!important;
 border:2px solid #fff6e5!important;
 box-shadow:0 4px 12px #63446d66,0 0 0 1px #ad7a9d38!important
}
.app .tile.resident-home .tile-icon{font-size:clamp(18px,3.3vh,33px);transform:translate(-4px,-5px)}
.app .tile.resident-home .tile-name{
 display:block;position:absolute;bottom:1px;left:1px;right:1px;
 padding:1px 2px;border-radius:4px;background:#fff9eae8;
 color:#6b4e77;font-size:clamp(9px,1.2vw,12px);font-weight:950;
 white-space:nowrap;text-align:center;text-shadow:none;z-index:2
}
.app .tile.resident-home .home-face{
 position:absolute;top:2px;right:0;z-index:3;
 font-size:clamp(14px,2vw,21px);line-height:1;
 filter:drop-shadow(0 1px 2px #604a5c66);pointer-events:none
}
.app .tile.resident-home:hover,.app .tile.resident-home:focus-visible{
 transform:translateY(-3px) scale(1.035)!important;
 border-color:#fff3b3!important;outline:2px solid #d99fb7;outline-offset:1px
}
/* Legendary wishes are always discoverable, but only selectable when earned. */
.app .town-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.app #tabLegends{
 font-weight:950;letter-spacing:-.02em;
 color:#855b97;background:linear-gradient(125deg,#fff2cd,#f0dff6);
 border-color:#d4b5d6
}
.app #tabLegends.unlocked{
 background:linear-gradient(115deg,#ffe8a5,#f7d3f3);border-color:#d7a85e;
 color:#69427b;box-shadow:0 0 0 2px #fff4c4,0 3px 10px #b17a9a37;
 animation:legendUnlock 1.5s ease-out 1
}
@keyframes legendUnlock{0%{box-shadow:0 0 0 2px #f7d087,0 0 20px #f3c75dbb}100%{box-shadow:0 0 0 2px #fff4c4,0 3px 10px #b17a9a37}}
.app .wish-card.legendary-card{
 border-color:#e4bd70!important;
 background:linear-gradient(145deg,#fff9e8,#f8e4fa)!important;
 box-shadow:0 0 0 1px #f2d496,inset 0 0 0 1px #fff8e4!important
}
.app .wish-card.legendary-card.selected{box-shadow:0 0 0 3px #f5d386,0 5px 20px #caa78a6a!important}
.app .wish-card .rare-mark{
 display:inline-block;width:max-content;border-radius:99px;padding:2px 6px;
 background:#f9dfaf;color:#8a5786;font-size:9px;font-weight:950;letter-spacing:.03em
}
.app .legend-unlock-status{
 border:1px solid #e4d2e2;border-radius:13px;padding:11px;margin-bottom:12px;
 background:linear-gradient(140deg,#fff9ec,#f6ebf9)
}
.app .legend-unlock-status>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px}
.app .legend-unlock-status strong{font-size:12px;color:#785a8a}
.app .legend-unlock-status b{font-size:14px;color:#9c649c;white-space:nowrap}
.app .legend-unlock-status small{font-size:10px;color:#988299}
.app .legend-progress{height:7px!important;border-radius:99px;background:#eee0e8;overflow:hidden;margin:9px 0 5px}
.app .legend-progress span{display:block;height:100%;background:linear-gradient(90deg,#edbd79,#b280d3);transition:width .2s}
.app .legend-wish-list{display:grid;gap:9px}
.app .legend-wish{
 display:grid;grid-template-columns:41px minmax(0,1fr);
 column-gap:9px;row-gap:6px;align-items:center;
 border:1px solid #edd9e3;border-radius:13px;padding:10px;
 background:#fffdf9
}
.app .legend-wish.active{border-color:#c59acb;background:#fff5eb}
.app .legend-wish.locked{background:#fbf5f6}
.app .legend-wish-symbol{font-size:30px;text-align:center}
.app .legend-wish-copy{min-width:0}
.app .legend-wish-copy strong{font-size:13px;color:#685078}
.app .legend-wish-copy p{font-size:11px;line-height:1.3;color:#87788a;margin:4px 0}
.app .legend-wish-copy small{font-size:10px;color:#9e8391;white-space:nowrap}
.app .legend-wish-action{
 grid-column:1/-1;min-height:36px;padding:7px 9px;
 font-size:12px;font-weight:900;border-radius:9px;color:#fffdf5;
 background:linear-gradient(110deg,#a27fc3,#c37da5);border:1px solid #a97fba
}
.app .legend-wish-action:disabled{
 cursor:default;color:#99869a;background:#f2e9ef;border-color:#e9dce7;opacity:1
}
.app .legend-wish-action:not(:disabled):hover{
 filter:brightness(1.04);box-shadow:0 4px 12px #a783ae55
}
@media(max-width:700px){
 .app .town-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 .app .town-tabs button{font-size:clamp(9px,2.6vw,11px);padding:4px 0;min-width:0}
 .app .tile.resident-home .tile-icon{font-size:clamp(16px,5vw,27px)}
 .app .tile.resident-home .tile-name{font-size:clamp(8px,2.4vw,10px)}
 .app .tile.resident-home .home-face{font-size:clamp(12px,3.8vw,18px)}
 .app .legend-wish-list{gap:7px}
 .app .legend-wish{padding:8px}
}
@media(prefers-reduced-motion:reduce){.app #tabLegends.unlocked{animation:none}}

/* Three starting moods, not moral rules: a flavorful choice with visible mechanical effects. */
#intro .intro-note{font-size:13px;color:#785a83;font-weight:900;letter-spacing:-.01em}
#intro .charter-select{gap:9px;margin:10px 0 12px}
#intro .charter{
 min-height:144px;gap:6px;justify-content:flex-start;padding:11px 7px;
 border:2px solid #e9d7e6;border-radius:15px;
 background:linear-gradient(155deg,#fffdf9,#fff5ee);
 transition:transform .15s,border-color .2s,background .2s,box-shadow .2s
}
#intro .charter:hover,#intro .charter:focus-visible{
 transform:translateY(-3px);border-color:#b287ba;box-shadow:0 8px 20px #9d81ae30
}
#intro .charter.active{
 background:linear-gradient(155deg,#fff4e9,#f4e8fa);border-color:#a078bd;
 box-shadow:0 0 0 2px #f8e9ff,0 6px 17px #b093b330
}
#intro .charter>span{font-size:clamp(23px,3.2vw,33px);line-height:1.2}
#intro .charter b{font-size:clamp(12px,1.4vw,16px);font-weight:950;line-height:1.2;color:#5b456d}
#intro .charter .charter-flavor{
 display:block!important;margin:0;color:#897589;
 font-size:clamp(9px,.9vw,11px);line-height:1.3;text-wrap:pretty;font-weight:650
}
#intro .charter .charter-bonus{
 display:block!important;margin-top:auto;padding:5px 5px;border-radius:9px;
 background:#f1e8f2;color:#8c5f99;line-height:1.35;
 font-size:clamp(9px,.95vw,11px);font-weight:900;text-wrap:pretty
}
#intro .charter[data-law="wonder"] .charter-bonus{background:#fff0e4;color:#a26275}
#intro .charter[data-law="dream"] .charter-bonus{background:#eee9ff;color:#7b66ae}
#intro .modal-choices{margin-top:9px}
@media(max-width:650px){
 #intro .modal{max-height:calc(100dvh - 18px);overflow-y:auto;padding:11px 12px}
 #intro .modal h2{font-size:clamp(22px,6vw,30px)}
 #intro .intro-inner{height:clamp(105px,18dvh,165px);margin:7px 0 10px;padding:8px}
 #intro .intro-note{font-size:11px}
 #intro .charter-select{gap:5px;margin:7px 0 9px}
 #intro .charter{min-height:124px;padding:7px 4px;gap:3px;border-radius:11px}
 #intro .charter>span{font-size:23px}
 #intro .charter b{font-size:clamp(11px,3vw,13px)}
 #intro .charter .charter-flavor{font-size:9px;line-height:1.18}
 #intro .charter .charter-bonus{font-size:9px;line-height:1.22;padding:4px 3px}
 #intro .modal-choices .button{min-height:41px}
}
@media(max-width:650px) and (max-height:620px){
 #intro .intro-inner{height:82px;margin:4px 0 6px}
 #intro .intro-note{margin:5px 0}
 #intro .charter{min-height:110px;gap:2px}
 #intro .charter .charter-flavor{display:none!important}
 #intro .modal h2{font-size:20px}
}
@media(prefers-reduced-motion:reduce){#intro .charter{transition:none}}

/* Progressive legendary collection — each card advertises its own objective. */
.app .legend-wish .legend-tier-label{display:block;margin-top:3px;color:#9e6d9f;font-weight:850}
.app .legend-requirements{
 grid-column:1/-1;display:flex;flex-wrap:wrap;gap:5px;
 padding:7px 0 1px;border-top:1px solid #f1e5eb
}
.app .legend-requirements span{
 display:inline-flex;align-items:center;gap:2px;
 padding:4px 6px;border-radius:7px;font-size:10px;font-weight:800;line-height:1.2;
 background:#f2eaf1;color:#a18e9f
}
.app .legend-requirements span.met{color:#338063;background:#e0f6e8}
.app .legend-requirements span.pending{color:#a67d92;background:#fff1eb}
.app #tabLegends.unlocked{animation:none!important}
@media(max-width:700px){
 .app .legend-requirements{gap:4px}
 .app .legend-requirements span{font-size:9px;padding:4px 5px}
}

/* v5.2 — warm illustrated town, no green-tinted multi-layer filter. */
#mapWrap.world{
 background:linear-gradient(160deg,rgba(255,234,245,.53) 0%,rgba(251,224,243,.60) 49%,rgba(255,228,209,.68) 100%),url('/art/tiny-town-scene.svg') center 54%/cover no-repeat!important;
 filter:none!important; box-shadow:inset 0 -14px 36px #936d9d18,0 8px 22px #846c9c25!important;
 border-color:#fff3ed!important;
}
#mapWrap.world::before{
 content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
 background:linear-gradient(180deg,rgba(255,247,249,.22),transparent 36%,rgba(226,169,196,.13) 100%)!important;
 animation:none!important
}
#mapWrap.world::after{opacity:.25}
#mapWrap.world .world-illustration{
 opacity:.22!important;filter:saturate(.65) sepia(.08);mix-blend-mode:normal!important;
 animation:none!important
}
#mapWrap.world .world-illustration svg{
 filter:saturate(.72) hue-rotate(-16deg)!important;
 mix-blend-mode:normal!important;animation:none!important
}
#mapWrap.world .board{
 filter:drop-shadow(0 8px 12px #7f5f8f24)!important
}
#mapWrap.world .tile.resident-home{
 background:linear-gradient(145deg,#fff9f0f7,#f8dceaf5)!important;
 border:2px solid #fff9f4!important;
 box-shadow:0 5px 14px #835e8355,0 0 0 1px #cfb0c65e!important;
 backdrop-filter:none!important
}
#mapWrap.world .tile.built{
 background:linear-gradient(155deg,#fff6e7f6,#ead8f0f7)!important;
 border:2px solid #fff6e9!important;
 box-shadow:0 7px 14px #75547655!important;
 backdrop-filter:none!important
}
#mapWrap.world .tile.plaza{
 background:linear-gradient(145deg,#fff8e9f8,#e7d0e9f5)!important;
 border:2px solid #fff9ec!important;
 box-shadow:0 5px 12px #745b7b4a!important;
 backdrop-filter:none!important
}
#mapWrap.world .tile.target{
 background:linear-gradient(145deg,#fff6f5b8,#f3d3ebb3)!important;
 border:2px solid #e5b1d5!important;
 box-shadow:0 2px 0 2px #fff9f5a8,0 5px 12px #86618638!important;
}
#mapWrap.world .tile.jackpot{
 background:linear-gradient(140deg,#ffedc9,#f5cae2)!important;
 border:2px solid #efcc79!important;
 box-shadow:0 0 0 2px #fff2d0,0 5px 15px #ad73965c!important
}
#mapWrap.world .tile:not(.built):not(.house):not(.plaza):not(.target){
 background:rgba(255,246,253,.14)!important;
 border:1px solid #ffecf088!important;
 box-shadow:none!important
}
#mapWrap.world .tile .tile-name{
 color:#68466e!important;text-shadow:0 1px 2px #fffaf8;
 font-weight:950;letter-spacing:0!important
}
#mapWrap.world .tile .tile-icon{filter:drop-shadow(0 1px 2px #6b4f7255)}
#mapWrap.world .tile.resident-home .home-face{filter:drop-shadow(0 1px 3px #674c6a5c)}
#mapWrap.world .tile.resident-home .tile-name{
 background:#fff6f3f0!important;color:#744d76!important;
}
.app .town-bubble{background:#fff1e9!important;color:#74536d!important}
.app .legend-wish-copy .legend-power-detail{
 font-size:11px;font-weight:750;line-height:1.4;color:#734f83;
 padding:8px 9px;border-left:3px solid #dca7ce;
 background:#fbf0f7;border-radius:7px;margin:7px 0 5px
}
.app .legend-wish-copy .legend-power-stats{
 display:block;color:#875e95;font-size:11px;font-weight:900;
 margin:3px 0 8px
}
.app .end-modal{position:relative;padding-top:36px}
.app #closeEnding.close-ending{
 position:absolute;right:12px;top:10px;z-index:5;
 display:flex;align-items:center;justify-content:center;
 width:39px;height:39px;min-width:39px;
 border-radius:50%;border:1px solid #e7d6e4;background:#fff5f8;
 color:#775c7c;font-size:27px;line-height:1;cursor:pointer;
 box-shadow:0 2px 7px #81678320
}
.app #closeEnding.close-ending:hover,
.app #closeEnding.close-ending:focus-visible{
 background:#f4e4f3;outline:2px solid #c9a4d7;outline-offset:2px
}
.end-hero-art[data-theme=coast] .end-landscape{filter:saturate(1.18) sepia(.09) hue-rotate(-10deg)}
.end-hero-art[data-theme=roaming] .end-landscape{filter:saturate(1.23) hue-rotate(22deg)}
.end-hero-art[data-theme=flight] .end-landscape{filter:saturate(1.28) hue-rotate(8deg)}
@media(max-width:700px){
 .app .end-modal{padding-top:34px}
 .app #closeEnding.close-ending{top:7px;right:7px;width:36px;height:36px}
}

.app .end-reason{
 margin:9px auto 12px!important;padding:10px 12px;
 max-width:570px;border-radius:11px;background:#f9ebf4;
 color:#795a86!important;font-size:12px!important;font-weight:800;line-height:1.5
}
@media(max-width:700px){.app .end-reason{padding:8px 10px;font-size:11px!important}}

/* Legendary choices visibly reshape the atmosphere, without tinting the entire map green. */
#mapWrap.world[data-theme="sky"]{
 background:linear-gradient(165deg,rgba(221,221,255,.49),rgba(236,214,253,.61) 50%,rgba(250,203,230,.50)),url('/art/tiny-town-scene.svg') center 54%/cover no-repeat!important
}
#mapWrap.world[data-theme="party"]{
 background:linear-gradient(160deg,rgba(255,204,222,.56),rgba(243,192,227,.55) 50%,rgba(254,210,184,.45)),url('/art/tiny-town-scene.svg') center 54%/cover no-repeat!important
}
#mapWrap.world[data-theme="cat"]{
 background:linear-gradient(160deg,rgba(255,231,226,.52),rgba(247,217,237,.58) 52%,rgba(255,219,196,.54)),url('/art/tiny-town-scene.svg') center 54%/cover no-repeat!important
}
#mapWrap.world[data-theme="art"]{
 background:linear-gradient(160deg,rgba(248,220,240,.50),rgba(237,209,247,.57) 50%,rgba(255,233,205,.50)),url('/art/tiny-town-scene.svg') center 54%/cover no-repeat!important
}
#mapWrap.world[data-theme="chaos"]{
 background:linear-gradient(160deg,rgba(222,195,250,.60),rgba(239,190,224,.58) 50%,rgba(255,215,178,.49)),url('/art/tiny-town-scene.svg') center 54%/cover no-repeat!important
}

/* Resident encounters: small, theatrical character scenes instead of city-hall lectures. */
.neighbor-scene{position:relative;min-height:162px;overflow:hidden;border-radius:15px;background:linear-gradient(145deg,#f5d8ed,#fae6d2)}
.neighbor-scene-art{position:absolute;inset:0;opacity:.48;pointer-events:none}
.neighbor-scene-art svg{width:100%;height:100%;display:block;object-fit:cover;filter:saturate(.75)}
.neighbor-scene-portraits{position:relative;min-height:162px;display:flex;justify-content:center;align-items:center;gap:22px;z-index:2}
.neighbor-scene-portraits span{display:grid;place-items:center;width:82px;height:82px;border-radius:50%;font-size:50px;background:#fff8f1d9;box-shadow:0 7px 17px #84547730;border:2px solid #fff6ee}
.neighbor-scene-portraits b{font-size:23px;color:#a879b4;text-shadow:0 2px 6px #fff}
.neighbor-archive{margin-top:14px;padding:12px;background:linear-gradient(150deg,#fff5ec,#faedf7);border:1px solid #efdaea;border-radius:13px}
.neighbor-archive h3{font-size:13px;color:#73527b;margin:0 0 9px}
.neighbor-memory{padding:8px 0;border-top:1px solid #eed9e6}
.neighbor-memory strong{font-size:11px;color:#a06f91}
.neighbor-memory p{font-size:11px;line-height:1.55;color:#725f77;margin:4px 0}
.neighbor-archive-empty{font-size:11px!important;margin-top:12px!important;color:#967d94!important}
@media(max-width:700px){
 .neighbor-scene{min-height:125px}.neighbor-scene-portraits{min-height:125px;gap:16px}
 .neighbor-scene-portraits span{width:65px;height:65px;font-size:38px}
}

/* Round-to-round variety; matching UI accurately displays the new score effects. */
.app .wish-variety{display:flex;gap:3px;flex-wrap:wrap;align-items:center;min-height:11px;color:#a96f85;font-size:9px;font-weight:850;line-height:1.18}
.app .wish-variety:empty{display:none}
#mapWrap.world .tile.built[data-building="voyage"] .tile-icon{
 display:inline-flex;align-items:center;justify-content:center;
 width:30px;height:24px;max-width:80%;
 font-size:clamp(14px,2.4vh,21px)!important;
 line-height:1!important;transform:scale(.86) translateY(-2px)!important;
 filter:drop-shadow(0 1px 1px #65507042)
}
#mapWrap.world .tile.built[data-building="voyage"] .tile-name{font-size:clamp(8px,.75vw,10px)!important}
@media(max-width:700px){
 .app .wish-variety{font-size:8px;display:block;line-height:1.1;max-height:22px;overflow:hidden}
 #mapWrap.world .tile.built[data-building="voyage"] .tile-icon{font-size:clamp(13px,4vw,18px)!important;height:19px}
 #mapWrap.world .tile.built[data-building="voyage"] .tile-name{font-size:clamp(7px,2vw,9px)!important}
}
/* Personalized ending: town miniatures, resident faces and one authored epilogue. */
.app .end-hero-art .end-story-world{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.app .end-hero-art .end-story-night{
 position:absolute;top:11%;left:11%;font-size:clamp(23px,4.5vw,55px);
 filter:drop-shadow(0 4px 14px #fff6e488);
 animation:townEpilogueDrift 5.6s ease-in-out infinite alternate
}
.app .end-hero-art[data-theme="party"] .end-story-night,
.app .end-hero-art[data-theme="chaos"] .end-story-night{left:68%;top:20%}
.app .end-hero-art[data-theme="flight"] .end-story-night,
.app .end-hero-art[data-theme="sky"] .end-story-night{left:23%;top:17%}
.app .end-model-buildings{
 position:absolute;bottom:42px;left:12%;right:12%;
 display:flex;gap:5px;align-items:flex-end;justify-content:center
}
.app .end-model-building{
 flex:0 1 77px;min-width:0;min-height:64px;padding:6px 3px 5px;
 display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;
 background:linear-gradient(150deg,#fff9edee,#f8d7e9ea);
 border:2px solid #fff9f4eb;border-radius:15px 15px 8px 8px;
 box-shadow:0 5px 11px #5a47625b;transform:translateY(0)
}
.app .end-model-building span{font-size:clamp(22px,3vw,35px);line-height:1.15}
.app .end-model-building small{
 font-size:clamp(8px,.8vw,10px);line-height:1.1;white-space:nowrap;
 overflow:hidden;text-overflow:ellipsis;max-width:100%;font-weight:900;color:#71517d
}
.app .end-model-people{
 position:absolute;left:20%;right:20%;bottom:7px;display:flex;gap:5px;
 justify-content:center;align-items:center
}
.app .end-model-people span{
 display:grid;place-items:center;width:28px;height:28px;border:2px solid #fff8ec;
 background:#f9e6ef;border-radius:50%;font-size:18px;
 box-shadow:0 2px 7px #654c704a
}
.app .end-hero-art .end-memories{
 left:10px;top:10px;bottom:auto;right:auto;max-width:37%;gap:4px
}
.app .end-hero-art .end-memories span{font-size:9px;padding:3px 5px}
.app .end-hero-art .end-centerpiece{top:36%;font-size:clamp(45px,7.5vw,97px);z-index:2}
.app .ending-legacy{
 margin:12px auto 6px;padding:13px;
 max-width:640px;border:1px solid #e7c8df;border-radius:15px;
 background:linear-gradient(135deg,#fff7ed,#f4e8fa);
 text-align:left;box-shadow:0 3px 12px #89719517
}
.app .ending-legacy header{display:flex;align-items:center;gap:10px;margin:0 0 9px}
.app .ending-legacy header>span{
 width:41px;height:41px;flex:0 0 41px;border-radius:12px;
 display:grid;place-items:center;font-size:26px;background:#f9e0ec
}
.app .ending-legacy header div{display:flex;flex-direction:column;gap:3px}
.app .ending-legacy header small{font-size:10px;font-weight:900;letter-spacing:.08em;color:#a775a1}
.app .ending-legacy header strong{font-size:16px;color:#5f4a75;line-height:1.2}
.app .ending-legacy>p{font-size:12px!important;line-height:1.55;color:#755f7f!important;margin:6px 0 9px}
.app .ending-legacy-stats{display:flex;flex-wrap:wrap;gap:6px}
.app .ending-legacy-stats span,.app .ending-legacy-relics span{
 font-size:10px;font-weight:850;border-radius:99px;padding:5px 8px;
 color:#8b618d;background:#f7e8f1;border:1px solid #efdee9
}
.app .ending-legacy-relics{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.app .ending-legacy-relics span{color:#7d638f;background:#fff3e8}
.app .ending-legacy .ending-last-friend{
 margin:9px 0 0!important;padding-top:9px;border-top:1px solid #ecd7e6;
 font-size:11px!important;color:#83667f!important;line-height:1.5
}
@keyframes townEpilogueDrift{from{transform:translateY(0) rotate(-8deg)}to{transform:translateY(-9px) rotate(5deg)}}
@media(max-width:700px){
 .app .end-model-buildings{bottom:33px;left:5%;right:5%;gap:3px}
 .app .end-model-building{min-height:53px;padding:4px 2px;flex-basis:60px;border-radius:10px 10px 6px 6px}
 .app .end-model-building span{font-size:21px}
 .app .end-model-building small{font-size:8px}
 .app .end-model-people{bottom:4px}
 .app .end-model-people span{width:23px;height:23px;font-size:14px}
 .app .end-hero-art .end-memories{max-width:34%;top:5px;left:5px}
 .app .end-hero-art .end-memories span{font-size:7px;padding:2px 3px}
 .app .end-hero-art .end-centerpiece{top:33%;font-size:55px}
 .app .end-hero-art .end-story-night{top:15%;font-size:32px}
 .app .ending-legacy{padding:10px}
 .app .ending-legacy header>span{width:34px;height:34px;flex-basis:34px;font-size:21px}
 .app .ending-legacy header strong{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.app .end-hero-art .end-story-night{animation:none}}

/* Keep the two town guidance messages prominently above the board and choices. */
.app .town-prompts{
 flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr);
 gap:5px;min-width:0;margin:0 0 8px;
}
.app .town-prompts #liveNotice{
 box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;
 margin:0!important;min-height:34px;max-height:none!important;padding:7px 12px;
 border:1px solid #efdce5;border-radius:13px;
 background:linear-gradient(110deg,#fff0ed,#faecf4)!important;
 color:#765474!important;font-size:clamp(12px,1.4vw,15px)!important;
 font-weight:900;line-height:1.3;overflow:visible!important;text-align:center;
}
.app .town-prompts #preview{
 box-sizing:border-box;display:flex!important;align-items:center;
 margin:0!important;min-height:28px;max-height:none!important;
 padding:6px 11px!important;border:1px solid #e5d3d8;
 border-radius:12px;background:#fff9f3!important;
 color:#58456e;line-height:1.3;overflow:visible!important;
 font-size:clamp(11px,1.2vw,13px)!important;
}
.app .town-prompts #preview>*{font-size:inherit!important;line-height:inherit}
@media(max-width:700px){
 .app .town-prompts{gap:4px;margin-bottom:5px}
 .app .town-prompts #liveNotice{min-height:30px;padding:5px 9px;font-size:12px!important;border-radius:10px}
 .app .town-prompts #preview{min-height:27px;padding:5px 9px!important;font-size:11px!important;border-radius:10px}
}
@media(max-width:700px) and (max-height:550px){
 .app .town-prompts{gap:2px;margin-bottom:3px}
 .app .town-prompts #liveNotice{min-height:25px;padding:3px 6px;font-size:11px!important}
 .app .town-prompts #preview{min-height:24px;padding:3px 6px!important;font-size:10px!important}
}
